mirror of
https://github.com/pnpm/pnpm.git
synced 2026-06-28 09:55:39 -04:00
pnpm install --ignore-workspace auto-populated ignored builds into the allowBuilds map of pnpm-workspace.yaml, overwriting committed true/false values with the "set this to true or false" placeholder — even under --frozen-lockfile, which must stay read-only. The ignore-workspace CLI flag is now a first-class Config field (ignoreWorkspace, mirroring ignoreWorkspaceCycles) instead of being read from the untyped cliOptions bag. handleIgnoredBuilds reads it directly and skips writing to allowBuilds when the workspace is ignored. The strict ignored-build failure is unchanged. Closes pnpm/pnpm#12469 --------- Co-authored-by: Zoltan Kochan <z@kochan.io>