@storm-software/git-tools 2.131.6 → 2.131.7
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 +144 -71
- package/bin/git.cjs.map +1 -1
- package/bin/git.js +145 -72
- package/bin/git.js.map +1 -1
- package/dist/{chunk-EMMN3RCO.cjs → chunk-VOWQJXPC.cjs} +148 -47
- package/dist/{chunk-R6XSEPQS.js → chunk-ZDXX5TWI.js} +150 -49
- package/dist/index.cjs +25 -21
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/release/config.cjs +25 -21
- package/dist/release/config.d.cts +13 -56
- package/dist/release/config.d.ts +13 -56
- package/dist/release/config.js +1 -1
- package/package.json +6 -5
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVOWQJXPC_cjs = require('./chunk-VOWQJXPC.cjs');
|
|
4
4
|
var chunk7ZSL4J35_cjs = require('./chunk-7ZSL4J35.cjs');
|
|
5
5
|
require('./chunk-CT6VGZZS.cjs');
|
|
6
6
|
require('./chunk-4VPJA7YJ.cjs');
|
|
@@ -21,59 +21,63 @@ require('./chunk-OZEUXY3F.cjs');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "DEFAULT_CHANGELOG_RELEASE_CONFIG", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CHANGELOG_RELEASE_CONFIG; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "DEFAULT_COMMIT_MESSAGE", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_COMMIT_MESSAGE; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DEFAULT_FIXED_RELEASE_GROUP_CONFIG", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_GROUP_CONFIG; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "DEFAULT_FIXED_RELEASE_TAG_PATTERN", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_TAG_PATTERN; }
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG; }
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN; }
|
|
41
49
|
});
|
|
42
50
|
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
43
51
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
45
53
|
});
|
|
46
54
|
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
47
55
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
49
57
|
});
|
|
50
58
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
51
59
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
53
61
|
});
|
|
54
62
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_GIT_CONFIG", {
|
|
55
63
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
57
|
-
});
|
|
58
|
-
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
59
|
-
enumerable: true,
|
|
60
|
-
get: function () { return chunkEMMN3RCO_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
64
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_GIT_CONFIG; }
|
|
61
65
|
});
|
|
62
66
|
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
63
67
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
65
|
-
});
|
|
66
|
-
Object.defineProperty(exports, "DEFAULT_VERSION_ACTIONS_PATH", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function () { return chunkEMMN3RCO_cjs.DEFAULT_VERSION_ACTIONS_PATH; }
|
|
68
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "DEFAULT_VERSION_RELEASE_CONFIG", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_VERSION_RELEASE_CONFIG; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkVOWQJXPC_cjs.getReleaseGroupConfig; }
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "mergeReleaseGroupConfig", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () { return chunkVOWQJXPC_cjs.mergeReleaseGroupConfig; }
|
|
77
81
|
});
|
|
78
82
|
Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
|
|
79
83
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -6,12 +6,12 @@ export { preCommitHook } from './hooks/pre-commit.cjs';
|
|
|
6
6
|
export { preInstallHook } from './hooks/pre-install.cjs';
|
|
7
7
|
export { prePushHook } from './hooks/pre-push.cjs';
|
|
8
8
|
export { prepareHook } from './hooks/prepare.cjs';
|
|
9
|
-
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG,
|
|
9
|
+
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, getReleaseGroupConfig, mergeReleaseGroupConfig } from './release/config.cjs';
|
|
10
10
|
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';
|
|
11
11
|
import 'conventional-changelog-storm-software/types/commit-types';
|
|
12
12
|
import '@storm-software/config';
|
|
13
|
-
import '@storm-software/config/types';
|
|
14
13
|
import '@nx/devkit';
|
|
14
|
+
import '@storm-software/config/types';
|
|
15
15
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
16
16
|
import 'nx/src/command-line/release/config/config';
|
|
17
17
|
import 'nx/src/config/nx-json';
|
package/dist/index.d.ts
CHANGED
|
@@ -6,12 +6,12 @@ export { preCommitHook } from './hooks/pre-commit.js';
|
|
|
6
6
|
export { preInstallHook } from './hooks/pre-install.js';
|
|
7
7
|
export { prePushHook } from './hooks/pre-push.js';
|
|
8
8
|
export { prepareHook } from './hooks/prepare.js';
|
|
9
|
-
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG,
|
|
9
|
+
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, getReleaseGroupConfig, mergeReleaseGroupConfig } from './release/config.js';
|
|
10
10
|
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';
|
|
11
11
|
import 'conventional-changelog-storm-software/types/commit-types';
|
|
12
12
|
import '@storm-software/config';
|
|
13
|
-
import '@storm-software/config/types';
|
|
14
13
|
import '@nx/devkit';
|
|
14
|
+
import '@storm-software/config/types';
|
|
15
15
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
16
16
|
import 'nx/src/command-line/release/config/config';
|
|
17
17
|
import 'nx/src/config/nx-json';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG,
|
|
1
|
+
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, getReleaseGroupConfig, mergeReleaseGroupConfig } from './chunk-ZDXX5TWI.js';
|
|
2
2
|
export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-USTER7R2.js';
|
|
3
3
|
import './chunk-WCAKLYL2.js';
|
|
4
4
|
import './chunk-3GGWHKRP.js';
|
package/dist/release/config.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVOWQJXPC_cjs = require('../chunk-VOWQJXPC.cjs');
|
|
4
4
|
require('../chunk-7ZSL4J35.cjs');
|
|
5
5
|
require('../chunk-CT6VGZZS.cjs');
|
|
6
6
|
require('../chunk-4VPJA7YJ.cjs');
|
|
@@ -12,57 +12,61 @@ require('../chunk-OZEUXY3F.cjs');
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "DEFAULT_CHANGELOG_RELEASE_CONFIG", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CHANGELOG_RELEASE_CONFIG; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "DEFAULT_COMMIT_MESSAGE", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_COMMIT_MESSAGE; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "DEFAULT_FIXED_RELEASE_GROUP_CONFIG", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_GROUP_CONFIG; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "DEFAULT_FIXED_RELEASE_TAG_PATTERN", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_TAG_PATTERN; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN; }
|
|
32
40
|
});
|
|
33
41
|
Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
|
|
34
42
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
|
|
36
44
|
});
|
|
37
45
|
Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
|
|
38
46
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_CONFIG; }
|
|
40
48
|
});
|
|
41
49
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
|
|
42
50
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
|
|
44
52
|
});
|
|
45
53
|
Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_GIT_CONFIG", {
|
|
46
54
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () { return chunkEMMN3RCO_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
|
|
55
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_GIT_CONFIG; }
|
|
52
56
|
});
|
|
53
57
|
Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
|
|
54
58
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "DEFAULT_VERSION_ACTIONS_PATH", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function () { return chunkEMMN3RCO_cjs.DEFAULT_VERSION_ACTIONS_PATH; }
|
|
59
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "DEFAULT_VERSION_RELEASE_CONFIG", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkVOWQJXPC_cjs.DEFAULT_VERSION_RELEASE_CONFIG; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "getReleaseGroupConfig", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkVOWQJXPC_cjs.getReleaseGroupConfig; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "mergeReleaseGroupConfig", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkVOWQJXPC_cjs.mergeReleaseGroupConfig; }
|
|
68
72
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as conventional_changelog_storm_software_types_commit_types from 'conventional-changelog-storm-software/types/commit-types';
|
|
2
2
|
import { CommitScopesEnum, ReleaseGroupConfig, ReleaseConfig } from '../types.cjs';
|
|
3
|
+
import { ProjectGraph } from '@nx/devkit';
|
|
3
4
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
4
|
-
import '@nx/devkit';
|
|
5
5
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
6
6
|
import 'nx/src/command-line/release/config/config';
|
|
7
7
|
import 'nx/src/config/nx-json';
|
|
@@ -195,10 +195,9 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
|
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
|
-
declare const
|
|
198
|
+
declare const DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN = "{projectName}@{version}";
|
|
199
199
|
declare const DEFAULT_FIXED_RELEASE_TAG_PATTERN = "{releaseGroupName}@{version}";
|
|
200
200
|
declare const DEFAULT_COMMIT_MESSAGE = "release(monorepo): Publish v{version} release updates";
|
|
201
|
-
declare const DEFAULT_VERSION_ACTIONS_PATH = "@nx/js/src/release/version-actions";
|
|
202
201
|
declare const DEFAULT_RELEASE_GROUP_GIT_CONFIG: {
|
|
203
202
|
commit: boolean;
|
|
204
203
|
commitMessage: string;
|
|
@@ -214,8 +213,6 @@ declare const DEFAULT_VERSION_RELEASE_CONFIG: {
|
|
|
214
213
|
readonly fallbackCurrentVersionResolver: "disk";
|
|
215
214
|
readonly specifierSource: "conventional-commits";
|
|
216
215
|
readonly groupPreVersionCommand: "pnpm build";
|
|
217
|
-
readonly versionActions: "@nx/js/src/release/version-actions";
|
|
218
|
-
readonly versionActionsOptions: {};
|
|
219
216
|
readonly preserveLocalDependencyProtocols: true;
|
|
220
217
|
readonly preserveMatchingDependencyRanges: true;
|
|
221
218
|
readonly logUnchangedProjects: true;
|
|
@@ -280,8 +277,6 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
|
|
|
280
277
|
readonly fallbackCurrentVersionResolver: "disk";
|
|
281
278
|
readonly specifierSource: "conventional-commits";
|
|
282
279
|
readonly groupPreVersionCommand: "pnpm build";
|
|
283
|
-
readonly versionActions: "@nx/js/src/release/version-actions";
|
|
284
|
-
readonly versionActionsOptions: {};
|
|
285
280
|
readonly preserveLocalDependencyProtocols: true;
|
|
286
281
|
readonly preserveMatchingDependencyRanges: true;
|
|
287
282
|
readonly logUnchangedProjects: true;
|
|
@@ -303,60 +298,22 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
|
|
|
303
298
|
};
|
|
304
299
|
readonly versionPlans: false;
|
|
305
300
|
};
|
|
301
|
+
declare const DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG: {
|
|
302
|
+
readonly projectsRelationship: "independent";
|
|
303
|
+
readonly releaseTag: {
|
|
304
|
+
readonly pattern: "{projectName}@{version}";
|
|
305
|
+
};
|
|
306
|
+
};
|
|
306
307
|
declare const DEFAULT_FIXED_RELEASE_GROUP_CONFIG: {
|
|
307
308
|
readonly projectsRelationship: "fixed";
|
|
308
309
|
readonly releaseTag: {
|
|
309
310
|
readonly pattern: "{releaseGroupName}@{version}";
|
|
310
|
-
readonly preferDockerVersion: false;
|
|
311
|
-
};
|
|
312
|
-
readonly changelog: {
|
|
313
|
-
readonly createRelease: "github";
|
|
314
|
-
readonly entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.";
|
|
315
|
-
readonly file: false;
|
|
316
|
-
readonly renderOptions: {
|
|
317
|
-
readonly authors: false;
|
|
318
|
-
readonly commitReferences: true;
|
|
319
|
-
readonly versionTitleDate: true;
|
|
320
|
-
};
|
|
321
|
-
readonly git: {
|
|
322
|
-
readonly commit: true;
|
|
323
|
-
readonly tag: true;
|
|
324
|
-
readonly push: true;
|
|
325
|
-
readonly commitMessage: string;
|
|
326
|
-
readonly commitArgs: string;
|
|
327
|
-
readonly tagMessage: string;
|
|
328
|
-
readonly tagArgs: string;
|
|
329
|
-
readonly stageChanges: boolean;
|
|
330
|
-
readonly pushArgs: string;
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
readonly version: {
|
|
334
|
-
readonly currentVersionResolver: "git-tag";
|
|
335
|
-
readonly fallbackCurrentVersionResolver: "disk";
|
|
336
|
-
readonly specifierSource: "conventional-commits";
|
|
337
|
-
readonly groupPreVersionCommand: "pnpm build";
|
|
338
|
-
readonly versionActions: "@nx/js/src/release/version-actions";
|
|
339
|
-
readonly versionActionsOptions: {};
|
|
340
|
-
readonly preserveLocalDependencyProtocols: true;
|
|
341
|
-
readonly preserveMatchingDependencyRanges: true;
|
|
342
|
-
readonly logUnchangedProjects: true;
|
|
343
|
-
readonly updateDependents: "always";
|
|
344
|
-
readonly git: {
|
|
345
|
-
readonly stageChanges: true;
|
|
346
|
-
readonly commit: boolean;
|
|
347
|
-
readonly commitMessage: string;
|
|
348
|
-
readonly commitArgs: string;
|
|
349
|
-
readonly tag: boolean;
|
|
350
|
-
readonly tagMessage: string;
|
|
351
|
-
readonly tagArgs: string;
|
|
352
|
-
readonly pushArgs: string;
|
|
353
|
-
};
|
|
354
311
|
};
|
|
355
|
-
readonly versionPlans: false;
|
|
356
312
|
};
|
|
357
|
-
declare const DEFAULT_JS_RELEASE_GROUP_CONFIG: ReleaseGroupConfig
|
|
358
|
-
declare const DEFAULT_RUST_RELEASE_GROUP_CONFIG: ReleaseGroupConfig
|
|
313
|
+
declare const DEFAULT_JS_RELEASE_GROUP_CONFIG: Omit<ReleaseGroupConfig, "projects">;
|
|
314
|
+
declare const DEFAULT_RUST_RELEASE_GROUP_CONFIG: Omit<ReleaseGroupConfig, "projects">;
|
|
359
315
|
declare const DEFAULT_RELEASE_CONFIG: ReleaseConfig;
|
|
316
|
+
declare function mergeReleaseGroupConfig(config: Partial<ReleaseGroupConfig>, defaultConfig: Partial<ReleaseGroupConfig>, workspaceConfig: StormWorkspaceConfig): ReleaseGroupConfig;
|
|
360
317
|
/**
|
|
361
318
|
* Get the release group configurations, applying defaults where necessary
|
|
362
319
|
*
|
|
@@ -364,8 +321,8 @@ declare const DEFAULT_RELEASE_CONFIG: ReleaseConfig;
|
|
|
364
321
|
* @param workspaceConfig - The workspace configuration to use
|
|
365
322
|
* @returns The release group configurations
|
|
366
323
|
*/
|
|
367
|
-
declare function getReleaseGroupConfig(releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig): {
|
|
324
|
+
declare function getReleaseGroupConfig(projectGraph: ProjectGraph, releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig): {
|
|
368
325
|
[k: string]: ReleaseGroupConfig;
|
|
369
326
|
};
|
|
370
327
|
|
|
371
|
-
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG,
|
|
328
|
+
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, getReleaseGroupConfig, mergeReleaseGroupConfig };
|
package/dist/release/config.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as conventional_changelog_storm_software_types_commit_types from 'conventional-changelog-storm-software/types/commit-types';
|
|
2
2
|
import { CommitScopesEnum, ReleaseGroupConfig, ReleaseConfig } from '../types.js';
|
|
3
|
+
import { ProjectGraph } from '@nx/devkit';
|
|
3
4
|
import { StormWorkspaceConfig } from '@storm-software/config/types';
|
|
4
|
-
import '@nx/devkit';
|
|
5
5
|
import 'conventional-changelog-storm-software/types/commitlint';
|
|
6
6
|
import 'nx/src/command-line/release/config/config';
|
|
7
7
|
import 'nx/src/config/nx-json';
|
|
@@ -195,10 +195,9 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
|
|
|
195
195
|
};
|
|
196
196
|
};
|
|
197
197
|
};
|
|
198
|
-
declare const
|
|
198
|
+
declare const DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN = "{projectName}@{version}";
|
|
199
199
|
declare const DEFAULT_FIXED_RELEASE_TAG_PATTERN = "{releaseGroupName}@{version}";
|
|
200
200
|
declare const DEFAULT_COMMIT_MESSAGE = "release(monorepo): Publish v{version} release updates";
|
|
201
|
-
declare const DEFAULT_VERSION_ACTIONS_PATH = "@nx/js/src/release/version-actions";
|
|
202
201
|
declare const DEFAULT_RELEASE_GROUP_GIT_CONFIG: {
|
|
203
202
|
commit: boolean;
|
|
204
203
|
commitMessage: string;
|
|
@@ -214,8 +213,6 @@ declare const DEFAULT_VERSION_RELEASE_CONFIG: {
|
|
|
214
213
|
readonly fallbackCurrentVersionResolver: "disk";
|
|
215
214
|
readonly specifierSource: "conventional-commits";
|
|
216
215
|
readonly groupPreVersionCommand: "pnpm build";
|
|
217
|
-
readonly versionActions: "@nx/js/src/release/version-actions";
|
|
218
|
-
readonly versionActionsOptions: {};
|
|
219
216
|
readonly preserveLocalDependencyProtocols: true;
|
|
220
217
|
readonly preserveMatchingDependencyRanges: true;
|
|
221
218
|
readonly logUnchangedProjects: true;
|
|
@@ -280,8 +277,6 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
|
|
|
280
277
|
readonly fallbackCurrentVersionResolver: "disk";
|
|
281
278
|
readonly specifierSource: "conventional-commits";
|
|
282
279
|
readonly groupPreVersionCommand: "pnpm build";
|
|
283
|
-
readonly versionActions: "@nx/js/src/release/version-actions";
|
|
284
|
-
readonly versionActionsOptions: {};
|
|
285
280
|
readonly preserveLocalDependencyProtocols: true;
|
|
286
281
|
readonly preserveMatchingDependencyRanges: true;
|
|
287
282
|
readonly logUnchangedProjects: true;
|
|
@@ -303,60 +298,22 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
|
|
|
303
298
|
};
|
|
304
299
|
readonly versionPlans: false;
|
|
305
300
|
};
|
|
301
|
+
declare const DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG: {
|
|
302
|
+
readonly projectsRelationship: "independent";
|
|
303
|
+
readonly releaseTag: {
|
|
304
|
+
readonly pattern: "{projectName}@{version}";
|
|
305
|
+
};
|
|
306
|
+
};
|
|
306
307
|
declare const DEFAULT_FIXED_RELEASE_GROUP_CONFIG: {
|
|
307
308
|
readonly projectsRelationship: "fixed";
|
|
308
309
|
readonly releaseTag: {
|
|
309
310
|
readonly pattern: "{releaseGroupName}@{version}";
|
|
310
|
-
readonly preferDockerVersion: false;
|
|
311
|
-
};
|
|
312
|
-
readonly changelog: {
|
|
313
|
-
readonly createRelease: "github";
|
|
314
|
-
readonly entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.";
|
|
315
|
-
readonly file: false;
|
|
316
|
-
readonly renderOptions: {
|
|
317
|
-
readonly authors: false;
|
|
318
|
-
readonly commitReferences: true;
|
|
319
|
-
readonly versionTitleDate: true;
|
|
320
|
-
};
|
|
321
|
-
readonly git: {
|
|
322
|
-
readonly commit: true;
|
|
323
|
-
readonly tag: true;
|
|
324
|
-
readonly push: true;
|
|
325
|
-
readonly commitMessage: string;
|
|
326
|
-
readonly commitArgs: string;
|
|
327
|
-
readonly tagMessage: string;
|
|
328
|
-
readonly tagArgs: string;
|
|
329
|
-
readonly stageChanges: boolean;
|
|
330
|
-
readonly pushArgs: string;
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
readonly version: {
|
|
334
|
-
readonly currentVersionResolver: "git-tag";
|
|
335
|
-
readonly fallbackCurrentVersionResolver: "disk";
|
|
336
|
-
readonly specifierSource: "conventional-commits";
|
|
337
|
-
readonly groupPreVersionCommand: "pnpm build";
|
|
338
|
-
readonly versionActions: "@nx/js/src/release/version-actions";
|
|
339
|
-
readonly versionActionsOptions: {};
|
|
340
|
-
readonly preserveLocalDependencyProtocols: true;
|
|
341
|
-
readonly preserveMatchingDependencyRanges: true;
|
|
342
|
-
readonly logUnchangedProjects: true;
|
|
343
|
-
readonly updateDependents: "always";
|
|
344
|
-
readonly git: {
|
|
345
|
-
readonly stageChanges: true;
|
|
346
|
-
readonly commit: boolean;
|
|
347
|
-
readonly commitMessage: string;
|
|
348
|
-
readonly commitArgs: string;
|
|
349
|
-
readonly tag: boolean;
|
|
350
|
-
readonly tagMessage: string;
|
|
351
|
-
readonly tagArgs: string;
|
|
352
|
-
readonly pushArgs: string;
|
|
353
|
-
};
|
|
354
311
|
};
|
|
355
|
-
readonly versionPlans: false;
|
|
356
312
|
};
|
|
357
|
-
declare const DEFAULT_JS_RELEASE_GROUP_CONFIG: ReleaseGroupConfig
|
|
358
|
-
declare const DEFAULT_RUST_RELEASE_GROUP_CONFIG: ReleaseGroupConfig
|
|
313
|
+
declare const DEFAULT_JS_RELEASE_GROUP_CONFIG: Omit<ReleaseGroupConfig, "projects">;
|
|
314
|
+
declare const DEFAULT_RUST_RELEASE_GROUP_CONFIG: Omit<ReleaseGroupConfig, "projects">;
|
|
359
315
|
declare const DEFAULT_RELEASE_CONFIG: ReleaseConfig;
|
|
316
|
+
declare function mergeReleaseGroupConfig(config: Partial<ReleaseGroupConfig>, defaultConfig: Partial<ReleaseGroupConfig>, workspaceConfig: StormWorkspaceConfig): ReleaseGroupConfig;
|
|
360
317
|
/**
|
|
361
318
|
* Get the release group configurations, applying defaults where necessary
|
|
362
319
|
*
|
|
@@ -364,8 +321,8 @@ declare const DEFAULT_RELEASE_CONFIG: ReleaseConfig;
|
|
|
364
321
|
* @param workspaceConfig - The workspace configuration to use
|
|
365
322
|
* @returns The release group configurations
|
|
366
323
|
*/
|
|
367
|
-
declare function getReleaseGroupConfig(releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig): {
|
|
324
|
+
declare function getReleaseGroupConfig(projectGraph: ProjectGraph, releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig): {
|
|
368
325
|
[k: string]: ReleaseGroupConfig;
|
|
369
326
|
};
|
|
370
327
|
|
|
371
|
-
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG,
|
|
328
|
+
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, getReleaseGroupConfig, mergeReleaseGroupConfig };
|
package/dist/release/config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG,
|
|
1
|
+
export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG, DEFAULT_FIXED_RELEASE_GROUP_CONFIG, DEFAULT_FIXED_RELEASE_TAG_PATTERN, DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG, DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN, DEFAULT_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_GROUP_GIT_CONFIG, DEFAULT_RUST_RELEASE_GROUP_CONFIG, DEFAULT_VERSION_RELEASE_CONFIG, getReleaseGroupConfig, mergeReleaseGroupConfig } from '../chunk-ZDXX5TWI.js';
|
|
2
2
|
import '../chunk-USTER7R2.js';
|
|
3
3
|
import '../chunk-WCAKLYL2.js';
|
|
4
4
|
import '../chunk-3GGWHKRP.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.131.
|
|
3
|
+
"version": "2.131.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Tools for managing Git repositories within a Nx workspace.",
|
|
6
6
|
"keywords": [
|
|
@@ -190,8 +190,8 @@
|
|
|
190
190
|
"@inquirer/prompts": "^8.4.3",
|
|
191
191
|
"@nx/devkit": "22.7.1",
|
|
192
192
|
"@nx/js": "22.7.1",
|
|
193
|
-
"@storm-software/config": "^1.137.
|
|
194
|
-
"@storm-software/config-tools": "^1.190.
|
|
193
|
+
"@storm-software/config": "^1.137.39",
|
|
194
|
+
"@storm-software/config-tools": "^1.190.6",
|
|
195
195
|
"@textlint/ast-node-types": "14.4.2",
|
|
196
196
|
"@textlint/markdown-to-ast": "14.4.2",
|
|
197
197
|
"anchor-markdown-header": "0.7.0",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"chalk": "^4.1.2",
|
|
201
201
|
"chalk-template": "1.1.0",
|
|
202
202
|
"conventional-changelog-conventionalcommits": "^9.3.1",
|
|
203
|
-
"conventional-changelog-storm-software": "^0.3.
|
|
203
|
+
"conventional-changelog-storm-software": "^0.3.166",
|
|
204
204
|
"htmlparser2": "10.0.0",
|
|
205
205
|
"jsonc-parser": "3.2.1",
|
|
206
206
|
"nanoclone": "^1.0.2",
|
|
@@ -215,6 +215,7 @@
|
|
|
215
215
|
"zod": "^4.4.3"
|
|
216
216
|
},
|
|
217
217
|
"devDependencies": {
|
|
218
|
+
"@storm-software/package-constants": "^0.1.20",
|
|
218
219
|
"@types/node": "^25.7.0",
|
|
219
220
|
"commander": "^12.1.0",
|
|
220
221
|
"conventional-commits-parser": "^6.4.0",
|
|
@@ -227,5 +228,5 @@
|
|
|
227
228
|
"packageManager": "pnpm@10.3.0",
|
|
228
229
|
"engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
|
|
229
230
|
"publishConfig": { "access": "public" },
|
|
230
|
-
"gitHead": "
|
|
231
|
+
"gitHead": "0156312b2f7b27223734e49a41834c30314ae10a"
|
|
231
232
|
}
|