mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-27 15:58:48 +00:00
a4a5efa8c2
pnpm v11.23 reshaped the `registries` setting in `pnpm-workspace.yaml`: it is now keyed by the registry URL, with the scopes routed to it listed in the entry. Renovate only accepted the older `<scope>: <url>` shape, so parsing of the whole workspace file failed and its catalogs and overrides were no longer extracted at all. Accept both shapes and flatten the new one into the old one, where the bare `@` scope is the scope-less default registry. URL keys which interpolate an env var, embed credentials, or are unparseable are skipped, matching what pnpm itself ignores or refuses. A `registries` value which is neither shape now falls back to `undefined` instead of taking the file's catalogs with it. Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>