@auto-canary/all-contributors
TypeScript icon, indicating that this package has built-in type declarations

8.1.0-canary.789.10408.0 • Public • Published

All Contributors Plugin

Automatically add contributors as changelogs are produced.

This plugin maps one of the contribution type to a glob or array of globs. Out of the box the plugin will only detect the following contribution types:

  • 📖 doc - Edits to any README, `['/*.mdx', '/.md', '/docs//', '/documentation//*']``
  • 💡 example - Edits to ['**/*.stories*', '**/*.story.*']
  • 🚇 infra - Edits to ['**/.circle/**/*', '**/.github/**/*', '**/travis.yml'],
  • ⚠️ test - Edits to ['**/*.test.*']
  • 💻 code - Edits to ['**/src/**/*', '**/lib/**/*', '**/package.json', '**/tsconfig.json']

Installation

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

npx install-peerdeps --dev @auto-it/all-contributors

Prerequisites

You must have already installed and initialized all-contributors-cli;

npx all-contributors init

Usage

{
  "plugins": ["all-contributors"]
}

Configure Contribution Type Matching

You use any of the contribution type. If you configure an pre-configured contribution type the arrays are not merged, it is overridden.

auto.rc

{
  "plugins": [
    [
      "all-contributors",
      {
        "types": {
          "plugin": "**/plugin/**/*",
          "example": ["**/*.stories.*", "**/*.examples.*", "**/*.snippet.*"]
        }
      }
    ]
  ]
}

Exclude Users

Useful for excluding bots from getting into your contributors.

auto.rc

{
  "plugins": [
    [
      "all-contributors",
      {
        "exclude": ["dependabot", "ci-services"]
      }
    ]
  ]
}

Package Sidebar

Install

npm i @auto-canary/all-contributors

Weekly Downloads

13

Version

8.1.0-canary.789.10408.0

License

none

Unpacked Size

17 kB

Total Files

8

Last publish

Collaborators

  • alisowski
  • hipstersmoothie-canary