mirror of
https://github.com/pnpm/pnpm.git
synced 2026-07-28 16:37:47 -04:00
When a project has pnpm-workspace.yaml (even for non-workspace projects), pnpm goes through the recursive path which calls mutateModules directly, bypassing install(). Move the pnpmRegistry check to the top of mutateModules so it works regardless of the code path. Also add pnpmRegistry to InstallCommandOptions Pick<Config, ...>.