Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1010 Bytes

File metadata and controls

36 lines (24 loc) · 1010 Bytes

Example - commitizen and standard-version

Setup

npm install
npm start # demonstration

How to commit and push changes

This repository enforces the user to enter a properly formatted commit message via commitizen. You do not have to do anything different than git commit when commiting changes.

Once you have finished the commitizen dialog, you can easily push changes with git push.

How to release and later publish the package

This package uses standard-version and commitizen for standardizing commit messages, releasing tags and updating the changelog.

When you're ready to release, execute the following commands in the given order:

  1. git checkout master
  2. git pull origin master
  3. npm run release (or npx standard-version)
  4. git push --follow-tags origin master

Now you are ready to publish the package with: npm publish

License

MIT