@storm-software/git-tools 2.102.0 → 2.104.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/bin/git.cjs +58 -59
- package/bin/git.js +58 -59
- package/dist/{chunk-WAYANCDV.js → chunk-232JIEVA.js} +1 -1
- package/dist/{chunk-WZADZNEI.cjs → chunk-L2C6A3XV.cjs} +58 -59
- package/dist/{chunk-WEKKNQBE.js → chunk-TFEV2FZY.js} +58 -59
- package/dist/{chunk-JPOOLWH4.js → chunk-W7SYRJE7.js} +1 -1
- package/dist/{chunk-PDBBNGUQ.cjs → chunk-WTMYHIID.cjs} +3 -3
- package/dist/chunk-Y7XG7IJ6.cjs +18 -0
- package/dist/commit/config.cjs +3 -3
- package/dist/commit/config.js +2 -2
- package/dist/commitlint/config.cjs +20 -20
- package/dist/commitlint/config.js +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.js +3 -3
- package/dist/release/config.cjs +3 -3
- package/dist/release/config.d.cts +103 -383
- package/dist/release/config.d.ts +103 -383
- package/dist/release/config.js +2 -2
- package/dist/types.cjs +2 -2
- package/dist/types.d.cts +51 -191
- package/dist/types.d.ts +51 -191
- package/dist/types.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-YCY2PJXX.cjs +0 -18
|
@@ -3,6 +3,7 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
3
3
|
|
|
4
4
|
// src/types.ts
|
|
5
5
|
var DEFAULT_COMMIT_TYPES = {
|
|
6
|
+
/* --- Bumps version when selected --- */
|
|
6
7
|
chore: {
|
|
7
8
|
description: "Other changes that don't modify src or test files",
|
|
8
9
|
title: "Chore",
|
|
@@ -13,36 +14,16 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
13
14
|
hidden: false
|
|
14
15
|
}
|
|
15
16
|
},
|
|
16
|
-
|
|
17
|
-
description: "
|
|
18
|
-
title: "
|
|
19
|
-
emoji: "\u{
|
|
20
|
-
semverBump: "patch",
|
|
21
|
-
changelog: {
|
|
22
|
-
title: "Continuous Integration",
|
|
23
|
-
hidden: false
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
deps: {
|
|
27
|
-
description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
|
|
28
|
-
title: "Dependencies",
|
|
29
|
-
emoji: "\u{1F4E6} ",
|
|
17
|
+
fix: {
|
|
18
|
+
description: "A change that resolves an issue previously identified with the package",
|
|
19
|
+
title: "Bug Fix",
|
|
20
|
+
emoji: "\u{1FAB2} ",
|
|
30
21
|
semverBump: "patch",
|
|
31
22
|
changelog: {
|
|
32
|
-
title: "
|
|
23
|
+
title: "Bug Fixes",
|
|
33
24
|
hidden: false
|
|
34
25
|
}
|
|
35
26
|
},
|
|
36
|
-
docs: {
|
|
37
|
-
description: "A change that only includes documentation updates",
|
|
38
|
-
title: "Documentation",
|
|
39
|
-
emoji: "\u{1F4DC} ",
|
|
40
|
-
semverBump: "none",
|
|
41
|
-
changelog: {
|
|
42
|
-
title: "Documentation",
|
|
43
|
-
hidden: true
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
27
|
feat: {
|
|
47
28
|
description: "A change that adds a new feature to the package",
|
|
48
29
|
title: "Feature",
|
|
@@ -53,23 +34,13 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
53
34
|
hidden: false
|
|
54
35
|
}
|
|
55
36
|
},
|
|
56
|
-
|
|
57
|
-
description: "
|
|
58
|
-
title: "
|
|
59
|
-
emoji: "\u{
|
|
37
|
+
ci: {
|
|
38
|
+
description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)",
|
|
39
|
+
title: "Continuous Integration",
|
|
40
|
+
emoji: "\u{1F9F0} ",
|
|
60
41
|
semverBump: "patch",
|
|
61
42
|
changelog: {
|
|
62
|
-
title: "
|
|
63
|
-
hidden: false
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
perf: {
|
|
67
|
-
description: "A code change that improves performance",
|
|
68
|
-
title: "Performance Improvement",
|
|
69
|
-
emoji: "\u23F1\uFE0F ",
|
|
70
|
-
semverBump: "none",
|
|
71
|
-
changelog: {
|
|
72
|
-
title: "Performance Improvements",
|
|
43
|
+
title: "Continuous Integration",
|
|
73
44
|
hidden: false
|
|
74
45
|
}
|
|
75
46
|
},
|
|
@@ -79,27 +50,38 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
79
50
|
emoji: "\u{1F9EA} ",
|
|
80
51
|
semverBump: "patch",
|
|
81
52
|
changelog: {
|
|
82
|
-
title: "Code Improvements",
|
|
53
|
+
title: "Source Code Improvements",
|
|
83
54
|
hidden: false
|
|
84
55
|
}
|
|
85
56
|
},
|
|
86
|
-
|
|
87
|
-
description: "
|
|
88
|
-
title: "
|
|
89
|
-
emoji: "\u{
|
|
57
|
+
style: {
|
|
58
|
+
description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)",
|
|
59
|
+
title: "Style Improvements",
|
|
60
|
+
emoji: "\u{1F48E} ",
|
|
90
61
|
semverBump: "patch",
|
|
91
62
|
changelog: {
|
|
92
|
-
title: "
|
|
63
|
+
title: "Style Improvements",
|
|
93
64
|
hidden: false
|
|
94
65
|
}
|
|
95
66
|
},
|
|
96
|
-
|
|
97
|
-
description: "
|
|
98
|
-
title: "
|
|
99
|
-
emoji: "\
|
|
100
|
-
semverBump: "
|
|
67
|
+
perf: {
|
|
68
|
+
description: "A code change that improves performance",
|
|
69
|
+
title: "Performance Improvement",
|
|
70
|
+
emoji: "\u23F1\uFE0F ",
|
|
71
|
+
semverBump: "patch",
|
|
101
72
|
changelog: {
|
|
102
|
-
title: "
|
|
73
|
+
title: "Performance Improvements",
|
|
74
|
+
hidden: false
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
/* --- Does not bump version when selected --- */
|
|
78
|
+
docs: {
|
|
79
|
+
description: "A change that only includes documentation updates",
|
|
80
|
+
title: "Documentation",
|
|
81
|
+
emoji: "\u{1F4DC} ",
|
|
82
|
+
semverBump: "none",
|
|
83
|
+
changelog: {
|
|
84
|
+
title: "Documentation",
|
|
103
85
|
hidden: false
|
|
104
86
|
}
|
|
105
87
|
},
|
|
@@ -113,16 +95,30 @@ var DEFAULT_COMMIT_TYPES = {
|
|
|
113
95
|
hidden: true
|
|
114
96
|
}
|
|
115
97
|
},
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
98
|
+
/* --- Not included in commitlint but included in changelog --- */
|
|
99
|
+
deps: {
|
|
100
|
+
description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies",
|
|
101
|
+
title: "Dependencies",
|
|
102
|
+
emoji: "\u{1F4E6} ",
|
|
103
|
+
hidden: true,
|
|
104
|
+
semverBump: "patch",
|
|
121
105
|
changelog: {
|
|
122
|
-
title: "
|
|
106
|
+
title: "Dependency Upgrades",
|
|
123
107
|
hidden: false
|
|
124
108
|
}
|
|
125
109
|
},
|
|
110
|
+
/* --- Not included in commitlint or changelog --- */
|
|
111
|
+
build: {
|
|
112
|
+
description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)",
|
|
113
|
+
title: "Build",
|
|
114
|
+
emoji: "\u{1F6E0} ",
|
|
115
|
+
hidden: true,
|
|
116
|
+
semverBump: "none",
|
|
117
|
+
changelog: {
|
|
118
|
+
title: "Build",
|
|
119
|
+
hidden: true
|
|
120
|
+
}
|
|
121
|
+
},
|
|
126
122
|
release: {
|
|
127
123
|
description: "Publishing a commit containing a newly released version",
|
|
128
124
|
title: "Publish Release",
|
|
@@ -140,7 +136,10 @@ var DEFAULT_COMMIT_QUESTIONS = {
|
|
|
140
136
|
type: "select",
|
|
141
137
|
title: "Commit Type",
|
|
142
138
|
description: "Select the commit type that best describes your changes",
|
|
143
|
-
enum: DEFAULT_COMMIT_TYPES,
|
|
139
|
+
enum: Object.keys(DEFAULT_COMMIT_TYPES).filter((type) => DEFAULT_COMMIT_TYPES[type].hidden !== true).reduce((ret, type) => {
|
|
140
|
+
ret[type] = DEFAULT_COMMIT_TYPES[type];
|
|
141
|
+
return ret;
|
|
142
|
+
}, {}),
|
|
144
143
|
defaultValue: "chore",
|
|
145
144
|
maxLength: 20,
|
|
146
145
|
minLength: 3
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkL2C6A3XVcjs = require('./chunk-L2C6A3XV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/release/config.ts
|
|
7
7
|
var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
|
|
8
|
-
questions:
|
|
9
|
-
types:
|
|
8
|
+
questions: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_QUESTIONS,
|
|
9
|
+
types: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_TYPES
|
|
10
10
|
};
|
|
11
11
|
var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
12
12
|
projectsRelationship: "independent",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _chunkL2C6A3XVcjs = require('./chunk-L2C6A3XV.cjs');
|
|
7
|
+
|
|
8
|
+
// src/commit/config.ts
|
|
9
|
+
var DEFAULT_COMMIT_CONFIG = {
|
|
10
|
+
settings: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_SETTINGS,
|
|
11
|
+
messages: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_PROMPT_MESSAGES,
|
|
12
|
+
questions: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_QUESTIONS,
|
|
13
|
+
types: _chunkL2C6A3XVcjs.DEFAULT_COMMIT_TYPES
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.DEFAULT_COMMIT_CONFIG = DEFAULT_COMMIT_CONFIG;
|
package/dist/commit/config.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkY7XG7IJ6cjs = require('../chunk-Y7XG7IJ6.cjs');
|
|
4
|
+
require('../chunk-L2C6A3XV.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.DEFAULT_COMMIT_CONFIG =
|
|
7
|
+
exports.DEFAULT_COMMIT_CONFIG = _chunkY7XG7IJ6cjs.DEFAULT_COMMIT_CONFIG;
|
package/dist/commit/config.js
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkL2C6A3XVcjs = require('../chunk-L2C6A3XV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/commitlint/config.ts
|
|
7
7
|
var DEFAULT_COMMIT_RULES = {
|
|
8
8
|
"body-leading-blank": [
|
|
9
|
-
|
|
9
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Warning,
|
|
10
10
|
"always"
|
|
11
11
|
],
|
|
12
12
|
"body-max-length": [
|
|
13
|
-
|
|
13
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
14
14
|
"always",
|
|
15
15
|
600
|
|
16
16
|
],
|
|
17
17
|
"footer-leading-blank": [
|
|
18
|
-
|
|
18
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Warning,
|
|
19
19
|
"always"
|
|
20
20
|
],
|
|
21
21
|
"footer-max-line-length": [
|
|
22
|
-
|
|
22
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
23
23
|
"always",
|
|
24
24
|
150
|
|
25
25
|
],
|
|
26
26
|
"header-max-length": [
|
|
27
|
-
|
|
27
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
28
28
|
"always",
|
|
29
29
|
150
|
|
30
30
|
],
|
|
31
31
|
"header-trim": [
|
|
32
|
-
|
|
32
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
33
33
|
"always"
|
|
34
34
|
],
|
|
35
35
|
"subject-case": [
|
|
36
|
-
|
|
36
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
37
37
|
"always",
|
|
38
38
|
[
|
|
39
39
|
"sentence-case"
|
|
40
40
|
]
|
|
41
41
|
],
|
|
42
42
|
"subject-empty": [
|
|
43
|
-
|
|
43
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
44
44
|
"never"
|
|
45
45
|
],
|
|
46
46
|
"subject-full-stop": [
|
|
47
|
-
|
|
47
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
48
48
|
"never",
|
|
49
49
|
"."
|
|
50
50
|
],
|
|
51
51
|
"subject-max-length": [
|
|
52
|
-
|
|
52
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
53
53
|
"always",
|
|
54
54
|
150
|
|
55
55
|
],
|
|
56
56
|
"subject-min-length": [
|
|
57
|
-
|
|
57
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
58
58
|
"always",
|
|
59
59
|
3
|
|
60
60
|
],
|
|
61
61
|
"type-case": [
|
|
62
|
-
|
|
62
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
63
63
|
"always",
|
|
64
64
|
"kebab-case"
|
|
65
65
|
],
|
|
66
66
|
"type-empty": [
|
|
67
|
-
|
|
67
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
68
68
|
"never"
|
|
69
69
|
],
|
|
70
70
|
"type-enum": [
|
|
71
|
-
|
|
71
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
72
72
|
"always",
|
|
73
|
-
Object.keys(
|
|
73
|
+
Object.keys(_chunkL2C6A3XVcjs.DEFAULT_COMMIT_TYPES)
|
|
74
74
|
],
|
|
75
75
|
"type-max-length": [
|
|
76
|
-
|
|
76
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
77
77
|
"always",
|
|
78
78
|
20
|
|
79
79
|
],
|
|
80
80
|
"type-min-length": [
|
|
81
|
-
|
|
81
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
82
82
|
"always",
|
|
83
83
|
3
|
|
84
84
|
],
|
|
85
85
|
"scope-case": [
|
|
86
|
-
|
|
86
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
87
87
|
"always",
|
|
88
88
|
[
|
|
89
89
|
"kebab-case"
|
|
90
90
|
]
|
|
91
91
|
],
|
|
92
92
|
"scope-empty": [
|
|
93
|
-
|
|
93
|
+
_chunkL2C6A3XVcjs.RuleConfigSeverity.Error,
|
|
94
94
|
"never"
|
|
95
95
|
]
|
|
96
96
|
};
|
package/dist/index.cjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkY7XG7IJ6cjs = require('./chunk-Y7XG7IJ6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkWTMYHIIDcjs = require('./chunk-WTMYHIID.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -13,7 +13,7 @@ var _chunkPDBBNGUQcjs = require('./chunk-PDBBNGUQ.cjs');
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkL2C6A3XVcjs = require('./chunk-L2C6A3XV.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
@@ -25,4 +25,4 @@ var _chunkWZADZNEIcjs = require('./chunk-WZADZNEI.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
exports.DEFAULT_COMMIT_CONFIG =
|
|
28
|
+
exports.DEFAULT_COMMIT_CONFIG = _chunkY7XG7IJ6cjs.DEFAULT_COMMIT_CONFIG; exports.DEFAULT_COMMIT_MESSAGE_FORMAT = _chunkL2C6A3XVcjs.DEFAULT_COMMIT_MESSAGE_FORMAT; exports.DEFAULT_COMMIT_PROMPT_MESSAGES = _chunkL2C6A3XVcjs.DEFAULT_COMMIT_PROMPT_MESSAGES; exports.DEFAULT_COMMIT_QUESTIONS = _chunkL2C6A3XVcjs.DEFAULT_COMMIT_QUESTIONS; exports.DEFAULT_COMMIT_SETTINGS = _chunkL2C6A3XVcjs.DEFAULT_COMMIT_SETTINGS; exports.DEFAULT_COMMIT_TYPES = _chunkL2C6A3XVcjs.DEFAULT_COMMIT_TYPES; exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkWTMYHIIDcjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_CONFIG = _chunkWTMYHIIDcjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkWTMYHIIDcjs.DEFAULT_RELEASE_GROUP_CONFIG; exports.RuleConfigSeverity = _chunkL2C6A3XVcjs.RuleConfigSeverity;
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_COMMIT_CONFIG
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W7SYRJE7.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
6
6
|
DEFAULT_RELEASE_CONFIG,
|
|
7
7
|
DEFAULT_RELEASE_GROUP_CONFIG
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-232JIEVA.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_COMMIT_MESSAGE_FORMAT,
|
|
11
11
|
DEFAULT_COMMIT_PROMPT_MESSAGES,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
DEFAULT_COMMIT_SETTINGS,
|
|
14
14
|
DEFAULT_COMMIT_TYPES,
|
|
15
15
|
RuleConfigSeverity
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TFEV2FZY.js";
|
|
17
17
|
export {
|
|
18
18
|
DEFAULT_COMMIT_CONFIG,
|
|
19
19
|
DEFAULT_COMMIT_MESSAGE_FORMAT,
|
package/dist/release/config.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
5
|
+
var _chunkWTMYHIIDcjs = require('../chunk-WTMYHIID.cjs');
|
|
6
|
+
require('../chunk-L2C6A3XV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG =
|
|
11
|
+
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkWTMYHIIDcjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_CONFIG = _chunkWTMYHIIDcjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkWTMYHIIDcjs.DEFAULT_RELEASE_GROUP_CONFIG;
|