-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] Update peerDependencies ranges to include v6 packages #41662
Conversation
michaldudak
commented
Mar 26, 2024
•
edited
Loading
edited
- Adds a missing @mui/material dev dependency to @mui/lab
- Updates peer dep version ranges in @mui/material-nextjs and @mui/lab
Netlify deploy previewhttps://deploy-preview-41662--material-ui.netlify.app/ Bundle size report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good 👍
@@ -50,7 +50,7 @@ | |||
"peerDependencies": { | |||
"@emotion/cache": "^11.11.0", | |||
"@emotion/server": "^11.11.0", | |||
"@mui/material": "^5.0.0", | |||
"@mui/material": "workspace:^", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a peer dependency. Perhaps we need to add a dev dependency with "workspace:^"
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this was on purpose. @mui/material is not actually used in development, so there's no need to have in devDependencies.
(technically, I don't think it's required to have it in peer dependencies either, but that's another topic)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'd either keep it in peer dependencies and add a dev dependency to make the lockfile sound, or just remove it from peer dependencies altogether