lerna version [version]
Bump version of packages changed since the last release
Arguments
Options
Name | Description |
---|
--allow-branch <glob> | An allowlist of globs that match git branches where lerna version is enabled |
--amend | Perform all changes on the current commit, instead of adding a new one |
--changelog-preset | Change the changelog preset type |
--conventional-commits | Use the Conventional Commits Specification to determine the version bump and generate CHANGELOG.md files |
--conventional-graduate | Graduate the specified packages (comma-separated) or all packages using * |
--conventional-prerelease | Release with prerelease versions the specified packages (comma-separated) or all packages using * |
--create-release <type> | Create an official release based on the changes packages |
--exact | Specify updated dependencies in updated packages exactly |
--force-publish | Force publish the specified packages (comma-separated) or all packages using * |
--git-remote <remote> | Push the git changes to the specified remote instead of origin |
--ignore-changes [glob] | Ignore changes in files matched by glob(s) when detecting changed packages |
--ignore-scripts | Disable running lifecycle scripts during lerna version |
--include-merged-tags | Include tags from merged branches when detecting changed packages |
-m, --message <msg> | Use the provided message when committing the version updates for publication |
--no-changelog | When using conventional-commits, do not generate any CHANGELOG.md files |
--no-commit-hooks | Disable running git commit hooks |
--no-git-tag-version | Don't commit changes to package.json files and don't tag the release |
--no-granular-pathspec | |
--no-private | Don't include private packages |
--preid <identifier> | Bump semver using the specified prerelease identifier |
--sign-git-commit | |
--sign-git-tag | |
--force-git-tag | |
--tag-version-prefix <prefix> | Change the custom version prefix |
--yes | Skip all confirmation prompts |