Creates a keepachangelog.com changelog in the current directory. It tries to grab some default values from package.json
and folder names.
$ npm i changelog-init -g
Or use it apart of a larger work flow.
$ cd project-dir
$ changelog-init
CHANGELOG.md created at /project-dir/CHANGELOG.md
$ cat CHANGELOG.md
# project-dir Change Log
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).
## 2.34.5 - 2015-03-30
* ...
changelog-init
won't overwrite existing changelogs unless you tell it to:
$ changelog-init
CHANGELOG.md already exists
$ changelog-init -F
Force overwriting existing changelog
CHANGELOG.md created at /project/CHANGELOG.md
You can specify a path as well:
$ changelog-init /path/to/project
CHANGELOG.md created at /path/to/project/CHANGELOG.md
var init = require('changelog-init')
var opts = {force: false}
init('/path/to/project/', opts, function(err, path) {
// Stuff
})
init
returns an error
and a path
where the CHANGELOG.md was saved.
- https://gist.github.com/ungoldman/476a87abd16cd970bb9f
- http://keepachangelog.com/
- https://github.com/hypermodules/gh-release
- https://github.com/ungoldman/versioneer
- https://github.com/finnp/create-module
- https://github.com/hypermodules/changelog-parser
- https://github.com/ungoldman/module-init
ISC