Skip to content

This example repository enforces the user to enter a properly formatted commit message via commitizen.

License

Notifications You must be signed in to change notification settings

natterstefan/example-commitizen-standard-version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

This example repository enforces the user to enter a properly formatted commit message via commitizen.

Topics

Resources

License

Stars

Watchers

Forks

Packages