Skip to content

Conversation

madeline-k
Copy link
Contributor

@madeline-k madeline-k commented Mar 9, 2023

While setting up a new laptop, I realized that our build scripts require a global installation of lerna, but the contributing guide does not actually tell you to install it.

The build.sh script runs the lerna command directly, which only works if lerna is globally installed. lerna is a dependency in the monorepo, which means after a yarn install, lerna is available in the monorepo, and a global install is not necessary. This PR changes build.sh to run npx lerna so that a global install is not required to run the build.sh script.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@madeline-k madeline-k requested a review from a team March 9, 2023 21:31
@github-actions github-actions bot added the p2 label Mar 9, 2023
@aws-cdk-automation aws-cdk-automation requested a review from a team March 9, 2023 21:31
@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Mar 9, 2023
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

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

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

@madeline-k
Copy link
Contributor Author

Closing since this was already done in #24217! Thanks @timmattison!

@madeline-k madeline-k closed this Mar 9, 2023
@madeline-k madeline-k deleted the madeline-k/fix/lerna-globally-installed branch April 20, 2023 21:02
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.

2 participants