Skip to content

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Aug 22, 2025

Reconfigure existing groups

Copy link

pkg-pr-new bot commented Aug 22, 2025

vite-css-base-ui-example

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

commit: c70b61e

@mui-bot
Copy link

mui-bot commented Aug 22, 2025

Bundle size report

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

Details of bundle changes

Generated by 🚫 dangerJS against c70b61e

@@ -24,13 +24,11 @@
},
{
"groupName": "MUI public packages",
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't apply just to MUI public packages anymore

Copy link
Member Author

@Janpot Janpot Aug 22, 2025

Choose a reason for hiding this comment

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

I believe in the preset

    {
      "groupName": "MUI public packages",
      "matchPackageNames": ["@mui/*"]
    },

creates the group, and

    {
      "groupName": "MUI infra packages",
      "matchPackageNames": ["@mui/internal-*", "@mui/docs"],
      "followTag": "canary",
      "schedule": null
    },

filters out the infra packages into its own group

As far as I understand, a package can only belong to one group at a time.

edit: Will update the group, just to be sure

Copy link
Member

Choose a reason for hiding this comment

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

Do we still need this group if it is coming from mui-public? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

This just configures it with "allowedVersions": "!/-dev/". not sure whether that is still relevant

Copy link
Member

@LukasTy LukasTy Aug 22, 2025

Choose a reason for hiding this comment

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

Don't we release packages as canary now? 🤔
https://www.npmjs.com/package/@mui/internal-code-infra?activeTab=versions
Wasn't this only relevant to avoid bumps when we were releasing on each push to a branch?
cc @michaldudak

Copy link
Member Author

Choose a reason for hiding this comment

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

There are still some packages published from the core repo. However I would discourage using the canary publish script. I think by now all latest versions are higher than the dev versions

@Janpot Janpot added the scope: code-infra Changes related to the core-infra product. label Aug 22, 2025
Copy link

netlify bot commented Aug 22, 2025

Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit c70b61e
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/68a847350586f50008f85058
😎 Deploy Preview https://deploy-preview-2562--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.

@@ -24,13 +24,11 @@
},
{
"groupName": "MUI public packages",
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need this group if it is coming from mui-public? 🤔

"allowedVersions": "!/-dev/"
},
{
"matchDepTypes": ["devDependencies"],
Copy link
Member

Choose a reason for hiding this comment

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

My hunch is also the same - that this group is breaking the playwright bump. 🙈

Copy link
Member Author

@Janpot Janpot Aug 22, 2025

Choose a reason for hiding this comment

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

The group is created by matchDepTypes and matchPackageNames, I'm not sure it includes playwright.

edit: ah, but this one may, yes!

edit 2: opening mui/mui-public#583

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: code-infra Changes related to the core-infra product.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants