feat(npm): use version commit message from lerna.json #2277
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Changed
Use the user defined
lerna version
commit message fromlerna.json
in a monorepo where possible.Fixes #2276
Why
As described in #2276 - lerna allows the
version
command's message to be customised, butauto
does not currently respect that customisation.Todo:
Unsure if a docs change is warranted as this is functionality present in
lerna
thatauto
is using.Change Type
documentation
patch
minor
major
This could possibly be considered a patch change instead of a minor, since not respecting lerna's config for this could be considered a bug.
🐤 Download canary assets:
auto-linux--canary.2277.26629.gz
auto-macos--canary.2277.26629.gz
auto-win.exe--canary.2277.26629.gz
📦 Published PR as canary version:
under canary scope @auto-canary@10.38.0--canary.2277.26629.0
✨ Test out this PR locally via:
npm install @auto-canary/bot-list@10.38.0--canary.2277.26629.0 npm install @auto-canary/auto@10.38.0--canary.2277.26629.0 npm install @auto-canary/core@10.38.0--canary.2277.26629.0 npm install @auto-canary/package-json-utils@10.38.0--canary.2277.26629.0 npm install @auto-canary/all-contributors@10.38.0--canary.2277.26629.0 npm install @auto-canary/brew@10.38.0--canary.2277.26629.0 npm install @auto-canary/chrome@10.38.0--canary.2277.26629.0 npm install @auto-canary/cocoapods@10.38.0--canary.2277.26629.0 npm install @auto-canary/conventional-commits@10.38.0--canary.2277.26629.0 npm install @auto-canary/crates@10.38.0--canary.2277.26629.0 npm install @auto-canary/docker@10.38.0--canary.2277.26629.0 npm install @auto-canary/exec@10.38.0--canary.2277.26629.0 npm install @auto-canary/first-time-contributor@10.38.0--canary.2277.26629.0 npm install @auto-canary/gem@10.38.0--canary.2277.26629.0 npm install @auto-canary/gh-pages@10.38.0--canary.2277.26629.0 npm install @auto-canary/git-tag@10.38.0--canary.2277.26629.0 npm install @auto-canary/gradle@10.38.0--canary.2277.26629.0 npm install @auto-canary/jira@10.38.0--canary.2277.26629.0 npm install @auto-canary/magic-zero@10.38.0--canary.2277.26629.0 npm install @auto-canary/maven@10.38.0--canary.2277.26629.0 npm install @auto-canary/microsoft-teams@10.38.0--canary.2277.26629.0 npm install @auto-canary/npm@10.38.0--canary.2277.26629.0 npm install @auto-canary/omit-commits@10.38.0--canary.2277.26629.0 npm install @auto-canary/omit-release-notes@10.38.0--canary.2277.26629.0 npm install @auto-canary/pr-body-labels@10.38.0--canary.2277.26629.0 npm install @auto-canary/released@10.38.0--canary.2277.26629.0 npm install @auto-canary/s3@10.38.0--canary.2277.26629.0 npm install @auto-canary/sbt@10.38.0--canary.2277.26629.0 npm install @auto-canary/slack@10.38.0--canary.2277.26629.0 npm install @auto-canary/twitter@10.38.0--canary.2277.26629.0 npm install @auto-canary/upload-assets@10.38.0--canary.2277.26629.0 npm install @auto-canary/version-file@10.38.0--canary.2277.26629.0 npm install @auto-canary/vscode@10.38.0--canary.2277.26629.0 # or yarn add @auto-canary/bot-list@10.38.0--canary.2277.26629.0 yarn add @auto-canary/auto@10.38.0--canary.2277.26629.0 yarn add @auto-canary/core@10.38.0--canary.2277.26629.0 yarn add @auto-canary/package-json-utils@10.38.0--canary.2277.26629.0 yarn add @auto-canary/all-contributors@10.38.0--canary.2277.26629.0 yarn add @auto-canary/brew@10.38.0--canary.2277.26629.0 yarn add @auto-canary/chrome@10.38.0--canary.2277.26629.0 yarn add @auto-canary/cocoapods@10.38.0--canary.2277.26629.0 yarn add @auto-canary/conventional-commits@10.38.0--canary.2277.26629.0 yarn add @auto-canary/crates@10.38.0--canary.2277.26629.0 yarn add @auto-canary/docker@10.38.0--canary.2277.26629.0 yarn add @auto-canary/exec@10.38.0--canary.2277.26629.0 yarn add @auto-canary/first-time-contributor@10.38.0--canary.2277.26629.0 yarn add @auto-canary/gem@10.38.0--canary.2277.26629.0 yarn add @auto-canary/gh-pages@10.38.0--canary.2277.26629.0 yarn add @auto-canary/git-tag@10.38.0--canary.2277.26629.0 yarn add @auto-canary/gradle@10.38.0--canary.2277.26629.0 yarn add @auto-canary/jira@10.38.0--canary.2277.26629.0 yarn add @auto-canary/magic-zero@10.38.0--canary.2277.26629.0 yarn add @auto-canary/maven@10.38.0--canary.2277.26629.0 yarn add @auto-canary/microsoft-teams@10.38.0--canary.2277.26629.0 yarn add @auto-canary/npm@10.38.0--canary.2277.26629.0 yarn add @auto-canary/omit-commits@10.38.0--canary.2277.26629.0 yarn add @auto-canary/omit-release-notes@10.38.0--canary.2277.26629.0 yarn add @auto-canary/pr-body-labels@10.38.0--canary.2277.26629.0 yarn add @auto-canary/released@10.38.0--canary.2277.26629.0 yarn add @auto-canary/s3@10.38.0--canary.2277.26629.0 yarn add @auto-canary/sbt@10.38.0--canary.2277.26629.0 yarn add @auto-canary/slack@10.38.0--canary.2277.26629.0 yarn add @auto-canary/twitter@10.38.0--canary.2277.26629.0 yarn add @auto-canary/upload-assets@10.38.0--canary.2277.26629.0 yarn add @auto-canary/version-file@10.38.0--canary.2277.26629.0 yarn add @auto-canary/vscode@10.38.0--canary.2277.26629.0