@storm-software/git-tools 2.131.8 → 2.131.10

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.
@@ -5,6 +5,7 @@ var chunk4VPJA7YJ_cjs = require('./chunk-4VPJA7YJ.cjs');
5
5
  var chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
6
6
  var defu3 = require('defu');
7
7
  var fs = require('fs');
8
+ var nxJson = require('nx/src/config/nx-json');
8
9
  var findMatchingProjects = require('nx/src/utils/find-matching-projects');
9
10
  var c12 = require('c12');
10
11
  var path = require('path');
@@ -3596,8 +3597,6 @@ var DEFAULT_VERSION_RELEASE_CONFIG = {
3596
3597
  };
3597
3598
  var DEFAULT_CHANGELOG_RELEASE_CONFIG = {
3598
3599
  createRelease: "github",
3599
- entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.",
3600
- file: false,
3601
3600
  renderOptions: {
3602
3601
  authors: false,
3603
3602
  commitReferences: true,
@@ -3800,6 +3799,41 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3800
3799
  })
3801
3800
  );
3802
3801
  }
3802
+ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNxJsonConfig = false) {
3803
+ let nxJson$1 = {};
3804
+ if (!ignoreNxJsonConfig && fs.existsSync(joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3805
+ nxJson$1 = nxJson.readNxJson();
3806
+ }
3807
+ const baseConfig = defu3__default.default(
3808
+ {
3809
+ changelog: {
3810
+ renderOptions: {
3811
+ workspaceConfig
3812
+ }
3813
+ },
3814
+ groups: {}
3815
+ },
3816
+ omit(releaseConfig, ["groups"]),
3817
+ nxJson$1.release ? omit(nxJson$1.release, ["groups"]) : {},
3818
+ omit(DEFAULT_RELEASE_CONFIG, ["groups"])
3819
+ );
3820
+ let groups = {};
3821
+ if (releaseConfig?.groups && Object.keys(releaseConfig.groups).length > 0) {
3822
+ groups = releaseConfig.groups;
3823
+ } else if (nxJson$1.release?.groups && Object.keys(nxJson$1.release.groups).length > 0) {
3824
+ groups = nxJson$1.release.groups;
3825
+ } else {
3826
+ groups = DEFAULT_RELEASE_CONFIG.groups;
3827
+ }
3828
+ return {
3829
+ ...baseConfig,
3830
+ groups: getReleaseGroupConfig(
3831
+ projectGraph,
3832
+ { ...baseConfig, groups },
3833
+ workspaceConfig
3834
+ )
3835
+ };
3836
+ }
3803
3837
 
3804
3838
  exports.DEFAULT_CHANGELOG_RELEASE_CONFIG = DEFAULT_CHANGELOG_RELEASE_CONFIG;
3805
3839
  exports.DEFAULT_COMMIT_MESSAGE = DEFAULT_COMMIT_MESSAGE;
@@ -3814,5 +3848,6 @@ exports.DEFAULT_RELEASE_GROUP_CONFIG = DEFAULT_RELEASE_GROUP_CONFIG;
3814
3848
  exports.DEFAULT_RELEASE_GROUP_GIT_CONFIG = DEFAULT_RELEASE_GROUP_GIT_CONFIG;
3815
3849
  exports.DEFAULT_RUST_RELEASE_GROUP_CONFIG = DEFAULT_RUST_RELEASE_GROUP_CONFIG;
3816
3850
  exports.DEFAULT_VERSION_RELEASE_CONFIG = DEFAULT_VERSION_RELEASE_CONFIG;
3851
+ exports.getReleaseConfig = getReleaseConfig;
3817
3852
  exports.getReleaseGroupConfig = getReleaseGroupConfig;
3818
3853
  exports.mergeReleaseGroupConfig = mergeReleaseGroupConfig;
@@ -3,6 +3,7 @@ import { DEFAULT_COMMIT_TYPES } from './chunk-3GGWHKRP.js';
3
3
  import { writeTrace, formatLogMessage, writeWarning, getLogLevel, LogLevel, getLogLevelLabel } from './chunk-DHMSMFL3.js';
4
4
  import defu3 from 'defu';
5
5
  import { existsSync } from 'fs';
6
+ import { readNxJson } from 'nx/src/config/nx-json';
6
7
  import { findMatchingProjects } from 'nx/src/utils/find-matching-projects';
7
8
  import { loadConfig } from 'c12';
8
9
  import { existsSync as existsSync$1 } from 'node:fs';
@@ -3589,8 +3590,6 @@ var DEFAULT_VERSION_RELEASE_CONFIG = {
3589
3590
  };
3590
3591
  var DEFAULT_CHANGELOG_RELEASE_CONFIG = {
3591
3592
  createRelease: "github",
3592
- entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.",
3593
- file: false,
3594
3593
  renderOptions: {
3595
3594
  authors: false,
3596
3595
  commitReferences: true,
@@ -3793,5 +3792,40 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3793
3792
  })
3794
3793
  );
3795
3794
  }
3795
+ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNxJsonConfig = false) {
3796
+ let nxJson = {};
3797
+ if (!ignoreNxJsonConfig && existsSync(joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3798
+ nxJson = readNxJson();
3799
+ }
3800
+ const baseConfig = defu3(
3801
+ {
3802
+ changelog: {
3803
+ renderOptions: {
3804
+ workspaceConfig
3805
+ }
3806
+ },
3807
+ groups: {}
3808
+ },
3809
+ omit(releaseConfig, ["groups"]),
3810
+ nxJson.release ? omit(nxJson.release, ["groups"]) : {},
3811
+ omit(DEFAULT_RELEASE_CONFIG, ["groups"])
3812
+ );
3813
+ let groups = {};
3814
+ if (releaseConfig?.groups && Object.keys(releaseConfig.groups).length > 0) {
3815
+ groups = releaseConfig.groups;
3816
+ } else if (nxJson.release?.groups && Object.keys(nxJson.release.groups).length > 0) {
3817
+ groups = nxJson.release.groups;
3818
+ } else {
3819
+ groups = DEFAULT_RELEASE_CONFIG.groups;
3820
+ }
3821
+ return {
3822
+ ...baseConfig,
3823
+ groups: getReleaseGroupConfig(
3824
+ projectGraph,
3825
+ { ...baseConfig, groups },
3826
+ workspaceConfig
3827
+ )
3828
+ };
3829
+ }
3796
3830
 
3797
- export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG2 as 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 };
3831
+ export { DEFAULT_CHANGELOG_RELEASE_CONFIG, DEFAULT_COMMIT_MESSAGE, DEFAULT_CONVENTIONAL_COMMITS_CONFIG2 as 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, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig };
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVOWQJXPC_cjs = require('./chunk-VOWQJXPC.cjs');
3
+ var chunkB35TFDAA_cjs = require('./chunk-B35TFDAA.cjs');
4
4
  var chunk7ZSL4J35_cjs = require('./chunk-7ZSL4J35.cjs');
5
5
  require('./chunk-CT6VGZZS.cjs');
6
6
  require('./chunk-4VPJA7YJ.cjs');
@@ -21,63 +21,67 @@ require('./chunk-OZEUXY3F.cjs');
21
21
 
22
22
  Object.defineProperty(exports, "DEFAULT_CHANGELOG_RELEASE_CONFIG", {
23
23
  enumerable: true,
24
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CHANGELOG_RELEASE_CONFIG; }
24
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_CHANGELOG_RELEASE_CONFIG; }
25
25
  });
26
26
  Object.defineProperty(exports, "DEFAULT_COMMIT_MESSAGE", {
27
27
  enumerable: true,
28
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_COMMIT_MESSAGE; }
28
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_COMMIT_MESSAGE; }
29
29
  });
30
30
  Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
31
31
  enumerable: true,
32
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
32
+ get: function () { return chunkB35TFDAA_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 chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_GROUP_CONFIG; }
36
+ get: function () { return chunkB35TFDAA_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 chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_TAG_PATTERN; }
40
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_FIXED_RELEASE_TAG_PATTERN; }
41
41
  });
42
42
  Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG", {
43
43
  enumerable: true,
44
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG; }
44
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG; }
45
45
  });
46
46
  Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN", {
47
47
  enumerable: true,
48
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN; }
48
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN; }
49
49
  });
50
50
  Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
51
51
  enumerable: true,
52
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
52
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
53
53
  });
54
54
  Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
55
55
  enumerable: true,
56
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_CONFIG; }
56
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_RELEASE_CONFIG; }
57
57
  });
58
58
  Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
59
59
  enumerable: true,
60
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
60
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
61
61
  });
62
62
  Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_GIT_CONFIG", {
63
63
  enumerable: true,
64
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_GIT_CONFIG; }
64
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_RELEASE_GROUP_GIT_CONFIG; }
65
65
  });
66
66
  Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
67
67
  enumerable: true,
68
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
68
+ get: function () { return chunkB35TFDAA_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 chunkVOWQJXPC_cjs.DEFAULT_VERSION_RELEASE_CONFIG; }
72
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_VERSION_RELEASE_CONFIG; }
73
+ });
74
+ Object.defineProperty(exports, "getReleaseConfig", {
75
+ enumerable: true,
76
+ get: function () { return chunkB35TFDAA_cjs.getReleaseConfig; }
73
77
  });
74
78
  Object.defineProperty(exports, "getReleaseGroupConfig", {
75
79
  enumerable: true,
76
- get: function () { return chunkVOWQJXPC_cjs.getReleaseGroupConfig; }
80
+ get: function () { return chunkB35TFDAA_cjs.getReleaseGroupConfig; }
77
81
  });
78
82
  Object.defineProperty(exports, "mergeReleaseGroupConfig", {
79
83
  enumerable: true,
80
- get: function () { return chunkVOWQJXPC_cjs.mergeReleaseGroupConfig; }
84
+ get: function () { return chunkB35TFDAA_cjs.mergeReleaseGroupConfig; }
81
85
  });
82
86
  Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
83
87
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -6,12 +6,13 @@ 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_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';
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, getReleaseConfig, 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
13
  import '@nx/devkit';
14
14
  import '@storm-software/config/types';
15
+ import 'nx/src/command-line/release/config/config.js';
15
16
  import 'conventional-changelog-storm-software/types/commitlint';
16
17
  import 'nx/src/command-line/release/config/config';
17
18
  import 'nx/src/config/nx-json';
package/dist/index.d.ts CHANGED
@@ -6,12 +6,13 @@ 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_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';
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, getReleaseConfig, 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
13
  import '@nx/devkit';
14
14
  import '@storm-software/config/types';
15
+ import 'nx/src/command-line/release/config/config.js';
15
16
  import 'conventional-changelog-storm-software/types/commitlint';
16
17
  import 'nx/src/command-line/release/config/config';
17
18
  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_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';
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, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig } from './chunk-FPSN3POD.js';
2
2
  export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-USTER7R2.js';
3
3
  import './chunk-WCAKLYL2.js';
4
4
  import './chunk-3GGWHKRP.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkVOWQJXPC_cjs = require('../chunk-VOWQJXPC.cjs');
3
+ var chunkB35TFDAA_cjs = require('../chunk-B35TFDAA.cjs');
4
4
  require('../chunk-7ZSL4J35.cjs');
5
5
  require('../chunk-CT6VGZZS.cjs');
6
6
  require('../chunk-4VPJA7YJ.cjs');
@@ -12,61 +12,65 @@ require('../chunk-OZEUXY3F.cjs');
12
12
 
13
13
  Object.defineProperty(exports, "DEFAULT_CHANGELOG_RELEASE_CONFIG", {
14
14
  enumerable: true,
15
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CHANGELOG_RELEASE_CONFIG; }
15
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_CHANGELOG_RELEASE_CONFIG; }
16
16
  });
17
17
  Object.defineProperty(exports, "DEFAULT_COMMIT_MESSAGE", {
18
18
  enumerable: true,
19
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_COMMIT_MESSAGE; }
19
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_COMMIT_MESSAGE; }
20
20
  });
21
21
  Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
22
22
  enumerable: true,
23
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
23
+ get: function () { return chunkB35TFDAA_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 chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_GROUP_CONFIG; }
27
+ get: function () { return chunkB35TFDAA_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 chunkVOWQJXPC_cjs.DEFAULT_FIXED_RELEASE_TAG_PATTERN; }
31
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_FIXED_RELEASE_TAG_PATTERN; }
32
32
  });
33
33
  Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG", {
34
34
  enumerable: true,
35
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG; }
35
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG; }
36
36
  });
37
37
  Object.defineProperty(exports, "DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN", {
38
38
  enumerable: true,
39
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN; }
39
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN; }
40
40
  });
41
41
  Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
42
42
  enumerable: true,
43
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
43
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
44
44
  });
45
45
  Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
46
46
  enumerable: true,
47
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_CONFIG; }
47
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_RELEASE_CONFIG; }
48
48
  });
49
49
  Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
50
50
  enumerable: true,
51
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
51
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
52
52
  });
53
53
  Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_GIT_CONFIG", {
54
54
  enumerable: true,
55
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RELEASE_GROUP_GIT_CONFIG; }
55
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_RELEASE_GROUP_GIT_CONFIG; }
56
56
  });
57
57
  Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
58
58
  enumerable: true,
59
- get: function () { return chunkVOWQJXPC_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
59
+ get: function () { return chunkB35TFDAA_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 chunkVOWQJXPC_cjs.DEFAULT_VERSION_RELEASE_CONFIG; }
63
+ get: function () { return chunkB35TFDAA_cjs.DEFAULT_VERSION_RELEASE_CONFIG; }
64
+ });
65
+ Object.defineProperty(exports, "getReleaseConfig", {
66
+ enumerable: true,
67
+ get: function () { return chunkB35TFDAA_cjs.getReleaseConfig; }
64
68
  });
65
69
  Object.defineProperty(exports, "getReleaseGroupConfig", {
66
70
  enumerable: true,
67
- get: function () { return chunkVOWQJXPC_cjs.getReleaseGroupConfig; }
71
+ get: function () { return chunkB35TFDAA_cjs.getReleaseGroupConfig; }
68
72
  });
69
73
  Object.defineProperty(exports, "mergeReleaseGroupConfig", {
70
74
  enumerable: true,
71
- get: function () { return chunkVOWQJXPC_cjs.mergeReleaseGroupConfig; }
75
+ get: function () { return chunkB35TFDAA_cjs.mergeReleaseGroupConfig; }
72
76
  });
@@ -2,6 +2,7 @@ import * as conventional_changelog_storm_software_types_commit_types from 'conve
2
2
  import { CommitScopesEnum, ReleaseGroupConfig, ReleaseConfig } from '../types.cjs';
3
3
  import { ProjectGraph } from '@nx/devkit';
4
4
  import { StormWorkspaceConfig } from '@storm-software/config/types';
5
+ import { NxReleaseConfig } from 'nx/src/command-line/release/config/config.js';
5
6
  import 'conventional-changelog-storm-software/types/commitlint';
6
7
  import 'nx/src/command-line/release/config/config';
7
8
  import 'nx/src/config/nx-json';
@@ -230,8 +231,6 @@ declare const DEFAULT_VERSION_RELEASE_CONFIG: {
230
231
  };
231
232
  declare const DEFAULT_CHANGELOG_RELEASE_CONFIG: {
232
233
  readonly createRelease: "github";
233
- readonly entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.";
234
- readonly file: false;
235
234
  readonly renderOptions: {
236
235
  readonly authors: false;
237
236
  readonly commitReferences: true;
@@ -253,8 +252,6 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
253
252
  readonly projectsRelationship: "independent";
254
253
  readonly changelog: {
255
254
  readonly createRelease: "github";
256
- readonly entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.";
257
- readonly file: false;
258
255
  readonly renderOptions: {
259
256
  readonly authors: false;
260
257
  readonly commitReferences: true;
@@ -324,5 +321,6 @@ declare function mergeReleaseGroupConfig(config: Partial<ReleaseGroupConfig>, de
324
321
  declare function getReleaseGroupConfig(projectGraph: ProjectGraph, releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig): {
325
322
  [k: string]: ReleaseGroupConfig;
326
323
  };
324
+ declare function getReleaseConfig(projectGraph: ProjectGraph, releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig, ignoreNxJsonConfig?: boolean): NxReleaseConfig;
327
325
 
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 };
326
+ 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, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig };
@@ -2,6 +2,7 @@ import * as conventional_changelog_storm_software_types_commit_types from 'conve
2
2
  import { CommitScopesEnum, ReleaseGroupConfig, ReleaseConfig } from '../types.js';
3
3
  import { ProjectGraph } from '@nx/devkit';
4
4
  import { StormWorkspaceConfig } from '@storm-software/config/types';
5
+ import { NxReleaseConfig } from 'nx/src/command-line/release/config/config.js';
5
6
  import 'conventional-changelog-storm-software/types/commitlint';
6
7
  import 'nx/src/command-line/release/config/config';
7
8
  import 'nx/src/config/nx-json';
@@ -230,8 +231,6 @@ declare const DEFAULT_VERSION_RELEASE_CONFIG: {
230
231
  };
231
232
  declare const DEFAULT_CHANGELOG_RELEASE_CONFIG: {
232
233
  readonly createRelease: "github";
233
- readonly entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.";
234
- readonly file: false;
235
234
  readonly renderOptions: {
236
235
  readonly authors: false;
237
236
  readonly commitReferences: true;
@@ -253,8 +252,6 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
253
252
  readonly projectsRelationship: "independent";
254
253
  readonly changelog: {
255
254
  readonly createRelease: "github";
256
- readonly entryWhenNoChanges: "This was a version bump only for {projectName} to align it with other projects, there were no code changes.";
257
- readonly file: false;
258
255
  readonly renderOptions: {
259
256
  readonly authors: false;
260
257
  readonly commitReferences: true;
@@ -324,5 +321,6 @@ declare function mergeReleaseGroupConfig(config: Partial<ReleaseGroupConfig>, de
324
321
  declare function getReleaseGroupConfig(projectGraph: ProjectGraph, releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig): {
325
322
  [k: string]: ReleaseGroupConfig;
326
323
  };
324
+ declare function getReleaseConfig(projectGraph: ProjectGraph, releaseConfig: Partial<ReleaseConfig>, workspaceConfig: StormWorkspaceConfig, ignoreNxJsonConfig?: boolean): NxReleaseConfig;
327
325
 
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 };
326
+ 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, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig };
@@ -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_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';
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, getReleaseConfig, getReleaseGroupConfig, mergeReleaseGroupConfig } from '../chunk-FPSN3POD.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.8",
3
+ "version": "2.131.10",
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.40",
194
- "@storm-software/config-tools": "^1.190.7",
193
+ "@storm-software/config": "^1.137.42",
194
+ "@storm-software/config-tools": "^1.190.9",
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.167",
203
+ "conventional-changelog-storm-software": "^0.3.169",
204
204
  "htmlparser2": "10.0.0",
205
205
  "jsonc-parser": "3.2.1",
206
206
  "nanoclone": "^1.0.2",
@@ -215,7 +215,7 @@
215
215
  "zod": "^4.4.3"
216
216
  },
217
217
  "devDependencies": {
218
- "@storm-software/package-constants": "^0.1.21",
218
+ "@storm-software/package-constants": "^0.1.23",
219
219
  "@types/node": "^25.7.0",
220
220
  "commander": "^12.1.0",
221
221
  "conventional-commits-parser": "^6.4.0",
@@ -228,5 +228,5 @@
228
228
  "packageManager": "pnpm@10.3.0",
229
229
  "engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
230
230
  "publishConfig": { "access": "public" },
231
- "gitHead": "650e192d9dc9137982afa4d1d11c4cf5d656260a"
231
+ "gitHead": "a4b65b197099bab714d4fc5f6c5322375cb05c9e"
232
232
  }