Skip to content

Commit 9c4894b

Browse files
chore: update node args
1 parent 04f46a9 commit 9c4894b

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

ava.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const avaCommonConfig = {
2222
? ["tests/rules/work.test.*"]
2323
: ["tests/**/!(work)*.test.*"],
2424
timeout: "5m",
25-
nodeArguments: ["--no-warnings"],
25+
nodeArguments: ["--no-warnings=ExperimentalWarning"],
2626
};
2727

2828
const avaTsConfig = {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
],
4747
"scripts": {
4848
"build": "pnpm run build:node && pnpm run build:docs",
49-
"build-tests": "rimraf build && ts-node -P tsconfig.json scripts/compile-tests.mts",
49+
"build-tests": "rimraf build && node --no-warnings=ExperimentalWarning --loader=ts-paths-esm-loader/transpile-only --experimental-specifier-resolution=node scripts/compile-tests.mts",
5050
"build:docs": "eslint-doc-generator",
5151
"build:node": "rimraf lib && rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript",
5252
"cz": "git-cz",
@@ -140,6 +140,7 @@
140140
"rollup-plugin-auto-external": "2.0.0",
141141
"semantic-release": "21.0.7",
142142
"ts-node": "10.9.1",
143+
"ts-paths-esm-loader": "^1.4.3",
143144
"tsc-prog": "2.2.1",
144145
"tsconfig-paths": "4.2.0",
145146
"tslib": "2.6.0",

pnpm-lock.yaml

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)