-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[core] Update lerna to 5.2.0 #33635
[core] Update lerna to 5.2.0 #33635
Conversation
0b22559
to
4fab481
Compare
.codesandbox/ci.json
Outdated
@@ -1,7 +1,7 @@ | |||
{ | |||
"buildCommand": "build:codesandbox", | |||
"installCommand": "install:codesandbox", | |||
"node": "12", | |||
"node": "16", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could be good to have a standalone PR like in mui/mui-x#4999
4fab481
to
655df1e
Compare
655df1e
to
df76654
Compare
df76654
to
e437d45
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
e437d45
to
bd8eaa5
Compare
bd8eaa5
to
fafd5f0
Compare
@@ -1,5 +1,6 @@ | |||
{ | |||
"npmClient": "yarn", | |||
"useWorkspaces": true, | |||
"version": "independent" | |||
"version": "independent", | |||
"useNx": true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@michaldudak Curious how it worked out - are there any benefits of using nx?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't noticed any improvements in build times, but we now get a nicer preview of what's being built/checked when running locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at https://nx.dev/migration/lerna-and-nx#speed-up-lerna-with-nx's-powerful-task-scheduler, we are already running all the tasks in parallel, a smarter scheduler has no room for optimizations.
For the cache, maybe it's a bug? I mean if we don't publish @mui/styles
, why build it? But then, maybe we don't care, it takes ~60s, once a week, and no cache might help, it avoid nasty bugs of implicit dependencies.
Updated
lerna
to 5.2.0 and usednx
to run tasks.