mirror of
https://github.com/iptv-org/database.git
synced 2024-11-09 14:16:38 -05:00
Change ts-node to tsx.
Nodejs v18.19.0 breaks ts-node. See: https://nodejs.org/en/blog/release/v18.19.0 https://github.com/TypeStrong/ts-node/issues/2094
This commit is contained in:
parent
351cc90ef4
commit
8c94bf8113
1 changed files with 5 additions and 5 deletions
10
package.json
10
package.json
|
@ -4,14 +4,14 @@
|
|||
"act:check": "act pull_request -W .github/workflows/check.yml",
|
||||
"act:update": "act workflow_dispatch -W .github/workflows/update.yml",
|
||||
"act:deploy": "act push -W .github/workflows/deploy.yml",
|
||||
"db:validate": "ts-node scripts/db/validate.ts",
|
||||
"db:export": "ts-node scripts/db/export.ts",
|
||||
"db:update": "ts-node scripts/db/update.ts",
|
||||
"db:validate": "tsx scripts/db/validate.ts",
|
||||
"db:export": "tsx scripts/db/export.ts",
|
||||
"db:update": "tsx scripts/db/update.ts",
|
||||
"lint": "npx eslint \"{scripts,tests}/**/*.{ts,js}\"",
|
||||
"test": "jest --runInBand"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0 <18.19.0"
|
||||
"node": "^18.*"
|
||||
},
|
||||
"pre-commit": [
|
||||
"db:validate"
|
||||
|
@ -43,7 +43,7 @@
|
|||
"jest": "^29.7.0",
|
||||
"joi": "^17.6.0",
|
||||
"ts-jest": "^29.1.1",
|
||||
"ts-node": "^10.9.1"
|
||||
"tsx": "^4.10.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"pre-commit": "^1.2.2"
|
||||
|
|
Loading…
Reference in a new issue