-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
chore: update lerna to 8.1.8 from 6.6.2 #30436
Conversation
cypress Run #57822
Run Properties:
|
Project |
cypress
|
Branch Review |
chore/lerna-update
|
Run status |
Passed #57822
|
Run duration | 19m 29s |
Commit |
6b35b78201: remove console.log reference to print current package directory in sync exported...
|
Committer | AtofStryker |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
0
|
Skipped |
0
|
Passing |
116
|
View all changes introduced in this branch ↗︎ |
Warning
No Report: Something went wrong and we could not generate a report for the Application Quality products.
…was removed in 5.5 and edit workflows and scripts to correctly scope learna packages on v8 snapshot tests [run ci]
e0609d9
to
77b715e
Compare
…nc exported npm with cli script
@@ -54,5 +44,6 @@ | |||
"!{projectRoot/cypress.config.{ts,js}", | |||
"!{projectRoot/**/*.cy.ts" | |||
] | |||
} | |||
}, | |||
"nxCloudAccessToken": "ZmNlNjA0YzAtNTM1NS00MDIwLWFlMWItNWYxYzNiMjQ4N2VkfHJlYWQtb25seQ==" |
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.
@AtofStryker Should this be public? I know you just moved it...
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.
its not supposed to be as it's legacy configuration but I figured addressing that was out of scope here. At some point we should see what we can clean up in our monorepo tools/processes.
@@ -6,6 +6,7 @@ | |||
* with this version of the binary | |||
*/ | |||
const path = require('path') | |||
const Arborist = require('@npmcli/arborist') |
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.
cool package name
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.
🌲
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Additional details
This PR updates
lerna
from6.6.2
to8.1.8
. The main reason for this update is some developers, including myself, is that there seems to be cache poisoning on the installl job which sometimes requires the use ofsudo
. This also seems to be happening in CI in some cases, like seen in the "Install node modules" job here wherelerna
handes on @packages/server`. To get this working, I:[email protected]
.lerna repair
. This is the bulk of the changes in thenx.json
,lerna.json
, removal of@nrwl/nx-cloud
package,.gitignore
additions, andnx
key being added to packages.typescript
5.4.5
since we can't cut over fromimportsNotUsedAsValues
in certain packages yet (removed in 5.5 and 5.6.3 got installed and wasnt noticed because cache poisoning)sync-exported-npm-with-cli
to use the correctnpm-packlist
since we were explicitly referencing it but didn't have a version installed. The failure in the@cypress/react18
build job went unnoticed due to caching the build since no source files changed. I pinnednpm-packlist
and made the updates on a61cee0 (you can see v9 npm-packlist vs v6 and older npm-packlist. my guess is this was updated passively since we didnt pin it and it never failed since the cache did not bust for@cypress/react18
since we never made source file changes.Steps to test
everything should work as expected. this is just an update to our build/repo tooling.
How has the user experience changed?
PR Tasks
cypress-documentation
?type definitions
?