Skip to content

Conversation

@corymhall
Copy link
Contributor

@corymhall corymhall commented Mar 31, 2023

Updating lerna to the latest version which now uses nx under 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 nx configuration 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

@aws-cdk-automation aws-cdk-automation requested a review from a team March 31, 2023 19:12
@github-actions github-actions bot added the p2 label Mar 31, 2023
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 31, 2023
@corymhall corymhall marked this pull request as ready for review April 11, 2023 17:10
@corymhall corymhall added the pr/do-not-merge This PR should not be merged at this time. label Apr 11, 2023
"lerna": "^4.0.0",
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
Copy link
Contributor Author

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.

@corymhall corymhall removed the pr/do-not-merge This PR should not be merged at this time. label Apr 13, 2023
@corymhall
Copy link
Contributor Author

I ran this through the test pipeline and the build passed.

@mergify
Copy link
Contributor

mergify bot commented Apr 13, 2023

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-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildv2Project1C6BFA3F-wQm2hXv2jqQv
  • Commit ID: 23739d9
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 046d0fc into aws:main Apr 13, 2023
@mergify
Copy link
Contributor

mergify bot commented Apr 13, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS. p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants