Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

standard-version-updater-yaml

coldfrontlabs4.7kISC1.0.3

A YAML updater for standard-version.

standard-version, updater, yaml

readme

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.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.0.3 (2021-09-27)

Build System

  • npm: update dependencies and build config (8df1f52)

1.0.2 (2020-09-09)

Build System

  • deps-dev: bump standard-version from 7.1.0 to 8.0.1 (cb147df)
  • npm: apply security updates (19442f2)

1.0.1 (2019-12-13)

Build System

  • npm: disallow .files from being packaged (f2c6c0b)

Documentation

  • general: update example of usage to not cause a warning (6e639a0)

1.0.0 (2019-12-10)

Features

Build System

Documentation