Files
one/pnpm-workspace.yaml
zooqueen 5983483e50 answer pnpm about the two build scripts it will not run unattended
pnpm 11 stops the install with ERR_PNPM_IGNORED_BUILDS when a dependency wants
to run a build script the repo has not spoken about — here @swc/core and
esbuild. It is not a warning; install exits non-zero and the build never starts.

Both are declared false, which is the same answer the docs monorepo gives for
esbuild. Their platform binaries arrive as optional dependencies, so the
postinstall is a fallback path rather than the thing that produces the binary,
and vite builds without it.
2026-08-22 07:53:01 -07:00

9 lines
391 B
YAML

# pnpm 11 refuses a dependency's build script unless the repo names it, and
# stops the install with ERR_PNPM_IGNORED_BUILDS rather than continuing quietly.
# Both of these ship their platform binary as an optional dependency, so the
# postinstall is a fallback and not the source of the binary — the same call the
# docs monorepo makes.
allowBuilds:
'@swc/core': false
esbuild: false