@storm-software/git-tools 2.104.47 → 2.104.49

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.
Files changed (88) hide show
  1. package/README.md +1 -2
  2. package/bin/{chunk-MM5AJ3HN.js → chunk-23TCSI67.js} +26 -143
  3. package/bin/{chunk-LHINQG4H.cjs → chunk-34R4PCUS.cjs} +9 -35
  4. package/bin/chunk-3XEEEMLV.js +25 -0
  5. package/bin/{chunk-FDIL5LQQ.cjs → chunk-3YZZSIRA.cjs} +2 -8
  6. package/bin/{chunk-QVRLY7GO.js → chunk-5DZECCFZ.js} +1831 -3498
  7. package/bin/{chunk-C56ONEWE.cjs → chunk-A3QVIDKR.cjs} +2063 -4146
  8. package/bin/{chunk-RWG7K3L2.cjs → chunk-ANR3M366.cjs} +14 -46
  9. package/bin/{chunk-YCGKNXJZ.cjs → chunk-AQDYBQBF.cjs} +2 -12
  10. package/bin/{chunk-DNTOHRW4.js → chunk-BJYW7ISD.js} +78 -182
  11. package/bin/{chunk-YKGA2MVU.cjs → chunk-FY5QB5MQ.cjs} +13 -47
  12. package/bin/{chunk-DBXOSHV7.js → chunk-GIYWTOX5.js} +10 -44
  13. package/bin/{chunk-YS7O5BRI.cjs → chunk-H6RJC2EU.cjs} +29 -146
  14. package/bin/{chunk-IFBRUMYX.js → chunk-KTLBDGE7.js} +1 -11
  15. package/bin/{chunk-RJTSICHA.js → chunk-M3SPNRDT.js} +6 -32
  16. package/bin/{chunk-PW5R2BRU.cjs → chunk-MRCW7ZWW.cjs} +4 -5
  17. package/bin/{chunk-KD5ZCYX3.cjs → chunk-OQNZFKFJ.cjs} +22 -445
  18. package/bin/{chunk-OBE5IRH4.js → chunk-PAW5GJNL.js} +3 -4
  19. package/bin/{chunk-377YOE7Z.js → chunk-QROY5223.js} +4 -426
  20. package/bin/{chunk-QYSGMK4D.js → chunk-REUY4MDC.js} +10 -42
  21. package/bin/{chunk-JUU5ILZB.cjs → chunk-RHY34RLE.cjs} +4 -6
  22. package/bin/{chunk-PRG2N75Y.js → chunk-V3UDZCED.js} +1 -7
  23. package/bin/chunk-VNWRUK6N.cjs +25 -0
  24. package/bin/{chunk-EJRTGQIY.js → chunk-W2TU25OT.js} +2 -4
  25. package/bin/{chunk-V2L6QG6X.cjs → chunk-Z3K5JTIC.cjs} +88 -192
  26. package/bin/{dist-YVMKTFW6.cjs → dist-3B7RDNKI.cjs} +1097 -2113
  27. package/bin/{dist-AXJG5W3U.js → dist-BGCQPBHL.js} +2 -5
  28. package/bin/{dist-5TR4KAWC.cjs → dist-WGGNNSDG.cjs} +6 -9
  29. package/bin/{dist-KY7IAJSV.js → dist-YM6D424K.js} +417 -1489
  30. package/bin/{esm-MGSMO3WY.cjs → esm-6GE5MI4G.cjs} +249 -254
  31. package/bin/{esm-IZHFRARS.js → esm-WLHP7RVO.js} +246 -251
  32. package/bin/git.cjs +9757 -20881
  33. package/bin/git.js +4720 -13387
  34. package/bin/json5-ELADGSSP.js +10 -0
  35. package/bin/json5-FQPHMSAC.cjs +10 -0
  36. package/bin/jsonc-CTYQYPBR.cjs +15 -0
  37. package/bin/{jsonc-6643P3LC.js → jsonc-RUGZP2X2.js} +3 -3
  38. package/bin/{multipart-parser-Z3URKOGZ.cjs → multipart-parser-I4Y55UNL.cjs} +8 -14
  39. package/bin/{multipart-parser-HAF2WA3O.js → multipart-parser-MFV7BRF2.js} +3 -9
  40. package/bin/post-checkout.cjs +29 -23
  41. package/bin/post-checkout.js +19 -13
  42. package/bin/post-commit.cjs +29 -23
  43. package/bin/post-commit.js +19 -13
  44. package/bin/post-merge.cjs +29 -23
  45. package/bin/post-merge.js +19 -13
  46. package/bin/pre-commit.cjs +26 -20
  47. package/bin/pre-commit.js +17 -11
  48. package/bin/pre-install.cjs +22 -19
  49. package/bin/pre-install.js +13 -10
  50. package/bin/pre-push.cjs +55 -36
  51. package/bin/pre-push.js +40 -21
  52. package/bin/prepare.cjs +20 -17
  53. package/bin/prepare.js +13 -10
  54. package/bin/toml-IRXKI45Y.cjs +10 -0
  55. package/bin/toml-U3J6BEAR.js +10 -0
  56. package/bin/{utils-WL6G35GX.js → utils-6O4EJJM3.js} +2 -12
  57. package/bin/{utils-PZ3SHU7I.cjs → utils-GJRPR6GZ.cjs} +5 -15
  58. package/bin/version-warning.cjs +18 -15
  59. package/bin/version-warning.js +13 -10
  60. package/bin/yaml-CPOMXZOK.js +10 -0
  61. package/bin/yaml-WGJNEJ7V.cjs +10 -0
  62. package/dist/{chunk-232JIEVA.js → chunk-3MA2SHAT.js} +1 -1
  63. package/dist/chunk-3V3F7TB7.cjs +18 -0
  64. package/dist/{chunk-TFEV2FZY.js → chunk-D7HN6Y5M.js} +8 -9
  65. package/dist/{chunk-L2C6A3XV.cjs → chunk-EQZ3BKYL.cjs} +9 -10
  66. package/dist/{chunk-WTMYHIID.cjs → chunk-FX5G24P6.cjs} +3 -3
  67. package/dist/{chunk-W7SYRJE7.js → chunk-JVIJRTGD.js} +1 -1
  68. package/dist/commit/config.cjs +3 -3
  69. package/dist/commit/config.js +2 -2
  70. package/dist/commitlint/config.cjs +24 -103
  71. package/dist/commitlint/config.js +24 -103
  72. package/dist/index.cjs +4 -4
  73. package/dist/index.js +3 -3
  74. package/dist/release/config.cjs +3 -3
  75. package/dist/release/config.js +2 -2
  76. package/dist/types.cjs +2 -2
  77. package/dist/types.js +1 -1
  78. package/package.json +1 -1
  79. package/bin/chunk-5DWG2HXA.js +0 -22
  80. package/bin/chunk-7B6YVRI6.cjs +0 -22
  81. package/bin/json5-DQ2B7V4X.js +0 -10
  82. package/bin/json5-OV4LY5NN.cjs +0 -10
  83. package/bin/jsonc-SKJF3GPV.cjs +0 -15
  84. package/bin/toml-IP5GTCQW.cjs +0 -10
  85. package/bin/toml-KSQJ7SIB.js +0 -10
  86. package/bin/yaml-3NH46CEJ.cjs +0 -10
  87. package/bin/yaml-F3NXDIX4.js +0 -10
  88. package/dist/chunk-Y7XG7IJ6.cjs +0 -18
@@ -1,20 +1,18 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkFDIL5LQQcjs = require('./chunk-FDIL5LQQ.cjs');
4
+ var _chunk3YZZSIRAcjs = require('./chunk-3YZZSIRA.cjs');
5
5
 
6
6
 
7
-
8
- var _chunkJUU5ILZBcjs = require('./chunk-JUU5ILZB.cjs');
7
+ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
9
8
 
10
9
  // ../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/utils/index.mjs
11
- _chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
10
+ _chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
12
11
  function diff(obj1, obj2) {
13
12
  const h1 = _toHashedObject(obj1);
14
13
  const h2 = _toHashedObject(obj2);
15
14
  return _diff(h1, h2);
16
15
  }
17
- _chunkJUU5ILZBcjs.__name.call(void 0, diff, "diff");
18
16
  function _diff(h1, h2) {
19
17
  const diffs = [];
20
18
  const allProps = /* @__PURE__ */ new Set([
@@ -39,10 +37,9 @@ function _diff(h1, h2) {
39
37
  }
40
38
  return diffs;
41
39
  }
42
- _chunkJUU5ILZBcjs.__name.call(void 0, _diff, "_diff");
43
40
  function _toHashedObject(obj, key = "") {
44
41
  if (obj && typeof obj !== "object") {
45
- return new DiffHashedObject(key, obj, _chunkFDIL5LQQcjs.serialize.call(void 0, obj));
42
+ return new DiffHashedObject(key, obj, _chunk3YZZSIRAcjs.serialize.call(void 0, obj));
46
43
  }
47
44
  const props = {};
48
45
  const hashes = [];
@@ -52,11 +49,7 @@ function _toHashedObject(obj, key = "") {
52
49
  }
53
50
  return new DiffHashedObject(key, obj, `{${hashes.join(":")}}`, props);
54
51
  }
55
- _chunkJUU5ILZBcjs.__name.call(void 0, _toHashedObject, "_toHashedObject");
56
52
  var DiffEntry = class {
57
- static {
58
- _chunkJUU5ILZBcjs.__name.call(void 0, this, "DiffEntry");
59
- }
60
53
  constructor(key, type, newValue, oldValue) {
61
54
  this.key = key;
62
55
  this.type = type;
@@ -81,9 +74,6 @@ var DiffEntry = class {
81
74
  }
82
75
  };
83
76
  var DiffHashedObject = class {
84
- static {
85
- _chunkJUU5ILZBcjs.__name.call(void 0, this, "DiffHashedObject");
86
- }
87
77
  constructor(key, value, hash, props) {
88
78
  this.key = key;
89
79
  this.value = value;
@@ -108,4 +98,4 @@ var DiffHashedObject = class {
108
98
 
109
99
 
110
100
 
111
- exports.diff = diff; exports.isEqual = _chunkFDIL5LQQcjs.isEqual;
101
+ exports.diff = diff; exports.isEqual = _chunk3YZZSIRAcjs.isEqual;
@@ -1,33 +1,36 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
 
4
- var _chunk7B6YVRI6cjs = require('./chunk-7B6YVRI6.cjs');
4
+ var _chunkVNWRUK6Ncjs = require('./chunk-VNWRUK6N.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkC56ONEWEcjs = require('./chunk-C56ONEWE.cjs');
11
- require('./chunk-V2L6QG6X.cjs');
12
- require('./chunk-LHINQG4H.cjs');
13
- require('./chunk-YS7O5BRI.cjs');
14
- require('./chunk-YKGA2MVU.cjs');
15
- require('./chunk-RWG7K3L2.cjs');
16
- require('./chunk-YCGKNXJZ.cjs');
10
+ var _chunkA3QVIDKRcjs = require('./chunk-A3QVIDKR.cjs');
11
+ require('./chunk-Z3K5JTIC.cjs');
12
+ require('./chunk-34R4PCUS.cjs');
13
+ require('./chunk-H6RJC2EU.cjs');
14
+ require('./chunk-FY5QB5MQ.cjs');
15
+ require('./chunk-ANR3M366.cjs');
16
+ require('./chunk-AQDYBQBF.cjs');
17
17
 
18
18
 
19
- var _chunkJUU5ILZBcjs = require('./chunk-JUU5ILZB.cjs');
19
+ var _chunkRHY34RLEcjs = require('./chunk-RHY34RLE.cjs');
20
20
 
21
21
  // bin/version-warning.ts
22
- _chunkJUU5ILZBcjs.init_cjs_shims.call(void 0, );
22
+ _chunkRHY34RLEcjs.init_cjs_shims.call(void 0, );
23
23
  void (async () => {
24
- const config = await _chunkC56ONEWEcjs.getConfig.call(void 0, );
24
+ const config = await _chunkA3QVIDKRcjs.getConfig.call(void 0, );
25
25
  try {
26
- _chunkC56ONEWEcjs.handleProcess.call(void 0, config);
27
- _chunk7B6YVRI6cjs.checkPackageVersion.call(void 0, process.argv.slice(1));
26
+ _chunkA3QVIDKRcjs.handleProcess.call(void 0, config);
27
+ _chunkVNWRUK6Ncjs.checkPackageVersion.call(void 0, process.argv.slice(1));
28
28
  } catch (error) {
29
- _chunkC56ONEWEcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
- _chunkC56ONEWEcjs.exitWithError.call(void 0, config);
29
+ _chunkA3QVIDKRcjs.writeFatal.call(void 0,
30
+ `A fatal error occurred while running the program: ${error.message}`,
31
+ config
32
+ );
33
+ _chunkA3QVIDKRcjs.exitWithError.call(void 0, config);
31
34
  process.exit(1);
32
35
  }
33
36
  })();
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  checkPackageVersion
4
- } from "./chunk-5DWG2HXA.js";
4
+ } from "./chunk-3XEEEMLV.js";
5
5
  import {
6
6
  exitWithError,
7
7
  getConfig,
8
8
  handleProcess,
9
9
  writeFatal
10
- } from "./chunk-QVRLY7GO.js";
11
- import "./chunk-DNTOHRW4.js";
12
- import "./chunk-RJTSICHA.js";
13
- import "./chunk-MM5AJ3HN.js";
14
- import "./chunk-DBXOSHV7.js";
15
- import "./chunk-QYSGMK4D.js";
16
- import "./chunk-IFBRUMYX.js";
10
+ } from "./chunk-5DZECCFZ.js";
11
+ import "./chunk-BJYW7ISD.js";
12
+ import "./chunk-M3SPNRDT.js";
13
+ import "./chunk-23TCSI67.js";
14
+ import "./chunk-GIYWTOX5.js";
15
+ import "./chunk-REUY4MDC.js";
16
+ import "./chunk-KTLBDGE7.js";
17
17
  import {
18
18
  init_esm_shims
19
- } from "./chunk-EJRTGQIY.js";
19
+ } from "./chunk-W2TU25OT.js";
20
20
 
21
21
  // bin/version-warning.ts
22
22
  init_esm_shims();
@@ -26,7 +26,10 @@ void (async () => {
26
26
  handleProcess(config);
27
27
  checkPackageVersion(process.argv.slice(1));
28
28
  } catch (error) {
29
- writeFatal(`A fatal error occurred while running the program: ${error.message}`, config);
29
+ writeFatal(
30
+ `A fatal error occurred while running the program: ${error.message}`,
31
+ config
32
+ );
30
33
  exitWithError(config);
31
34
  process.exit(1);
32
35
  }
@@ -0,0 +1,10 @@
1
+ import {
2
+ Ar,
3
+ vr
4
+ } from "./chunk-23TCSI67.js";
5
+ import "./chunk-KTLBDGE7.js";
6
+ import "./chunk-W2TU25OT.js";
7
+ export {
8
+ Ar as parseYAML,
9
+ vr as stringifyYAML
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkH6RJC2EUcjs = require('./chunk-H6RJC2EU.cjs');
5
+ require('./chunk-AQDYBQBF.cjs');
6
+ require('./chunk-RHY34RLE.cjs');
7
+
8
+
9
+
10
+ exports.parseYAML = _chunkH6RJC2EUcjs.Ar; exports.stringifyYAML = _chunkH6RJC2EUcjs.vr;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_COMMIT_QUESTIONS,
3
3
  DEFAULT_COMMIT_TYPES
4
- } from "./chunk-TFEV2FZY.js";
4
+ } from "./chunk-D7HN6Y5M.js";
5
5
 
6
6
  // src/release/config.ts
7
7
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
@@ -0,0 +1,18 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkEQZ3BKYLcjs = require('./chunk-EQZ3BKYL.cjs');
7
+
8
+ // src/commit/config.ts
9
+ var DEFAULT_COMMIT_CONFIG = {
10
+ settings: _chunkEQZ3BKYLcjs.DEFAULT_COMMIT_SETTINGS,
11
+ messages: _chunkEQZ3BKYLcjs.DEFAULT_COMMIT_PROMPT_MESSAGES,
12
+ questions: _chunkEQZ3BKYLcjs.DEFAULT_COMMIT_QUESTIONS,
13
+ types: _chunkEQZ3BKYLcjs.DEFAULT_COMMIT_TYPES
14
+ };
15
+
16
+
17
+
18
+ exports.DEFAULT_COMMIT_CONFIG = DEFAULT_COMMIT_CONFIG;
@@ -1,6 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
1
  // src/types.ts
5
2
  var DEFAULT_COMMIT_TYPES = {
6
3
  /* --- Bumps version when selected --- */
@@ -136,7 +133,9 @@ var DEFAULT_COMMIT_QUESTIONS = {
136
133
  type: "select",
137
134
  title: "Commit Type",
138
135
  description: "Select the commit type that best describes your changes",
139
- enum: Object.keys(DEFAULT_COMMIT_TYPES).filter((type) => DEFAULT_COMMIT_TYPES[type].hidden !== true).reduce((ret, type) => {
136
+ enum: Object.keys(DEFAULT_COMMIT_TYPES).filter(
137
+ (type) => DEFAULT_COMMIT_TYPES[type].hidden !== true
138
+ ).reduce((ret, type) => {
140
139
  ret[type] = DEFAULT_COMMIT_TYPES[type];
141
140
  return ret;
142
141
  }, {}),
@@ -176,7 +175,7 @@ var DEFAULT_COMMIT_QUESTIONS = {
176
175
  type: "input",
177
176
  title: "Breaking Changes (Details)",
178
177
  description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself",
179
- when: /* @__PURE__ */ __name((answers) => answers.isBreaking === true, "when"),
178
+ when: (answers) => answers.isBreaking === true,
180
179
  maxLength: 600,
181
180
  minLength: 3
182
181
  },
@@ -190,7 +189,7 @@ var DEFAULT_COMMIT_QUESTIONS = {
190
189
  type: "input",
191
190
  title: "Open Issue Affected (Details)",
192
191
  description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself",
193
- when: /* @__PURE__ */ __name((answers) => answers.isIssueAffected === true, "when"),
192
+ when: (answers) => answers.isIssueAffected === true,
194
193
  maxLength: 600,
195
194
  minLength: 3
196
195
  }
@@ -212,12 +211,12 @@ var DEFAULT_COMMIT_SETTINGS = {
212
211
  closedIssuePrefix: "\u2705 ",
213
212
  format: DEFAULT_COMMIT_MESSAGE_FORMAT
214
213
  };
215
- var RuleConfigSeverity;
216
- (function(RuleConfigSeverity2) {
214
+ var RuleConfigSeverity = /* @__PURE__ */ ((RuleConfigSeverity2) => {
217
215
  RuleConfigSeverity2[RuleConfigSeverity2["Disabled"] = 0] = "Disabled";
218
216
  RuleConfigSeverity2[RuleConfigSeverity2["Warning"] = 1] = "Warning";
219
217
  RuleConfigSeverity2[RuleConfigSeverity2["Error"] = 2] = "Error";
220
- })(RuleConfigSeverity || (RuleConfigSeverity = {}));
218
+ return RuleConfigSeverity2;
219
+ })(RuleConfigSeverity || {});
221
220
 
222
221
  export {
223
222
  DEFAULT_COMMIT_TYPES,
@@ -1,7 +1,4 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
-
4
- // src/types.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/types.ts
5
2
  var DEFAULT_COMMIT_TYPES = {
6
3
  /* --- Bumps version when selected --- */
7
4
  chore: {
@@ -136,7 +133,9 @@ var DEFAULT_COMMIT_QUESTIONS = {
136
133
  type: "select",
137
134
  title: "Commit Type",
138
135
  description: "Select the commit type that best describes your changes",
139
- enum: Object.keys(DEFAULT_COMMIT_TYPES).filter((type) => DEFAULT_COMMIT_TYPES[type].hidden !== true).reduce((ret, type) => {
136
+ enum: Object.keys(DEFAULT_COMMIT_TYPES).filter(
137
+ (type) => DEFAULT_COMMIT_TYPES[type].hidden !== true
138
+ ).reduce((ret, type) => {
140
139
  ret[type] = DEFAULT_COMMIT_TYPES[type];
141
140
  return ret;
142
141
  }, {}),
@@ -176,7 +175,7 @@ var DEFAULT_COMMIT_QUESTIONS = {
176
175
  type: "input",
177
176
  title: "Breaking Changes (Details)",
178
177
  description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself",
179
- when: /* @__PURE__ */ __name((answers) => answers.isBreaking === true, "when"),
178
+ when: (answers) => answers.isBreaking === true,
180
179
  maxLength: 600,
181
180
  minLength: 3
182
181
  },
@@ -190,7 +189,7 @@ var DEFAULT_COMMIT_QUESTIONS = {
190
189
  type: "input",
191
190
  title: "Open Issue Affected (Details)",
192
191
  description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself",
193
- when: /* @__PURE__ */ __name((answers) => answers.isIssueAffected === true, "when"),
192
+ when: (answers) => answers.isIssueAffected === true,
194
193
  maxLength: 600,
195
194
  minLength: 3
196
195
  }
@@ -212,12 +211,12 @@ var DEFAULT_COMMIT_SETTINGS = {
212
211
  closedIssuePrefix: "\u2705 ",
213
212
  format: DEFAULT_COMMIT_MESSAGE_FORMAT
214
213
  };
215
- var RuleConfigSeverity;
216
- (function(RuleConfigSeverity2) {
214
+ var RuleConfigSeverity = /* @__PURE__ */ ((RuleConfigSeverity2) => {
217
215
  RuleConfigSeverity2[RuleConfigSeverity2["Disabled"] = 0] = "Disabled";
218
216
  RuleConfigSeverity2[RuleConfigSeverity2["Warning"] = 1] = "Warning";
219
217
  RuleConfigSeverity2[RuleConfigSeverity2["Error"] = 2] = "Error";
220
- })(RuleConfigSeverity || (RuleConfigSeverity = exports.RuleConfigSeverity = {}));
218
+ return RuleConfigSeverity2;
219
+ })(RuleConfigSeverity || {});
221
220
 
222
221
 
223
222
 
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkL2C6A3XVcjs = require('./chunk-L2C6A3XV.cjs');
4
+ var _chunkEQZ3BKYLcjs = require('./chunk-EQZ3BKYL.cjs');
5
5
 
6
6
  // src/release/config.ts
7
7
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
8
- questions: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_QUESTIONS,
9
- types: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_TYPES
8
+ questions: _chunkEQZ3BKYLcjs.DEFAULT_COMMIT_QUESTIONS,
9
+ types: _chunkEQZ3BKYLcjs.DEFAULT_COMMIT_TYPES
10
10
  };
11
11
  var DEFAULT_RELEASE_GROUP_CONFIG = {
12
12
  projectsRelationship: "independent",
@@ -3,7 +3,7 @@ import {
3
3
  DEFAULT_COMMIT_QUESTIONS,
4
4
  DEFAULT_COMMIT_SETTINGS,
5
5
  DEFAULT_COMMIT_TYPES
6
- } from "./chunk-TFEV2FZY.js";
6
+ } from "./chunk-D7HN6Y5M.js";
7
7
 
8
8
  // src/commit/config.ts
9
9
  var DEFAULT_COMMIT_CONFIG = {
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkY7XG7IJ6cjs = require('../chunk-Y7XG7IJ6.cjs');
4
- require('../chunk-L2C6A3XV.cjs');
3
+ var _chunk3V3F7TB7cjs = require('../chunk-3V3F7TB7.cjs');
4
+ require('../chunk-EQZ3BKYL.cjs');
5
5
 
6
6
 
7
- exports.DEFAULT_COMMIT_CONFIG = _chunkY7XG7IJ6cjs.DEFAULT_COMMIT_CONFIG;
7
+ exports.DEFAULT_COMMIT_CONFIG = _chunk3V3F7TB7cjs.DEFAULT_COMMIT_CONFIG;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_COMMIT_CONFIG
3
- } from "../chunk-W7SYRJE7.js";
4
- import "../chunk-TFEV2FZY.js";
3
+ } from "../chunk-JVIJRTGD.js";
4
+ import "../chunk-D7HN6Y5M.js";
5
5
  export {
6
6
  DEFAULT_COMMIT_CONFIG
7
7
  };
@@ -1,98 +1,31 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
-
4
- var _chunkL2C6A3XVcjs = require('../chunk-L2C6A3XV.cjs');
3
+ var _chunkEQZ3BKYLcjs = require('../chunk-EQZ3BKYL.cjs');
5
4
 
6
5
  // src/commitlint/config.ts
7
6
  var DEFAULT_COMMIT_RULES = {
8
- "body-leading-blank": [
9
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Warning,
10
- "always"
11
- ],
12
- "body-max-length": [
13
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
14
- "always",
15
- 600
16
- ],
17
- "footer-leading-blank": [
18
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Warning,
19
- "always"
20
- ],
21
- "footer-max-line-length": [
22
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
23
- "always",
24
- 150
25
- ],
26
- "header-max-length": [
27
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
28
- "always",
29
- 150
30
- ],
31
- "header-trim": [
32
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
33
- "always"
34
- ],
35
- "subject-case": [
36
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
37
- "always",
38
- [
39
- "sentence-case"
40
- ]
41
- ],
42
- "subject-empty": [
43
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
44
- "never"
45
- ],
46
- "subject-full-stop": [
47
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
48
- "never",
49
- "."
50
- ],
51
- "subject-max-length": [
52
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
53
- "always",
54
- 150
55
- ],
56
- "subject-min-length": [
57
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
58
- "always",
59
- 3
60
- ],
61
- "type-case": [
62
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
63
- "always",
64
- "kebab-case"
65
- ],
66
- "type-empty": [
67
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
68
- "never"
69
- ],
7
+ "body-leading-blank": [1 /* Warning */, "always"],
8
+ "body-max-length": [2 /* Error */, "always", 600],
9
+ "footer-leading-blank": [1 /* Warning */, "always"],
10
+ "footer-max-line-length": [2 /* Error */, "always", 150],
11
+ "header-max-length": [2 /* Error */, "always", 150],
12
+ "header-trim": [2 /* Error */, "always"],
13
+ "subject-case": [2 /* Error */, "always", ["sentence-case"]],
14
+ "subject-empty": [2 /* Error */, "never"],
15
+ "subject-full-stop": [2 /* Error */, "never", "."],
16
+ "subject-max-length": [2 /* Error */, "always", 150],
17
+ "subject-min-length": [2 /* Error */, "always", 3],
18
+ "type-case": [2 /* Error */, "always", "kebab-case"],
19
+ "type-empty": [2 /* Error */, "never"],
70
20
  "type-enum": [
71
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
72
- "always",
73
- Object.keys(_chunkL2C6A3XVcjs.DEFAULT_COMMIT_TYPES)
74
- ],
75
- "type-max-length": [
76
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
77
- "always",
78
- 20
79
- ],
80
- "type-min-length": [
81
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
82
- "always",
83
- 3
84
- ],
85
- "scope-case": [
86
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
21
+ 2 /* Error */,
87
22
  "always",
88
- [
89
- "kebab-case"
90
- ]
23
+ Object.keys(_chunkEQZ3BKYLcjs.DEFAULT_COMMIT_TYPES)
91
24
  ],
92
- "scope-empty": [
93
- _chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
94
- "never"
95
- ]
25
+ "type-max-length": [2 /* Error */, "always", 20],
26
+ "type-min-length": [2 /* Error */, "always", 3],
27
+ "scope-case": [2 /* Error */, "always", ["kebab-case"]],
28
+ "scope-empty": [2 /* Error */, "never"]
96
29
  };
97
30
  var DEFAULT_COMMITLINT_CONFIG = {
98
31
  rules: DEFAULT_COMMIT_RULES,
@@ -100,23 +33,11 @@ var DEFAULT_COMMITLINT_CONFIG = {
100
33
  parserOpts: {
101
34
  headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
102
35
  breakingHeaderPattern: /^(\w*)(?:\((.*)\))?!: (.*)$/,
103
- headerCorrespondence: [
104
- "type",
105
- "scope",
106
- "subject"
107
- ],
108
- noteKeywords: [
109
- "BREAKING CHANGE",
110
- "BREAKING-CHANGE"
111
- ],
36
+ headerCorrespondence: ["type", "scope", "subject"],
37
+ noteKeywords: ["BREAKING CHANGE", "BREAKING-CHANGE"],
112
38
  revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
113
- revertCorrespondence: [
114
- "header",
115
- "hash"
116
- ],
117
- issuePrefixes: [
118
- "#"
119
- ]
39
+ revertCorrespondence: ["header", "hash"],
40
+ issuePrefixes: ["#"]
120
41
  }
121
42
  };
122
43
 
@@ -1,98 +1,31 @@
1
1
  import {
2
- DEFAULT_COMMIT_TYPES,
3
- RuleConfigSeverity
4
- } from "../chunk-TFEV2FZY.js";
2
+ DEFAULT_COMMIT_TYPES
3
+ } from "../chunk-D7HN6Y5M.js";
5
4
 
6
5
  // src/commitlint/config.ts
7
6
  var DEFAULT_COMMIT_RULES = {
8
- "body-leading-blank": [
9
- RuleConfigSeverity.Warning,
10
- "always"
11
- ],
12
- "body-max-length": [
13
- RuleConfigSeverity.Error,
14
- "always",
15
- 600
16
- ],
17
- "footer-leading-blank": [
18
- RuleConfigSeverity.Warning,
19
- "always"
20
- ],
21
- "footer-max-line-length": [
22
- RuleConfigSeverity.Error,
23
- "always",
24
- 150
25
- ],
26
- "header-max-length": [
27
- RuleConfigSeverity.Error,
28
- "always",
29
- 150
30
- ],
31
- "header-trim": [
32
- RuleConfigSeverity.Error,
33
- "always"
34
- ],
35
- "subject-case": [
36
- RuleConfigSeverity.Error,
37
- "always",
38
- [
39
- "sentence-case"
40
- ]
41
- ],
42
- "subject-empty": [
43
- RuleConfigSeverity.Error,
44
- "never"
45
- ],
46
- "subject-full-stop": [
47
- RuleConfigSeverity.Error,
48
- "never",
49
- "."
50
- ],
51
- "subject-max-length": [
52
- RuleConfigSeverity.Error,
53
- "always",
54
- 150
55
- ],
56
- "subject-min-length": [
57
- RuleConfigSeverity.Error,
58
- "always",
59
- 3
60
- ],
61
- "type-case": [
62
- RuleConfigSeverity.Error,
63
- "always",
64
- "kebab-case"
65
- ],
66
- "type-empty": [
67
- RuleConfigSeverity.Error,
68
- "never"
69
- ],
7
+ "body-leading-blank": [1 /* Warning */, "always"],
8
+ "body-max-length": [2 /* Error */, "always", 600],
9
+ "footer-leading-blank": [1 /* Warning */, "always"],
10
+ "footer-max-line-length": [2 /* Error */, "always", 150],
11
+ "header-max-length": [2 /* Error */, "always", 150],
12
+ "header-trim": [2 /* Error */, "always"],
13
+ "subject-case": [2 /* Error */, "always", ["sentence-case"]],
14
+ "subject-empty": [2 /* Error */, "never"],
15
+ "subject-full-stop": [2 /* Error */, "never", "."],
16
+ "subject-max-length": [2 /* Error */, "always", 150],
17
+ "subject-min-length": [2 /* Error */, "always", 3],
18
+ "type-case": [2 /* Error */, "always", "kebab-case"],
19
+ "type-empty": [2 /* Error */, "never"],
70
20
  "type-enum": [
71
- RuleConfigSeverity.Error,
21
+ 2 /* Error */,
72
22
  "always",
73
23
  Object.keys(DEFAULT_COMMIT_TYPES)
74
24
  ],
75
- "type-max-length": [
76
- RuleConfigSeverity.Error,
77
- "always",
78
- 20
79
- ],
80
- "type-min-length": [
81
- RuleConfigSeverity.Error,
82
- "always",
83
- 3
84
- ],
85
- "scope-case": [
86
- RuleConfigSeverity.Error,
87
- "always",
88
- [
89
- "kebab-case"
90
- ]
91
- ],
92
- "scope-empty": [
93
- RuleConfigSeverity.Error,
94
- "never"
95
- ]
25
+ "type-max-length": [2 /* Error */, "always", 20],
26
+ "type-min-length": [2 /* Error */, "always", 3],
27
+ "scope-case": [2 /* Error */, "always", ["kebab-case"]],
28
+ "scope-empty": [2 /* Error */, "never"]
96
29
  };
97
30
  var DEFAULT_COMMITLINT_CONFIG = {
98
31
  rules: DEFAULT_COMMIT_RULES,
@@ -100,23 +33,11 @@ var DEFAULT_COMMITLINT_CONFIG = {
100
33
  parserOpts: {
101
34
  headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
102
35
  breakingHeaderPattern: /^(\w*)(?:\((.*)\))?!: (.*)$/,
103
- headerCorrespondence: [
104
- "type",
105
- "scope",
106
- "subject"
107
- ],
108
- noteKeywords: [
109
- "BREAKING CHANGE",
110
- "BREAKING-CHANGE"
111
- ],
36
+ headerCorrespondence: ["type", "scope", "subject"],
37
+ noteKeywords: ["BREAKING CHANGE", "BREAKING-CHANGE"],
112
38
  revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
113
- revertCorrespondence: [
114
- "header",
115
- "hash"
116
- ],
117
- issuePrefixes: [
118
- "#"
119
- ]
39
+ revertCorrespondence: ["header", "hash"],
40
+ issuePrefixes: ["#"]
120
41
  }
121
42
  };
122
43
  export {