Socket
Socket
Sign inDemoInstall

changelog.md

Package Overview
Dependencies
238
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    changelog.md

Manage CHANGELOG.md so easy it hurts.


Version published
Maintainers
1
Created

Changelog

Source

Version 0.1.1 (2017-1-3)

Patches

...full changes

Readme

Source

changelog.md

NPM version NPM downloads Build Status donate

How does it work

  • Get last version from git tag, if no tags it defaults to 0.0.0
  • Get the commits since last version
    • Prompt user to enter the type of each commit
    • Infer the new version from the types of all commits
  • Generate markdown string from commits and prompt answers
  • Create or prepend to CHANGELOG.md and update package.json version field
  • Commits changes and create new git tag

Install

$ yarn global add changelog.md

Usage

$ changelog

Recipes

Commit types

  • patch: Bug fixes
  • minor: Backward-compatible updates
  • major: Introducing breaking changes
  • ignore: Do not include this commit in changelog

Besides choosing ignore in prompts to exclude commits in changelog, the commit message that starts with [skip] [ignore] [skip $foo] [ignore $foo] will also be excluded.

Work with npm publish

# made some changes to your code...
$ git add -am "change the world"
$ npm test
$ changelog
$ git push --follow-tags
$ npm publish

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

changelog.md © EGOIST, Released under the MIT License.
Authored and maintained by EGOIST with help from contributors (list).

egoistian.com · GitHub @EGOIST · Twitter @rem_rin_rin

FAQs

Last updated on 03 Jan 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc