1.2.0 • Published 1 year ago

@myparcel/semantic-release-wordpress-readme-generator v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

semantic-release-wordpress-readme-generator

Generates a readme.txt for WordPress plugin releases.

Installation

With Yarn

yarn add -D @myparcel/semantic-release-wordpress-readme-generator

With PNPM

pnpm add -D @myparcel/semantic-release-wordpress-readme-generator

With NPM

npm install --save-dev @myparcel/semantic-release-wordpress-readme-generator

Usage

Add the following to your release.config.js, below the @semantic-release/changelog plugin:

const wordpressReadme = require('@myparcel/semantic-release-wordpress-readme-generator');

module.exports = {
  plugins: [
    // ...
    '@myparcel/semantic-release-wordpress-readme-generator',
  ],
};

Options

By default, this is the configuration that will be used. This defines which commits will be included in the readme, and the order in which the entries will be written.

TypePrefix
featNew:
fixFixed bug:
perfPerformance improvement:
revertReverted:

To customize this, pass an object to the plugin and override the types property:

const wordpressReadme = require('@myparcel/semantic-release-wordpress-readme-generator');

module.exports = {
  plugins: [
    // ...
    [
      '@myparcel/semantic-release-wordpress-readme-generator',
      {
        types: [
          {
            type: 'feat',
            prefix: 'Feature: ',
          },
          {
            type: 'fix',
            prefix: 'Fix: ',
          },
        ]
      }
    ],
  ],
};
1.2.0

1 year ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago