berry icon indicating copy to clipboard operation
berry copied to clipboard

[Feature] Support Catalogs in Resolutions

Open joealden opened this issue 2 months ago โ€ข 1 comments

  • [ ] 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?

joealden avatar Nov 17 '25 14:11 joealden

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

fengmk2 avatar Nov 28 '25 06:11 fengmk2