From fce5729a88d45f721a2a93237ee8e20b2544f6b7 Mon Sep 17 00:00:00 2001 From: Alan Agius <17563226+alan-agius4@users.noreply.github.com> Date: Thu, 21 May 2026 09:12:42 +0000 Subject: [PATCH] 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. --- pnpm-workspace.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 90f11a476ec0..c5af583813cf 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -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