Skip to content

[code-infra] Fix pnpm lock file#43030

Merged
mnajdova merged 3 commits intomui:nextfrom
Janpot:fix-lockfile
Jul 23, 2024
Merged

[code-infra] Fix pnpm lock file#43030
mnajdova merged 3 commits intomui:nextfrom
Janpot:fix-lockfile

Conversation

@Janpot
Copy link
Member

@Janpot Janpot commented Jul 22, 2024

We're seeing differences between running pnpm dedupe locally and on CI. I manually removed the two entries in the lock file that were disappearing on the CI and reran dedupe. This seems to fix the mismatch. But this introduced some breakage in the types of @mui/material-ui-nextjs as style apparently can now be undefined as well. This was fixed by inverting negative condition to a positive one.

@mui-bot
Copy link

mui-bot commented Jul 22, 2024

Netlify deploy preview

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

Bundle size report

Details of bundle changes (Toolpad)
Details of bundle changes

Generated by 🚫 dangerJS against db4c133

@Janpot Janpot changed the title [code-infra] Update pnpm-lock.yaml [code-infra] Fix pnpm-lock.yaml Jul 22, 2024
@Janpot Janpot changed the title [code-infra] Fix pnpm-lock.yaml [code-infra] Fix pnpm lock file Jul 22, 2024
@Janpot Janpot marked this pull request as ready for review July 22, 2024 14:56
@Janpot Janpot requested a review from a team July 22, 2024 15:01
@Janpot
Copy link
Member Author

Janpot commented Jul 22, 2024

🤔 Why didn't check-if-pr-has-label run?

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Jul 22, 2024
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.

pnpm lockfiles seem to be unstable at times. We had a similar category of a problem some time ago (reported in pnpm/pnpm#7823).

@mnajdova mnajdova merged commit e79b3db into mui:next Jul 23, 2024
@Janpot Janpot deleted the fix-lockfile branch July 23, 2024 07:19
joserodolfofreitas pushed a commit to joserodolfofreitas/material-ui that referenced this pull request Jul 29, 2024
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