turbo
ef102ebb - fix: Accept project .npmrc files with only install-layout settings

Commit
36 days ago
fix: Accept project .npmrc files with only install-layout settings The official-only source policy rejected every project .npmrc, including one that only holds pnpm layout settings. Accept a project .npmrc (the invocation directory or an ancestor) when every setting is on an explicit allowlist of keys that cannot change registries, credentials, proxies, TLS, or config locations. Everything else, including interpolation, sections, quoted keys, and unknown keys, is still rejected, now with the line number. User, system, and prefix npmrc files keep today's rejection, and registry keys stay rejected because a committed .npmrc never stands in for setup.mirrors. Implements TURBO-6426.
Author
Parents
Loading