Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Locally installation messed up with Yarn #527

Closed
SevenOutman opened this issue May 29, 2018 · 2 comments
Closed

Locally installation messed up with Yarn #527

SevenOutman opened this issue May 29, 2018 · 2 comments

Comments

@SevenOutman
Copy link
Contributor

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?

@jimthedev
Copy link
Member

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

@SevenOutman
Copy link
Contributor Author

@jimthedev Cool. Looking forward to the update :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants