[Feature] Better support for `resolutions` inside workspaces
- [ ] I'd be willing to implement this feature (contributing guide)
- [ ] This feature is important to have in this repository; a contrib plugin wouldn't do. A plugin would be fine
Describe the user story
I tried to place resolutions inside a workspace rather than at the top level of a monorepo, and it seems to be totally ignored.
Describe the solution you'd like
It would be very useful for it to work within the specific workspace.
Describe the drawbacks of your solution
Describe alternatives you've considered
Similar issue as this:
https://stackoverflow.com/questions/54120149/within-a-yarn-workspace-how-can-i-force-a-resolution-for-a-child-projects-depe
The reason for this feature request is because I was hoping to solve
- https://github.com/yarnpkg/berry/issues/5948
My workaround was to... stop using workspaces and make separate packages (each with their yarn.lock file) and use portal: links between them.
Another workaround is described in this other issue: https://github.com/yarnpkg/berry/issues/5024