5

I am trying to adopt a conventional commits like standard to my projects. While searching for linters and other automation tools I stumbled upon commitizen. I want to use it in my project without installing it locally neither globally using the NPX with the command npx git-cz.

  • How to define the adapter using this approach? (without installing it locally or globally)

  • What is the default adapter used by Commitizen when on NPX? (Couldn't find in their documentation)

4

1 回答 1

3

这是commitizen 中的一个已知问题

如果存储库对提交不友好,则运行npx git-cz将安装并使用streamich/git-cz适配器。

我认为这仅因为包名称冲突而起作用,并且不认为您可以通过这种方式配置不同的适配器。

于 2019-02-22T09:26:48.343 回答