changelogx

v5.0.2
Yet another changelog generator from git commits, based on conventions and with an optional hook to enforce the rules
changelog git changes history commits tags

eslint

eslint --cache --cache-location node_modules/.cache/ -f friendly 'index.js' 'src/**/*.js' 'lib/**/*.js' 'bin/**/*.js' 'specs/**/*.js' 'hooks/**/*.js'

test

mocha-runner 'specs/**/*.js'

cover

istanbul cover -x 'specs/**/*.js' mocha-runner 'specs/**/*.js' html text-summary

lint

npm run eslint -- --fix && npm test

check

npm run eslint && npm test

changelog

./bin/cli.js -f markdown -o ./changelog.md -c configs/changelogx.config.js

do-changelog

npm run changelog && git add ./changelog.md && git commit -m 'DOC: Generate changelog'

install-hooks

./bin/cli.js install-hook && prepush install && precommit install

pre-v

npm run check

post-v

npm run do-changelog && git push --no-verify && git push --tags --no-verify

bump-major

npm run pre-v && npm version major -m 'BLD: Release v%s' && npm run post-v

bump-minor

npm run pre-v && npm version minor -m 'BLD: Release v%s' && npm run post-v

bump-patch

npm run pre-v && npm version patch -m 'BLD: Release v%s' && npm run post-v

Metadata

  • MIT
  • >=8
  • Roy Riojas
  • released 7/12/2019

Downloads

Maintainers