fix(ci): allow esbuild build scripts to fix ERR_PNPM_IGNORED_BUILDS

pnpm v10 blocks dependency build/postinstall scripts by default and
requires interactive 'pnpm approve-builds' to whitelist them, which
is not usable in CI. Declare esbuild as an allowed build in both
pnpm-workspace.yaml (canonical location since pnpm 10.7) and
package.json (legacy/parity) so installs run non-interactively.
This commit is contained in:
2026-05-17 13:20:39 +00:00
parent d860383d65
commit 4c6ee03df6
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -18,5 +18,10 @@
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"tsx": "^4.19.4", "tsx": "^4.19.4",
"typescript": "^5.8.3" "typescript": "^5.8.3"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
} }
} }
+3
View File
@@ -1,2 +1,5 @@
packages: packages:
- "plugins/*" - "plugins/*"
onlyBuiltDependencies:
- esbuild