Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

standard-version-updater-yaml

Package Overview
Dependencies
Maintainers
4
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

standard-version-updater-yaml

A YAML updater for standard-version.

  • 1.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
830
increased by139.88%
Maintainers
4
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 27 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc