berry
berry copied to clipboard
[Feature] Support Catalogs in Resolutions
- [ ] I'd be willing to implement this feature (contributing guide)
- [x] This feature is important to have in this repository; a contrib plugin wouldn't do
Describe the user story
I sometimes need to use yarn resolutions to override the version of a package another package uses. These often align with the version of packages I'm using elsewhere in my workspace/repo.
Describe the solution you'd like
I'd be nice if I could use a catalog specifier to have these align.
(https://yarnpkg.com/features/catalogs#supported-fields doesn't state that this is supported)
It also looks like pnpm supports this? https://github.com/pnpm/pnpm/issues/7072
Describe the drawbacks of your solution
N/A?
Describe alternatives you've considered
N/A?
Encountering the same issue, hope the resolutions can support catalog:
โค YN0000: ยท Yarn 4.12.0
โค YN0000: โ Resolution step
โค YN0001: โ Error: foo@catalog: isn't supported by any available resolver
at rm.getResolverByDescriptor