jonasmerlin / node-boilerplate

A boilerplate repo for npm based projects.
MIT License
0 stars 0 forks source link

standard-version doesn't work with commitizen hook #1

Open jonasmerlin opened 5 years ago

jonasmerlin commented 5 years ago

When running standard-version - via npm run release or directly - it hangs on comitting the changes it does. This seems to be because it calls git commit, which in turn calls git cz (commitizen) because of the pre-commit-msg hook. standard-version then can't answer commitizen's questions.

jonasmerlin commented 5 years ago

Possible Solution: run standard-version with the --no-verify flag

This doesn't seem to work. Somehow it doesn't seem to ignore the pre-commit-msg hook but only the pre-commit linting one?