lerna-clean-changelogs

Removes frivolous entries from commitizen generated changelogs

Usage no npm install needed!

<script type="module">
  import lernaCleanChangelogs from 'https://cdn.skypack.dev/lerna-clean-changelogs';
</script>

README

lerna-clean-changelogs

Removes frivolous entries from commitizen generated changelogs

Install

The latest version is ESM only: Node 12+ is needed to use it and it must be imported instead of required. If your project is not on ESM yet and you want to use require, use an older version of this program, 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 (c) 2010-2022 Roy Revelt and other contributors

ok codsen star