Skip to content

Commit 55fce44

Browse files
Paul Mulliganclaude
andcommitted
fix(ci): approve esbuild/sharp builds via pnpm v11 allowBuilds setting
pnpm v11 (CI uses pnpm@latest) removed onlyBuiltDependencies/ignoredBuiltDependencies and replaced them with `allowBuilds`. The old keys were silently ignored, so `pnpm install --frozen-lockfile` kept failing with ERR_PNPM_IGNORED_BUILDS on esbuild. Reproduced and verified the fix locally with pnpm 11.9.0 (clean node_modules + frozen install now exits 0). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 35f74c4 commit 55fce44

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

app/pnpm-workspace.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
# pnpm settings live here (pnpm 10+). Approve build scripts so CI's
2-
# `pnpm install --frozen-lockfile` doesn't fail with ERR_PNPM_IGNORED_BUILDS.
3-
onlyBuiltDependencies:
4-
- esbuild
5-
- sharp
1+
# pnpm build-script approval. pnpm v11 replaced onlyBuiltDependencies with
2+
# `allowBuilds`; this allows esbuild's (and sharp's) postinstall so CI's
3+
# `pnpm install --frozen-lockfile` passes instead of ERR_PNPM_IGNORED_BUILDS.
4+
allowBuilds:
5+
esbuild: true
6+
sharp: true

0 commit comments

Comments
 (0)