-
Notifications
You must be signed in to change notification settings - Fork 4.3k
chore: upgrade lerna and use nx #24896
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
Conversation
This reverts commit 3553e53.
| "lerna": "^4.0.0", | ||
| "npmClient": "yarn", | ||
| "useWorkspaces": true, | ||
| "packages": [ |
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.
For some reason if you don't specify each package then lerna can't figure it out. I think it might be because we have packages with the same name in different locations.
|
I ran this through the test pipeline and the build passed. |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
Updating lerna to the latest version which now uses
nxunder the hood. Apart from just updating the version, this also allows us to take advantage of nx caching. For now this has only been enabled locally.I'm not 100% sure about the
nxconfiguration since our repo is a little weird, but I've been running locally with this configuration for probably 6 months and it has worked fine for me.Side note - the repo restructure has caused some weirdness with our tests. I had to make some updates to existing tests, and I do not know why.
Closes #.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license