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

[codemod] Add codemod for removing system props #42282

Merged
merged 14 commits into from
May 27, 2024

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented May 17, 2024

Tested with the core repo, and everything looks good.

@siriwatknp siriwatknp added package: codemod Specific to @mui/codemod v6.x labels May 17, 2024
@mui-bot
Copy link

mui-bot commented May 17, 2024

Netlify deploy preview

https://deploy-preview-42282--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against a18bf32

Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

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

Looks good! Only a small nit pick

}

describe('@mui/codemod', () => {
describe('v6.0.0 - removeSystemProps', () => {
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@DiegoAndai DiegoAndai left a comment

Choose a reason for hiding this comment

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

I've approved but noticed that we didn't add deprecation warnings for the props, may I ask you to do that @siriwatknp? That way we can close #42259

It's also valid to do it in a different PR, let me know if you prefer that instead

@siriwatknp
Copy link
Member Author

I've approved but noticed that we didn't add deprecation warnings for the props, may I ask you to do that @siriwatknp? That way we can close #42259

It's also valid to do it in a different PR, let me know if you prefer that instead

Thanks for pointing out, I am about to do that in a separate one.

@siriwatknp siriwatknp merged commit c93ad68 into mui:next May 27, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: codemod Specific to @mui/codemod v6.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants