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

Bump internal packages #13479

Merged
merged 6 commits into from
Jun 17, 2024
Merged

Bump internal packages #13479

merged 6 commits into from
Jun 17, 2024

Conversation

LukasTy
Copy link
Member

@LukasTy LukasTy commented Jun 14, 2024

  • Bump @mui/internal-* packages.

mui/code-infra how would you suggest handling these package bumping/syncing while the core repo is in the next phase? 🤔
All the new packages are released with the next tag, thus, they will not be bumped by renovate. 🤷

Disregard the ☝️ comment as it seems that renovate doesn't look at the tag, but bumps to the highest available semver number.
The only reason it didn't bump all packages is the concurrent PRs limit of 30, which we could consider increasing. 🤔

"prConcurrentLimit": 30,

@LukasTy LukasTy added dependencies Update of dependencies scope: infra Org infrastructure work going on behind the scenes labels Jun 14, 2024
@LukasTy LukasTy self-assigned this Jun 14, 2024
@mui-bot
Copy link

mui-bot commented Jun 14, 2024

Deploy preview: https://deploy-preview-13479--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 1e79a0f

@LukasTy LukasTy requested a review from a team June 14, 2024 09:11
@@ -62,7 +62,7 @@
"react-dom": "^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@mui/internal-test-utils": "1.0.0",
"@mui/internal-test-utils": "^1.0.1",
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 know why we define this one in each package and not just at the root?

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe because mui/material-ui has it set up like that... 🤷 🙈
Not sure, I also don't see too much point in that.
Maybe @michaldudak could clarify as he introduced it with #12880.

I've pushed a commit keeping only root dependency to see if everything sill works after that: 7a74141.

Copy link
Member

Choose a reason for hiding this comment

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

Because it's used in each of these packages. It may not be a big deal for devDependencies, but it's a good practice to define dependencies where they are used. This way packages can be more self-sustained and not implicitly depend on anything around them.

Copy link
Member Author

Choose a reason for hiding this comment

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

I appreciate the clarification.
Personally, I don't have a strong preference on this, but I understand the position, especially if at some point the package would have to be moved from the monorepo context, there would be one less thing to adjust.
WDYT @flaviendelangle?

Copy link
Member

Choose a reason for hiding this comment

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

That's fine for me

Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jun 17, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jun 17, 2024
@LukasTy LukasTy requested review from flaviendelangle and removed request for a team June 17, 2024 10:05
@LukasTy LukasTy merged commit 5890762 into mui:master Jun 17, 2024
17 checks passed
@LukasTy LukasTy deleted the bump-internal-packages branch June 17, 2024 10:44
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies scope: infra Org infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants