Skip to content

Conversation

WooWan
Copy link
Contributor

@WooWan WooWan commented Sep 27, 2025

What's the problem this PR addresses?

Fixes: #6925

Adds support for catalog: protocol in peerDependencies. Previously, catalog references in peer dependencies were incorrectly reported. This change allows catalog references to be used in peer
dependencies, consistent with their support in other dependency types.

...

How did you fix it?

Updated the dependency range validation logic in Manifest.ts to treat catalog: protocol as a valid range format. This prevents catalog references from being
flagged as errors when used in peer dependencies.

...

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug?]: Yarn Catalog does not support peerDependencies
1 participant