Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
πŸ› Change --loader tsx with --import tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Shiru committed Oct 18, 2023
1 parent 15cce26 commit 4ca81ce
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion packages/@vangware/ansi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' node --test ./tests/*.test.ts"
"test": "NODE_OPTIONS='--import tsx --no-warnings' node --test ./tests/*.test.ts"
},
"sideEffects": false,
"size": "1.04",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default ({
prepublishOnly: "run-s --print-label clean compile prettify",
prettify:
"prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
test: "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test",
test: "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test",
},
sideEffects: false,
type: "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/cron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"pre-compile": "tsc --noemit --project tsconfig.dist.json",
"prepublishOnly": "run-s --print-label compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "3.17",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' node --test ./tests/*.test.ts"
"test": "NODE_OPTIONS='--import tsx --no-warnings' node --test ./tests/*.test.ts"
},
"sideEffects": false,
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/iterables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "1.41",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/notify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "0.47",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/parsers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "0.30",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/predicates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "0.76",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/prompts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "0.18",
Expand Down
4 changes: 2 additions & 2 deletions packages/@vangware/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ And update `package.json`:
```json
{
"scripts": {
"test": "NODE_OPTIONS='--loader tsx --no-warnings' test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' test"
}
}
```
Expand Down Expand Up @@ -86,7 +86,7 @@ And update `package.json`:
```json
{
"scripts": {
"test": "NODE_OPTIONS='--loader tsx --no-warnings' c8 test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' c8 test"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s --print-label compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' node ./src/bin/index.ts"
"test": "NODE_OPTIONS='--import tsx --no-warnings' node ./src/bin/index.ts"
},
"sideEffects": false,
"size": "1.84",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"lint:fix": "eslint {src,tests} --fix",
"prepublishOnly": "run-s compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "1.43",
Expand Down
2 changes: 1 addition & 1 deletion packages/@vangware/window-open-promise/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"pre-compile": "tsc --noemit --project tsconfig.dist.json",
"prepublishOnly": "run-s compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "0.67",
Expand Down
2 changes: 1 addition & 1 deletion packages/preact-pair/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"pre-compile": "tsc --noEmit --project tsconfig.dist.json",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "0.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-pair/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"pre-compile": "tsc --noEmit --project tsconfig.dist.json",
"prepublishOnly": "run-s --print-label clean compile prettify",
"prettify": "prettier --ignore-path=.prettierignore --log-level=warn --write './dist/**/*.{js,ts}'",
"test": "NODE_OPTIONS='--loader tsx --no-warnings' pnpm exec test"
"test": "NODE_OPTIONS='--import tsx --no-warnings' pnpm exec test"
},
"sideEffects": false,
"size": "0.12",
Expand Down

0 comments on commit 4ca81ce

Please sign in to comment.