Maintenance: lerna version is bumping dependencies as well #468
Labels
automation
This item relates to automation
completed
This item is complete and has been merged/shipped
internal
PRs that introduce changes in governance, tech debt and chores (linting setup, baseline, etc.)
Milestone
Bug description
On
lerna version
(https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/.github/workflows/on-release-prod.yml#L44) lerna bump all packages to new version inpackage.json
andpackage-lock.json
but bump as well@aws-lambda-powertools/commons
in our module package (https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/packages/metrics/package.json#L87) event with put strict version due this lerna/lerna#2326 .Expected Behavior
I would expect lerna to not touch my dependencies or at least update package-lock.json properly ....
Current Behavior
lerna bump dependencies as well
Possible Solution
Not sure yet
Steps to Reproduce
run
npx lerna version --conventional-commits --conventional-graduate --force-publish=* --yes --no-git-tag-version --no-push
npm run lerna-ci
will failEnvironment
The text was updated successfully, but these errors were encountered: