@storm-software/git-tools 2.123.18 → 2.124.1

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.
@@ -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/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNZHEQPL3_cjs = require('./chunk-NZHEQPL3.cjs');
3
+ var chunkUIYXCHBI_cjs = require('./chunk-UIYXCHBI.cjs');
4
4
  var chunkNY53WLGC_cjs = require('./chunk-NY53WLGC.cjs');
5
5
  require('./chunk-F7OO6L26.cjs');
6
6
  var chunkYBAE6I5L_cjs = require('./chunk-YBAE6I5L.cjs');
@@ -10,27 +10,31 @@ require('./chunk-4VPJA7YJ.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
12
12
  enumerable: true,
13
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
13
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
14
14
  });
15
15
  Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
16
16
  enumerable: true,
17
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
17
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
18
18
  });
19
19
  Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
20
20
  enumerable: true,
21
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RELEASE_CONFIG; }
21
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RELEASE_CONFIG; }
22
22
  });
23
23
  Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
24
24
  enumerable: true,
25
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
25
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
26
26
  });
27
27
  Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
28
28
  enumerable: true,
29
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
29
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
30
30
  });
31
31
  Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
32
32
  enumerable: true,
33
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
33
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
34
+ });
35
+ Object.defineProperty(exports, "getReleaseGroupConfig", {
36
+ enumerable: true,
37
+ get: function () { return chunkUIYXCHBI_cjs.getReleaseGroupConfig; }
34
38
  });
35
39
  Object.defineProperty(exports, "DEFAULT_MONOREPO_COMMIT_QUESTIONS", {
36
40
  enumerable: true,
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_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG } from './release/config.cjs';
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
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_JS_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_CONFIG, DEFAULT_RELEASE_GROUP_CONFIG, DEFAULT_RELEASE_TAG_PATTERN, DEFAULT_RUST_RELEASE_GROUP_CONFIG } from './release/config.js';
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
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,4 +1,4 @@
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 } from './chunk-PKEX4GUO.js';
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-HGBVETOW.js';
2
2
  export { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-JCEVFJCA.js';
3
3
  import './chunk-KZRVQ5RZ.js';
4
4
  export { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNZHEQPL3_cjs = require('../chunk-NZHEQPL3.cjs');
3
+ var chunkUIYXCHBI_cjs = require('../chunk-UIYXCHBI.cjs');
4
4
  require('../chunk-NY53WLGC.cjs');
5
5
  require('../chunk-F7OO6L26.cjs');
6
6
  require('../chunk-YBAE6I5L.cjs');
@@ -10,25 +10,29 @@ require('../chunk-4VPJA7YJ.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "DEFAULT_CONVENTIONAL_COMMITS_CONFIG", {
12
12
  enumerable: true,
13
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
13
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; }
14
14
  });
15
15
  Object.defineProperty(exports, "DEFAULT_JS_RELEASE_GROUP_CONFIG", {
16
16
  enumerable: true,
17
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
17
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_JS_RELEASE_GROUP_CONFIG; }
18
18
  });
19
19
  Object.defineProperty(exports, "DEFAULT_RELEASE_CONFIG", {
20
20
  enumerable: true,
21
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RELEASE_CONFIG; }
21
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RELEASE_CONFIG; }
22
22
  });
23
23
  Object.defineProperty(exports, "DEFAULT_RELEASE_GROUP_CONFIG", {
24
24
  enumerable: true,
25
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
25
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RELEASE_GROUP_CONFIG; }
26
26
  });
27
27
  Object.defineProperty(exports, "DEFAULT_RELEASE_TAG_PATTERN", {
28
28
  enumerable: true,
29
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
29
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RELEASE_TAG_PATTERN; }
30
30
  });
31
31
  Object.defineProperty(exports, "DEFAULT_RUST_RELEASE_GROUP_CONFIG", {
32
32
  enumerable: true,
33
- get: function () { return chunkNZHEQPL3_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
33
+ get: function () { return chunkUIYXCHBI_cjs.DEFAULT_RUST_RELEASE_GROUP_CONFIG; }
34
+ });
35
+ Object.defineProperty(exports, "getReleaseGroupConfig", {
36
+ enumerable: true,
37
+ get: function () { return chunkUIYXCHBI_cjs.getReleaseGroupConfig; }
34
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
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: {
@@ -218,5 +219,15 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
218
219
  declare const DEFAULT_JS_RELEASE_GROUP_CONFIG: ReleaseGroupConfig;
219
220
  declare const DEFAULT_RUST_RELEASE_GROUP_CONFIG: ReleaseGroupConfig;
220
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
+ };
221
232
 
222
- 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 };
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 };
@@ -1,8 +1,9 @@
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 { 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: {
@@ -218,5 +219,15 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
218
219
  declare const DEFAULT_JS_RELEASE_GROUP_CONFIG: ReleaseGroupConfig;
219
220
  declare const DEFAULT_RUST_RELEASE_GROUP_CONFIG: ReleaseGroupConfig;
220
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
+ };
221
232
 
222
- 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 };
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 };
@@ -1,4 +1,4 @@
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 } from '../chunk-PKEX4GUO.js';
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-HGBVETOW.js';
2
2
  import '../chunk-JCEVFJCA.js';
3
3
  import '../chunk-KZRVQ5RZ.js';
4
4
  import '../chunk-5XU2KBM6.js';
package/dist/types.d.cts CHANGED
@@ -2,6 +2,7 @@ import { ProjectGraph, ProjectsConfigurations } from '@nx/devkit';
2
2
  import { Variant } from '@storm-software/config/types';
3
3
  import { CommitEnumItemProps } from 'conventional-changelog-storm-software/types/commit-types';
4
4
  import { RuleConfigSeverity } from 'conventional-changelog-storm-software/types/commitlint';
5
+ import { NxReleaseConfig } from 'nx/src/command-line/release/config/config';
5
6
  import { NxReleaseDockerConfiguration, NxReleaseVersionConfiguration, NxReleaseChangelogConfiguration, NxReleaseVersionPlansConfiguration, NxReleaseConfiguration } from 'nx/src/config/nx-json';
6
7
 
7
8
  type DeepPartial<T> = T extends object ? {
@@ -222,7 +223,7 @@ interface ReleaseGroupConfig {
222
223
  */
223
224
  versionPlans?: NxReleaseVersionPlansConfiguration | boolean;
224
225
  }
225
- type ReleaseConfig = Omit<NxReleaseConfiguration, "groups"> & {
226
+ type ReleaseConfig = Omit<NxReleaseConfiguration, "groups" | "conventionalCommits"> & Required<Pick<NxReleaseConfig, "conventionalCommits">> & {
226
227
  groups: Record<string, ReleaseGroupConfig>;
227
228
  };
228
229
  type NxReleaseRequiredGitConfig = Required<{
package/dist/types.d.ts CHANGED
@@ -2,6 +2,7 @@ import { ProjectGraph, ProjectsConfigurations } from '@nx/devkit';
2
2
  import { Variant } from '@storm-software/config/types';
3
3
  import { CommitEnumItemProps } from 'conventional-changelog-storm-software/types/commit-types';
4
4
  import { RuleConfigSeverity } from 'conventional-changelog-storm-software/types/commitlint';
5
+ import { NxReleaseConfig } from 'nx/src/command-line/release/config/config';
5
6
  import { NxReleaseDockerConfiguration, NxReleaseVersionConfiguration, NxReleaseChangelogConfiguration, NxReleaseVersionPlansConfiguration, NxReleaseConfiguration } from 'nx/src/config/nx-json';
6
7
 
7
8
  type DeepPartial<T> = T extends object ? {
@@ -222,7 +223,7 @@ interface ReleaseGroupConfig {
222
223
  */
223
224
  versionPlans?: NxReleaseVersionPlansConfiguration | boolean;
224
225
  }
225
- type ReleaseConfig = Omit<NxReleaseConfiguration, "groups"> & {
226
+ type ReleaseConfig = Omit<NxReleaseConfiguration, "groups" | "conventionalCommits"> & Required<Pick<NxReleaseConfig, "conventionalCommits">> & {
226
227
  groups: Record<string, ReleaseGroupConfig>;
227
228
  };
228
229
  type NxReleaseRequiredGitConfig = Required<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.123.18",
3
+ "version": "2.124.1",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {
@@ -185,8 +185,8 @@
185
185
  "@inquirer/prompts": "7.2.1",
186
186
  "@nx/devkit": "^22.0.2",
187
187
  "@nx/js": "^22.0.2",
188
- "@storm-software/config": "^1.134.18",
189
- "@storm-software/config-tools": "^1.188.18",
188
+ "@storm-software/config": "^1.134.19",
189
+ "@storm-software/config-tools": "^1.188.19",
190
190
  "@textlint/ast-node-types": "14.4.2",
191
191
  "@textlint/markdown-to-ast": "14.4.2",
192
192
  "anchor-markdown-header": "0.7.0",
@@ -194,7 +194,7 @@
194
194
  "axios": "1.8.2",
195
195
  "chalk": "^4.1.2",
196
196
  "chalk-template": "1.1.0",
197
- "conventional-changelog-storm-software": "^0.3.18",
197
+ "conventional-changelog-storm-software": "^0.3.19",
198
198
  "htmlparser2": "10.0.0",
199
199
  "jsonc-parser": "3.2.1",
200
200
  "nx": "^22.0.2",
@@ -216,5 +216,5 @@
216
216
  "tsup": "8.4.0"
217
217
  },
218
218
  "publishConfig": { "access": "public" },
219
- "gitHead": "4ff7ccead93c470ebb8b9ad5fcd7e70f3a122cbf"
219
+ "gitHead": "7096a0651b87a2fd8fb208105067f02c11a1b8f9"
220
220
  }
@@ -1,82 +0,0 @@
1
- 'use strict';
2
-
3
- var chunkNY53WLGC_cjs = require('./chunk-NY53WLGC.cjs');
4
- var chunk4VPJA7YJ_cjs = require('./chunk-4VPJA7YJ.cjs');
5
-
6
- // src/release/config.ts
7
- var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
8
- questions: chunkNY53WLGC_cjs.DEFAULT_MONOREPO_COMMIT_QUESTIONS,
9
- types: chunk4VPJA7YJ_cjs.DEFAULT_COMMIT_TYPES
10
- };
11
- var DEFAULT_RELEASE_TAG_PATTERN = "{projectName}@{version}";
12
- var DEFAULT_RELEASE_GROUP_CONFIG = {
13
- projectsRelationship: "independent",
14
- changelog: {
15
- createRelease: "github",
16
- entryWhenNoChanges: false,
17
- file: false,
18
- renderOptions: {
19
- authors: false,
20
- commitReferences: true,
21
- versionTitleDate: true
22
- }
23
- },
24
- version: {
25
- currentVersionResolver: "git-tag",
26
- specifierSource: "conventional-commits",
27
- groupPreVersionCommand: "pnpm build"
28
- },
29
- releaseTag: { pattern: DEFAULT_RELEASE_TAG_PATTERN }
30
- };
31
- var DEFAULT_JS_RELEASE_GROUP_CONFIG = {
32
- ...DEFAULT_RELEASE_GROUP_CONFIG,
33
- projects: ["packages/*"],
34
- version: {
35
- ...DEFAULT_RELEASE_GROUP_CONFIG.version,
36
- versionActions: "@storm-software/workspace-tools/release/js-version-actions",
37
- versionActionsOptions: {
38
- currentVersionResolver: "git-tag",
39
- specifierSource: "conventional-commits"
40
- },
41
- manifestRootsToUpdate: [
42
- "{projectRoot}",
43
- {
44
- path: "dist/{projectRoot}",
45
- preserveLocalDependencyProtocols: false
46
- }
47
- ]
48
- }
49
- };
50
- var DEFAULT_RUST_RELEASE_GROUP_CONFIG = {
51
- ...DEFAULT_RELEASE_GROUP_CONFIG,
52
- projects: ["crates/*"],
53
- version: {
54
- ...DEFAULT_RELEASE_GROUP_CONFIG.version,
55
- versionActions: "@storm-software/workspace-tools/release/rust-version-actions",
56
- versionActionsOptions: {
57
- currentVersionResolver: "git-tag",
58
- specifierSource: "conventional-commits"
59
- },
60
- manifestRootsToUpdate: ["{projectRoot}"]
61
- }
62
- };
63
- var DEFAULT_RELEASE_CONFIG = {
64
- conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
65
- groups: {
66
- packages: DEFAULT_JS_RELEASE_GROUP_CONFIG,
67
- crates: DEFAULT_RUST_RELEASE_GROUP_CONFIG
68
- },
69
- changelog: {
70
- automaticFromRef: true,
71
- workspaceChangelog: false,
72
- projectChangelogs: true
73
- },
74
- releaseTag: { pattern: DEFAULT_RELEASE_TAG_PATTERN }
75
- };
76
-
77
- exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = DEFAULT_CONVENTIONAL_COMMITS_CONFIG;
78
- exports.DEFAULT_JS_RELEASE_GROUP_CONFIG = DEFAULT_JS_RELEASE_GROUP_CONFIG;
79
- exports.DEFAULT_RELEASE_CONFIG = DEFAULT_RELEASE_CONFIG;
80
- exports.DEFAULT_RELEASE_GROUP_CONFIG = DEFAULT_RELEASE_GROUP_CONFIG;
81
- exports.DEFAULT_RELEASE_TAG_PATTERN = DEFAULT_RELEASE_TAG_PATTERN;
82
- exports.DEFAULT_RUST_RELEASE_GROUP_CONFIG = DEFAULT_RUST_RELEASE_GROUP_CONFIG;
@@ -1,75 +0,0 @@
1
- import { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-JCEVFJCA.js';
2
- import { DEFAULT_COMMIT_TYPES } from './chunk-3GGWHKRP.js';
3
-
4
- // src/release/config.ts
5
- var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
6
- questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
7
- types: DEFAULT_COMMIT_TYPES
8
- };
9
- var DEFAULT_RELEASE_TAG_PATTERN = "{projectName}@{version}";
10
- var DEFAULT_RELEASE_GROUP_CONFIG = {
11
- projectsRelationship: "independent",
12
- changelog: {
13
- createRelease: "github",
14
- entryWhenNoChanges: false,
15
- file: false,
16
- renderOptions: {
17
- authors: false,
18
- commitReferences: true,
19
- versionTitleDate: true
20
- }
21
- },
22
- version: {
23
- currentVersionResolver: "git-tag",
24
- specifierSource: "conventional-commits",
25
- groupPreVersionCommand: "pnpm build"
26
- },
27
- releaseTag: { pattern: DEFAULT_RELEASE_TAG_PATTERN }
28
- };
29
- var DEFAULT_JS_RELEASE_GROUP_CONFIG = {
30
- ...DEFAULT_RELEASE_GROUP_CONFIG,
31
- projects: ["packages/*"],
32
- version: {
33
- ...DEFAULT_RELEASE_GROUP_CONFIG.version,
34
- versionActions: "@storm-software/workspace-tools/release/js-version-actions",
35
- versionActionsOptions: {
36
- currentVersionResolver: "git-tag",
37
- specifierSource: "conventional-commits"
38
- },
39
- manifestRootsToUpdate: [
40
- "{projectRoot}",
41
- {
42
- path: "dist/{projectRoot}",
43
- preserveLocalDependencyProtocols: false
44
- }
45
- ]
46
- }
47
- };
48
- var DEFAULT_RUST_RELEASE_GROUP_CONFIG = {
49
- ...DEFAULT_RELEASE_GROUP_CONFIG,
50
- projects: ["crates/*"],
51
- version: {
52
- ...DEFAULT_RELEASE_GROUP_CONFIG.version,
53
- versionActions: "@storm-software/workspace-tools/release/rust-version-actions",
54
- versionActionsOptions: {
55
- currentVersionResolver: "git-tag",
56
- specifierSource: "conventional-commits"
57
- },
58
- manifestRootsToUpdate: ["{projectRoot}"]
59
- }
60
- };
61
- var DEFAULT_RELEASE_CONFIG = {
62
- conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
63
- groups: {
64
- packages: DEFAULT_JS_RELEASE_GROUP_CONFIG,
65
- crates: DEFAULT_RUST_RELEASE_GROUP_CONFIG
66
- },
67
- changelog: {
68
- automaticFromRef: true,
69
- workspaceChangelog: false,
70
- projectChangelogs: true
71
- },
72
- releaseTag: { pattern: DEFAULT_RELEASE_TAG_PATTERN }
73
- };
74
-
75
- 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 };