2.0.4 • Published 11 months ago

@greathobbies/changelog-manager v2.0.4

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
11 months ago

Changelog Manager

codecov CI

This tool allows you to manage a changelog with the use of a changes file and JSON to store changes to be built into a changelog.

Installation

Installing is as easy and running:

npm install -g @greathobbies/changelog-manager

Usage

First run the init command to initialise the directories and config.

changelog-manager init

This will initialise the .changelog-manager directory, the entry directories and the config file. You can then use the manager as per below.

changelog-manager [command] [options]

Commands

init

Initialises the directories and config.

changelog-manager init [options]
OptionDescriptionRequired

changes add

Parses and saves content from changes file to a change json file.

changelog-manager changes add <ID> [options]
OptionDescriptionRequired
IDReference value. Typically MR number.:heavy_check_mark:
--issuesIssue numbers associated with change. Comma separated.:x:
-r releaseThe release to add the changes to.:x:
-i fileThe changes file to add changes from.:x:
-sStrict mode. Returns an error if there are non standard sections.:x:

releases add

Adds release entry.

changelog-manager releases add <release> [options]
OptionDescriptionRequired
releaseRelease name. E.g. 1.1.0:heavy_check_mark:
-d dateDate of release:x:

releases set

Sets a release to a change or all changes with no release.

changelog-manager releases set <release> [options]
OptionDescriptionRequired
releaseRelease to set change(s) to.:heavy_check_mark:
-c changeChange to set release to. Don't set to set all changes without a release.:x:

releases remove

Removes a release from the changelog json file.

changelog-manager releases remove <release> [options]
OptionDescriptionRequired
releaseRelease to delete.:heavy_check_mark:

build

Builds the changelog from the change JSON files.

changelog-manager build [options]
OptionDescriptionRequired
--header stringUse to replace default header text or set false to leave empty header.:x:
-o fileOutput changelog file.:x:
-l urlIssue link prefix. Change issues get appended to this.:x:

cat

Builds and cats the changelog.

changelog-manager cat [options]
OptionDescriptionRequired
-l urlIssue link prefix. Change issues get appended to this.:x:
-r releaseOutput specific release.:x:
--header textUse to replace default header text or set false to leave empty header.:x:

Config

The config file is located under the .changelog-manager directory.

SettingDescriptionDefault
IssuesLinkThe prefix link for issues if -l isn't set in a command.""
HeaderContentThe header content that is placed between Changelog and the latest release.All notable changes to this project will be documented in this file. The format is based on Keep a Changelog.
2.0.3

11 months ago

2.0.2

11 months ago

2.0.4

11 months ago

2.0.1

12 months ago

2.0.0

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

1 year ago