Forrest logo
tool overview
On this page you find all important commands for the CLI tool standard-version. If the command you are looking for is missing please ask our AI.

standard-version

Standard-version is a command line tool that automates the versioning of your software projects. It follows the conventional commit format to automatically determine the appropriate version number for your project. This tool is commonly used in Node.js and JavaScript projects, but it can also be utilized with other languages and frameworks. Standard-version calculates the next version based on the changes made and generates a new version once a release is ready. It automatically updates the project's version number in package.json (or any other specified file) and creates a git tag for the release. Additionally, it generates a changelog file that includes all the changes and commits made since the last release. It supports multiple versioning schemes, including Semantic Versioning, Calendar Versioning, and others. Standard-version is easily customizable via command line options or by using a configuration file (e.g., .versionrc). It integrates well with Continuous Integration and Continuous Delivery (CI/CD) pipelines, allowing for automated versioning and release management. It helps maintain consistent and accurate versioning across collaborators and multiple repositories. Finally, standard-version can be installed globally or used as a locally installed dependency, depending on your project's requirements.

List of commands for standard-version:

  • standard-version:tldr:01217 standard-version: Update a specific changelog file and tag a release.
    $ standard-version --infile ${filename-md}
    try on your machine
    explain this command
  • standard-version:tldr:15073 standard-version: Tag a release committing all staged changes, not just files affected by `standard-version`.
    $ standard-version --commit-all
    try on your machine
    explain this command
  • standard-version:tldr:692d0 standard-version: Update the changelog and tag an alpha release.
    $ standard-version --prerelease alpha
    try on your machine
    explain this command
  • standard-version:tldr:78528 standard-version: Tag a release without bumping the version.
    $ standard-version --first-release
    try on your machine
    explain this command
  • standard-version:tldr:98ab2 standard-version: Display the release that would be performed without performing them.
    $ standard-version --dry-run
    try on your machine
    explain this command
  • standard-version:tldr:9d80d standard-version: Update the changelog file and tag a release.
    $ standard-version
    try on your machine
    explain this command
  • standard-version:tldr:c2ee7 standard-version: Update the changelog and tag a specific release type.
    $ standard-version --release-as ${select}
    try on your machine
    explain this command
  • standard-version:tldr:cf34b standard-version: Tag a release, preventing hooks from being verified during the commit step.
    $ standard-version --no-verify
    try on your machine
    explain this command
tool overview