build: 🏗️ 使用低版本node会报错,强制限制使用node 22.x版本

可在.npmrc里面修改为不强制使用
This commit is contained in:
log1997
2025-12-11 09:27:16 +08:00
parent 854b58b53c
commit 01460864d8
3 changed files with 68 additions and 93 deletions

View File

@@ -18,7 +18,7 @@
"prepare": "husky"
},
"dependencies": {
"@tweenjs/tween.js": "^23.1.2",
"@tweenjs/tween.js": "23.1.2",
"@vueuse/core": "^14.1.0",
"axios": "^1.7.8",
"canvas-confetti": "^1.9.3",
@@ -29,7 +29,7 @@
"github-markdown-css": "^5.8.0",
"localforage": "^1.10.0",
"lodash-es": "^4.17.21",
"lucide-vue-next": "^0.556.0",
"lucide-vue-next": "^0.559.0",
"markdown-it": "^14.1.0",
"pinia": "^3.0.3",
"pinia-plugin-persist": "^1.0.0",
@@ -62,7 +62,7 @@
"@types/canvas-confetti": "^1.6.4",
"@types/lodash-es": "^4.17.12",
"@types/markdown-it": "^14.1.2",
"@types/node": "^24.10.2",
"@types/node": "^25.0.0",
"@types/three": "0.166.0",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
@@ -101,5 +101,8 @@
"vitest": "^4.0.15",
"vue-tsc": "^3.0.7"
},
"engines": {
"node": ">=22.x"
},
"packageManager": "pnpm@10.8.1+sha1.a4eff733d0c4ccc179997f0ef4986f6e92427781"
}
}