Commit af109aa
fix(build): approve esbuild/msw/sharp build scripts for pnpm v10
The previous fix got past the lockfile mismatch. The next failure
mode (in CI specifically) was ERR_PNPM_IGNORED_BUILDS — pnpm v10
sandboxes package install scripts by default, and Railway runs
non-interactively so the "ignored" warning becomes a hard error.
Add the three packages that genuinely need their postinstall hooks
to the onlyBuiltDependencies allowlist in pnpm-workspace.yaml:
- esbuild: native binary download + chmod.
- msw: install-time worker stub generation.
- sharp: libvips native binary download.
Verified locally with pnpm v10.32: install --frozen-lockfile finishes
clean, no ignored-scripts warning.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1c246b7 commit af109aa
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments