commitizen / commitizen/cz-cli

It doesn't work in a yeoman generated project

Open
#128 8 comments 0 reactions 0 assignees View on GitHub
cli help / pr wanted question
Dominant language
JavaScript
Stars
17.5k
Forks
566
Avg merge
8h 16m
Merged PRs (30d)
1

Description

I installed and configured the cz-cli into a git project generated by yeoman (yeoman polymer).

Running `git cz` works fine until after the last questions that lunch yeoman generator. Here is an example of the process:

```
$ yo polymer myApp

_-----_
| | .--------------------------.
|--(o)--| | Out of the box I include |
`---------´ | Polymer Starter Kit |
( _´U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
´ ` |° ´ Y `

? Would you like to include web-component-tester? No
? Would you like to include recipe docs? No
[…]
I'm all done. Running *npm install & bower install* for you to install the required dependencies. If this fails, try running the command yourself.
[…]
$ commitizen init cz-conventional-changelog --save --save-exact
$ git add .
$ git cz
cz-cli@2.5.0, cz-conventional-changelog@1.1.5

Line 1 will be cropped at 100 characters. All other lines will be wrapped after 100 characters.

? Select the type of change that you're committing: chore: Changes to the build process or auxiliary tools
and libraries such as documentation generation
? Denote the scope of this change ($location, $browser, $compile, etc.):
*
? Write a short, imperative tense description of the change:
Scafold built with `yo polymer`
? Provide a longer description of the change:
Setp up the project (Polymer Starter Kit) using yeoman generator
? List any breaking changes or issues closed by this change:

_-----_
| | .--------------------------.
|--(o)--| | Out of the box I include |
`---------´ | Polymer Starter Kit |
( _´U`_ ) '--------------------------'
/___A___\
| ~ |
__'.___.'__
´ ` |° ´ Y `
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.