Skip to content
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

[code-infra] Break package dependency cycle between @mui/material and @mui/icons-material #40400

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

michaldudak
Copy link
Member

A follow-up to #40398. I missed a cycle between @mui/material and @mui/icons-material.

@michaldudak michaldudak added the scope: code-infra Specific to the core-infra product label Jan 2, 2024
@michaldudak michaldudak requested a review from a team January 2, 2024 13:51
@mui-bot
Copy link

mui-bot commented Jan 2, 2024

Netlify deploy preview

https://deploy-preview-40400--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 187830f

Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, the dependency is only there because of testing. If you look at it from a different angle, it's sort of an integration test. Integrating @mui/material with @mio/icons-material. One could argue the test belongs in the top-level. But in practice this is not a integration test. The solution seems good enough for this case 👍

@michaldudak michaldudak merged commit ad912d6 into mui:master Jan 2, 2024
20 checks passed
@michaldudak michaldudak deleted the break-dependency-cycles-icons branch January 2, 2024 14:29
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: code-infra Specific to the core-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants