Skip to content

Commit 9e754e2

Browse files
committed
chore: replace onlyBuiltDependencies with allowBuilds in pnpm-workspace.yaml for explicit install script permissions
1 parent c678cf1 commit 9e754e2

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

pnpm-workspace.yaml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,13 @@ catalog:
9090
# undici-types: 6.20.0
9191
# vitepress>vite: 7.3.1
9292

93-
onlyBuiltDependencies:
94-
- core-js
95-
- esbuild
96-
- simple-git-hooks
97-
- typescript
98-
- vite
99-
- vitest
100-
- vue
101-
- vue-tsc
93+
# pnpm ≥10.26 / v11:用 allowBuilds 显式允许依赖的 install 脚本(替代已移除的 onlyBuiltDependencies)
94+
allowBuilds:
95+
core-js: true
96+
esbuild: true
97+
simple-git-hooks: true
98+
typescript: true
99+
vite: true
100+
vitest: true
101+
vue: true
102+
vue-tsc: true

0 commit comments

Comments
 (0)