31 questions
0
votes
0
answers
27
views
How to run script interactively on Mac
I am trying to get husky to launch commitizen in a pre-commit hook. Works fine on Linux. On Mac, not so much.
#!/bin/bash
exec < /dev/tty && cz commit || true
It looks like polling is ...
0
votes
1
answer
169
views
standard-version not counting features correctly
I'm using conventional-changelog's standard-version to manage semantic versioning and generate my CHANGELOG.md in my application.
I've already made my first release, which means my app's version is ...
0
votes
0
answers
584
views
Is it possible to make cz-customizable questions required?
I use the cz-customizable package to have conventional commits in the project; I use a customized configuration file named .cz-customize.js, and I've changed some defaults too. Is it possible to make ...
1
vote
1
answer
1k
views
Configure commitizen to bump a default version
Can we configure commitizen command
cz bump
to bump to a default version (i.e. PATCH ) if there is no commit bump_pattern (i.e. ^(break|new|fix|hotfixi)) in the commit message?
This is the part in ...
2
votes
2
answers
2k
views
How can I reference var from section into another section in pyproject.toml?
Hello I am building a pyproject object and I have the following two sections
[tool.poetry]
version = "0.1.0"
[tool.commitizen]
version = "0.1.0"
As you can see poetry uses the ...
7
votes
1
answer
2k
views
How can I keep poetry and commitizen versions synced?
I have a pyproject.toml with
[tool.poetry]
name = "my-project"
version = "0.1.0"
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.1.0"
I add a ...
1
vote
1
answer
708
views
error: pathspec 'commit' did not match any file(s) known to git when using commitizen
Now I want to using commitizen to commit the git repo in linux Ubuntu 20.04.4 LTS , first install the commitizen(Node v16.14.2):
npm install -g commitizen
when I commit code using commitizen like ...
1
vote
0
answers
1k
views
Commitizen and husky seem to be triggering the pre-commit hook twice
I am trying to configure commitizen with husky and when I commit using a custom script from package.json commit gets triggered twice. This is not the case when I try to run git commit though.
Opened ...
0
votes
1
answer
341
views
Jest and Commitizen: Commit works even if tests fail
I am currently using Jest, Husky, Commitizen, and Vuepress. However, when jest tests or the build fails, the commit hook still works. How can I fix this to exit the commitizen hook when things fail? ...
0
votes
1
answer
587
views
Use commitizen on a code-agnostic project
I would like to start incorporating commitizen in my repository; however, implementation seems to revolve around adding a js dependency on the repository, and calling it independently (and enforcing ...
0
votes
1
answer
406
views
Update to esLint on Angular breaks commitlint
I just updated an Angular 11 app to eslint and installed commitizen, commitlint, husky and semantic-release to drive CI through npm and Travis.
I followed the instructions on the Angular recommended ...
1
vote
0
answers
1k
views
git commitizen does not work after installation
I have a problem with git cz. I installed it following *Conventional commit messages as a global utility
* and then when I hit git cz everything works but wen I reopen my terminal and hit again git ...
1
vote
1
answer
2k
views
lint-staged + commitizen configuration suitable for command-line and Intellij
I'm trying to build such a configuration which would work for both command line and Intellij.
Here is a part of my package.json
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
...
1
vote
0
answers
2k
views
npm install PATH for postinstall scripts on Jenkins
My JS project uses a NPM package called commitizen:
https://github.com/commitizen/cz-cli
commitizen is added to my devDependencies in package.json file.
commitizen uses internally a package called ...
2
votes
1
answer
3k
views
Can't commit when combining commitizen + husky: nvm is not compatible with the "npm_config_prefix" environment variable
I have a project that was using commitizen without problems. I've decided to add husky to run precommit hooks with prettier. The problem is that when I run the npm run cm command, I get this error...
...
1
vote
1
answer
647
views
What Commitizen type should I use for a change that is an improvemant for an existing feature?
Here are the Commitizen types:
What Commitizen type should I use for a change that is an improvement for an existing feature?
CZ resources :
http://commitizen.github.io/cz-cli/
https://github.com/...