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 mui/material and add mui/base as direct dependency #465

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

freemvmt
Copy link
Contributor

@freemvmt freemvmt commented Jul 27, 2024

@mui/material does not list @mui/base as a dependency, and yet it does rely on it! I think this is probably because base appears to be in alpha, and seems to be directly replacing what was called @mui/core.

This was leading to errors like the below when trying to run tests for changes to planx-new/api.planx.uk in #3464.

Cannot find module '@mui/base/composeClasses' from 'node_modules/.pnpm/github.com+theopensystemslab+planx-core@a429c06/node_modules/@opensystemslab/planx-core/node_modules/@mui/material/node/Grid/Grid.js'

But explicitly adding @mui/base as a dependency in this project (got that idea here) seems to solve this issue on local. I also bumped @mui/material to latest minor version while I was at it :)

Resources

@freemvmt freemvmt changed the title bump mui/material and force install of mui/base bump mui/material and add mui/base as direct dependency Jul 27, 2024
@freemvmt freemvmt requested review from jessicamcinchak and DafyddLlyr and removed request for jessicamcinchak July 27, 2024 00:03
Copy link
Member

@jessicamcinchak jessicamcinchak left a comment

Choose a reason for hiding this comment

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

Aha great find with this one 💡 same bug has been plaguing our nightly regression tests in planx-new ! eg https://github.com/theopensystemslab/planx-new/actions/runs/10138961762/job/28031472035

Will go ahead and merge this one today & bump accordingly in planx-new 👍 (then should be a simple rebase of your API PR later this week when you're back!)

@jessicamcinchak jessicamcinchak merged commit 122ff24 into main Jul 29, 2024
3 checks passed
@jessicamcinchak jessicamcinchak deleted the bump-mui branch July 29, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants