mirror of
https://github.com/pnpm/pnpm.git
synced 2026-03-27 11:31:45 -04:00
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