English
Why czg
Motivation
cz-git has always used Commitizen CLI as an adapter (plugin)
But recently I want a CLI which is zero dependency, faster to download, faster to start, simple and convenient, that I can use it in any project without any additional configuration items, fast starts the CLI.
So i completed czg
CLI. You can understand it as commitizen CLI alternative (commitizen
CLI + cz-git
)
What is different from Commitizen CLI
- No additional download step required
- Expand cz-git features on its original basis
- The startup faster. Since the core of cz-git is already inside, Has all the same convenient features as cz-git
- More Lightweight. Better as project devDependencies or use
npx
in any of your projects
sh
$ npm install -D commitizen
added 148 packages, and audited 149 packages in 2 m
$ du -sh ./node_modules
102M ./node_modules
$ npm install -D czg
added 1 package, and audited 2 packages in 408 ms
$ du -sh ./node_modules/*
1.3M ./node_modules/czg
$ npm install -D commitizen
added 148 packages, and audited 149 packages in 2 m
$ du -sh ./node_modules
102M ./node_modules
$ npm install -D czg
added 1 package, and audited 2 packages in 408 ms
$ du -sh ./node_modules/*
1.3M ./node_modules/czg
What is different from cz-git
cz-git is commitizen adapter. czg behaves and loads config... the same as cz-git. If someone on your team is using Commitizen CLI. The two can be mixed, after all, both are very small and have zero dependencies.
- If you using
cz
orgit cz
command will startcommitizen
CLI +cz-git
adapter - If you using
czg
orgit czg
command will only startczg
CLI