Skip to content

Commit 231b794

Browse files
committed
chore: fix depalign, use script for runtime-support-nocov
1 parent 197e772 commit 231b794

File tree

5 files changed

+11
-159
lines changed

5 files changed

+11
-159
lines changed

knip.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
import type { KnipConfig } from "knip";
2+
import fs from "fs";
3+
4+
// Create an empty file to satisfy the knip rule for async-rewriter2
5+
fs.writeFileSync(
6+
"packages/async-rewriter2/src/runtime-support.out.nocov.ts",
7+
""
8+
);
29

310
const config: KnipConfig = {
411
rules: {

package-lock.json

Lines changed: 1 addition & 156 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/async-rewriter2/bin/async-rewrite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env node
22
'use strict';
3-
const AsyncWriter = require('../lib').default;
3+
const AsyncWriter = require('../').default;
44
const fs = require('fs');
55
const input = fs.readFileSync(process.argv[2], 'utf8');
66
const asyncWriter = new AsyncWriter();

packages/autocomplete/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"@mongodb-js/prettier-config-devtools": "^1.0.1",
3838
"@mongodb-js/tsconfig-mongosh": "^1.0.0",
3939
"eslint": "^7.25.0",
40-
"mocha": "^10.2.0",
40+
"mocha": "^11.7.5",
4141
"prettier": "^2.8.8"
4242
},
4343
"dependencies": {

packages/shell-api/scripts/api-postprocess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as babel from '@babel/core';
22
import type * as BabelTypes from '@babel/types';
33
import { promises as fs } from 'fs';
44
import path from 'path';
5-
import { signatures } from '../lib';
5+
import { signatures } from '../src';
66
import enUs from '../../i18n/src/locales/en_US';
77

88
function applyAsyncRewriterChanges() {

0 commit comments

Comments
 (0)