Skip to content

[Bug?]: Yarn Catalog does not support peerDependencies #6925

@vinnymac

Description

@vinnymac

Self-service

  • I'd be willing to implement a fix

Describe the bug

My use case for Yarn Catalogs was to use catalog: in peerDependencies, and when I tried to use catalog: like the docs mentioned was possible, it replaced catalog: with *.

To reproduce

Here is a minimal reproduction

Environment

System:
  OS: macOS 15.6.1
Binaries:
  node: 22.19.0
  yarn: 4.10.3

Additional context

Here are the docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions