berry
berry copied to clipboard
[Bug?]: Yarn Catalog does not support peerDependencies
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