Skip to content

Replace ts-node with tsx #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"strip-ansi": "^6",
"symlink-workspace": "^1.9.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsx": "^4.20.3",
"typescript": "^5.1.6"
},
"workspaces": [
Expand Down
8 changes: 4 additions & 4 deletions packages/ast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"copy": "copyfiles -f LICENSE-Apache LICENSE-MIT README.md package.json dist",
"clean": "rimraf dist/**",
"prepare": "npm run build",
"codegen": "ts-node ./scripts/build.ts",
"codegen": "tsx ./scripts/build.ts",
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
"lint": "eslint . --fix",
"format": "prettier --write --log-level warn \"./**/*.ts\"",
"test": "jest",
"test:watch": "jest --watch",
"test:ast": "ts-node scripts/test-ast.ts",
"dev": "ts-node src/ts-codegen",
"file": "ts-node src/file"
"test:ast": "tsx scripts/test-ast.ts",
"dev": "tsx src/ts-codegen",
"file": "tsx src/file"
},
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions packages/ts-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
"copy": "copyfiles -f LICENSE-Apache LICENSE-MIT README.md package.json dist",
"clean": "rimraf dist/**",
"prepare": "npm run build",
"cmds": "ts-node ./scripts/cmds.ts",
"cmds": "tsx ./scripts/cmds.ts",
"build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
"lint": "eslint . --fix",
"format": "prettier --write --log-level warn \"./**/*.ts\"",
"test": "jest",
"test:watch": "jest --watch",
"dev": "ts-node src/ts-codegen",
"file": "ts-node src/file"
"dev": "tsx src/ts-codegen",
"file": "tsx src/file"
},
"repository": {
"type": "git",
Expand Down
Loading