Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

"Fork" of the conventional-changelog-angular that will automate changelog generation for Hipo Web team.

License

Notifications You must be signed in to change notification settings

Hipo/hipo-web-conventional-changelog

Repository files navigation

⚠️ This repo is not actively used, and it's not maintained anymore.


Extends the capabilities of Angular preset of conventional-changelog.

If you want to make changes this version of the preset, please take a look at how-to-make-changes file.

How to use

  • Install conventional-changelog-cli globally by running
npm install -g conventional-changelog-cli
  • Install hipo-web-conventional-changelog package as a dev dependency to your project.
npm install hipo-web-conventional-changelog --save-dev
  • Generate a changelog-context-variables.json file at the root of your project and include the codebase project name for your project:
{
  "codebaseProjectName": "chroma"
}
  • Create a script for generating changelog
{
  "changelog": "conventional-changelog --config ./node_modules/hipo-web-conventional-changelog/index.js --context ./changelog-context-variables.json -o CHANGELOG.md -r 0"
}

Recommended workflow

  • Make changes
  • Commit those changes
  • Bump version in package.json
  • npm run changelog
  • Commit package.json and CHANGELOG.md files
  • Tag
  • Push

Convention

See Hipo web-handbook for commit conventions.

The following commit types will appear in the changelog:

  • feat
  • fix
  • perf
  • revert
  • refactor

Other commit types won't appear unless their footer includes BREAKING CHANGES notes.

About

"Fork" of the conventional-changelog-angular that will automate changelog generation for Hipo Web team.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published