mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 09:23:52 -05:00
Replace ts-node with tsx (#7205)
Migrates tooling to TSX (as advised by nodejs) until we are on Node 22 where we can `--watch --experimental-strip-types`
This commit is contained in:
12
package.json
12
package.json
@@ -74,7 +74,7 @@
|
||||
"tom-select": "^2.3.1",
|
||||
"tree-kill": "^1.2.2",
|
||||
"triple-beam": "^1.4.1",
|
||||
"ts-node": "^10.9.2",
|
||||
"tsx": "^4.19.2",
|
||||
"underscore": "^1.13.7",
|
||||
"url-join": "^5.0.0",
|
||||
"whatwg-fetch": "^3.6.20",
|
||||
@@ -163,10 +163,10 @@
|
||||
"test-min": "vitest run --exclude test/filter-tests.ts",
|
||||
"fix": "npm run lint && npm run format && npm run ts-check",
|
||||
"check": "npm run ts-check && npm run lint-check && npm run test-min -- --reporter min",
|
||||
"dev": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --loader ts-node/esm app.ts",
|
||||
"debugger": "cross-env NODE_ENV=DEV node --loader ts-node/esm --inspect-brk app.ts",
|
||||
"debug": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --loader ts-node/esm app.ts --debug",
|
||||
"start": "npm run webpack && cross-env NODE_ENV=LOCAL node --no-warnings=ExperimentalWarning --loader ts-node/esm app.ts",
|
||||
"dev": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --import=tsx app.ts",
|
||||
"debugger": "cross-env NODE_ENV=DEV node --import=tsx --inspect-brk app.ts",
|
||||
"debug": "cross-env NODE_ENV=DEV node --no-warnings=ExperimentalWarning --import=tsx app.ts --debug",
|
||||
"start": "npm run webpack && cross-env NODE_ENV=LOCAL node --no-warnings=ExperimentalWarning --import=tsx app.ts",
|
||||
"sentry": "npx -p @sentry/cli sentry-cli",
|
||||
"update-browserslist": "npx browserslist@latest -- --update-db",
|
||||
"prepare": "husky",
|
||||
@@ -174,7 +174,7 @@
|
||||
"format-files": "prettier --write --ignore-unknown",
|
||||
"ts-compile": "tsc",
|
||||
"ts-check": "tsc -p ./tsconfig.backend.json --noEmit && tsc -p ./tsconfig.frontend.json --noEmit && tsc -p ./tsconfig.tests.json --noEmit",
|
||||
"webpack": "node --no-warnings=ExperimentalWarning --loader ts-node/esm ./node_modules/webpack-cli/bin/cli.js --node-env=production --config webpack.config.esm.ts"
|
||||
"webpack": "node --no-warnings=ExperimentalWarning --import=tsx ./node_modules/webpack-cli/bin/cli.js --node-env=production --config webpack.config.esm.ts"
|
||||
},
|
||||
"license": "BSD-2-Clause"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user