Skip to content

Commit 5ad4ab9

Browse files
author
feige996
committed
chore: 移除packageManager字段并放宽pnpm版本限制
移除显式的packageManager字段,改为在engines中设置更宽松的pnpm版本范围(>=9 <=10.12),提高兼容性
1 parent cf506da commit 5ad4ab9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"type": "module",
44
"version": "3.12.1",
55
"unibest-version": "3.12.1",
6-
"packageManager": "[email protected]",
76
"description": "unibest - 最好的 uniapp 开发模板",
87
"generate-time": "用户创建项目时生成",
98
"author": {
@@ -22,7 +21,7 @@
2221
},
2322
"engines": {
2423
"node": ">=22",
25-
"pnpm": "10.10.0"
24+
"pnpm": ">=9 <=10.12"
2625
},
2726
"scripts": {
2827
"preinstall": "npx only-allow pnpm",

0 commit comments

Comments
 (0)