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

[code-infra] Migrate to prettier async APIs #40668

Merged
merged 14 commits into from
Jan 24, 2024
Merged

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Jan 18, 2024

Sync APIs are deprecated in upcoming major.
Pushing these changes without bumping the major to avoid cluttering it with all the formatting changes.

Haven't deeply investigated, but it looks like there are more opportunities for parallelization in these scripts. I also noticed a few sync IO calls.

@Janpot Janpot added the core Infrastructure work going on behind the scenes label Jan 18, 2024
@mui-bot
Copy link

mui-bot commented Jan 18, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against fef0b33

{
files: ['**/*.json'],
options: {
trailingComma: 'none',
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 seems to be needed in upcoming major of prettier. I'm already adding it

@Janpot Janpot changed the base branch from master to next January 18, 2024 10:08
@Janpot Janpot changed the base branch from next to master January 18, 2024 10:09
Copy link
Member

@michaldudak michaldudak left a comment

Choose a reason for hiding this comment

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

Seems to be working well.

@Janpot
Copy link
Member Author

Janpot commented Jan 18, 2024

blocked on mui/mui-x#11734 which in turn is blocked on mui/mui-x#11671

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 23, 2024
Signed-off-by: Jan Potoms <2109932+Janpot@users.noreply.github.com>
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jan 24, 2024
@Janpot Janpot merged commit b63fb95 into mui:master Jan 24, 2024
22 checks passed
@Janpot Janpot deleted the prettier-update branch January 24, 2024 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants