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