-
-
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-infra] Add no-relative-packages #44489
base: master
Are you sure you want to change the base?
[core-infra] Add no-relative-packages #44489
Conversation
ce8ccae
to
548208b
Compare
Netlify deploy previewhttps://deploy-preview-44489--material-ui.netlify.app/ Bundle size report |
it mostly is, the main problem I've seen so far is that it stops us from being able to rely on workspace topology to detect changes. e g. to run tests selectively. for things like the vitest config, we could always place those in their own package. |
@@ -4,6 +4,7 @@ import fetch from 'cross-fetch'; | |||
import fse from 'fs-extra'; | |||
import * as mui from '@mui/icons-material'; | |||
import synonyms from 'docs/data/material/components/material-icons/synonyms'; | |||
// eslint-disable-next-line import/no-relative-packages | |||
import myDestRewriter from '../../packages/mui-icons-material/renameFilters/material-design-icons'; |
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.
can likely be reorganized to live under this package instead. but low priority.
Move mui/mui-x#15437 from MUI X to code-infra.
This breaks in Base UI. Some are nice, they show cases where we import private APIs in the
app/experiments
some are weird, e.g. https://github.com/mui/base-ui/blob/d7809157ccc737608acc70a1ecbb42dfbca7ae78/packages/mui-base/vitest.config.ts#L2 seems fine.