@lmc-eu/conventional-changelog-lmc-github

3.0.1 • Public • Published

@lmc-eu/conventional-changelog-lmc-github

LMC’s Conventional Changelog preset for GitHub repositories

Usage

Installation

NPM:

npm i --dev @commitlint/cli @commitlint/config-conventional @lmc-eu/conventional-changelog-lmc-github

Yarn:

yarn add --dev @commitlint/cli @commitlint/config-conventional @lmc-eu/conventional-changelog-lmc-github

Configuration

Linting

Create a commitlint.config.js file with the following contents:

'use strict';

module.exports = {
  extends: ['@commitlint/config-conventional'],
  parserPreset: '@lmc-eu/conventional-changelog-lmc-github',
};

Changelog

In a package.json define following scripts:

{
  "scripts": {
    "changelog": "conventional-changelog -p lmc-github -i CHANGELOG.md -s",
    "changelog:origin": "conventional-changelog -p lmc-github -i CHANGELOG.md -s -r 0"
  }
}

For example see example changelog file

Package Sidebar

Install

npm i @lmc-eu/conventional-changelog-lmc-github

Weekly Downloads

470

Version

3.0.1

License

BSD-3-Clause

Unpacked Size

6.54 kB

Total Files

9

Last publish

Collaborators

  • dlouhak
  • crishpeen
  • petrofcikmatus
  • martinhrdlicka
  • petrlz
  • ondram
  • literat