@myparcel/semantic-release-wordpress-readme-generator

1.2.0 • Public • Published

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.

Type Prefix
feat New:
fix Fixed bug:
perf Performance improvement:
revert Reverted:

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: ',
          },
        ]
      }
    ],
  ],
};

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    3
  • 1.1.0
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @myparcel/semantic-release-wordpress-readme-generator

Weekly Downloads

3

Version

1.2.0

License

MIT

Unpacked Size

6.05 kB

Total Files

4

Last publish

Collaborators

  • myparcel-nl
  • edielemoine
  • mknijnenberg