You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: replace commitizen library to original one (#78)
The official repository was able to address the security fixes
BREAKING CHANGE: Switching back commitizen and cz-conventional-changelog libraries to the official ones
Co-authored-by: Márcio Saeger <marcio.saeger@digitalroute.com>
Copy file name to clipboardExpand all lines: README.md
+18-12Lines changed: 18 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
# cz-conventional-changelog-for-jira
2
2
3
-
Part of the [@ryansonshine/commitizen](https://github.com/ryansonshine/cz-cli) family. Prompts for [conventional changelog](https://github.com/conventional-changelog/conventional-changelog) standard and also prompts for a mandatory JIRA issue.
4
-
5
-
**Note**: [commitizen](https://www.npmjs.com/package/commitizen) has been replaced by [@ryansonshine/commitizen](https://github.com/ryansonshine/cz-cli) because the latest version published in NPM has critical security issues and it appears that the developers can't publish new versions to NPM. [@ryansonshine/commitizen](https://github.com/ryansonshine/cz-cli) has fixed the critical issues and published a newer version in NPM. Read [this comment](https://github.com/commitizen/cz-cli/issues/914#issuecomment-1131383383) for more information.
3
+
Part of the [commitizen/cz-cli](https://github.com/commitizen/cz-cli) family. Prompts for [conventional changelog](https://github.com/conventional-changelog/conventional-changelog) standard and also prompts for a mandatory JIRA issue.
@@ -46,15 +44,15 @@ and then add the following to package.json:
46
44
Like commitizen, you can specify the configuration of cz-conventional-changelog-for-jira through the package.json's `config.commitizen` key, or with environment variables.
| CZ_JIRA_MODE | jiraMode | true | If this is set to true, CZ will ask for a Jira issue and put it in the commit head. If set to false CZ will ask for the issue in the end, and can be used for GitHub. |
51
49
| CZ_MAX_HEADER_WIDTH | maxHeaderWidth | 72 | This limits how long a commit message head can be. |
52
50
| CZ_MIN_HEADER_WIDTH | minHeaderWidth | 2 | This limits how short a commit message can be. |
53
51
| CZ_MAX_LINE_WIDTH | maxLineWidth | 100 | Commit message bodies are automatically wrapped. This decides how long the lines will be. |
54
52
| CZ_SKIP_SCOPE | skipScope | true | If scope should be used in commit messages. |
55
53
| CZ_SKIP_TYPE | skipType | false | If type should be used in commit messages. |
56
-
| CZ_SKIP_DESCRIPTION | skipDescription | false | If description should be used in commit messages.|
57
-
| CZ_SKIP_BREAKING | skipBreaking | false | If breaking changes should be used in commit messages.|
54
+
| CZ_SKIP_DESCRIPTION | skipDescription | false | If description should be used in commit messages. |
55
+
| CZ_SKIP_BREAKING | skipBreaking | false | If breaking changes should be used in commit messages. |
58
56
|| scopes | undefined | A list (JS Array) of scopes that will be available for selection. Note that adding this will change the scope field from Inquirer 'input' to 'list'. |
| jiraMode | true | If this is set to true, CZ will ask for a Jira issue and put it in the commit head. If set to false CZ will ask for the issue in the end, and can be used for GitHub. |
147
154
| maxHeaderWidth | 72 | This limits how long a commit message head can be. |
148
155
| minHeaderWidth | 2 | This limits how short a commit message can be. |
@@ -163,7 +170,6 @@ List of all supported configurable options when using the _configurable_ approac
163
170
| jiraAppend | "" | Appends JIRA ID with an optional decorator. e.g.: `DAZ-1234]`|
164
171
| exclamationMark | false | On breaking changes, adds an exclamation mark (!) after the scope, e.g.: `type(scope)!: break stuff`. When activated, reduces the effective allowed header length by 1. |
165
172
166
-
167
173
### Commitlint
168
174
169
175
If using the [commitlint](https://github.com/conventional-changelog/commitlint) js library, the "maxHeaderWidth" configuration property will default to the configuration of the "header-max-length" rule instead of the hard coded value of 72. This can be ovewritten by setting the 'maxHeaderWidth' configuration in package.json or the CZ_MAX_HEADER_WIDTH environment variable.
0 commit comments