fix(frontend): configure pnpm v11 build approvals in workspace file

pnpm v11 no longer supports onlyBuiltDependencies in package.json and does not
accept install-time --allow-build flags. Move build-script approvals to
pnpm-workspace.yaml and copy it before install in Dockerfile so CI Docker builds
can apply allowBuilds during pnpm install.
This commit is contained in:
wizardchen
2026-05-08 16:32:09 +08:00
committed by lyingbug
parent de7a241f8b
commit 86f11d98e8
3 changed files with 6 additions and 8 deletions
-7
View File
@@ -60,12 +60,5 @@
"lightningcss": "none",
"esbuild": "^0.25.0",
"serialize-javascript": "^7.0.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"@vue-office/pptx",
"esbuild",
"vue-demi"
]
}
}