@auto-it/omit-commits
TypeScript icon, indicating that this package has built-in type declarations

11.1.6 • Public • Published

Omit Commits Plugin

Filter certain commits out of the changelog and version calculation.

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/omit-commits
# or
yarn add -D @auto-it/omit-commits

Usage

Yarn can omit by most any field available on a commit. Each options accepts either a string or an array of strings.

{
  "plugins": [
    [
      "omit-commits",
      {
        // By usernames
        "username": ["pdbf", "ghost"],
        // By name
        "name": "Adam",
        // By emails
        "email": ["foo@gmail.com", "doesnt-exits@yahoo.com"],
        // By presence of string in subject
        "subject": ["WIP", "SPIKE"],
        // By labels
        "labels": "grunt-work"
      }
    ]
  ]
}

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @auto-it/omit-commits

    Weekly Downloads

    1,061

    Version

    11.1.6

    License

    MIT

    Unpacked Size

    10.1 kB

    Total Files

    7

    Last publish

    Collaborators

    • alisowski