- 补 @types/node(tsconfig types:[node] 所需,原计划遗漏) - tsconfig 加 allowImportingTsExtensions(import 带 .ts 后缀所需) - test:framework 改用 run-framework-tests.mjs 递归枚举(node 20.13 <20.14 不支持 --test glob) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
21 lines
601 B
JSON
21 lines
601 B
JSON
{
|
|
"name": "youle-monorepo-tools",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"test": "node --test scripts/test/",
|
|
"setup-links": "node scripts/setup-links.mjs",
|
|
"new-game": "node scripts/new-game.mjs",
|
|
"check-cocos": "node scripts/check-cocos-version.mjs",
|
|
"bump-cocos": "node scripts/bump-cocos.mjs",
|
|
"test:framework": "node scripts/run-framework-tests.mjs",
|
|
"typecheck:framework": "tsc -p tsconfig.framework.json --noEmit"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.0.1",
|
|
"tsx": "^4.22.4",
|
|
"typescript": "^6.0.3"
|
|
}
|
|
}
|