Skip to content
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: Upgrade Lerna & remove Husky hook #12599

Closed
wants to merge 2 commits into from

Conversation

jimblanc
Copy link
Contributor

@jimblanc jimblanc commented Nov 20, 2023

Description of changes

This change upgrades Lerna to v7 to unblock the release. Lerna v6 is incompatible with Prettier v3, requiring an upgrade. The Husky hook & pretty-quick are no longer functional with the recent Prettier change so they have been removed to avoid pulling in the older version of Prettier and breaking Lerna.

Issue #, if available

Description of how you validated changes

Tested publish:release in Verdaccio, worked without error:

Successfully published:
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - @aws-amplify/[email protected]
 - [email protected]

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

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

@jimblanc jimblanc marked this pull request as ready for review November 20, 2023 21:25
@jimblanc jimblanc requested a review from a team as a code owner November 20, 2023 21:25
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to remove this as per the Lerna v7 release notes: https://github.com/lerna/lerna/blob/main/CHANGELOG.md#700-2023-06-08

Lerna will now use package manager settings.

@@ -92,18 +87,17 @@
"@types/lodash": "4.14.182",
"@types/node": "^8.9.5",
"@types/puppeteer": "1.3.0",
"@lerna/legacy-package-management": "^7.4.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jimblanc jimblanc closed this Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant