Skip to content

Commit b0e4c91

Browse files
committed
Replace ts-node with tsx for running scripts
1 parent 64fbdcb commit b0e4c91

3 files changed

Lines changed: 171 additions & 110 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@
4545
"prettier": "2.8.8",
4646
"start-server-and-test": "2.0.1",
4747
"ts-jest": "29.1.1",
48-
"ts-node": "10.9.1",
49-
"tsconfig-paths": "4.2.0",
48+
"tsx": "4.9.3",
5049
"typescript": "5.4.5"
5150
},
5251
"scripts": {
@@ -61,7 +60,7 @@
6160
"lint": "eslint --ext .tsx --ext .ts .",
6261
"start": "next start",
6362
"test": "jest",
64-
"ts:exec": "TS_NODE_PROJECT=\"tsconfig.cli.json\" node node_modules/.bin/ts-node -T",
63+
"ts:exec": "tsx",
6564
"typecheck": "tsc --noEmit"
6665
}
6766
}

tsconfig.cli.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)