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:
Alan Agius
2026-05-21 09:12:42 +00:00
committed by Alex Rickabaugh
parent 8f0ac6459e
commit e38db9b618
+3
View File
@@ -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