ci: fix ts-node scripts (#5225)

- Ref: https://github.com/TypeStrong/ts-node/issues/2094
This commit is contained in:
LongYinan
2023-12-07 09:13:00 +00:00
parent 467d313730
commit febe5cc2ae
4 changed files with 13 additions and 21 deletions
+2 -2
View File
@@ -17,9 +17,9 @@
"scripts": {
"build": "node build.mjs",
"dev": "node dev.mjs",
"sync-languages": "ts-node -P ./tsconfig.node.json src/scripts/sync.ts",
"sync-languages": "node --loader ts-node/esm/transpile-only src/scripts/sync.ts",
"sync-languages:check": "yarn run sync-languages --check",
"download-resources": "ts-node -P ./tsconfig.node.json src/scripts/download.ts"
"download-resources": "node --loader ts-node/esm/transpile-only src/scripts/download.ts"
},
"keywords": [],
"repository": {