Open ontoneio opened 2 years ago
Be happy to jump in and help debug this if your open to it @leonardoanalista. Bit of a blocker for me, so I can spend some time.
Also thank you for the assembling this great library. Saving me a ton of trouble in for other things.
Bug Repro URL : https://github.com/ontoneio/cz-choices-bug
Dependency info
16.16.0
1.22.19
Brief
tools/.cz-config.js
as acommitizen
plugin.choices
parametertools/projectScopes.js
to implement custom scopes function for use with other tooling. ex:commitlint
tools/.cz-config.js
can be found on starting on line37
.Steps taken
I followed instructions from this config instruction in Configuration (Shared between options 1,2 and 3) which results in below output when run from script
prepare-commit
in thepackage.json
.as well as using the instructions from Option 2 - cz-customizable in standalone mode which results in below output when run from script
commit
in thepackage.json
.Reproduction
git clone https://github.com/ontoneio/cz-choices-bug
index.js
files located inapps/app1|app2
yarn
both scripts from root levelpackage.json
a.prepare-commit
assumescz-customizable
is acommitizen
plugin b.commit
assumescz-customizable
is astandalone
pluginchoices
parameter in both scripts.