Files
pnpm/cli/cli-utils
Zoltan Kochan 58429f9ba0 fix: resolve config dependencies from pnpm-workspace.yaml during install (#10969)
Previously, config dependencies could only be installed via `pnpm add --config`.
If a user manually added config deps to pnpm-workspace.yaml or deleted
pnpm-lock.env.yaml, `pnpm install` would fail because the resolution step
(fetching integrity from the registry) was missing.

Add `resolveAndInstallConfigDeps` which checks the env lockfile for missing
entries and resolves them from the npm registry before installing. This enables
two new workflows:
1. Manually adding config deps to pnpm-workspace.yaml
2. Deleting pnpm-lock.env.yaml and having `pnpm install` recreate it
2026-03-15 12:31:37 +01:00
..
2025-10-28 17:35:21 +01:00
2026-02-18 14:54:09 +01:00
2025-03-31 08:08:32 +02:00

@pnpm/cli-utils

Utils for pnpm commands

npm version

Installation

pnpm add @pnpm/cli-utils

License

MIT