@storm-software/git-tools 2.121.3 → 2.122.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.
- package/README.md +2 -1
- package/bin/{chunk-N5U2S3QK.cjs → chunk-5SPAQH6A.cjs} +10 -15
- package/bin/{chunk-QBJQH2IK.js → chunk-LBURTJLB.js} +10 -10
- package/bin/git.cjs +405 -476
- package/bin/git.js +342 -413
- package/bin/post-checkout.cjs +9 -9
- package/bin/post-checkout.js +1 -1
- package/bin/post-commit.cjs +9 -9
- package/bin/post-commit.js +1 -1
- package/bin/post-merge.cjs +9 -9
- package/bin/post-merge.js +1 -1
- package/bin/pre-commit.cjs +9 -9
- package/bin/pre-commit.js +1 -1
- package/bin/pre-install.cjs +9 -9
- package/bin/pre-install.js +1 -1
- package/bin/pre-push.cjs +13 -13
- package/bin/pre-push.js +1 -1
- package/bin/prepare.cjs +7 -7
- package/bin/prepare.js +1 -1
- package/bin/version-warning.cjs +5 -5
- package/bin/version-warning.js +1 -1
- package/dist/chunk-3GGWHKRP.js +274 -0
- package/dist/chunk-4VPJA7YJ.cjs +274 -0
- package/dist/chunk-5XU2KBM6.js +14 -0
- package/dist/chunk-F7OO6L26.cjs +78 -0
- package/dist/{chunk-RG47FAF4.cjs → chunk-GOKUSEH3.cjs} +5 -3
- package/dist/chunk-JCEVFJCA.js +42 -0
- package/dist/chunk-KZRVQ5RZ.js +78 -0
- package/dist/chunk-NY53WLGC.cjs +42 -0
- package/dist/chunk-YBAE6I5L.cjs +14 -0
- package/dist/{chunk-2IQTQBAX.js → chunk-YCEUZFMU.js} +5 -3
- package/dist/commit/minimal.cjs +4 -12
- package/dist/commit/minimal.d.cts +249 -7
- package/dist/commit/minimal.d.ts +249 -7
- package/dist/commit/minimal.js +5 -13
- package/dist/commit/monorepo.cjs +7 -3
- package/dist/commit/monorepo.d.cts +269 -4
- package/dist/commit/monorepo.d.ts +269 -4
- package/dist/commit/monorepo.js +6 -2
- package/dist/commitlint/minimal.cjs +2 -3
- package/dist/commitlint/minimal.d.cts +27 -6
- package/dist/commitlint/minimal.d.ts +27 -6
- package/dist/commitlint/minimal.js +3 -4
- package/dist/commitlint/monorepo.cjs +2 -3
- package/dist/commitlint/monorepo.d.cts +28 -6
- package/dist/commitlint/monorepo.d.ts +28 -6
- package/dist/commitlint/monorepo.js +3 -4
- package/dist/index.cjs +6 -19
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +9 -22
- package/dist/release/config.cjs +6 -3
- package/dist/release/config.d.cts +2 -1
- package/dist/release/config.d.ts +2 -1
- package/dist/release/config.js +5 -2
- package/dist/types.cjs +2 -20
- package/dist/types.d.cts +3 -250
- package/dist/types.d.ts +3 -250
- package/dist/types.js +3 -21
- package/package.json +5 -5
- package/dist/chunk-25G45MG4.js +0 -19
- package/dist/chunk-2RKFQIWE.cjs +0 -19
- package/dist/chunk-2SHAD3P5.cjs +0 -301
- package/dist/chunk-GRCMQK4Q.js +0 -301
|
@@ -1,9 +1,274 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as conventional_changelog_storm_software_types_commit_types from 'conventional-changelog-storm-software/types/commit-types';
|
|
2
|
+
import { CommitScopesEnum } from '../../types.js';
|
|
2
3
|
import '@nx/devkit';
|
|
3
4
|
import '@storm-software/config/types';
|
|
4
|
-
import 'conventional-changelog-storm-software/types/
|
|
5
|
+
import 'conventional-changelog-storm-software/types/commitlint';
|
|
5
6
|
import 'nx/src/config/nx-json';
|
|
6
7
|
|
|
7
|
-
declare const
|
|
8
|
+
declare const DEFAULT_MONOREPO_COMMIT_QUESTIONS: {
|
|
9
|
+
readonly type: {
|
|
10
|
+
readonly type: "select";
|
|
11
|
+
readonly title: "Commit Type";
|
|
12
|
+
readonly description: "Select the commit type that best describes your changes";
|
|
13
|
+
readonly enum: conventional_changelog_storm_software_types_commit_types.CommitTypesEnum;
|
|
14
|
+
readonly defaultValue: "chore";
|
|
15
|
+
readonly maxLength: 20;
|
|
16
|
+
readonly minLength: 3;
|
|
17
|
+
};
|
|
18
|
+
readonly scope: {
|
|
19
|
+
readonly type: "select";
|
|
20
|
+
readonly title: "Commit Scope";
|
|
21
|
+
readonly description: "Select the project that's the most impacted by this change";
|
|
22
|
+
readonly enum: CommitScopesEnum;
|
|
23
|
+
readonly defaultValue: "monorepo";
|
|
24
|
+
readonly maxLength: 50;
|
|
25
|
+
readonly minLength: 1;
|
|
26
|
+
};
|
|
27
|
+
readonly subject: {
|
|
28
|
+
readonly type: "input";
|
|
29
|
+
readonly title: "Commit Subject";
|
|
30
|
+
readonly description: "Write a short, imperative tense description of the change";
|
|
31
|
+
readonly maxLength: 150;
|
|
32
|
+
readonly minLength: 3;
|
|
33
|
+
};
|
|
34
|
+
readonly body: {
|
|
35
|
+
readonly type: "input";
|
|
36
|
+
readonly title: "Commit Body";
|
|
37
|
+
readonly description: "Provide a longer description of the change";
|
|
38
|
+
readonly maxLength: 600;
|
|
39
|
+
};
|
|
40
|
+
readonly isBreaking: {
|
|
41
|
+
readonly type: "confirm";
|
|
42
|
+
readonly title: "Breaking Changes";
|
|
43
|
+
readonly description: "Are there any breaking changes as a result of this commit?";
|
|
44
|
+
readonly defaultValue: false;
|
|
45
|
+
};
|
|
46
|
+
readonly breakingBody: {
|
|
47
|
+
readonly type: "input";
|
|
48
|
+
readonly title: "Breaking Changes (Details)";
|
|
49
|
+
readonly description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself";
|
|
50
|
+
readonly when: (answers: Record<string, any>) => boolean;
|
|
51
|
+
readonly maxLength: 600;
|
|
52
|
+
readonly minLength: 3;
|
|
53
|
+
};
|
|
54
|
+
readonly isIssueAffected: {
|
|
55
|
+
readonly type: "confirm";
|
|
56
|
+
readonly title: "Open Issue Affected";
|
|
57
|
+
readonly description: "Does this change impact any open issues?";
|
|
58
|
+
readonly defaultValue: false;
|
|
59
|
+
};
|
|
60
|
+
readonly issuesBody: {
|
|
61
|
+
readonly type: "input";
|
|
62
|
+
readonly title: "Open Issue Affected (Details)";
|
|
63
|
+
readonly description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself";
|
|
64
|
+
readonly when: (answers: Record<string, any>) => boolean;
|
|
65
|
+
readonly maxLength: 600;
|
|
66
|
+
readonly minLength: 3;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
declare const config: {
|
|
70
|
+
settings: {
|
|
71
|
+
enableMultipleScopes: boolean;
|
|
72
|
+
disableEmoji: boolean;
|
|
73
|
+
breakingChangePrefix: string;
|
|
74
|
+
closedIssuePrefix: string;
|
|
75
|
+
format: string;
|
|
76
|
+
};
|
|
77
|
+
messages: {
|
|
78
|
+
readonly skip: "press enter to skip";
|
|
79
|
+
readonly max: "must be %d chars at most";
|
|
80
|
+
readonly min: "must be %d chars at least";
|
|
81
|
+
readonly emptyWarning: "can not be empty";
|
|
82
|
+
readonly upperLimitWarning: "%s is %d characters longer than the upper limit";
|
|
83
|
+
readonly lowerLimitWarning: "%s is %d characters less than the lower limit";
|
|
84
|
+
readonly closedIssueMessage: "Closes: ";
|
|
85
|
+
};
|
|
86
|
+
questions: {
|
|
87
|
+
readonly type: {
|
|
88
|
+
readonly type: "select";
|
|
89
|
+
readonly title: "Commit Type";
|
|
90
|
+
readonly description: "Select the commit type that best describes your changes";
|
|
91
|
+
readonly enum: conventional_changelog_storm_software_types_commit_types.CommitTypesEnum;
|
|
92
|
+
readonly defaultValue: "chore";
|
|
93
|
+
readonly maxLength: 20;
|
|
94
|
+
readonly minLength: 3;
|
|
95
|
+
};
|
|
96
|
+
readonly scope: {
|
|
97
|
+
readonly type: "select";
|
|
98
|
+
readonly title: "Commit Scope";
|
|
99
|
+
readonly description: "Select the project that's the most impacted by this change";
|
|
100
|
+
readonly enum: CommitScopesEnum;
|
|
101
|
+
readonly defaultValue: "monorepo";
|
|
102
|
+
readonly maxLength: 50;
|
|
103
|
+
readonly minLength: 1;
|
|
104
|
+
};
|
|
105
|
+
readonly subject: {
|
|
106
|
+
readonly type: "input";
|
|
107
|
+
readonly title: "Commit Subject";
|
|
108
|
+
readonly description: "Write a short, imperative tense description of the change";
|
|
109
|
+
readonly maxLength: 150;
|
|
110
|
+
readonly minLength: 3;
|
|
111
|
+
};
|
|
112
|
+
readonly body: {
|
|
113
|
+
readonly type: "input";
|
|
114
|
+
readonly title: "Commit Body";
|
|
115
|
+
readonly description: "Provide a longer description of the change";
|
|
116
|
+
readonly maxLength: 600;
|
|
117
|
+
};
|
|
118
|
+
readonly isBreaking: {
|
|
119
|
+
readonly type: "confirm";
|
|
120
|
+
readonly title: "Breaking Changes";
|
|
121
|
+
readonly description: "Are there any breaking changes as a result of this commit?";
|
|
122
|
+
readonly defaultValue: false;
|
|
123
|
+
};
|
|
124
|
+
readonly breakingBody: {
|
|
125
|
+
readonly type: "input";
|
|
126
|
+
readonly title: "Breaking Changes (Details)";
|
|
127
|
+
readonly description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself";
|
|
128
|
+
readonly when: (answers: Record<string, any>) => boolean;
|
|
129
|
+
readonly maxLength: 600;
|
|
130
|
+
readonly minLength: 3;
|
|
131
|
+
};
|
|
132
|
+
readonly isIssueAffected: {
|
|
133
|
+
readonly type: "confirm";
|
|
134
|
+
readonly title: "Open Issue Affected";
|
|
135
|
+
readonly description: "Does this change impact any open issues?";
|
|
136
|
+
readonly defaultValue: false;
|
|
137
|
+
};
|
|
138
|
+
readonly issuesBody: {
|
|
139
|
+
readonly type: "input";
|
|
140
|
+
readonly title: "Open Issue Affected (Details)";
|
|
141
|
+
readonly description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself";
|
|
142
|
+
readonly when: (answers: Record<string, any>) => boolean;
|
|
143
|
+
readonly maxLength: 600;
|
|
144
|
+
readonly minLength: 3;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
types: {
|
|
148
|
+
readonly chore: {
|
|
149
|
+
readonly description: "Other changes that don't modify src or test files";
|
|
150
|
+
readonly title: "Chore";
|
|
151
|
+
readonly emoji: "⚙️ ";
|
|
152
|
+
readonly semverBump: "patch";
|
|
153
|
+
readonly changelog: {
|
|
154
|
+
readonly title: "Miscellaneous";
|
|
155
|
+
readonly hidden: false;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
readonly fix: {
|
|
159
|
+
readonly description: "A change that resolves an issue previously identified with the package";
|
|
160
|
+
readonly title: "Bug Fix";
|
|
161
|
+
readonly emoji: "🪲 ";
|
|
162
|
+
readonly semverBump: "patch";
|
|
163
|
+
readonly changelog: {
|
|
164
|
+
readonly title: "Bug Fixes";
|
|
165
|
+
readonly hidden: false;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
readonly feat: {
|
|
169
|
+
readonly description: "A change that adds a new feature to the package";
|
|
170
|
+
readonly title: "Feature";
|
|
171
|
+
readonly emoji: "🔑 ";
|
|
172
|
+
readonly semverBump: "minor";
|
|
173
|
+
readonly changelog: {
|
|
174
|
+
readonly title: "Features";
|
|
175
|
+
readonly hidden: false;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
readonly ci: {
|
|
179
|
+
readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
|
|
180
|
+
readonly title: "Continuous Integration";
|
|
181
|
+
readonly emoji: "🧰 ";
|
|
182
|
+
readonly semverBump: "patch";
|
|
183
|
+
readonly changelog: {
|
|
184
|
+
readonly title: "Continuous Integration";
|
|
185
|
+
readonly hidden: false;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
readonly refactor: {
|
|
189
|
+
readonly description: "A code change that neither fixes a bug nor adds a feature";
|
|
190
|
+
readonly title: "Code Refactoring";
|
|
191
|
+
readonly emoji: "🧪 ";
|
|
192
|
+
readonly semverBump: "patch";
|
|
193
|
+
readonly changelog: {
|
|
194
|
+
readonly title: "Source Code Improvements";
|
|
195
|
+
readonly hidden: false;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly style: {
|
|
199
|
+
readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
|
|
200
|
+
readonly title: "Style Improvements";
|
|
201
|
+
readonly emoji: "💎 ";
|
|
202
|
+
readonly semverBump: "patch";
|
|
203
|
+
readonly changelog: {
|
|
204
|
+
readonly title: "Style Improvements";
|
|
205
|
+
readonly hidden: false;
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly perf: {
|
|
209
|
+
readonly description: "A code change that improves performance";
|
|
210
|
+
readonly title: "Performance Improvement";
|
|
211
|
+
readonly emoji: "⏱️ ";
|
|
212
|
+
readonly semverBump: "patch";
|
|
213
|
+
readonly changelog: {
|
|
214
|
+
readonly title: "Performance Improvements";
|
|
215
|
+
readonly hidden: false;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly docs: {
|
|
219
|
+
readonly description: "A change that only includes documentation updates";
|
|
220
|
+
readonly title: "Documentation";
|
|
221
|
+
readonly emoji: "📜 ";
|
|
222
|
+
readonly semverBump: "none";
|
|
223
|
+
readonly changelog: {
|
|
224
|
+
readonly title: "Documentation";
|
|
225
|
+
readonly hidden: false;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
readonly test: {
|
|
229
|
+
readonly description: "Adding missing tests or correcting existing tests";
|
|
230
|
+
readonly title: "Testing";
|
|
231
|
+
readonly emoji: "🚨 ";
|
|
232
|
+
readonly semverBump: "none";
|
|
233
|
+
readonly changelog: {
|
|
234
|
+
readonly title: "Testing";
|
|
235
|
+
readonly hidden: true;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
readonly deps: {
|
|
239
|
+
readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
|
|
240
|
+
readonly title: "Dependencies";
|
|
241
|
+
readonly emoji: "📦 ";
|
|
242
|
+
readonly hidden: true;
|
|
243
|
+
readonly semverBump: "patch";
|
|
244
|
+
readonly changelog: {
|
|
245
|
+
readonly title: "Dependency Upgrades";
|
|
246
|
+
readonly hidden: false;
|
|
247
|
+
};
|
|
248
|
+
};
|
|
249
|
+
readonly build: {
|
|
250
|
+
readonly description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)";
|
|
251
|
+
readonly title: "Build";
|
|
252
|
+
readonly emoji: "🛠 ";
|
|
253
|
+
readonly hidden: true;
|
|
254
|
+
readonly semverBump: "none";
|
|
255
|
+
readonly changelog: {
|
|
256
|
+
readonly title: "Build";
|
|
257
|
+
readonly hidden: true;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
readonly release: {
|
|
261
|
+
readonly description: "Publishing a commit containing a newly released version";
|
|
262
|
+
readonly title: "Publish Release";
|
|
263
|
+
readonly emoji: "🚀 ";
|
|
264
|
+
readonly hidden: true;
|
|
265
|
+
readonly semverBump: "none";
|
|
266
|
+
readonly changelog: {
|
|
267
|
+
readonly title: "Publish Release";
|
|
268
|
+
readonly hidden: true;
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
};
|
|
8
273
|
|
|
9
|
-
export { config as default };
|
|
274
|
+
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS, config as default };
|
package/dist/commit/monorepo.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
+
DEFAULT_MONOREPO_COMMIT_QUESTIONS,
|
|
2
3
|
monorepo_default
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-JCEVFJCA.js";
|
|
5
|
+
import "../../chunk-KZRVQ5RZ.js";
|
|
6
|
+
import "../../chunk-5XU2KBM6.js";
|
|
7
|
+
import "../../chunk-3GGWHKRP.js";
|
|
5
8
|
export {
|
|
9
|
+
DEFAULT_MONOREPO_COMMIT_QUESTIONS,
|
|
6
10
|
monorepo_default as default
|
|
7
11
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4VPJA7YJcjs = require('../../chunk-4VPJA7YJ.cjs');
|
|
4
4
|
|
|
5
5
|
// src/commitlint/config/minimal.ts
|
|
6
6
|
var config = {
|
|
7
|
-
|
|
8
|
-
helpUrl: "https://developer.stormsoftware.com/commitlint/minimal"
|
|
7
|
+
..._chunk4VPJA7YJcjs.COMMIT_CONFIGS.minimal.commitlint
|
|
9
8
|
};
|
|
10
9
|
var minimal_default = config;
|
|
11
10
|
|
|
@@ -1,12 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '@nx/devkit';
|
|
3
|
-
import '@storm-software/config/types';
|
|
4
|
-
import 'conventional-changelog-storm-software/types/commit-types';
|
|
5
|
-
import 'nx/src/config/nx-json';
|
|
1
|
+
import * as conventional_changelog_storm_software_types_commitlint from 'conventional-changelog-storm-software/types/commitlint';
|
|
6
2
|
|
|
7
3
|
declare const config: {
|
|
8
|
-
rules: DefaultMinimalCommitRulesEnum;
|
|
9
4
|
helpUrl: string;
|
|
5
|
+
rules: {
|
|
6
|
+
"body-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
7
|
+
"body-max-length": (string | number)[];
|
|
8
|
+
"footer-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
9
|
+
"footer-max-line-length": (string | number)[];
|
|
10
|
+
"header-max-length": (string | number)[];
|
|
11
|
+
"header-trim": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
12
|
+
"subject-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity | string[])[];
|
|
13
|
+
"subject-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
14
|
+
"subject-full-stop": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
15
|
+
"subject-max-length": (string | number)[];
|
|
16
|
+
"subject-min-length": (string | number)[];
|
|
17
|
+
"type-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
18
|
+
"type-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
19
|
+
"type-enum": [conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity, conventional_changelog_storm_software_types_commitlint.RuleConfigCondition, string[]];
|
|
20
|
+
"type-max-length": (string | number)[];
|
|
21
|
+
"type-min-length": (string | number)[];
|
|
22
|
+
"scope-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
23
|
+
};
|
|
24
|
+
settings: {
|
|
25
|
+
enableMultipleScopes: boolean;
|
|
26
|
+
disableEmoji: boolean;
|
|
27
|
+
breakingChangePrefix: string;
|
|
28
|
+
closedIssuePrefix: string;
|
|
29
|
+
format: string;
|
|
30
|
+
};
|
|
10
31
|
};
|
|
11
32
|
type MinimalCommitlintConfig = typeof config;
|
|
12
33
|
|
|
@@ -1,12 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '@nx/devkit';
|
|
3
|
-
import '@storm-software/config/types';
|
|
4
|
-
import 'conventional-changelog-storm-software/types/commit-types';
|
|
5
|
-
import 'nx/src/config/nx-json';
|
|
1
|
+
import * as conventional_changelog_storm_software_types_commitlint from 'conventional-changelog-storm-software/types/commitlint';
|
|
6
2
|
|
|
7
3
|
declare const config: {
|
|
8
|
-
rules: DefaultMinimalCommitRulesEnum;
|
|
9
4
|
helpUrl: string;
|
|
5
|
+
rules: {
|
|
6
|
+
"body-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
7
|
+
"body-max-length": (string | number)[];
|
|
8
|
+
"footer-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
9
|
+
"footer-max-line-length": (string | number)[];
|
|
10
|
+
"header-max-length": (string | number)[];
|
|
11
|
+
"header-trim": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
12
|
+
"subject-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity | string[])[];
|
|
13
|
+
"subject-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
14
|
+
"subject-full-stop": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
15
|
+
"subject-max-length": (string | number)[];
|
|
16
|
+
"subject-min-length": (string | number)[];
|
|
17
|
+
"type-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
18
|
+
"type-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
19
|
+
"type-enum": [conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity, conventional_changelog_storm_software_types_commitlint.RuleConfigCondition, string[]];
|
|
20
|
+
"type-max-length": (string | number)[];
|
|
21
|
+
"type-min-length": (string | number)[];
|
|
22
|
+
"scope-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
23
|
+
};
|
|
24
|
+
settings: {
|
|
25
|
+
enableMultipleScopes: boolean;
|
|
26
|
+
disableEmoji: boolean;
|
|
27
|
+
breakingChangePrefix: string;
|
|
28
|
+
closedIssuePrefix: string;
|
|
29
|
+
format: string;
|
|
30
|
+
};
|
|
10
31
|
};
|
|
11
32
|
type MinimalCommitlintConfig = typeof config;
|
|
12
33
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunk-
|
|
2
|
+
COMMIT_CONFIGS
|
|
3
|
+
} from "../../chunk-3GGWHKRP.js";
|
|
4
4
|
|
|
5
5
|
// src/commitlint/config/minimal.ts
|
|
6
6
|
var config = {
|
|
7
|
-
|
|
8
|
-
helpUrl: "https://developer.stormsoftware.com/commitlint/minimal"
|
|
7
|
+
...COMMIT_CONFIGS.minimal.commitlint
|
|
9
8
|
};
|
|
10
9
|
var minimal_default = config;
|
|
11
10
|
export {
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk4VPJA7YJcjs = require('../../chunk-4VPJA7YJ.cjs');
|
|
4
4
|
|
|
5
5
|
// src/commitlint/config/monorepo.ts
|
|
6
6
|
var config = {
|
|
7
|
-
|
|
8
|
-
helpUrl: "https://developer.stormsoftware.com/commitlint/monorepo"
|
|
7
|
+
..._chunk4VPJA7YJcjs.COMMIT_CONFIGS.monorepo.commitlint
|
|
9
8
|
};
|
|
10
9
|
var monorepo_default = config;
|
|
11
10
|
|
|
@@ -1,12 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '@nx/devkit';
|
|
3
|
-
import '@storm-software/config/types';
|
|
4
|
-
import 'conventional-changelog-storm-software/types/commit-types';
|
|
5
|
-
import 'nx/src/config/nx-json';
|
|
1
|
+
import * as conventional_changelog_storm_software_types_commitlint from 'conventional-changelog-storm-software/types/commitlint';
|
|
6
2
|
|
|
7
3
|
declare const config: {
|
|
8
|
-
rules: DefaultMonorepoCommitRulesEnum;
|
|
9
4
|
helpUrl: string;
|
|
5
|
+
rules: {
|
|
6
|
+
"body-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
7
|
+
"body-max-length": (string | number)[];
|
|
8
|
+
"footer-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
9
|
+
"footer-max-line-length": (string | number)[];
|
|
10
|
+
"header-max-length": (string | number)[];
|
|
11
|
+
"header-trim": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
12
|
+
"subject-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity | string[])[];
|
|
13
|
+
"subject-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
14
|
+
"subject-full-stop": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
15
|
+
"subject-max-length": (string | number)[];
|
|
16
|
+
"subject-min-length": (string | number)[];
|
|
17
|
+
"type-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
18
|
+
"type-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
19
|
+
"type-enum": [conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity, conventional_changelog_storm_software_types_commitlint.RuleConfigCondition, string[]];
|
|
20
|
+
"type-max-length": (string | number)[];
|
|
21
|
+
"type-min-length": (string | number)[];
|
|
22
|
+
"scope-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity | string[])[];
|
|
23
|
+
"scope-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
24
|
+
};
|
|
25
|
+
settings: {
|
|
26
|
+
enableMultipleScopes: boolean;
|
|
27
|
+
disableEmoji: boolean;
|
|
28
|
+
breakingChangePrefix: string;
|
|
29
|
+
closedIssuePrefix: string;
|
|
30
|
+
format: string;
|
|
31
|
+
};
|
|
10
32
|
};
|
|
11
33
|
type MonorepoCommitlintConfig = typeof config;
|
|
12
34
|
|
|
@@ -1,12 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import '@nx/devkit';
|
|
3
|
-
import '@storm-software/config/types';
|
|
4
|
-
import 'conventional-changelog-storm-software/types/commit-types';
|
|
5
|
-
import 'nx/src/config/nx-json';
|
|
1
|
+
import * as conventional_changelog_storm_software_types_commitlint from 'conventional-changelog-storm-software/types/commitlint';
|
|
6
2
|
|
|
7
3
|
declare const config: {
|
|
8
|
-
rules: DefaultMonorepoCommitRulesEnum;
|
|
9
4
|
helpUrl: string;
|
|
5
|
+
rules: {
|
|
6
|
+
"body-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
7
|
+
"body-max-length": (string | number)[];
|
|
8
|
+
"footer-leading-blank": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
9
|
+
"footer-max-line-length": (string | number)[];
|
|
10
|
+
"header-max-length": (string | number)[];
|
|
11
|
+
"header-trim": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
12
|
+
"subject-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity | string[])[];
|
|
13
|
+
"subject-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
14
|
+
"subject-full-stop": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
15
|
+
"subject-max-length": (string | number)[];
|
|
16
|
+
"subject-min-length": (string | number)[];
|
|
17
|
+
"type-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
18
|
+
"type-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
19
|
+
"type-enum": [conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity, conventional_changelog_storm_software_types_commitlint.RuleConfigCondition, string[]];
|
|
20
|
+
"type-max-length": (string | number)[];
|
|
21
|
+
"type-min-length": (string | number)[];
|
|
22
|
+
"scope-case": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity | string[])[];
|
|
23
|
+
"scope-empty": (string | conventional_changelog_storm_software_types_commitlint.RuleConfigSeverity)[];
|
|
24
|
+
};
|
|
25
|
+
settings: {
|
|
26
|
+
enableMultipleScopes: boolean;
|
|
27
|
+
disableEmoji: boolean;
|
|
28
|
+
breakingChangePrefix: string;
|
|
29
|
+
closedIssuePrefix: string;
|
|
30
|
+
format: string;
|
|
31
|
+
};
|
|
10
32
|
};
|
|
11
33
|
type MonorepoCommitlintConfig = typeof config;
|
|
12
34
|
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunk-
|
|
2
|
+
COMMIT_CONFIGS
|
|
3
|
+
} from "../../chunk-3GGWHKRP.js";
|
|
4
4
|
|
|
5
5
|
// src/commitlint/config/monorepo.ts
|
|
6
6
|
var config = {
|
|
7
|
-
|
|
8
|
-
helpUrl: "https://developer.stormsoftware.com/commitlint/monorepo"
|
|
7
|
+
...COMMIT_CONFIGS.monorepo.commitlint
|
|
9
8
|
};
|
|
10
9
|
var monorepo_default = config;
|
|
11
10
|
export {
|
package/dist/index.cjs
CHANGED
|
@@ -2,32 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-2RKFQIWE.cjs');
|
|
5
|
+
var _chunkGOKUSEH3cjs = require('./chunk-GOKUSEH3.cjs');
|
|
7
6
|
|
|
8
7
|
|
|
8
|
+
var _chunkNY53WLGCcjs = require('./chunk-NY53WLGC.cjs');
|
|
9
|
+
require('./chunk-F7OO6L26.cjs');
|
|
9
10
|
|
|
10
11
|
|
|
12
|
+
var _chunkYBAE6I5Lcjs = require('./chunk-YBAE6I5L.cjs');
|
|
13
|
+
require('./chunk-4VPJA7YJ.cjs');
|
|
11
14
|
|
|
12
15
|
|
|
13
16
|
|
|
14
17
|
|
|
15
18
|
|
|
16
19
|
|
|
17
|
-
|
|
18
|
-
var _chunk2SHAD3P5cjs = require('./chunk-2SHAD3P5.cjs');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
exports.DEFAULT_COMMIT_PROMPT_MESSAGES = _chunk2SHAD3P5cjs.DEFAULT_COMMIT_PROMPT_MESSAGES; exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkRG47FAF4cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_MINIMAL_COMMIT_MESSAGE_FORMAT = _chunk2SHAD3P5cjs.DEFAULT_MINIMAL_COMMIT_MESSAGE_FORMAT; exports.DEFAULT_MINIMAL_COMMIT_QUESTIONS = _chunk2SHAD3P5cjs.DEFAULT_MINIMAL_COMMIT_QUESTIONS; exports.DEFAULT_MINIMAL_COMMIT_RULES = _chunk2SHAD3P5cjs.DEFAULT_MINIMAL_COMMIT_RULES; exports.DEFAULT_MINIMAL_COMMIT_SETTINGS = _chunk2SHAD3P5cjs.DEFAULT_MINIMAL_COMMIT_SETTINGS; exports.DEFAULT_MONOREPO_COMMIT_MESSAGE_FORMAT = _chunk2SHAD3P5cjs.DEFAULT_MONOREPO_COMMIT_MESSAGE_FORMAT; exports.DEFAULT_MONOREPO_COMMIT_QUESTIONS = _chunk2SHAD3P5cjs.DEFAULT_MONOREPO_COMMIT_QUESTIONS; exports.DEFAULT_MONOREPO_COMMIT_RULES = _chunk2SHAD3P5cjs.DEFAULT_MONOREPO_COMMIT_RULES; exports.DEFAULT_MONOREPO_COMMIT_SETTINGS = _chunk2SHAD3P5cjs.DEFAULT_MONOREPO_COMMIT_SETTINGS; exports.DEFAULT_RELEASE_CONFIG = _chunkRG47FAF4cjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkRG47FAF4cjs.DEFAULT_RELEASE_GROUP_CONFIG; exports.RuleConfigSeverity = _chunk2SHAD3P5cjs.RuleConfigSeverity;
|
|
20
|
+
exports.DEFAULT_COMMIT_PROMPT_MESSAGES = _chunkYBAE6I5Lcjs.DEFAULT_COMMIT_PROMPT_MESSAGES; exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkGOKUSEH3cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_MONOREPO_COMMIT_QUESTIONS = _chunkNY53WLGCcjs.DEFAULT_MONOREPO_COMMIT_QUESTIONS; exports.DEFAULT_RELEASE_CONFIG = _chunkGOKUSEH3cjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkGOKUSEH3cjs.DEFAULT_RELEASE_GROUP_CONFIG;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './commit/config/monorepo.cjs';
|
|
2
2
|
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG } from './release/config.cjs';
|
|
3
|
+
export { CommitLintCLIOptions, CommitLintOutcome, CommitLintRuleOutcome, CommitPromptMessagesEnum, CommitQuestionProps, CommitScopeProps, CommitScopesEnum, CommitSettingsEnum, CommitState, DEFAULT_COMMIT_PROMPT_MESSAGES, DeepPartial, DefaultCommitPromptMessagesKeys, NxReleaseChangelogConfig, NxReleaseConfig, NxReleaseConventionalCommitsConfig, NxReleaseGitConfig, NxReleaseGroupConfig, NxReleaseGroupsConfig, NxReleaseProjectsConfig, NxReleaseRequiredGitConfig, NxReleaseVersionConfig, ReadMeOptions, ReleaseConfig, ReleaseContext } from './types.cjs';
|
|
4
|
+
import 'conventional-changelog-storm-software/types/commit-types';
|
|
3
5
|
import '@nx/devkit';
|
|
4
6
|
import '@storm-software/config/types';
|
|
5
|
-
import 'conventional-changelog-storm-software/types/
|
|
7
|
+
import 'conventional-changelog-storm-software/types/commitlint';
|
|
6
8
|
import 'nx/src/config/nx-json';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './commit/config/monorepo.js';
|
|
2
2
|
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG } from './release/config.js';
|
|
3
|
+
export { CommitLintCLIOptions, CommitLintOutcome, CommitLintRuleOutcome, CommitPromptMessagesEnum, CommitQuestionProps, CommitScopeProps, CommitScopesEnum, CommitSettingsEnum, CommitState, DEFAULT_COMMIT_PROMPT_MESSAGES, DeepPartial, DefaultCommitPromptMessagesKeys, NxReleaseChangelogConfig, NxReleaseConfig, NxReleaseConventionalCommitsConfig, NxReleaseGitConfig, NxReleaseGroupConfig, NxReleaseGroupsConfig, NxReleaseProjectsConfig, NxReleaseRequiredGitConfig, NxReleaseVersionConfig, ReadMeOptions, ReleaseConfig, ReleaseContext } from './types.js';
|
|
4
|
+
import 'conventional-changelog-storm-software/types/commit-types';
|
|
3
5
|
import '@nx/devkit';
|
|
4
6
|
import '@storm-software/config/types';
|
|
5
|
-
import 'conventional-changelog-storm-software/types/
|
|
7
|
+
import 'conventional-changelog-storm-software/types/commitlint';
|
|
6
8
|
import 'nx/src/config/nx-json';
|
package/dist/index.js
CHANGED
|
@@ -2,32 +2,19 @@ import {
|
|
|
2
2
|
DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
3
3
|
DEFAULT_RELEASE_CONFIG,
|
|
4
4
|
DEFAULT_RELEASE_GROUP_CONFIG
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-25G45MG4.js";
|
|
5
|
+
} from "./chunk-YCEUZFMU.js";
|
|
7
6
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
DEFAULT_MONOREPO_COMMIT_RULES,
|
|
16
|
-
DEFAULT_MONOREPO_COMMIT_SETTINGS,
|
|
17
|
-
RuleConfigSeverity
|
|
18
|
-
} from "./chunk-GRCMQK4Q.js";
|
|
7
|
+
DEFAULT_MONOREPO_COMMIT_QUESTIONS
|
|
8
|
+
} from "./chunk-JCEVFJCA.js";
|
|
9
|
+
import "./chunk-KZRVQ5RZ.js";
|
|
10
|
+
import {
|
|
11
|
+
DEFAULT_COMMIT_PROMPT_MESSAGES
|
|
12
|
+
} from "./chunk-5XU2KBM6.js";
|
|
13
|
+
import "./chunk-3GGWHKRP.js";
|
|
19
14
|
export {
|
|
20
15
|
DEFAULT_COMMIT_PROMPT_MESSAGES,
|
|
21
16
|
DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
22
|
-
DEFAULT_MINIMAL_COMMIT_MESSAGE_FORMAT,
|
|
23
|
-
DEFAULT_MINIMAL_COMMIT_QUESTIONS,
|
|
24
|
-
DEFAULT_MINIMAL_COMMIT_RULES,
|
|
25
|
-
DEFAULT_MINIMAL_COMMIT_SETTINGS,
|
|
26
|
-
DEFAULT_MONOREPO_COMMIT_MESSAGE_FORMAT,
|
|
27
17
|
DEFAULT_MONOREPO_COMMIT_QUESTIONS,
|
|
28
|
-
DEFAULT_MONOREPO_COMMIT_RULES,
|
|
29
|
-
DEFAULT_MONOREPO_COMMIT_SETTINGS,
|
|
30
18
|
DEFAULT_RELEASE_CONFIG,
|
|
31
|
-
DEFAULT_RELEASE_GROUP_CONFIG
|
|
32
|
-
RuleConfigSeverity
|
|
19
|
+
DEFAULT_RELEASE_GROUP_CONFIG
|
|
33
20
|
};
|
package/dist/release/config.cjs
CHANGED
|
@@ -2,10 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var _chunkGOKUSEH3cjs = require('../chunk-GOKUSEH3.cjs');
|
|
6
|
+
require('../chunk-NY53WLGC.cjs');
|
|
7
|
+
require('../chunk-F7OO6L26.cjs');
|
|
8
|
+
require('../chunk-YBAE6I5L.cjs');
|
|
9
|
+
require('../chunk-4VPJA7YJ.cjs');
|
|
7
10
|
|
|
8
11
|
|
|
9
12
|
|
|
10
13
|
|
|
11
|
-
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG =
|
|
14
|
+
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkGOKUSEH3cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_CONFIG = _chunkGOKUSEH3cjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkGOKUSEH3cjs.DEFAULT_RELEASE_GROUP_CONFIG;
|