JSPM

@auto-it/omit-commits

7.11.1-canary.622.8045.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3453
  • Score
    100M100P100Q132927F

Omit commits plugin for auto

Package Exports

  • @auto-it/omit-commits

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@auto-it/omit-commits) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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"
      }
    ]
  ]
}