lerna-clean-changelogs
Removes frivolous entries from commitizen generated changelogs
Install
This package is pure ESM. If you're not ready yet, install an older version of this program, 2.1.0 (npm i lerna-clean-changelogs@2.1.0
).
npm i lerna-clean-changelogs
Quick Take
import { strict as assert } from "assert";
import { cleanChangelogs } from "lerna-clean-changelogs";
// are all values equal to null:
assert.equal(
cleanChangelogs(`# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 2.9.2 (2018-12-27)
**Note:** Version bump only for package ranges-apply
## [2.9.1](https://gitlab.com/codsen/codsen/tree/master/packages/ranges-apply/compare/ranges-apply@2.9.0...ranges-apply@2.9.1) (2018-12-27)
**Note:** Version bump only for package ranges-apply
## 2.9.0 (2018-12-26)
### Bug Fixes
* aaa
### Features
* bbb
`).res,
//
//
//
// output:
`# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 2.9.0 (2018-12-26)
### Bug Fixes
- aaa
### Features
- bbb
`,
);
Documentation
Please visit codsen.com for a full description of the API.
Contributing
To report bugs or request features or assistance, raise an issue on GitHub.
Licence
MIT License.
Copyright © 2010-2024 Roy Revelt and other contributors.