@storm-software/git-tools 2.123.16 → 2.123.18

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.
Files changed (82) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-SWXHQXUT.cjs → chunk-AU5PZKTN.cjs} +2 -0
  3. package/bin/chunk-AU5PZKTN.cjs.map +1 -0
  4. package/bin/{chunk-G3JMIIRF.cjs → chunk-EHPPIARR.cjs} +12 -17
  5. package/bin/chunk-EHPPIARR.cjs.map +1 -0
  6. package/bin/{chunk-L64XVBGM.cjs → chunk-FH5OSXAJ.cjs} +2 -0
  7. package/bin/chunk-FH5OSXAJ.cjs.map +1 -0
  8. package/bin/{chunk-S5PS23TL.js → chunk-G3YPGVPS.js} +2 -0
  9. package/bin/chunk-G3YPGVPS.js.map +1 -0
  10. package/bin/{chunk-AMSZ7DVW.js → chunk-Q3DQKTOI.js} +2 -0
  11. package/bin/chunk-Q3DQKTOI.js.map +1 -0
  12. package/bin/{chunk-K3LWFM6S.js → chunk-VBJB46HW.js} +13 -17
  13. package/bin/chunk-VBJB46HW.js.map +1 -0
  14. package/bin/git.cjs +642 -1563
  15. package/bin/git.cjs.map +1 -0
  16. package/bin/git.js +589 -1510
  17. package/bin/git.js.map +1 -0
  18. package/bin/post-checkout.cjs +16 -14
  19. package/bin/post-checkout.cjs.map +1 -0
  20. package/bin/post-checkout.js +5 -3
  21. package/bin/post-checkout.js.map +1 -0
  22. package/bin/post-commit.cjs +16 -14
  23. package/bin/post-commit.cjs.map +1 -0
  24. package/bin/post-commit.js +5 -3
  25. package/bin/post-commit.js.map +1 -0
  26. package/bin/post-merge.cjs +16 -14
  27. package/bin/post-merge.cjs.map +1 -0
  28. package/bin/post-merge.js +5 -3
  29. package/bin/post-merge.js.map +1 -0
  30. package/bin/pre-commit.cjs +14 -12
  31. package/bin/pre-commit.cjs.map +1 -0
  32. package/bin/pre-commit.js +4 -2
  33. package/bin/pre-commit.js.map +1 -0
  34. package/bin/pre-install.cjs +13 -11
  35. package/bin/pre-install.cjs.map +1 -0
  36. package/bin/pre-install.js +4 -2
  37. package/bin/pre-install.js.map +1 -0
  38. package/bin/pre-push.cjs +21 -19
  39. package/bin/pre-push.cjs.map +1 -0
  40. package/bin/pre-push.js +5 -3
  41. package/bin/pre-push.js.map +1 -0
  42. package/bin/prepare.cjs +11 -9
  43. package/bin/prepare.cjs.map +1 -0
  44. package/bin/prepare.js +4 -2
  45. package/bin/prepare.js.map +1 -0
  46. package/bin/version-warning.cjs +9 -7
  47. package/bin/version-warning.cjs.map +1 -0
  48. package/bin/version-warning.js +4 -2
  49. package/bin/version-warning.js.map +1 -0
  50. package/dist/chunk-3GGWHKRP.js +3 -6
  51. package/dist/chunk-4VPJA7YJ.cjs +9 -9
  52. package/dist/chunk-5XU2KBM6.js +1 -3
  53. package/dist/chunk-F7OO6L26.cjs +11 -16
  54. package/dist/chunk-JCEVFJCA.js +4 -14
  55. package/dist/chunk-KZRVQ5RZ.js +3 -11
  56. package/dist/chunk-NY53WLGC.cjs +16 -23
  57. package/dist/chunk-NZHEQPL3.cjs +82 -0
  58. package/dist/chunk-PKEX4GUO.js +75 -0
  59. package/dist/chunk-YBAE6I5L.cjs +3 -3
  60. package/dist/commit/minimal.cjs +11 -3
  61. package/dist/commit/minimal.js +3 -10
  62. package/dist/commit/monorepo.cjs +11 -3
  63. package/dist/commit/monorepo.js +4 -11
  64. package/dist/commitlint/minimal.cjs +4 -5
  65. package/dist/commitlint/minimal.js +3 -6
  66. package/dist/commitlint/monorepo.cjs +4 -5
  67. package/dist/commitlint/monorepo.js +3 -6
  68. package/dist/index.cjs +36 -14
  69. package/dist/index.d.cts +2 -2
  70. package/dist/index.d.ts +2 -2
  71. package/dist/index.js +5 -20
  72. package/dist/release/config.cjs +26 -6
  73. package/dist/release/config.d.cts +21 -242
  74. package/dist/release/config.d.ts +21 -242
  75. package/dist/release/config.js +5 -14
  76. package/dist/types.cjs +7 -3
  77. package/dist/types.d.cts +90 -94
  78. package/dist/types.d.ts +90 -94
  79. package/dist/types.js +1 -6
  80. package/package.json +12 -12
  81. package/dist/chunk-GOKUSEH3.cjs +0 -77
  82. package/dist/chunk-YCEUZFMU.js +0 -77
package/dist/types.d.ts CHANGED
@@ -2,7 +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 { NxReleaseVersionConfiguration, NxReleaseChangelogConfiguration, NxReleaseGitConfiguration, NxReleaseConventionalCommitsConfiguration } from 'nx/src/config/nx-json';
5
+ import { NxReleaseDockerConfiguration, NxReleaseVersionConfiguration, NxReleaseChangelogConfiguration, NxReleaseVersionPlansConfiguration, NxReleaseConfiguration } from 'nx/src/config/nx-json';
6
6
 
7
7
  type DeepPartial<T> = T extends object ? {
8
8
  [P in keyof T]?: DeepPartial<T[P]>;
@@ -72,7 +72,7 @@ interface CommitLintOutcome {
72
72
  /** All warnings, per rule, for the commit */
73
73
  warnings: CommitLintRuleOutcome[];
74
74
  }
75
- type ReleaseConfig = any & {
75
+ type ReleaseOptions = any & {
76
76
  npm: boolean;
77
77
  github: boolean;
78
78
  githubOptions?: Record<string, unknown>;
@@ -111,124 +111,120 @@ interface ReadMeOptions {
111
111
  clean: boolean;
112
112
  prettier: boolean;
113
113
  }
114
- interface NxReleaseConfig {
114
+ interface ReleaseGroupConfig {
115
115
  /**
116
- * Shorthand for amending the projects which will be included in the implicit default release group (all projects by default).
117
- * @note Only one of `projects` or `groups` can be specified, the cannot be used together.
116
+ * Whether to version and release projects within the group independently, or together in lock step ("fixed").
117
+ * If not set on the group, this will be informed by the projectsRelationship config at the top level.
118
118
  */
119
- projects?: string[] | string;
119
+ projectsRelationship?: "fixed" | "independent";
120
120
  /**
121
- * @note When no projects or groups are configured at all (the default), all projects in the workspace are treated as
122
- * if they were in a release group together with a fixed relationship.
121
+ * Required list of one or more projects to include in the release group. Any single project can
122
+ * only be used in a maximum of one release group.
123
123
  */
124
- groups?: Record<string, // group name
125
- {
126
- /**
127
- * Whether to version and release projects within the group independently, or together in lock step ("fixed").
128
- * If not set on the group, this will be informed by the projectsRelationship config at the top level.
129
- */
130
- projectsRelationship?: "fixed" | "independent";
131
- /**
132
- * Required list of one or more projects to include in the release group. Any single project can
133
- * only be used in a maximum of one release group.
134
- */
135
- projects: string[] | string;
136
- /**
137
- * Optionally override version configuration for this group.
138
- *
139
- * NOTE: git configuration is not supported at the group level, only the root/command level
140
- */
141
- version?: NxReleaseVersionConfiguration;
124
+ projects: string[] | string;
125
+ /**
126
+ * Configure options to handle versioning docker projects for this group.
127
+ * Set to `true` to enable with default settings, or provide a configuration object for custom settings.
128
+ */
129
+ docker?: (NxReleaseDockerConfiguration & {
142
130
  /**
143
- * Project changelogs are disabled by default.
144
- *
145
- * Here you can optionally override project changelog configuration for this group.
146
- * Notes about boolean values:
147
- *
148
- * - true = enable project level changelogs using default configuration
149
- * - false = explicitly disable project level changelogs
150
- *
151
- * NOTE: git configuration is not supported at the group level, only the root/command level
131
+ * A command to run after validation of nx release configuration, but before docker versioning begins.
132
+ * Used for preparing docker build artifacts. If --dry-run is passed, the command is still executed, but
133
+ * with the NX_DRY_RUN environment variable set to 'true'.
134
+ * It will run in addition to the global `preVersionCommand`
152
135
  */
153
- changelog?: NxReleaseChangelogConfiguration | boolean;
136
+ groupPreVersionCommand?: string;
137
+ }) | true;
138
+ /**
139
+ * Optionally override version configuration for this group.
140
+ *
141
+ * NOTE: git configuration is not supported at the group level, only the root/command level
142
+ */
143
+ version?: NxReleaseVersionConfiguration & {
154
144
  /**
155
- * Optionally override the git/release tag pattern to use for this group.
145
+ * A command to run after validation of nx release configuration, but before versioning begins.
146
+ * Used for preparing build artifacts. If --dry-run is passed, the command is still executed, but
147
+ * with the NX_DRY_RUN environment variable set to 'true'.
148
+ * It will run in addition to the global `preVersionCommand`
156
149
  */
157
- releaseTagPattern?: string;
158
- }>;
150
+ groupPreVersionCommand?: string;
151
+ };
159
152
  /**
160
- * Configures the default value for all groups that don't explicitly state their own projectsRelationship.
153
+ * Project changelogs are disabled by default.
154
+ *
155
+ * Here you can optionally override project changelog configuration for this group.
156
+ * Notes about boolean values:
157
+ *
158
+ * - true = enable project level changelogs using default configuration
159
+ * - false = explicitly disable project level changelogs
161
160
  *
162
- * By default, this is set to "fixed" which means all projects in the workspace will be versioned and
163
- * released together in lock step.
161
+ * NOTE: git configuration is not supported at the group level, only the root/command level
164
162
  */
165
- projectsRelationship?: "fixed" | "independent";
166
- changelog?: {
163
+ changelog?: NxReleaseChangelogConfiguration | boolean;
164
+ /**
165
+ * Configuration for release tag generation and matching.
166
+ */
167
+ releaseTag?: {
167
168
  /**
168
- * Enable or override configuration for git operations as part of the changelog subcommand
169
+ * The pattern to use for release tags. Supports interpolating {version}, {projectName}, and {releaseGroupName}.
169
170
  */
170
- git?: NxReleaseGitConfiguration;
171
+ pattern?: string;
171
172
  /**
172
- * Workspace changelog is enabled by default. Notes about boolean values:
173
+ * By default, we will try and resolve the latest match for the releaseTagPattern from the current branch,
174
+ * falling back to all branches if no match is found on the current branch.
173
175
  *
174
- * - true = explicitly enable workspace changelog using default configuration
175
- * - false = disable workspace changelog
176
+ * - Setting this to true will cause us to ALWAYS check all branches for the latest match.
177
+ * - Setting it to false will cause us to ONLY check the current branch for the latest match.
178
+ * - Setting it to an array of strings will cause us to check all branches WHEN the current branch matches one of the strings in the array. Glob patterns are supported.
176
179
  */
177
- workspaceChangelog?: NxReleaseChangelogConfiguration | boolean;
180
+ checkAllBranchesWhen?: boolean | string[];
178
181
  /**
179
- * Project changelogs are disabled by default. Notes about boolean values:
182
+ * By default, we will use semver when searching through the tags to find the latest matching tag.
180
183
  *
181
- * - true = enable project level changelogs using default configuration
182
- * - false = explicitly disable project level changelogs
184
+ * - Setting this to true will cause us to use semver to match the version
185
+ * - Setting this to false will cause us to not use semver to match the version allowing for non-semver versions
183
186
  */
184
- projectChangelogs?: NxReleaseChangelogConfiguration | boolean;
185
- /**
186
- * Whether or not to automatically look up the first commit for the workspace (or package, if versioning independently)
187
- * and use that as the starting point for changelog generation. If this is not enabled, changelog generation will fail
188
- * if there is no previous matching git tag to use as a starting point.
189
- */
190
- automaticFromRef?: boolean;
191
- };
192
- /**
193
- * If no version config is provided, we will assume that @nx/js:release-version
194
- * is the desired generator implementation, allowing for terser config for the common case.
195
- */
196
- version?: NxReleaseVersionConfiguration & {
187
+ requireSemver?: boolean;
197
188
  /**
198
- * Enable or override configuration for git operations as part of the version subcommand
189
+ * Controls how docker versions are used relative to semver versions when creating git tags and changelog entries.
190
+ *
191
+ * - true: Use only the docker version
192
+ * - false: Use only the semver version
193
+ * - 'both': Create tags and changelog entries for both docker and semver versions
194
+ *
195
+ * By default, this is set to true when docker configuration is present, and false otherwise.
199
196
  */
200
- git?: NxReleaseGitConfiguration;
197
+ preferDockerVersion?: boolean | "both";
201
198
  /**
202
- * A command to run after validation of nx release configuration, but before versioning begins.
203
- * Used for preparing build artifacts. If --dry-run is passed, the command is still executed, but
204
- * with the NX_DRY_RUN environment variable set to 'true'.
199
+ * When set to true and multiple tags match your configured pattern, the git tag matching logic will strictly prefer the tag which contain a semver preid which matches the one
200
+ * given to the nx release invocation.
201
+ *
202
+ * For example, let's say your pattern is "{projectName}@{version}" and you have the following tags for project "my-lib", which uses semver:
203
+ * - my-lib@1.2.4-beta.1
204
+ * - my-lib@1.2.4-alpha.1
205
+ * - my-lib@1.2.3
206
+ *
207
+ * If "strictPreid" is set to true and you run:
208
+ * - `nx release --preid beta`, the git tag "my-lib@1.2.4-beta.1" will be resolved.
209
+ * - `nx release --preid alpha`, the git tag "my-lib@1.2.4-alpha.1" will be resolved.
210
+ * - `nx release` (no preid), the git tag "my-lib@1.2.3" will be resolved.
211
+ *
212
+ * If "strictPreid" is set to false, the git tag "my-lib@1.2.4-beta.1" will always be resolved as the latest tag that matches the pattern,
213
+ * regardless of any preid which gets passed to nx release.
214
+ *
215
+ * NOTE: This feature was added in a minor version and is therefore set to false by default, but this may change in a future major version.
205
216
  */
206
- preVersionCommand?: string;
217
+ strictPreid?: boolean;
207
218
  };
208
219
  /**
209
- * Optionally override the git/release tag pattern to use. This field is the source of truth
210
- * for changelog generation and release tagging, as well as for conventional commits parsing.
211
- *
212
- * It supports interpolating the version as {version} and (if releasing independently or forcing
213
- * project level version control system releases) the project name as {projectName} within the string.
214
- *
215
- * The default releaseTagPattern for fixed/unified releases is: "v{version}"
216
- * The default releaseTagPattern for independent releases at the project level is: "{projectName}@{version}"
220
+ * Enables using version plans as a specifier source for versioning and
221
+ * to determine changes for changelog generation.
217
222
  */
218
- releaseTagPattern?: string;
219
- /**
220
- * Enable and configure automatic git operations as part of the release
221
- */
222
- git?: NxReleaseGitConfiguration;
223
- conventionalCommits?: NxReleaseConventionalCommitsConfiguration;
223
+ versionPlans?: NxReleaseVersionPlansConfiguration | boolean;
224
224
  }
225
- type NxReleaseConventionalCommitsConfig = NonNullable<NxReleaseConfig["conventionalCommits"]>;
226
- type NxReleaseProjectsConfig = NonNullable<NxReleaseConfig["projects"]>;
227
- type NxReleaseGroupsConfig = NonNullable<NxReleaseConfig["groups"]>;
228
- type NxReleaseVersionConfig = NonNullable<NxReleaseConfig["version"]>;
229
- type NxReleaseGitConfig = NonNullable<NxReleaseConfig["git"]>;
230
- type NxReleaseChangelogConfig = NonNullable<NxReleaseConfig["changelog"]>;
231
- type NxReleaseGroupConfig = NxReleaseGroupsConfig[string];
225
+ type ReleaseConfig = Omit<NxReleaseConfiguration, "groups"> & {
226
+ groups: Record<string, ReleaseGroupConfig>;
227
+ };
232
228
  type NxReleaseRequiredGitConfig = Required<{
233
229
  commit?: boolean | undefined;
234
230
  commitMessage?: string | undefined;
@@ -239,4 +235,4 @@ type NxReleaseRequiredGitConfig = Required<{
239
235
  tagArgs?: string | undefined;
240
236
  }>;
241
237
 
242
- export { type CommitLintCLIOptions, type CommitLintOutcome, type CommitLintRuleOutcome, type CommitPromptMessagesEnum, type CommitQuestionProps, type CommitScopeProps, type CommitScopesEnum, type CommitSettingsEnum, type CommitState, DEFAULT_COMMIT_PROMPT_MESSAGES, type DeepPartial, type DefaultCommitPromptMessagesKeys, type NxReleaseChangelogConfig, type NxReleaseConfig, type NxReleaseConventionalCommitsConfig, type NxReleaseGitConfig, type NxReleaseGroupConfig, type NxReleaseGroupsConfig, type NxReleaseProjectsConfig, type NxReleaseRequiredGitConfig, type NxReleaseVersionConfig, type ReadMeOptions, type ReleaseConfig, type ReleaseContext };
238
+ export { type CommitLintCLIOptions, type CommitLintOutcome, type CommitLintRuleOutcome, type CommitPromptMessagesEnum, type CommitQuestionProps, type CommitScopeProps, type CommitScopesEnum, type CommitSettingsEnum, type CommitState, DEFAULT_COMMIT_PROMPT_MESSAGES, type DeepPartial, type DefaultCommitPromptMessagesKeys, type NxReleaseRequiredGitConfig, type ReadMeOptions, type ReleaseConfig, type ReleaseContext, type ReleaseGroupConfig, type ReleaseOptions };
package/dist/types.js CHANGED
@@ -1,6 +1 @@
1
- import {
2
- DEFAULT_COMMIT_PROMPT_MESSAGES
3
- } from "./chunk-5XU2KBM6.js";
4
- export {
5
- DEFAULT_COMMIT_PROMPT_MESSAGES
6
- };
1
+ export { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.123.16",
3
+ "version": "2.123.18",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {
@@ -183,10 +183,10 @@
183
183
  "@commitlint/ensure": "^19.8.1",
184
184
  "@commitlint/rules": "^19.8.1",
185
185
  "@inquirer/prompts": "7.2.1",
186
- "@nx/devkit": "^21.4.1",
187
- "@nx/js": "^21.4.1",
188
- "@storm-software/config": "^1.134.16",
189
- "@storm-software/config-tools": "^1.188.16",
186
+ "@nx/devkit": "^22.0.2",
187
+ "@nx/js": "^22.0.2",
188
+ "@storm-software/config": "^1.134.18",
189
+ "@storm-software/config-tools": "^1.188.18",
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,27 +194,27 @@
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.16",
197
+ "conventional-changelog-storm-software": "^0.3.18",
198
198
  "htmlparser2": "10.0.0",
199
199
  "jsonc-parser": "3.2.1",
200
- "nx": "^21.4.1",
201
- "prettier": "^3.5.1",
200
+ "nx": "^22.0.2",
201
+ "prettier": "^3.6.2",
202
202
  "tsconfig-paths": "4.2.0",
203
203
  "underscore": "1.13.7",
204
204
  "update-section": "0.3.3",
205
205
  "word-wrap": "1.2.5",
206
206
  "yaml": "^2.8.1",
207
- "zod": "^4.1.11"
207
+ "zod": "^4.1.12"
208
208
  },
209
209
  "devDependencies": {
210
- "@types/node": "^22.10.2",
210
+ "@types/node": "^22.19.0",
211
211
  "commander": "^12.1.0",
212
212
  "conventional-commits-parser": "^6.2.1",
213
213
  "defu": "6.1.4",
214
214
  "semver": "7.6.2",
215
- "simple-git": "^3.29.0",
215
+ "simple-git": "^3.30.0",
216
216
  "tsup": "8.4.0"
217
217
  },
218
218
  "publishConfig": { "access": "public" },
219
- "gitHead": "3d3ff971d19a1152c39c5cf03e8ed30d79516188"
219
+ "gitHead": "4ff7ccead93c470ebb8b9ad5fcd7e70f3a122cbf"
220
220
  }
@@ -1,77 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkNY53WLGCcjs = require('./chunk-NY53WLGC.cjs');
4
-
5
-
6
- var _chunk4VPJA7YJcjs = require('./chunk-4VPJA7YJ.cjs');
7
-
8
- // src/release/config.ts
9
- var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
10
- questions: _chunkNY53WLGCcjs.DEFAULT_MONOREPO_COMMIT_QUESTIONS,
11
- types: _chunk4VPJA7YJcjs.DEFAULT_COMMIT_TYPES
12
- };
13
- var DEFAULT_RELEASE_GROUP_CONFIG = {
14
- projectsRelationship: "independent",
15
- releaseTagPattern: "{projectName}@{version}",
16
- changelog: {
17
- git: {
18
- tag: true
19
- },
20
- createRelease: "github",
21
- entryWhenNoChanges: false,
22
- file: "{projectRoot}/CHANGELOG.md",
23
- renderOptions: {
24
- authors: false,
25
- commitReferences: true,
26
- versionTitleDate: true
27
- }
28
- },
29
- version: {
30
- groupPreVersionCommand: "pnpm build",
31
- useLegacyVersioning: true,
32
- currentVersionResolver: "git-tag",
33
- specifierSource: "conventional-commits",
34
- generator: "@storm-software/workspace-tools:release-version",
35
- generatorOptions: {
36
- currentVersionResolver: "git-tag",
37
- specifierSource: "conventional-commits"
38
- }
39
- }
40
- };
41
- var DEFAULT_RELEASE_CONFIG = {
42
- conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
43
- changelog: {
44
- git: {
45
- tag: true
46
- },
47
- automaticFromRef: true,
48
- workspaceChangelog: false,
49
- projectChangelogs: {
50
- createRelease: "github",
51
- entryWhenNoChanges: false,
52
- file: "{projectRoot}/CHANGELOG.md",
53
- renderOptions: {
54
- authors: false,
55
- commitReferences: true,
56
- versionTitleDate: true
57
- }
58
- }
59
- },
60
- version: {
61
- preVersionCommand: "pnpm build",
62
- useLegacyVersioning: true,
63
- currentVersionResolver: "git-tag",
64
- specifierSource: "conventional-commits",
65
- generator: "@storm-software/workspace-tools:release-version",
66
- generatorOptions: {
67
- currentVersionResolver: "git-tag",
68
- specifierSource: "conventional-commits"
69
- }
70
- }
71
- };
72
-
73
-
74
-
75
-
76
-
77
- exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = DEFAULT_RELEASE_GROUP_CONFIG; exports.DEFAULT_RELEASE_CONFIG = DEFAULT_RELEASE_CONFIG;
@@ -1,77 +0,0 @@
1
- import {
2
- DEFAULT_MONOREPO_COMMIT_QUESTIONS
3
- } from "./chunk-JCEVFJCA.js";
4
- import {
5
- DEFAULT_COMMIT_TYPES
6
- } from "./chunk-3GGWHKRP.js";
7
-
8
- // src/release/config.ts
9
- var DEFAULT_CONVENTIONAL_COMMITS_CONFIG = {
10
- questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
11
- types: DEFAULT_COMMIT_TYPES
12
- };
13
- var DEFAULT_RELEASE_GROUP_CONFIG = {
14
- projectsRelationship: "independent",
15
- releaseTagPattern: "{projectName}@{version}",
16
- changelog: {
17
- git: {
18
- tag: true
19
- },
20
- createRelease: "github",
21
- entryWhenNoChanges: false,
22
- file: "{projectRoot}/CHANGELOG.md",
23
- renderOptions: {
24
- authors: false,
25
- commitReferences: true,
26
- versionTitleDate: true
27
- }
28
- },
29
- version: {
30
- groupPreVersionCommand: "pnpm build",
31
- useLegacyVersioning: true,
32
- currentVersionResolver: "git-tag",
33
- specifierSource: "conventional-commits",
34
- generator: "@storm-software/workspace-tools:release-version",
35
- generatorOptions: {
36
- currentVersionResolver: "git-tag",
37
- specifierSource: "conventional-commits"
38
- }
39
- }
40
- };
41
- var DEFAULT_RELEASE_CONFIG = {
42
- conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
43
- changelog: {
44
- git: {
45
- tag: true
46
- },
47
- automaticFromRef: true,
48
- workspaceChangelog: false,
49
- projectChangelogs: {
50
- createRelease: "github",
51
- entryWhenNoChanges: false,
52
- file: "{projectRoot}/CHANGELOG.md",
53
- renderOptions: {
54
- authors: false,
55
- commitReferences: true,
56
- versionTitleDate: true
57
- }
58
- }
59
- },
60
- version: {
61
- preVersionCommand: "pnpm build",
62
- useLegacyVersioning: true,
63
- currentVersionResolver: "git-tag",
64
- specifierSource: "conventional-commits",
65
- generator: "@storm-software/workspace-tools:release-version",
66
- generatorOptions: {
67
- currentVersionResolver: "git-tag",
68
- specifierSource: "conventional-commits"
69
- }
70
- }
71
- };
72
-
73
- export {
74
- DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
75
- DEFAULT_RELEASE_GROUP_CONFIG,
76
- DEFAULT_RELEASE_CONFIG
77
- };