@storm-software/git-tools 2.101.3 → 2.103.0

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.
@@ -1,4 +1,4 @@
1
- import { CommitScopesEnum } from '../types.cjs';
1
+ import { CommitTypesEnum, CommitScopesEnum } from '../types.cjs';
2
2
  import '@nx/devkit';
3
3
  import 'nx/src/config/nx-json';
4
4
 
@@ -8,139 +8,7 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
8
8
  readonly type: "select";
9
9
  readonly title: "Commit Type";
10
10
  readonly description: "Select the commit type that best describes your changes";
11
- readonly enum: {
12
- readonly chore: {
13
- readonly description: "Other changes that don't modify src or test files";
14
- readonly title: "Chore";
15
- readonly emoji: "⚙️ ";
16
- readonly semverBump: "patch";
17
- readonly changelog: {
18
- readonly title: "Miscellaneous";
19
- readonly hidden: false;
20
- };
21
- };
22
- readonly ci: {
23
- readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
24
- readonly title: "Continuous Integration";
25
- readonly emoji: "🧰 ";
26
- readonly semverBump: "patch";
27
- readonly changelog: {
28
- readonly title: "Continuous Integration";
29
- readonly hidden: false;
30
- };
31
- };
32
- readonly deps: {
33
- readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
34
- readonly title: "Dependencies";
35
- readonly emoji: "📦 ";
36
- readonly semverBump: "patch";
37
- readonly changelog: {
38
- readonly title: "Dependency Upgrades";
39
- readonly hidden: false;
40
- };
41
- };
42
- readonly docs: {
43
- readonly description: "A change that only includes documentation updates";
44
- readonly title: "Documentation";
45
- readonly emoji: "📜 ";
46
- readonly semverBump: "none";
47
- readonly changelog: {
48
- readonly title: "Documentation";
49
- readonly hidden: true;
50
- };
51
- };
52
- readonly feat: {
53
- readonly description: "A change that adds a new feature to the package";
54
- readonly title: "Feature";
55
- readonly emoji: "🔑 ";
56
- readonly semverBump: "minor";
57
- readonly changelog: {
58
- readonly title: "Features";
59
- readonly hidden: false;
60
- };
61
- };
62
- readonly fix: {
63
- readonly description: "A change that resolves an issue previously identified with the package";
64
- readonly title: "Bug Fix";
65
- readonly emoji: "🪲 ";
66
- readonly semverBump: "patch";
67
- readonly changelog: {
68
- readonly title: "Bug Fixes";
69
- readonly hidden: false;
70
- };
71
- };
72
- readonly perf: {
73
- readonly description: "A code change that improves performance";
74
- readonly title: "Performance Improvement";
75
- readonly emoji: "⏱️ ";
76
- readonly semverBump: "none";
77
- readonly changelog: {
78
- readonly title: "Performance Improvements";
79
- readonly hidden: false;
80
- };
81
- };
82
- readonly refactor: {
83
- readonly description: "A code change that neither fixes a bug nor adds a feature";
84
- readonly title: "Code Refactoring";
85
- readonly emoji: "🧪 ";
86
- readonly semverBump: "patch";
87
- readonly changelog: {
88
- readonly title: "Code Improvements";
89
- readonly hidden: false;
90
- };
91
- };
92
- readonly revert: {
93
- readonly description: "Revert a previously committed change";
94
- readonly title: "Revert";
95
- readonly emoji: "🗑️ ";
96
- readonly semverBump: "patch";
97
- readonly changelog: {
98
- readonly title: "Reverts";
99
- readonly hidden: false;
100
- };
101
- };
102
- readonly style: {
103
- readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
104
- readonly title: "Styling";
105
- readonly emoji: "💎 ";
106
- readonly semverBump: "minor";
107
- readonly changelog: {
108
- readonly title: "Styling";
109
- readonly hidden: false;
110
- };
111
- };
112
- readonly test: {
113
- readonly description: "Adding missing tests or correcting existing tests";
114
- readonly title: "Testing";
115
- readonly emoji: "🚨 ";
116
- readonly semverBump: "none";
117
- readonly changelog: {
118
- readonly title: "Testing";
119
- readonly hidden: true;
120
- };
121
- };
122
- readonly types: {
123
- readonly description: "Changes that affect the project's type definitions";
124
- readonly title: "Type Definition";
125
- readonly emoji: "📓 ";
126
- readonly semverBump: "minor";
127
- readonly changelog: {
128
- readonly title: "Type Definitions";
129
- readonly hidden: false;
130
- };
131
- };
132
- readonly release: {
133
- readonly description: "Publishing a commit containing a newly released version";
134
- readonly title: "Publish Release";
135
- readonly emoji: "🚀 ";
136
- readonly hidden: true;
137
- readonly semverBump: "none";
138
- readonly changelog: {
139
- readonly title: "Publish Release";
140
- readonly hidden: true;
141
- };
142
- };
143
- };
11
+ readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
144
12
  readonly defaultValue: "chore";
145
13
  readonly maxLength: 20;
146
14
  readonly minLength: 3;
@@ -207,36 +75,16 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
207
75
  readonly hidden: false;
208
76
  };
209
77
  };
210
- readonly ci: {
211
- readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
212
- readonly title: "Continuous Integration";
213
- readonly emoji: "🧰 ";
214
- readonly semverBump: "patch";
215
- readonly changelog: {
216
- readonly title: "Continuous Integration";
217
- readonly hidden: false;
218
- };
219
- };
220
- readonly deps: {
221
- readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
222
- readonly title: "Dependencies";
223
- readonly emoji: "📦 ";
78
+ readonly fix: {
79
+ readonly description: "A change that resolves an issue previously identified with the package";
80
+ readonly title: "Bug Fix";
81
+ readonly emoji: "🪲 ";
224
82
  readonly semverBump: "patch";
225
83
  readonly changelog: {
226
- readonly title: "Dependency Upgrades";
84
+ readonly title: "Bug Fixes";
227
85
  readonly hidden: false;
228
86
  };
229
87
  };
230
- readonly docs: {
231
- readonly description: "A change that only includes documentation updates";
232
- readonly title: "Documentation";
233
- readonly emoji: "📜 ";
234
- readonly semverBump: "none";
235
- readonly changelog: {
236
- readonly title: "Documentation";
237
- readonly hidden: true;
238
- };
239
- };
240
88
  readonly feat: {
241
89
  readonly description: "A change that adds a new feature to the package";
242
90
  readonly title: "Feature";
@@ -247,23 +95,13 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
247
95
  readonly hidden: false;
248
96
  };
249
97
  };
250
- readonly fix: {
251
- readonly description: "A change that resolves an issue previously identified with the package";
252
- readonly title: "Bug Fix";
253
- readonly emoji: "🪲 ";
98
+ readonly ci: {
99
+ readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
100
+ readonly title: "Continuous Integration";
101
+ readonly emoji: "🧰 ";
254
102
  readonly semverBump: "patch";
255
103
  readonly changelog: {
256
- readonly title: "Bug Fixes";
257
- readonly hidden: false;
258
- };
259
- };
260
- readonly perf: {
261
- readonly description: "A code change that improves performance";
262
- readonly title: "Performance Improvement";
263
- readonly emoji: "⏱️ ";
264
- readonly semverBump: "none";
265
- readonly changelog: {
266
- readonly title: "Performance Improvements";
104
+ readonly title: "Continuous Integration";
267
105
  readonly hidden: false;
268
106
  };
269
107
  };
@@ -273,27 +111,37 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
273
111
  readonly emoji: "🧪 ";
274
112
  readonly semverBump: "patch";
275
113
  readonly changelog: {
276
- readonly title: "Code Improvements";
114
+ readonly title: "Source Code Improvements";
277
115
  readonly hidden: false;
278
116
  };
279
117
  };
280
- readonly revert: {
281
- readonly description: "Revert a previously committed change";
282
- readonly title: "Revert";
283
- readonly emoji: "🗑️ ";
118
+ readonly style: {
119
+ readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
120
+ readonly title: "Style Improvements";
121
+ readonly emoji: "💎 ";
284
122
  readonly semverBump: "patch";
285
123
  readonly changelog: {
286
- readonly title: "Reverts";
124
+ readonly title: "Style Improvements";
287
125
  readonly hidden: false;
288
126
  };
289
127
  };
290
- readonly style: {
291
- readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
292
- readonly title: "Styling";
293
- readonly emoji: "💎 ";
294
- readonly semverBump: "minor";
128
+ readonly perf: {
129
+ readonly description: "A code change that improves performance";
130
+ readonly title: "Performance Improvement";
131
+ readonly emoji: "⏱️ ";
132
+ readonly semverBump: "patch";
133
+ readonly changelog: {
134
+ readonly title: "Performance Improvements";
135
+ readonly hidden: false;
136
+ };
137
+ };
138
+ readonly docs: {
139
+ readonly description: "A change that only includes documentation updates";
140
+ readonly title: "Documentation";
141
+ readonly emoji: "📜 ";
142
+ readonly semverBump: "none";
295
143
  readonly changelog: {
296
- readonly title: "Styling";
144
+ readonly title: "Documentation";
297
145
  readonly hidden: false;
298
146
  };
299
147
  };
@@ -307,16 +155,28 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
307
155
  readonly hidden: true;
308
156
  };
309
157
  };
310
- readonly types: {
311
- readonly description: "Changes that affect the project's type definitions";
312
- readonly title: "Type Definition";
313
- readonly emoji: "📓 ";
314
- readonly semverBump: "minor";
158
+ readonly deps: {
159
+ readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
160
+ readonly title: "Dependencies";
161
+ readonly emoji: "📦 ";
162
+ readonly hidden: true;
163
+ readonly semverBump: "patch";
315
164
  readonly changelog: {
316
- readonly title: "Type Definitions";
165
+ readonly title: "Dependency Upgrades";
317
166
  readonly hidden: false;
318
167
  };
319
168
  };
169
+ readonly build: {
170
+ readonly description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)";
171
+ readonly title: "Build";
172
+ readonly emoji: "🛠 ";
173
+ readonly hidden: true;
174
+ readonly semverBump: "none";
175
+ readonly changelog: {
176
+ readonly title: "Build";
177
+ readonly hidden: true;
178
+ };
179
+ };
320
180
  readonly release: {
321
181
  readonly description: "Publishing a commit containing a newly released version";
322
182
  readonly title: "Publish Release";
@@ -334,6 +194,9 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
334
194
  projectsRelationship: string;
335
195
  releaseTagPattern: string;
336
196
  changelog: {
197
+ git: {
198
+ tag: boolean;
199
+ };
337
200
  createRelease: string;
338
201
  entryWhenNoChanges: boolean;
339
202
  file: string;
@@ -359,139 +222,7 @@ declare const DEFAULT_RELEASE_CONFIG: {
359
222
  readonly type: "select";
360
223
  readonly title: "Commit Type";
361
224
  readonly description: "Select the commit type that best describes your changes";
362
- readonly enum: {
363
- readonly chore: {
364
- readonly description: "Other changes that don't modify src or test files";
365
- readonly title: "Chore";
366
- readonly emoji: "⚙️ ";
367
- readonly semverBump: "patch";
368
- readonly changelog: {
369
- readonly title: "Miscellaneous";
370
- readonly hidden: false;
371
- };
372
- };
373
- readonly ci: {
374
- readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
375
- readonly title: "Continuous Integration";
376
- readonly emoji: "🧰 ";
377
- readonly semverBump: "patch";
378
- readonly changelog: {
379
- readonly title: "Continuous Integration";
380
- readonly hidden: false;
381
- };
382
- };
383
- readonly deps: {
384
- readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
385
- readonly title: "Dependencies";
386
- readonly emoji: "📦 ";
387
- readonly semverBump: "patch";
388
- readonly changelog: {
389
- readonly title: "Dependency Upgrades";
390
- readonly hidden: false;
391
- };
392
- };
393
- readonly docs: {
394
- readonly description: "A change that only includes documentation updates";
395
- readonly title: "Documentation";
396
- readonly emoji: "📜 ";
397
- readonly semverBump: "none";
398
- readonly changelog: {
399
- readonly title: "Documentation";
400
- readonly hidden: true;
401
- };
402
- };
403
- readonly feat: {
404
- readonly description: "A change that adds a new feature to the package";
405
- readonly title: "Feature";
406
- readonly emoji: "🔑 ";
407
- readonly semverBump: "minor";
408
- readonly changelog: {
409
- readonly title: "Features";
410
- readonly hidden: false;
411
- };
412
- };
413
- readonly fix: {
414
- readonly description: "A change that resolves an issue previously identified with the package";
415
- readonly title: "Bug Fix";
416
- readonly emoji: "🪲 ";
417
- readonly semverBump: "patch";
418
- readonly changelog: {
419
- readonly title: "Bug Fixes";
420
- readonly hidden: false;
421
- };
422
- };
423
- readonly perf: {
424
- readonly description: "A code change that improves performance";
425
- readonly title: "Performance Improvement";
426
- readonly emoji: "⏱️ ";
427
- readonly semverBump: "none";
428
- readonly changelog: {
429
- readonly title: "Performance Improvements";
430
- readonly hidden: false;
431
- };
432
- };
433
- readonly refactor: {
434
- readonly description: "A code change that neither fixes a bug nor adds a feature";
435
- readonly title: "Code Refactoring";
436
- readonly emoji: "🧪 ";
437
- readonly semverBump: "patch";
438
- readonly changelog: {
439
- readonly title: "Code Improvements";
440
- readonly hidden: false;
441
- };
442
- };
443
- readonly revert: {
444
- readonly description: "Revert a previously committed change";
445
- readonly title: "Revert";
446
- readonly emoji: "🗑️ ";
447
- readonly semverBump: "patch";
448
- readonly changelog: {
449
- readonly title: "Reverts";
450
- readonly hidden: false;
451
- };
452
- };
453
- readonly style: {
454
- readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
455
- readonly title: "Styling";
456
- readonly emoji: "💎 ";
457
- readonly semverBump: "minor";
458
- readonly changelog: {
459
- readonly title: "Styling";
460
- readonly hidden: false;
461
- };
462
- };
463
- readonly test: {
464
- readonly description: "Adding missing tests or correcting existing tests";
465
- readonly title: "Testing";
466
- readonly emoji: "🚨 ";
467
- readonly semverBump: "none";
468
- readonly changelog: {
469
- readonly title: "Testing";
470
- readonly hidden: true;
471
- };
472
- };
473
- readonly types: {
474
- readonly description: "Changes that affect the project's type definitions";
475
- readonly title: "Type Definition";
476
- readonly emoji: "📓 ";
477
- readonly semverBump: "minor";
478
- readonly changelog: {
479
- readonly title: "Type Definitions";
480
- readonly hidden: false;
481
- };
482
- };
483
- readonly release: {
484
- readonly description: "Publishing a commit containing a newly released version";
485
- readonly title: "Publish Release";
486
- readonly emoji: "🚀 ";
487
- readonly hidden: true;
488
- readonly semverBump: "none";
489
- readonly changelog: {
490
- readonly title: "Publish Release";
491
- readonly hidden: true;
492
- };
493
- };
494
- };
225
+ readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
495
226
  readonly defaultValue: "chore";
496
227
  readonly maxLength: 20;
497
228
  readonly minLength: 3;
@@ -558,36 +289,16 @@ declare const DEFAULT_RELEASE_CONFIG: {
558
289
  readonly hidden: false;
559
290
  };
560
291
  };
561
- readonly ci: {
562
- readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
563
- readonly title: "Continuous Integration";
564
- readonly emoji: "🧰 ";
565
- readonly semverBump: "patch";
566
- readonly changelog: {
567
- readonly title: "Continuous Integration";
568
- readonly hidden: false;
569
- };
570
- };
571
- readonly deps: {
572
- readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
573
- readonly title: "Dependencies";
574
- readonly emoji: "📦 ";
292
+ readonly fix: {
293
+ readonly description: "A change that resolves an issue previously identified with the package";
294
+ readonly title: "Bug Fix";
295
+ readonly emoji: "🪲 ";
575
296
  readonly semverBump: "patch";
576
297
  readonly changelog: {
577
- readonly title: "Dependency Upgrades";
298
+ readonly title: "Bug Fixes";
578
299
  readonly hidden: false;
579
300
  };
580
301
  };
581
- readonly docs: {
582
- readonly description: "A change that only includes documentation updates";
583
- readonly title: "Documentation";
584
- readonly emoji: "📜 ";
585
- readonly semverBump: "none";
586
- readonly changelog: {
587
- readonly title: "Documentation";
588
- readonly hidden: true;
589
- };
590
- };
591
302
  readonly feat: {
592
303
  readonly description: "A change that adds a new feature to the package";
593
304
  readonly title: "Feature";
@@ -598,23 +309,13 @@ declare const DEFAULT_RELEASE_CONFIG: {
598
309
  readonly hidden: false;
599
310
  };
600
311
  };
601
- readonly fix: {
602
- readonly description: "A change that resolves an issue previously identified with the package";
603
- readonly title: "Bug Fix";
604
- readonly emoji: "🪲 ";
312
+ readonly ci: {
313
+ readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
314
+ readonly title: "Continuous Integration";
315
+ readonly emoji: "🧰 ";
605
316
  readonly semverBump: "patch";
606
317
  readonly changelog: {
607
- readonly title: "Bug Fixes";
608
- readonly hidden: false;
609
- };
610
- };
611
- readonly perf: {
612
- readonly description: "A code change that improves performance";
613
- readonly title: "Performance Improvement";
614
- readonly emoji: "⏱️ ";
615
- readonly semverBump: "none";
616
- readonly changelog: {
617
- readonly title: "Performance Improvements";
318
+ readonly title: "Continuous Integration";
618
319
  readonly hidden: false;
619
320
  };
620
321
  };
@@ -624,27 +325,37 @@ declare const DEFAULT_RELEASE_CONFIG: {
624
325
  readonly emoji: "🧪 ";
625
326
  readonly semverBump: "patch";
626
327
  readonly changelog: {
627
- readonly title: "Code Improvements";
328
+ readonly title: "Source Code Improvements";
628
329
  readonly hidden: false;
629
330
  };
630
331
  };
631
- readonly revert: {
632
- readonly description: "Revert a previously committed change";
633
- readonly title: "Revert";
634
- readonly emoji: "🗑️ ";
332
+ readonly style: {
333
+ readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
334
+ readonly title: "Style Improvements";
335
+ readonly emoji: "💎 ";
635
336
  readonly semverBump: "patch";
636
337
  readonly changelog: {
637
- readonly title: "Reverts";
338
+ readonly title: "Style Improvements";
638
339
  readonly hidden: false;
639
340
  };
640
341
  };
641
- readonly style: {
642
- readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
643
- readonly title: "Styling";
644
- readonly emoji: "💎 ";
645
- readonly semverBump: "minor";
342
+ readonly perf: {
343
+ readonly description: "A code change that improves performance";
344
+ readonly title: "Performance Improvement";
345
+ readonly emoji: "⏱️ ";
346
+ readonly semverBump: "patch";
646
347
  readonly changelog: {
647
- readonly title: "Styling";
348
+ readonly title: "Performance Improvements";
349
+ readonly hidden: false;
350
+ };
351
+ };
352
+ readonly docs: {
353
+ readonly description: "A change that only includes documentation updates";
354
+ readonly title: "Documentation";
355
+ readonly emoji: "📜 ";
356
+ readonly semverBump: "none";
357
+ readonly changelog: {
358
+ readonly title: "Documentation";
648
359
  readonly hidden: false;
649
360
  };
650
361
  };
@@ -658,16 +369,28 @@ declare const DEFAULT_RELEASE_CONFIG: {
658
369
  readonly hidden: true;
659
370
  };
660
371
  };
661
- readonly types: {
662
- readonly description: "Changes that affect the project's type definitions";
663
- readonly title: "Type Definition";
664
- readonly emoji: "📓 ";
665
- readonly semverBump: "minor";
372
+ readonly deps: {
373
+ readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
374
+ readonly title: "Dependencies";
375
+ readonly emoji: "📦 ";
376
+ readonly hidden: true;
377
+ readonly semverBump: "patch";
666
378
  readonly changelog: {
667
- readonly title: "Type Definitions";
379
+ readonly title: "Dependency Upgrades";
668
380
  readonly hidden: false;
669
381
  };
670
382
  };
383
+ readonly build: {
384
+ readonly description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)";
385
+ readonly title: "Build";
386
+ readonly emoji: "🛠 ";
387
+ readonly hidden: true;
388
+ readonly semverBump: "none";
389
+ readonly changelog: {
390
+ readonly title: "Build";
391
+ readonly hidden: true;
392
+ };
393
+ };
671
394
  readonly release: {
672
395
  readonly description: "Publishing a commit containing a newly released version";
673
396
  readonly title: "Publish Release";
@@ -682,6 +405,9 @@ declare const DEFAULT_RELEASE_CONFIG: {
682
405
  };
683
406
  };
684
407
  changelog: {
408
+ git: {
409
+ tag: boolean;
410
+ };
685
411
  automaticFromRef: boolean;
686
412
  workspaceChangelog: boolean;
687
413
  projectChangelogs: {