Skip to content

Conversation

@brijeshb42
Copy link
Contributor

@brijeshb42 brijeshb42 commented Oct 16, 2025

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

@brijeshb42 brijeshb42 requested review from a team October 16, 2025 09:28
@brijeshb42 brijeshb42 added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Oct 16, 2025
"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",
Copy link
Contributor Author

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.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 16, 2025

vite-css-base-ui-example

pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/react@2986
pnpm add https://pkg.pr.new/mui/base-ui/@base-ui-components/utils@2986

commit: d42a01c

@netlify
Copy link

netlify bot commented Oct 16, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit d42a01c
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/68f7311e4d38250008c4e418
😎 Deploy Preview https://deploy-preview-2986--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mui-bot
Copy link

mui-bot commented Oct 16, 2025

Bundle size report

Bundle Parsed size Gzip size
@base-ui-components/react 0B(0.00%) 0B(0.00%)

Details of bundle changes

Copy link
Member

@LukasTy LukasTy left a 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
Copy link
Member

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? 🤔

Copy link
Contributor Author

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.

Copy link
Member

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? 🤔

Copy link
Contributor Author

@brijeshb42 brijeshb42 Oct 16, 2025

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",
Copy link
Member

Choose a reason for hiding this comment

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

A historical moment! 🎉 💯 💙

Copy link
Member

@LukasTy LukasTy left a 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. 💯

},
"devDependencies": {
"@mdx-js/mdx": "^3.1.1",
"@mui/internal-docs-infra": "https://pkg.pr.new/mui/mui-public/@mui/internal-docs-infra@8b697ae",
Copy link
Member

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?

Copy link
Contributor Author

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.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 16, 2025
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 17, 2025
Use the latest code-infra and docs-infra packages to move away from
adding @mui/monorepo as a dependency.

Related: mui/mui-public#812
@brijeshb42 brijeshb42 merged commit ab704b3 into mui:master Oct 21, 2025
20 checks passed
@brijeshb42 brijeshb42 deleted the remove-monorepo branch October 21, 2025 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants