standard-version-updater-yaml

1.0.3 • Public • Published

standard-version-updater-yaml

Latest release License Conventional Commits

A YAML updater for standard-version.

Installation

# latest stable
npm install standard-version-updater-yaml

Usage

In your .versionrc.js file:

const standardVersionUpdaterYaml = require.resolve("standard-version-updater-yaml");

module.exports = {
  ...,
  bumpFiles: [
    {
      filename: "file.yml",
      updater: standardVersionUpdaterYaml
    }
  ]
};

- or -

module.exports = {
  ...,
  bumpFiles: [
    {
      filename: "file.yml",
      updater: require.resolve("standard-version-updater-yaml")
    }
  ]
};

YAML structure

This updater will only update a root version tag inside of a YAML file.

Correct structure

name: My package
version: 1.0.0

Incorrect structure

package:
  name: My package
  version: 1.0.0

Versioning

This project uses Semantic Versioning 2.0.0 to keep track of releases.

For more detailed information about SemVer, please see the official documentation.

Contributing

If you're interested in contributing to the project, please read the Contribution Guidelines. Any and all contributions must follow these guidelines or they will not be accepted.

Package Sidebar

Install

npm i standard-version-updater-yaml

Weekly Downloads

1,080

Version

1.0.3

License

ISC

Unpacked Size

4.58 kB

Total Files

4

Last publish

Collaborators

  • coldfrontdev
  • nickdjm
  • spotzero
  • minoroffense