-
-
Notifications
You must be signed in to change notification settings - Fork 254
[code-infra] Move away from monorepo dependency #2986
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
Conversation
| "release:changelog": "tsx scripts/releaseChangelog.mts", | ||
| "release:publish": "pnpm publish --recursive --tag latest", | ||
| "release:publish:dry-run": "pnpm publish --recursive --tag latest --registry=\"http://localhost:4873/\"", | ||
| "release:tag": "node scripts/releaseTag.mjs --repo base-ui", |
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 now done automatically through GH Actions.
commit: |
✅ Deploy Preview for base-ui ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
3fd7ae4 to
da0984d
Compare
Bundle size report
|
da0984d to
08081b2
Compare
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.
Very nice to see this finally coming to fruition! 🙏
| - run: | ||
| name: Validate type declarations | ||
| command: pnpm validate-declarations | ||
| command: pnpm code-infra validate-built-types |
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.
Wasn't it executing different logic than the testBuildTypes? 🤔
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. But both the scripts were doing similar checks. So I've merged them into a single cli.
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.
Gotcha.
Do we still need it here, especially since test_types already runs it? 🤔
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.
That's what we are discussing here - mui/mui-public#812 (comment)
| "@mui/internal-code-infra": "https://pkg.pr.new/mui/mui-public/@mui/internal-code-infra@8b697ae", | ||
| "@mui/internal-netlify-cache": "^0.0.2-canary.0", | ||
| "@mui/internal-test-utils": "^2.0.10", | ||
| "@mui/monorepo": "github:mui/material-ui#v7.3.2", |
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.
A historical moment! 🎉 💯 💙
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.
LGTM from what I can see. 👍
Congrats. 💯
docs/package.json
Outdated
| }, | ||
| "devDependencies": { | ||
| "@mdx-js/mdx": "^3.1.1", | ||
| "@mui/internal-docs-infra": "https://pkg.pr.new/mui/mui-public/@mui/internal-docs-infra@8b697ae", |
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.
Do you intend to use the version published to npm before this is merged?
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.
Nope. I'll update it to the canary version.
08081b2 to
f107892
Compare
Use the latest code-infra and docs-infra packages to move away from adding @mui/monorepo as a dependency. Related: mui/mui-public#812
f107892 to
d42a01c
Compare
Use the latest code-infra and docs-infra packages to move away from adding @mui/monorepo as a dependency.
Related: mui/mui-public#812
Closes: #2951