Cz-cli: Locally installation messed up with Yarn

Created on 29 May 2018  路  2Comments  路  Source: commitizen/cz-cli

Hi team, first off thanks for creating this great tool!

I prefer a per-project installation of devDependencies so I'm also installing commitizen locally. The problem is I'm using Yarn as package manager, but when I run ./node_modules/.bin/commitizen init cz-conventional-changelog --save-dev --save-exact, commitizen seemed to use npm install to install its packages, and node_modules just messed up.

So is there an option to run commitizen init with yarn?

Most helpful comment

Good question. Not at the moment but a --yarn flag is a pretty good idea.

All 2 comments

Good question. Not at the moment but a --yarn flag is a pretty good idea.

@jimthedev Cool. Looking forward to the update :)

Was this page helpful?
0 / 5 - 0 ratings