1.0.5 • Published 4 years ago

danger-plugin-keepachangelog v1.0.5

Weekly downloads
182
License
MIT
Repository
github
Last release
4 years ago

danger-plugin-keepachangelog

npm version

Makes changes to CHANGELOG consistent with keepachangelog standard

Usage

Install:

yarn add danger-plugin-keepachangelog --dev

At a glance:

// dangerfile.js
import { keepachangelog } from 'danger-plugin-keepachangelog'

keepachangelog()

Checks

ℹ️ All checks will be skipped if #trivial is present in the title or body of the PR

SituationMessage demo
No changes to CHANGELOG.md were foundDemo
Missing a section line (eg: ### Fixed)Demo
Missing a new version line (eg: ## [1.0.1] - 2020-03-20)Demo
Having a new version line (when the option changeVersion is set to false)Demo

Options

You can pass options to keepachangelog function:

keepachangelog({ changeVersion: true })
OptionDefaultDescription
changeVersiontrue- true it will fail if a version line is missing- false it will fail if a new version line is present

Contributing

See CONTRIBUTING.md.

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago