@commitlint/cz-commitlint 16.0.0 → 16.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [16.0.3](https://github.com/conventional-changelog/commitlint/compare/v16.0.2...v16.0.3) (2022-01-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * commit body should be empty by default ([#2980](https://github.com/conventional-changelog/commitlint/issues/2980)) ([e6582e0](https://github.com/conventional-changelog/commitlint/commit/e6582e03608621e46f617a097b4880750ae85021))
12
+
13
+
14
+
15
+
16
+
6
17
  # [16.0.0](https://github.com/conventional-changelog/commitlint/compare/v15.0.0...v16.0.0) (2021-12-26)
7
18
 
8
19
 
@@ -23,7 +23,7 @@ function combineCommitMessage(answers) {
23
23
  const maxLineLength = (0, rules_2.getMaxLength)((0, rules_1.getRule)('body', 'max-line-length'));
24
24
  const leadingBlankFn = (0, leading_blank_fn_1.default)((0, rules_1.getRule)('body', 'leading-blank'));
25
25
  const { body, breakingBody, issuesBody } = answers;
26
- const commitBody = body || breakingBody || issuesBody || '-';
26
+ const commitBody = body || breakingBody || issuesBody || '';
27
27
  if (commitBody) {
28
28
  return leadingBlankFn(maxLineLength < Infinity
29
29
  ? (0, word_wrap_1.default)(commitBody, {
@@ -1 +1 @@
1
- {"version":3,"file":"SectionBody.js","sourceRoot":"","sources":["../src/SectionBody.ts"],"names":[],"mappings":";;;;;;AACA,0DAA6B;AAC7B,0DAAkC;AAClC,6FAAqE;AACrE,yCAAsC;AACtC,gFAAyD;AACzD,yCAA2C;AAE3C,SAAgB,YAAY;IAC3B,OAAO;IACP,MAAM,cAAc,GAAG,IAAA,+BAAqB,EAAC,MAAM,CAAC,CAAC;IAErD,IAAI,CAAC,cAAc;QAAE,OAAO,EAAE,CAAC;;Q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AMC;AAED,SAAgB,oBAAoB,CAAC,OAAgB;IACpD,MAAM,aAAa,GAAG,IAAA,oBAAY,EAAC,IAAA,eAAO,EAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACvE,MAAM,cAAc,GAAG,IAAA,0BAAiB,EAAC,IAAA,eAAO,EAAC,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC;IAC3E,MAAM,EAAC,IAAI,EAAE,YAAY,EAAE,UAAU,EAAC,GAAG,OAAO,CAAC;IAEjD,MAAM,UAAU,GAAG,IAAI,IAAI,YAAY,IAAI,UAAU,IAAI,EAAE,CAAC;IAE5D,IAAI,UAAU,EAAE;QACf,OAAO,cAAc,CACpB,aAAa,GAAG,QAAQ;YACvB,CAAC,CAAC,IAAA,mBAAI,EAAC,UAAU,EAAE;gBACjB,KAAK,EAAE,aAAa;gBACpB,IAAI,EAAE,IAAI;gBACV,MAAM,EAAE,EAAE;aACT,CAAC;YACJ,CAAC,CAAC,UAAU,CAAC,IAAI,EAAE,CACpB,CAAC;KACF;SAAM;QACN,OAAO,EAAE,CAAC;KACV;AACF,CAAC;AApBD,oDAoBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commitlint/cz-commitlint",
3
- "version": "16.0.0",
3
+ "version": "16.0.3",
4
4
  "description": "Commitizen adapter using the commitlint.config.js",
5
5
  "main": "./lib/index.js",
6
6
  "files": [
@@ -51,5 +51,6 @@
51
51
  "devDependencies": {
52
52
  "@types/inquirer": "^8.0.0",
53
53
  "commitizen": "^4.2.4"
54
- }
54
+ },
55
+ "gitHead": "0a0848d2d44d28b1d1d350102546823b51070790"
55
56
  }