@storm-software/git-tools 2.123.16 → 2.124.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 +1 -1
- package/bin/{chunk-SWXHQXUT.cjs → chunk-AU5PZKTN.cjs} +2 -0
- package/bin/chunk-AU5PZKTN.cjs.map +1 -0
- package/bin/{chunk-G3JMIIRF.cjs → chunk-EHPPIARR.cjs} +12 -17
- package/bin/chunk-EHPPIARR.cjs.map +1 -0
- package/bin/{chunk-L64XVBGM.cjs → chunk-FH5OSXAJ.cjs} +2 -0
- package/bin/chunk-FH5OSXAJ.cjs.map +1 -0
- package/bin/{chunk-S5PS23TL.js → chunk-G3YPGVPS.js} +2 -0
- package/bin/chunk-G3YPGVPS.js.map +1 -0
- package/bin/{chunk-AMSZ7DVW.js → chunk-Q3DQKTOI.js} +2 -0
- package/bin/chunk-Q3DQKTOI.js.map +1 -0
- package/bin/{chunk-K3LWFM6S.js → chunk-VBJB46HW.js} +13 -17
- package/bin/chunk-VBJB46HW.js.map +1 -0
- package/bin/git.cjs +941 -1500
- package/bin/git.cjs.map +1 -0
- package/bin/git.js +887 -1447
- package/bin/git.js.map +1 -0
- package/bin/post-checkout.cjs +16 -14
- package/bin/post-checkout.cjs.map +1 -0
- package/bin/post-checkout.js +5 -3
- package/bin/post-checkout.js.map +1 -0
- package/bin/post-commit.cjs +16 -14
- package/bin/post-commit.cjs.map +1 -0
- package/bin/post-commit.js +5 -3
- package/bin/post-commit.js.map +1 -0
- package/bin/post-merge.cjs +16 -14
- package/bin/post-merge.cjs.map +1 -0
- package/bin/post-merge.js +5 -3
- package/bin/post-merge.js.map +1 -0
- package/bin/pre-commit.cjs +14 -12
- package/bin/pre-commit.cjs.map +1 -0
- package/bin/pre-commit.js +4 -2
- package/bin/pre-commit.js.map +1 -0
- package/bin/pre-install.cjs +13 -11
- package/bin/pre-install.cjs.map +1 -0
- package/bin/pre-install.js +4 -2
- package/bin/pre-install.js.map +1 -0
- package/bin/pre-push.cjs +21 -19
- package/bin/pre-push.cjs.map +1 -0
- package/bin/pre-push.js +5 -3
- package/bin/pre-push.js.map +1 -0
- package/bin/prepare.cjs +11 -9
- package/bin/prepare.cjs.map +1 -0
- package/bin/prepare.js +4 -2
- package/bin/prepare.js.map +1 -0
- package/bin/version-warning.cjs +9 -7
- package/bin/version-warning.cjs.map +1 -0
- package/bin/version-warning.js +4 -2
- package/bin/version-warning.js.map +1 -0
- package/dist/chunk-3GGWHKRP.js +3 -6
- package/dist/chunk-4VPJA7YJ.cjs +9 -9
- package/dist/chunk-5XU2KBM6.js +1 -3
- package/dist/chunk-F7OO6L26.cjs +11 -16
- package/dist/chunk-JCEVFJCA.js +4 -14
- package/dist/chunk-KZRVQ5RZ.js +3 -11
- package/dist/chunk-M4QURF2M.cjs +2454 -0
- package/dist/chunk-NY53WLGC.cjs +16 -23
- package/dist/chunk-RJCCG4TV.js +2420 -0
- package/dist/chunk-YBAE6I5L.cjs +3 -3
- package/dist/commit/minimal.cjs +11 -3
- package/dist/commit/minimal.js +3 -10
- package/dist/commit/monorepo.cjs +11 -3
- package/dist/commit/monorepo.d.cts +1 -0
- package/dist/commit/monorepo.d.ts +1 -0
- package/dist/commit/monorepo.js +4 -11
- package/dist/commitlint/minimal.cjs +4 -5
- package/dist/commitlint/minimal.js +3 -6
- package/dist/commitlint/monorepo.cjs +4 -5
- package/dist/commitlint/monorepo.js +3 -6
- package/dist/index.cjs +40 -14
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +5 -20
- package/dist/release/config.cjs +30 -6
- package/dist/release/config.d.cts +33 -243
- package/dist/release/config.d.ts +33 -243
- package/dist/release/config.js +5 -14
- package/dist/types.cjs +7 -3
- package/dist/types.d.cts +91 -94
- package/dist/types.d.ts +91 -94
- package/dist/types.js +1 -6
- package/package.json +12 -12
- package/dist/chunk-GOKUSEH3.cjs +0 -77
- package/dist/chunk-YCEUZFMU.js +0 -77
package/dist/chunk-YBAE6I5L.cjs
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/types.ts
|
|
2
4
|
var DEFAULT_COMMIT_PROMPT_MESSAGES = {
|
|
3
5
|
skip: "press enter to skip",
|
|
4
6
|
max: "must be %d chars at most",
|
|
@@ -9,6 +11,4 @@ var DEFAULT_COMMIT_PROMPT_MESSAGES = {
|
|
|
9
11
|
closedIssueMessage: "Closes: "
|
|
10
12
|
};
|
|
11
13
|
|
|
12
|
-
|
|
13
|
-
|
|
14
14
|
exports.DEFAULT_COMMIT_PROMPT_MESSAGES = DEFAULT_COMMIT_PROMPT_MESSAGES;
|
package/dist/commit/minimal.cjs
CHANGED
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
4
|
|
|
4
|
-
var
|
|
5
|
+
var chunkF7OO6L26_cjs = require('../../chunk-F7OO6L26.cjs');
|
|
5
6
|
require('../../chunk-YBAE6I5L.cjs');
|
|
6
7
|
require('../../chunk-4VPJA7YJ.cjs');
|
|
7
8
|
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
exports
|
|
11
|
+
Object.defineProperty(exports, "DEFAULT_MINIMAL_COMMIT_QUESTIONS", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkF7OO6L26_cjs.DEFAULT_MINIMAL_COMMIT_QUESTIONS; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "default", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkF7OO6L26_cjs.minimal_default; }
|
|
18
|
+
});
|
package/dist/commit/minimal.js
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "../../chunk-KZRVQ5RZ.js";
|
|
5
|
-
import "../../chunk-5XU2KBM6.js";
|
|
6
|
-
import "../../chunk-3GGWHKRP.js";
|
|
7
|
-
export {
|
|
8
|
-
DEFAULT_MINIMAL_COMMIT_QUESTIONS,
|
|
9
|
-
minimal_default as default
|
|
10
|
-
};
|
|
1
|
+
export { DEFAULT_MINIMAL_COMMIT_QUESTIONS, minimal_default as default } from '../../chunk-KZRVQ5RZ.js';
|
|
2
|
+
import '../../chunk-5XU2KBM6.js';
|
|
3
|
+
import '../../chunk-3GGWHKRP.js';
|
package/dist/commit/monorepo.cjs
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3
4
|
|
|
4
|
-
var
|
|
5
|
+
var chunkNY53WLGC_cjs = require('../../chunk-NY53WLGC.cjs');
|
|
5
6
|
require('../../chunk-F7OO6L26.cjs');
|
|
6
7
|
require('../../chunk-YBAE6I5L.cjs');
|
|
7
8
|
require('../../chunk-4VPJA7YJ.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
|
|
11
|
-
exports
|
|
12
|
+
Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkNY53WLGC_cjs.DEFAULT_MONOREPO_COMMIT_QUESTIONS; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "default", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkNY53WLGC_cjs.monorepo_default; }
|
|
19
|
+
});
|
|
@@ -3,6 +3,7 @@ import { CommitScopesEnum } from '../../types.cjs';
|
|
|
3
3
|
import '@nx/devkit';
|
|
4
4
|
import '@storm-software/config/types';
|
|
5
5
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
6
|
+
import 'nx/src/command-line/release/config/config';
|
|
6
7
|
import 'nx/src/config/nx-json';
|
|
7
8
|
|
|
8
9
|
declare const DEFAULT_MONOREPO_COMMIT_QUESTIONS: {
|
|
@@ -3,6 +3,7 @@ import { CommitScopesEnum } from '../../types.js';
|
|
|
3
3
|
import '@nx/devkit';
|
|
4
4
|
import '@storm-software/config/types';
|
|
5
5
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
6
|
+
import 'nx/src/command-line/release/config/config';
|
|
6
7
|
import 'nx/src/config/nx-json';
|
|
7
8
|
|
|
8
9
|
declare const DEFAULT_MONOREPO_COMMIT_QUESTIONS: {
|
package/dist/commit/monorepo.js
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "../../chunk-KZRVQ5RZ.js";
|
|
6
|
-
import "../../chunk-5XU2KBM6.js";
|
|
7
|
-
import "../../chunk-3GGWHKRP.js";
|
|
8
|
-
export {
|
|
9
|
-
DEFAULT_MONOREPO_COMMIT_QUESTIONS,
|
|
10
|
-
monorepo_default as default
|
|
11
|
-
};
|
|
1
|
+
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS, monorepo_default as default } from '../../chunk-JCEVFJCA.js';
|
|
2
|
+
import '../../chunk-KZRVQ5RZ.js';
|
|
3
|
+
import '../../chunk-5XU2KBM6.js';
|
|
4
|
+
import '../../chunk-3GGWHKRP.js';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4VPJA7YJ_cjs = require('../../chunk-4VPJA7YJ.cjs');
|
|
4
4
|
|
|
5
5
|
// src/commitlint/config/minimal.ts
|
|
6
6
|
var config = {
|
|
7
|
-
...
|
|
7
|
+
...chunk4VPJA7YJ_cjs.COMMIT_CONFIGS.minimal.commitlint
|
|
8
8
|
};
|
|
9
9
|
var minimal_default = config;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
exports.default = minimal_default;
|
|
11
|
+
module.exports = minimal_default;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
COMMIT_CONFIGS
|
|
3
|
-
} from "../../chunk-3GGWHKRP.js";
|
|
1
|
+
import { COMMIT_CONFIGS } from '../../chunk-3GGWHKRP.js';
|
|
4
2
|
|
|
5
3
|
// src/commitlint/config/minimal.ts
|
|
6
4
|
var config = {
|
|
7
5
|
...COMMIT_CONFIGS.minimal.commitlint
|
|
8
6
|
};
|
|
9
7
|
var minimal_default = config;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
8
|
+
|
|
9
|
+
export { minimal_default as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk4VPJA7YJ_cjs = require('../../chunk-4VPJA7YJ.cjs');
|
|
4
4
|
|
|
5
5
|
// src/commitlint/config/monorepo.ts
|
|
6
6
|
var config = {
|
|
7
|
-
...
|
|
7
|
+
...chunk4VPJA7YJ_cjs.COMMIT_CONFIGS.monorepo.commitlint
|
|
8
8
|
};
|
|
9
9
|
var monorepo_default = config;
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
exports.default = monorepo_default;
|
|
11
|
+
module.exports = monorepo_default;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
COMMIT_CONFIGS
|
|
3
|
-
} from "../../chunk-3GGWHKRP.js";
|
|
1
|
+
import { COMMIT_CONFIGS } from '../../chunk-3GGWHKRP.js';
|
|
4
2
|
|
|
5
3
|
// src/commitlint/config/monorepo.ts
|
|
6
4
|
var config = {
|
|
7
5
|
...COMMIT_CONFIGS.monorepo.commitlint
|
|
8
6
|
};
|
|
9
7
|
var monorepo_default = config;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
8
|
+
|
|
9
|
+
export { monorepo_default as default };
|
package/dist/index.cjs
CHANGED
|
@@ -1,20 +1,46 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkGOKUSEH3cjs = require('./chunk-GOKUSEH3.cjs');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkNY53WLGCcjs = require('./chunk-NY53WLGC.cjs');
|
|
3
|
+
var chunkM4QURF2M_cjs = require('./chunk-M4QURF2M.cjs');
|
|
4
|
+
var chunkNY53WLGC_cjs = require('./chunk-NY53WLGC.cjs');
|
|
9
5
|
require('./chunk-F7OO6L26.cjs');
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunkYBAE6I5Lcjs = require('./chunk-YBAE6I5L.cjs');
|
|
6
|
+
var chunkYBAE6I5L_cjs = require('./chunk-YBAE6I5L.cjs');
|
|
13
7
|
require('./chunk-4VPJA7YJ.cjs');
|
|
14
8
|
|
|
15
9
|
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkM4QURF2M_cjs.getReleaseGroupConfig; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkNY53WLGC_cjs.DEFAULT_MONOREPO_COMMIT_QUESTIONS; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "DEFAULT_COMMIT_PROMPT_MESSAGES", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkYBAE6I5L_cjs.DEFAULT_COMMIT_PROMPT_MESSAGES; }
|
|
46
|
+
});
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './commit/config/monorepo.cjs';
|
|
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,
|
|
2
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from './release/config.cjs';
|
|
3
|
+
export { CommitLintCLIOptions, CommitLintOutcome, CommitLintRuleOutcome, CommitPromptMessagesEnum, CommitQuestionProps, CommitScopeProps, CommitScopesEnum, CommitSettingsEnum, CommitState, DEFAULT_COMMIT_PROMPT_MESSAGES, DeepPartial, DefaultCommitPromptMessagesKeys, NxReleaseRequiredGitConfig, ReadMeOptions, ReleaseConfig, ReleaseContext, ReleaseGroupConfig, ReleaseOptions } from './types.cjs';
|
|
4
4
|
import 'conventional-changelog-storm-software/types/commit-types';
|
|
5
|
-
import '@nx/devkit';
|
|
6
5
|
import '@storm-software/config/types';
|
|
6
|
+
import '@nx/devkit';
|
|
7
7
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
8
|
+
import 'nx/src/command-line/release/config/config';
|
|
8
9
|
import 'nx/src/config/nx-json';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './commit/config/monorepo.js';
|
|
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,
|
|
2
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from './release/config.js';
|
|
3
|
+
export { CommitLintCLIOptions, CommitLintOutcome, CommitLintRuleOutcome, CommitPromptMessagesEnum, CommitQuestionProps, CommitScopeProps, CommitScopesEnum, CommitSettingsEnum, CommitState, DEFAULT_COMMIT_PROMPT_MESSAGES, DeepPartial, DefaultCommitPromptMessagesKeys, NxReleaseRequiredGitConfig, ReadMeOptions, ReleaseConfig, ReleaseContext, ReleaseGroupConfig, ReleaseOptions } from './types.js';
|
|
4
4
|
import 'conventional-changelog-storm-software/types/commit-types';
|
|
5
|
-
import '@nx/devkit';
|
|
6
5
|
import '@storm-software/config/types';
|
|
6
|
+
import '@nx/devkit';
|
|
7
7
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
8
|
+
import 'nx/src/command-line/release/config/config';
|
|
8
9
|
import 'nx/src/config/nx-json';
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import {
|
|
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";
|
|
14
|
-
export {
|
|
15
|
-
DEFAULT_COMMIT_PROMPT_MESSAGES,
|
|
16
|
-
DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
17
|
-
DEFAULT_MONOREPO_COMMIT_QUESTIONS,
|
|
18
|
-
DEFAULT_RELEASE_CONFIG,
|
|
19
|
-
DEFAULT_RELEASE_GROUP_CONFIG
|
|
20
|
-
};
|
|
1
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig } from './chunk-RJCCG4TV.js';
|
|
2
|
+
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-JCEVFJCA.js';
|
|
3
|
+
import './chunk-KZRVQ5RZ.js';
|
|
4
|
+
export { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
|
|
5
|
+
import './chunk-3GGWHKRP.js';
|
package/dist/release/config.cjs
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkGOKUSEH3cjs = require('../chunk-GOKUSEH3.cjs');
|
|
3
|
+
var chunkM4QURF2M_cjs = require('../chunk-M4QURF2M.cjs');
|
|
6
4
|
require('../chunk-NY53WLGC.cjs');
|
|
7
5
|
require('../chunk-F7OO6L26.cjs');
|
|
8
6
|
require('../chunk-YBAE6I5L.cjs');
|
|
@@ -10,5 +8,31 @@ require('../chunk-4VPJA7YJ.cjs');
|
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkM4QURF2M_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkM4QURF2M_cjs.getReleaseGroupConfig; }
|
|
38
|
+
});
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as conventional_changelog_storm_software_types_commit_types from 'conventional-changelog-storm-software/types/commit-types';
|
|
2
|
-
import { CommitScopesEnum } from '../types.cjs';
|
|
2
|
+
import { CommitScopesEnum, ReleaseGroupConfig, ReleaseConfig } from '../types.cjs';
|
|
3
|
+
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
3
4
|
import '@nx/devkit';
|
|
4
|
-
import '@storm-software/config/types';
|
|
5
5
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
6
|
+
import 'nx/src/command-line/release/config/config';
|
|
6
7
|
import 'nx/src/config/nx-json';
|
|
7
8
|
|
|
8
9
|
declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
|
|
@@ -193,251 +194,40 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
|
|
|
193
194
|
};
|
|
194
195
|
};
|
|
195
196
|
};
|
|
197
|
+
declare const DEFAULT_RELEASE_TAG_PATTERN = "{projectName}@{version}";
|
|
196
198
|
declare const DEFAULT_RELEASE_GROUP_CONFIG: {
|
|
197
|
-
projectsRelationship:
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
renderOptions: {
|
|
207
|
-
authors: boolean;
|
|
208
|
-
commitReferences: boolean;
|
|
209
|
-
versionTitleDate: boolean;
|
|
199
|
+
readonly projectsRelationship: "independent";
|
|
200
|
+
readonly changelog: {
|
|
201
|
+
readonly createRelease: "github";
|
|
202
|
+
readonly entryWhenNoChanges: false;
|
|
203
|
+
readonly file: false;
|
|
204
|
+
readonly renderOptions: {
|
|
205
|
+
readonly authors: false;
|
|
206
|
+
readonly commitReferences: true;
|
|
207
|
+
readonly versionTitleDate: true;
|
|
210
208
|
};
|
|
211
209
|
};
|
|
212
|
-
version: {
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
specifierSource: string;
|
|
217
|
-
generator: string;
|
|
218
|
-
generatorOptions: {
|
|
219
|
-
currentVersionResolver: string;
|
|
220
|
-
specifierSource: string;
|
|
221
|
-
};
|
|
210
|
+
readonly version: {
|
|
211
|
+
readonly currentVersionResolver: "git-tag";
|
|
212
|
+
readonly specifierSource: "conventional-commits";
|
|
213
|
+
readonly groupPreVersionCommand: "pnpm build";
|
|
222
214
|
};
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
conventionalCommits: {
|
|
226
|
-
questions: {
|
|
227
|
-
readonly type: {
|
|
228
|
-
readonly type: "select";
|
|
229
|
-
readonly title: "Commit Type";
|
|
230
|
-
readonly description: "Select the commit type that best describes your changes";
|
|
231
|
-
readonly enum: conventional_changelog_storm_software_types_commit_types.CommitTypesEnum;
|
|
232
|
-
readonly defaultValue: "chore";
|
|
233
|
-
readonly maxLength: 20;
|
|
234
|
-
readonly minLength: 3;
|
|
235
|
-
};
|
|
236
|
-
readonly scope: {
|
|
237
|
-
readonly type: "select";
|
|
238
|
-
readonly title: "Commit Scope";
|
|
239
|
-
readonly description: "Select the project that's the most impacted by this change";
|
|
240
|
-
readonly enum: CommitScopesEnum;
|
|
241
|
-
readonly defaultValue: "monorepo";
|
|
242
|
-
readonly maxLength: 50;
|
|
243
|
-
readonly minLength: 1;
|
|
244
|
-
};
|
|
245
|
-
readonly subject: {
|
|
246
|
-
readonly type: "input";
|
|
247
|
-
readonly title: "Commit Subject";
|
|
248
|
-
readonly description: "Write a short, imperative tense description of the change";
|
|
249
|
-
readonly maxLength: 150;
|
|
250
|
-
readonly minLength: 3;
|
|
251
|
-
};
|
|
252
|
-
readonly body: {
|
|
253
|
-
readonly type: "input";
|
|
254
|
-
readonly title: "Commit Body";
|
|
255
|
-
readonly description: "Provide a longer description of the change";
|
|
256
|
-
readonly maxLength: 600;
|
|
257
|
-
};
|
|
258
|
-
readonly isBreaking: {
|
|
259
|
-
readonly type: "confirm";
|
|
260
|
-
readonly title: "Breaking Changes";
|
|
261
|
-
readonly description: "Are there any breaking changes as a result of this commit?";
|
|
262
|
-
readonly defaultValue: false;
|
|
263
|
-
};
|
|
264
|
-
readonly breakingBody: {
|
|
265
|
-
readonly type: "input";
|
|
266
|
-
readonly title: "Breaking Changes (Details)";
|
|
267
|
-
readonly description: "A BREAKING CHANGE commit requires a body. Please enter a longer description of the commit itself";
|
|
268
|
-
readonly when: (answers: Record<string, any>) => boolean;
|
|
269
|
-
readonly maxLength: 600;
|
|
270
|
-
readonly minLength: 3;
|
|
271
|
-
};
|
|
272
|
-
readonly isIssueAffected: {
|
|
273
|
-
readonly type: "confirm";
|
|
274
|
-
readonly title: "Open Issue Affected";
|
|
275
|
-
readonly description: "Does this change impact any open issues?";
|
|
276
|
-
readonly defaultValue: false;
|
|
277
|
-
};
|
|
278
|
-
readonly issuesBody: {
|
|
279
|
-
readonly type: "input";
|
|
280
|
-
readonly title: "Open Issue Affected (Details)";
|
|
281
|
-
readonly description: "If issues are closed, the commit requires a body. Please enter a longer description of the commit itself";
|
|
282
|
-
readonly when: (answers: Record<string, any>) => boolean;
|
|
283
|
-
readonly maxLength: 600;
|
|
284
|
-
readonly minLength: 3;
|
|
285
|
-
};
|
|
286
|
-
};
|
|
287
|
-
types: {
|
|
288
|
-
readonly chore: {
|
|
289
|
-
readonly description: "Other changes that don't modify src or test files";
|
|
290
|
-
readonly title: "Chore";
|
|
291
|
-
readonly emoji: "⚙️ ";
|
|
292
|
-
readonly semverBump: "patch";
|
|
293
|
-
readonly changelog: {
|
|
294
|
-
readonly title: "Miscellaneous";
|
|
295
|
-
readonly hidden: false;
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
readonly fix: {
|
|
299
|
-
readonly description: "A change that resolves an issue previously identified with the package";
|
|
300
|
-
readonly title: "Bug Fix";
|
|
301
|
-
readonly emoji: "🪲 ";
|
|
302
|
-
readonly semverBump: "patch";
|
|
303
|
-
readonly changelog: {
|
|
304
|
-
readonly title: "Bug Fixes";
|
|
305
|
-
readonly hidden: false;
|
|
306
|
-
};
|
|
307
|
-
};
|
|
308
|
-
readonly feat: {
|
|
309
|
-
readonly description: "A change that adds a new feature to the package";
|
|
310
|
-
readonly title: "Feature";
|
|
311
|
-
readonly emoji: "🔑 ";
|
|
312
|
-
readonly semverBump: "minor";
|
|
313
|
-
readonly changelog: {
|
|
314
|
-
readonly title: "Features";
|
|
315
|
-
readonly hidden: false;
|
|
316
|
-
};
|
|
317
|
-
};
|
|
318
|
-
readonly ci: {
|
|
319
|
-
readonly description: "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)";
|
|
320
|
-
readonly title: "Continuous Integration";
|
|
321
|
-
readonly emoji: "🧰 ";
|
|
322
|
-
readonly semverBump: "patch";
|
|
323
|
-
readonly changelog: {
|
|
324
|
-
readonly title: "Continuous Integration";
|
|
325
|
-
readonly hidden: false;
|
|
326
|
-
};
|
|
327
|
-
};
|
|
328
|
-
readonly refactor: {
|
|
329
|
-
readonly description: "A code change that neither fixes a bug nor adds a feature";
|
|
330
|
-
readonly title: "Code Refactoring";
|
|
331
|
-
readonly emoji: "🧪 ";
|
|
332
|
-
readonly semverBump: "patch";
|
|
333
|
-
readonly changelog: {
|
|
334
|
-
readonly title: "Source Code Improvements";
|
|
335
|
-
readonly hidden: false;
|
|
336
|
-
};
|
|
337
|
-
};
|
|
338
|
-
readonly style: {
|
|
339
|
-
readonly description: "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)";
|
|
340
|
-
readonly title: "Style Improvements";
|
|
341
|
-
readonly emoji: "💎 ";
|
|
342
|
-
readonly semverBump: "patch";
|
|
343
|
-
readonly changelog: {
|
|
344
|
-
readonly title: "Style Improvements";
|
|
345
|
-
readonly hidden: false;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
readonly perf: {
|
|
349
|
-
readonly description: "A code change that improves performance";
|
|
350
|
-
readonly title: "Performance Improvement";
|
|
351
|
-
readonly emoji: "⏱️ ";
|
|
352
|
-
readonly semverBump: "patch";
|
|
353
|
-
readonly changelog: {
|
|
354
|
-
readonly title: "Performance Improvements";
|
|
355
|
-
readonly hidden: false;
|
|
356
|
-
};
|
|
357
|
-
};
|
|
358
|
-
readonly docs: {
|
|
359
|
-
readonly description: "A change that only includes documentation updates";
|
|
360
|
-
readonly title: "Documentation";
|
|
361
|
-
readonly emoji: "📜 ";
|
|
362
|
-
readonly semverBump: "none";
|
|
363
|
-
readonly changelog: {
|
|
364
|
-
readonly title: "Documentation";
|
|
365
|
-
readonly hidden: false;
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
readonly test: {
|
|
369
|
-
readonly description: "Adding missing tests or correcting existing tests";
|
|
370
|
-
readonly title: "Testing";
|
|
371
|
-
readonly emoji: "🚨 ";
|
|
372
|
-
readonly semverBump: "none";
|
|
373
|
-
readonly changelog: {
|
|
374
|
-
readonly title: "Testing";
|
|
375
|
-
readonly hidden: true;
|
|
376
|
-
};
|
|
377
|
-
};
|
|
378
|
-
readonly deps: {
|
|
379
|
-
readonly description: "Changes that add, update, or remove dependencies. This includes devDependencies and peerDependencies";
|
|
380
|
-
readonly title: "Dependencies";
|
|
381
|
-
readonly emoji: "📦 ";
|
|
382
|
-
readonly hidden: true;
|
|
383
|
-
readonly semverBump: "patch";
|
|
384
|
-
readonly changelog: {
|
|
385
|
-
readonly title: "Dependency Upgrades";
|
|
386
|
-
readonly hidden: false;
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
readonly build: {
|
|
390
|
-
readonly description: "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)";
|
|
391
|
-
readonly title: "Build";
|
|
392
|
-
readonly emoji: "🛠 ";
|
|
393
|
-
readonly hidden: true;
|
|
394
|
-
readonly semverBump: "none";
|
|
395
|
-
readonly changelog: {
|
|
396
|
-
readonly title: "Build";
|
|
397
|
-
readonly hidden: true;
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
readonly release: {
|
|
401
|
-
readonly description: "Publishing a commit containing a newly released version";
|
|
402
|
-
readonly title: "Publish Release";
|
|
403
|
-
readonly emoji: "🚀 ";
|
|
404
|
-
readonly hidden: true;
|
|
405
|
-
readonly semverBump: "none";
|
|
406
|
-
readonly changelog: {
|
|
407
|
-
readonly title: "Publish Release";
|
|
408
|
-
readonly hidden: true;
|
|
409
|
-
};
|
|
410
|
-
};
|
|
411
|
-
};
|
|
412
|
-
};
|
|
413
|
-
changelog: {
|
|
414
|
-
git: {
|
|
415
|
-
tag: boolean;
|
|
416
|
-
};
|
|
417
|
-
automaticFromRef: boolean;
|
|
418
|
-
workspaceChangelog: boolean;
|
|
419
|
-
projectChangelogs: {
|
|
420
|
-
createRelease: string;
|
|
421
|
-
entryWhenNoChanges: boolean;
|
|
422
|
-
file: string;
|
|
423
|
-
renderOptions: {
|
|
424
|
-
authors: boolean;
|
|
425
|
-
commitReferences: boolean;
|
|
426
|
-
versionTitleDate: boolean;
|
|
427
|
-
};
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
version: {
|
|
431
|
-
preVersionCommand: string;
|
|
432
|
-
useLegacyVersioning: boolean;
|
|
433
|
-
currentVersionResolver: string;
|
|
434
|
-
specifierSource: string;
|
|
435
|
-
generator: string;
|
|
436
|
-
generatorOptions: {
|
|
437
|
-
currentVersionResolver: string;
|
|
438
|
-
specifierSource: string;
|
|
439
|
-
};
|
|
215
|
+
readonly releaseTag: {
|
|
216
|
+
readonly pattern: "{projectName}@{version}";
|
|
440
217
|
};
|
|
441
218
|
};
|
|
219
|
+
declare const DEFAULT_JS_RELEASE_GROUP_CONFIG: ReleaseGroupConfig;
|
|
220
|
+
declare const DEFAULT_RUST_RELEASE_GROUP_CONFIG: ReleaseGroupConfig;
|
|
221
|
+
declare const DEFAULT_RELEASE_CONFIG: ReleaseConfig;
|
|
222
|
+
/**
|
|
223
|
+
* Get the release group configurations, applying defaults where necessary
|
|
224
|
+
*
|
|
225
|
+
* @param releaseConfig - The release configuration to use
|
|
226
|
+
* @param workspaceConfig - The workspace configuration to use
|
|
227
|
+
* @returns The release group configurations
|
|
228
|
+
*/
|
|
229
|
+
declare function getReleaseGroupConfig(releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig): {
|
|
230
|
+
[k: string]: ReleaseGroupConfig;
|
|
231
|
+
};
|
|
442
232
|
|
|
443
|
-
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG };
|
|
233
|
+
export { DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG, getReleaseGroupConfig };
|