mirror of
https://github.com/hanzo-apps/one.git
synced 2026-10-30 14:47:53 +00:00
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.
9 lines
391 B
YAML
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
|