build(workspace): [ENG-01] pin reproducible Node and npm toolchain

This commit is contained in:
Harvey Zhao committed 2026-09-10 18:52:58 +08:00
1 parent 3c759f14c2
commit 3781e6bda1
13 files changed
+17883 -28

No files matched your search

+22 -20
View File
@@ -22,7 +22,7 @@
"player"
],
"engines": {
"node": ">= 20.0.0"
"node": "^20.19.0 || >=22.12.0"
},
"scripts": {
"bootstrap": "npx lerna link",
@@ -39,25 +39,27 @@
"dev": "npx cross-env NODE_ENV=development node ./scripts/dev.js",
"build": "npx cross-env NODE_ENV=production node ./scripts/build.js",
"lint": "npx eslint packages/*/{src,types,package.json} scripts/*.js test/* docs/assets/ts/* --fix",
"build:all": "npm run build all && npm run build:i18n && npm run build:ts && npm run build:docs && npm run lint"
"build:all": "npm run build all && npm run build:i18n && npm run build:ts && npm run build:docs && npm run lint",
"check:toolchain": "node scripts/check-toolchain.mjs"
},
"browserslist": "last 1 Chrome version",
"dependencies": {
"@antfu/eslint-config": "^5.1.0",
"cpy": "^13.2.1",
"cross-env": "^10.0.0",
"cross-spawn": "^7.0.6",
"dotenv": "^17.2.1",
"esbuild": "^0.27.3",
"eslint": "^9.32.0",
"eslint-plugin-format": "^2.0.1",
"glob": "^13.0.6",
"lerna": "^8.2.3",
"less": "^4.5.1",
"prompts": "^2.4.2",
"servor": "^4.0.2",
"svgo": "^4.0.1",
"terser": "^5.46.0",
"vite": "^7.3.1"
}
"devDependencies": {
"@antfu/eslint-config": "5.4.1",
"cpy": "13.2.3",
"cross-env": "10.1.0",
"cross-spawn": "7.0.6",
"dotenv": "17.2.4",
"esbuild": "0.27.7",
"eslint": "9.39.2",
"eslint-plugin-format": "2.0.1",
"glob": "13.0.6",
"lerna": "8.2.4",
"less": "4.5.1",
"prompts": "2.4.2",
"servor": "4.0.2",
"svgo": "4.1.0",
"terser": "5.51.2",
"vite": "7.3.6"
},
"packageManager": "npm@11.19.0"
}