mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: add explanation comment to confirmModulesPurge setting
Add a detailed comment to the `confirmModulesPurge: false` setting in `pnpm-workspace.yaml`. This comment explains that this setting avoids interactive prompts when `node_modules` needs to be purged and recreated. This prevents package installation commands from hanging or failing in non-interactive contexts (such as CI/CD pipelines, container builds, or automated editor/agent environments) where stdin is not a TTY.
This commit is contained in:
committed by
Alex Rickabaugh
parent
8f0ac6459e
commit
e38db9b618
@@ -87,3 +87,6 @@ hoist: false
|
||||
# for peer dependencies, avoiding potential mismatches. In addition, it ensures we can continue
|
||||
# to rely on peer dependency placeholders substituted via Bazel.
|
||||
autoInstallPeers: false
|
||||
|
||||
# Avoid prompting for confirmation when pnpm determines node_modules needs to be purged.
|
||||
confirmModulesPurge: false
|
||||
|
||||
Reference in New Issue
Block a user