JSPM

@auto-it/released

6.5.1-canary.431.5657.18+8d8e8c8
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 62581
  • Score
    100M100P100Q164599F

Released plugin for auto. Comments with version + extra

Package Exports

  • @auto-it/released

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/released) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Released Plugin

This plugin

  • comments on the merged PR with the new version
  • comments on closed issues with the new version
  • adds a released label to the pull request
  • adds a released label to closed issues

::: message is-warning Make sure that you create the released label on you project :::

Installation

This plugin is included with the auto CLI so you do not have to install it. To install if you are using the auto API directly:

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

Usage

To use the plugin include it in your .autorc

{
  "plugins": ["npm", "released"]
}

Options

Label

Customize the label this plugin attaches to merged pull requests.

{
  "plugins": [
    "npm",
    [
      "released",
      {
        "label": ":shipit:"
      }
    ]
  ]
}

Message

To customize the message this plugin uses on issues and pull requests use the following format.

  • %TYPE - Either PR or Issue
  • %VERSION - The version that was just published
{
  "plugins": [
    "npm",
    [
      "released",
      {
        "message": "%TYPE went out with version: %VERSION"
      }
    ]
  ]
}

Lock Issue

Lock issues that have been merged in PRs.

{
  "plugins": ["npm", ["released", { "lockIssues": true }]]
}