berry
berry copied to clipboard
fix(extensions): resolve transitive `@mui/system` dependency on `@mui/x-*` packages
What's the problem this PR addresses?
Related issue: https://github.com/mui/mui-x/issues/15267
All @mui/x-* packages depend on @mui/material, which directly depends on @mui/system.
The @mui/system package has a singleton. Hence, it is listed as a peer dependency on the @mui/x-* packages.
How did you fix it?
I'm proposing to add these rules to the yarnpkg extensions because Yarn PnP fails to resolve this transitive dependency.
Checklist
- [x] I have read the Contributing Guide.
- [x] I have set the packages that need to be released for my changes to be effective.
- [x] I will check that all automated PR checks pass before the PR gets reviewed.
Could someone restart the failed GH Action? Looks like a flaky error. 🤔
Do you have any updates on this PR?