Skip to content

Commit

Permalink
refactor: remove ts-node
Browse files Browse the repository at this point in the history
  • Loading branch information
doc-han committed Dec 12, 2024
1 parent 82c258e commit fde6944
Show file tree
Hide file tree
Showing 18 changed files with 53 additions and 808 deletions.
1 change: 0 additions & 1 deletion integration-tests/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"ava": "5.3.1",
"date-fns": "^2.30.0",
"rimraf": "^3.0.2",
"ts-node": "10.8.1",
"tslib": "^2.4.0",
"typescript": "^5.1.6"
},
Expand Down
3 changes: 0 additions & 3 deletions integration-tests/cli/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"ts-node": {
"experimentalSpecifierResolution": "node"
},
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "es2020",
Expand Down
1 change: 0 additions & 1 deletion integration-tests/execute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"ava": "5.3.1",
"date-fns": "^2.30.0",
"rimraf": "^3.0.2",
"ts-node": "10.8.1",
"tslib": "^2.4.0",
"typescript": "^5.1.6"
},
Expand Down
3 changes: 0 additions & 3 deletions integration-tests/execute/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"ts-node": {
"experimentalSpecifierResolution": "node"
},
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "es2020",
Expand Down
1 change: 0 additions & 1 deletion integration-tests/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"date-fns": "^2.30.0",
"koa": "^2.13.4",
"rimraf": "^3.0.2",
"ts-node": "10.8.1",
"tslib": "^2.4.0",
"typescript": "^5.1.6"
},
Expand Down
3 changes: 0 additions & 3 deletions integration-tests/worker/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"ts-node": {
"experimentalSpecifierResolution": "node"
},
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "es2020",
Expand Down
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@types/yargs": "^17.0.24",
"ava": "5.3.1",
"mock-fs": "^5.4.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
Expand Down
5 changes: 2 additions & 3 deletions packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@
"test:types": "pnpm tsc --noEmit --project tsconfig.json",
"build": "tsup --config ../../tsup.config.js src/index.ts",
"build:watch": "pnpm build --watch",
"parse": "ts-node-esm src/cli/parse.ts",
"parse": "node --loader @swc-node/register/esm src/cli/parse.ts",
"pack": "pnpm pack --pack-destination ../../dist"
},
"keywords": [],
"devDependencies": {
"@types/node": "^18.15.13",
"@types/yargs": "^17.0.24",
"ava": "5.3.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tsup": "^7.2.0",
"typescript": "^5.1.6",
Expand All @@ -50,4 +49,4 @@
"dist",
"README.md"
]
}
}
1 change: 0 additions & 1 deletion packages/deploy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"ava": "5.3.1",
"jsonpath": "^1.1.1",
"mock-fs": "^5.1.4",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
Expand Down
1 change: 0 additions & 1 deletion packages/describe-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
"esbuild": "^0.18.14",
"rimraf": "^3.0.2",
"threads": "1.7.0",
"ts-node": "^10.9.2",
"tslib": "^2.4.0",
"tsm": "^2.2.1",
"tsup": "^7.2.0"
Expand Down
1 change: 0 additions & 1 deletion packages/engine-multi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"devDependencies": {
"@types/node": "^18.15.13",
"ava": "5.3.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tsm": "^2.2.2",
"tsup": "^7.2.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/lightning-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test:types": "pnpm tsc --noEmit --project tsconfig.json",
"build": "tsup --config ../../tsup.config.js src/index.ts --no-splitting",
"build:watch": "pnpm build --watch",
"start": "ts-node-esm --transpile-only src/start.ts",
"start": "node --loader @swc-node/register/esm src/start.ts",
"pack": "pnpm pack --pack-destination ../../dist"
},
"author": "Open Function Group <[email protected]>",
Expand Down Expand Up @@ -45,7 +45,6 @@
"koa-route": "^3.2.0",
"koa-websocket": "^7.0.0",
"query-string": "^8.1.0",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tsup": "^6.2.3",
"typescript": "^4.6.4",
Expand Down
1 change: 0 additions & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"devDependencies": {
"@types/node": "^18.15.13",
"ava": "5.3.1",
"ts-node": "10.8.1",
"tslib": "^2.4.0",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime/memtest.ava.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
},

nodeArguments: [
'--loader=ts-node/esm',
'--loader=@swc-node/register/esm',
'--no-warnings',
'--experimental-vm-modules',
'--expose-gc',
Expand Down
1 change: 0 additions & 1 deletion packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@types/semver": "^7.5.0",
"ava": "5.3.1",
"mock-fs": "^5.1.4",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tsup": "^7.2.0",
"typescript": "^5.1.6"
Expand Down
5 changes: 2 additions & 3 deletions packages/ws-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:types": "pnpm tsc --noEmit --project tsconfig.json",
"build": "tsup --config tsup.config.js",
"build:watch": "pnpm build --watch",
"start": "ts-node-esm --transpile-only src/start.ts",
"start": "node --loader @swc-node/register/esm src/start.ts",
"start:prod": "node dist/start.js",
"start:watch": "nodemon -e ts,js --watch ../runtime-manager/dist --watch ./src --exec 'pnpm start'",
"pack": "pnpm pack --pack-destination ../../dist"
Expand Down Expand Up @@ -48,7 +48,6 @@
"@types/yargs": "^17.0.12",
"ava": "5.1.0",
"nodemon": "3.0.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"tsup": "^6.2.3",
"typescript": "^4.6.4",
Expand All @@ -59,4 +58,4 @@
"README.md",
"CHANGELOG.md"
]
}
}
Loading

0 comments on commit fde6944

Please sign in to comment.