standard-version
Automated semantic versioning from commits
TLDR
Release new version
SYNOPSIS
standard-version [--release-as type] [--prerelease tag] [options]
DESCRIPTION
standard-version automates semantic versioning and changelog generation for Node.js projects based on the Conventional Commits specification. It analyzes commit messages (feat, fix, BREAKING CHANGE) to determine whether to bump the major, minor, or patch version.
The tool updates the version in package.json, generates or updates a CHANGELOG.md from commit messages, creates a git commit with the version bump, and tags it with the new version number. A dry run mode previews changes without modifying files. Pre-release tags (alpha, beta, rc) are supported for staged releases.
PARAMETERS
--first-release
First version.--release-as TYPE
Version bump type.--prerelease TAG
Pre-release tag.--dry-run
Preview only.--skip.changelog
Skip changelog.--sign
Sign tags.
CAVEATS
Needs conventional commits. Node.js project. Git repository required.
HISTORY
standard-version was created for automated semantic versioning based on Conventional Commits specification.
SEE ALSO
npm-version(1), semantic-release(1), git(1)
