Skip to content

chore: use tsx instead of tsm #1059

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
Apr 29, 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
5 changes: 2 additions & 3 deletions examples/multiple-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"package.json"
],
"scripts": {
"build": "node -r tsm build.ts"
"build": "tsx build.ts"
},
"keywords": [],
"author": "",
Expand All @@ -28,8 +28,7 @@
"react-dom": "18.2.0",
"style-loader": "3.3.2",
"ts-loader": "9.4.2",
"tslib": "2.4.1",
"tsm": "2.3.0",
"tsx": "^4.19.3",
"typescript": "^5.2.2",
"webpack": "^5.90.0"
}
Expand Down
1 change: 0 additions & 1 deletion examples/rspack-banner-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"react-refresh": "^0.14.0",
"tsm": "2.3.0",
"web-vitals": "^2.1.4"
},
"browserslist": {
Expand Down
1 change: 0 additions & 1 deletion examples/rspack-layers-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"react-refresh": "^0.14.0",
"tsm": "2.3.0",
"web-vitals": "^2.1.4"
},
"browserslist": {
Expand Down
4 changes: 2 additions & 2 deletions examples/rspack-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"dev": "ENABLE_CLIENT_SERVER=true NODE_ENV=development rspack serve",
"build:s": "ENABLE_CLIENT_SERVER=false NODE_ENV=production rspack build -c ./rspack.config.js",
"build:analysis": "ENABLE_CLIENT_SERVER=true NODE_ENV=production rspack build",
"build:m": "ENABLE_CLIENT_SERVER=false NODE_ENV=production node -r tsm build.ts",
"build:m": "ENABLE_CLIENT_SERVER=false NODE_ENV=production tsx build.ts",
"build": "npm run build:s && npm run build:m"
},
"dependencies": {
Expand All @@ -27,7 +27,7 @@
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"react-refresh": "^0.14.0",
"tsm": "2.3.0",
"tsx": "^4.19.3",
"web-vitals": "^2.1.4"
},
"browserslist": {
Expand Down
5 changes: 2 additions & 3 deletions examples/webpack-minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"package.json"
],
"scripts": {
"compile": "node -r tsm ./node_modules/webpack/bin/webpack.js -c webpack.config.ts",
"compile": "tsx ./node_modules/webpack/bin/webpack.js -c webpack.config.ts",
"build:analysis": "ENABLE_CLIENT_SERVER=true npm run compile"
},
"keywords": [],
Expand All @@ -28,8 +28,7 @@
"@types/node": "^22.8.1",
"bundle-stats": "4.1.7",
"ts-loader": "9.4.2",
"tslib": "2.4.1",
"tsm": "2.3.0",
"tsx": "^4.19.3",
"typescript": "^5.2.2",
"webpack": "^5.90.0",
"webpack-cli": "5.1.4"
Expand Down
Loading