@storm-software/git-tools 2.123.16 → 2.124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) 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 +941 -1500
  15. package/bin/git.cjs.map +1 -0
  16. package/bin/git.js +887 -1447
  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-M4QURF2M.cjs +2454 -0
  57. package/dist/chunk-NY53WLGC.cjs +16 -23
  58. package/dist/chunk-RJCCG4TV.js +2420 -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.d.cts +1 -0
  64. package/dist/commit/monorepo.d.ts +1 -0
  65. package/dist/commit/monorepo.js +4 -11
  66. package/dist/commitlint/minimal.cjs +4 -5
  67. package/dist/commitlint/minimal.js +3 -6
  68. package/dist/commitlint/monorepo.cjs +4 -5
  69. package/dist/commitlint/monorepo.js +3 -6
  70. package/dist/index.cjs +40 -14
  71. package/dist/index.d.cts +4 -3
  72. package/dist/index.d.ts +4 -3
  73. package/dist/index.js +5 -20
  74. package/dist/release/config.cjs +30 -6
  75. package/dist/release/config.d.cts +33 -243
  76. package/dist/release/config.d.ts +33 -243
  77. package/dist/release/config.js +5 -14
  78. package/dist/types.cjs +7 -3
  79. package/dist/types.d.cts +91 -94
  80. package/dist/types.d.ts +91 -94
  81. package/dist/types.js +1 -6
  82. package/package.json +12 -12
  83. package/dist/chunk-GOKUSEH3.cjs +0 -77
  84. package/dist/chunk-YCEUZFMU.js +0 -77
package/dist/types.d.ts CHANGED
@@ -2,7 +2,8 @@ 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 { NxReleaseConfig } from 'nx/src/command-line/release/config/config';
6
+ import { NxReleaseDockerConfiguration, NxReleaseVersionConfiguration, NxReleaseChangelogConfiguration, NxReleaseVersionPlansConfiguration, NxReleaseConfiguration } from 'nx/src/config/nx-json';
6
7
 
7
8
  type DeepPartial<T> = T extends object ? {
8
9
  [P in keyof T]?: DeepPartial<T[P]>;
@@ -72,7 +73,7 @@ interface CommitLintOutcome {
72
73
  /** All warnings, per rule, for the commit */
73
74
  warnings: CommitLintRuleOutcome[];
74
75
  }
75
- type ReleaseConfig = any & {
76
+ type ReleaseOptions = any & {
76
77
  npm: boolean;
77
78
  github: boolean;
78
79
  githubOptions?: Record<string, unknown>;
@@ -111,124 +112,120 @@ interface ReadMeOptions {
111
112
  clean: boolean;
112
113
  prettier: boolean;
113
114
  }
114
- interface NxReleaseConfig {
115
+ interface ReleaseGroupConfig {
115
116
  /**
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.
117
+ * Whether to version and release projects within the group independently, or together in lock step ("fixed").
118
+ * If not set on the group, this will be informed by the projectsRelationship config at the top level.
118
119
  */
119
- projects?: string[] | string;
120
+ projectsRelationship?: "fixed" | "independent";
120
121
  /**
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.
122
+ * Required list of one or more projects to include in the release group. Any single project can
123
+ * only be used in a maximum of one release group.
123
124
  */
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;
125
+ projects: string[] | string;
126
+ /**
127
+ * Configure options to handle versioning docker projects for this group.
128
+ * Set to `true` to enable with default settings, or provide a configuration object for custom settings.
129
+ */
130
+ docker?: (NxReleaseDockerConfiguration & {
142
131
  /**
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
132
+ * A command to run after validation of nx release configuration, but before docker versioning begins.
133
+ * Used for preparing docker build artifacts. If --dry-run is passed, the command is still executed, but
134
+ * with the NX_DRY_RUN environment variable set to 'true'.
135
+ * It will run in addition to the global `preVersionCommand`
152
136
  */
153
- changelog?: NxReleaseChangelogConfiguration | boolean;
137
+ groupPreVersionCommand?: string;
138
+ }) | true;
139
+ /**
140
+ * Optionally override version configuration for this group.
141
+ *
142
+ * NOTE: git configuration is not supported at the group level, only the root/command level
143
+ */
144
+ version?: NxReleaseVersionConfiguration & {
154
145
  /**
155
- * Optionally override the git/release tag pattern to use for this group.
146
+ * A command to run after validation of nx release configuration, but before versioning begins.
147
+ * Used for preparing build artifacts. If --dry-run is passed, the command is still executed, but
148
+ * with the NX_DRY_RUN environment variable set to 'true'.
149
+ * It will run in addition to the global `preVersionCommand`
156
150
  */
157
- releaseTagPattern?: string;
158
- }>;
151
+ groupPreVersionCommand?: string;
152
+ };
159
153
  /**
160
- * Configures the default value for all groups that don't explicitly state their own projectsRelationship.
154
+ * Project changelogs are disabled by default.
155
+ *
156
+ * Here you can optionally override project changelog configuration for this group.
157
+ * Notes about boolean values:
158
+ *
159
+ * - true = enable project level changelogs using default configuration
160
+ * - false = explicitly disable project level changelogs
161
161
  *
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.
162
+ * NOTE: git configuration is not supported at the group level, only the root/command level
164
163
  */
165
- projectsRelationship?: "fixed" | "independent";
166
- changelog?: {
164
+ changelog?: NxReleaseChangelogConfiguration | boolean;
165
+ /**
166
+ * Configuration for release tag generation and matching.
167
+ */
168
+ releaseTag?: {
167
169
  /**
168
- * Enable or override configuration for git operations as part of the changelog subcommand
170
+ * The pattern to use for release tags. Supports interpolating {version}, {projectName}, and {releaseGroupName}.
169
171
  */
170
- git?: NxReleaseGitConfiguration;
172
+ pattern?: string;
171
173
  /**
172
- * Workspace changelog is enabled by default. Notes about boolean values:
174
+ * By default, we will try and resolve the latest match for the releaseTagPattern from the current branch,
175
+ * falling back to all branches if no match is found on the current branch.
173
176
  *
174
- * - true = explicitly enable workspace changelog using default configuration
175
- * - false = disable workspace changelog
177
+ * - Setting this to true will cause us to ALWAYS check all branches for the latest match.
178
+ * - Setting it to false will cause us to ONLY check the current branch for the latest match.
179
+ * - 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
180
  */
177
- workspaceChangelog?: NxReleaseChangelogConfiguration | boolean;
181
+ checkAllBranchesWhen?: boolean | string[];
178
182
  /**
179
- * Project changelogs are disabled by default. Notes about boolean values:
183
+ * By default, we will use semver when searching through the tags to find the latest matching tag.
180
184
  *
181
- * - true = enable project level changelogs using default configuration
182
- * - false = explicitly disable project level changelogs
185
+ * - Setting this to true will cause us to use semver to match the version
186
+ * - Setting this to false will cause us to not use semver to match the version allowing for non-semver versions
183
187
  */
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 & {
188
+ requireSemver?: boolean;
197
189
  /**
198
- * Enable or override configuration for git operations as part of the version subcommand
190
+ * Controls how docker versions are used relative to semver versions when creating git tags and changelog entries.
191
+ *
192
+ * - true: Use only the docker version
193
+ * - false: Use only the semver version
194
+ * - 'both': Create tags and changelog entries for both docker and semver versions
195
+ *
196
+ * By default, this is set to true when docker configuration is present, and false otherwise.
199
197
  */
200
- git?: NxReleaseGitConfiguration;
198
+ preferDockerVersion?: boolean | "both";
201
199
  /**
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'.
200
+ * 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
201
+ * given to the nx release invocation.
202
+ *
203
+ * For example, let's say your pattern is "{projectName}@{version}" and you have the following tags for project "my-lib", which uses semver:
204
+ * - my-lib@1.2.4-beta.1
205
+ * - my-lib@1.2.4-alpha.1
206
+ * - my-lib@1.2.3
207
+ *
208
+ * If "strictPreid" is set to true and you run:
209
+ * - `nx release --preid beta`, the git tag "my-lib@1.2.4-beta.1" will be resolved.
210
+ * - `nx release --preid alpha`, the git tag "my-lib@1.2.4-alpha.1" will be resolved.
211
+ * - `nx release` (no preid), the git tag "my-lib@1.2.3" will be resolved.
212
+ *
213
+ * 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,
214
+ * regardless of any preid which gets passed to nx release.
215
+ *
216
+ * 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
217
  */
206
- preVersionCommand?: string;
218
+ strictPreid?: boolean;
207
219
  };
208
220
  /**
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}"
221
+ * Enables using version plans as a specifier source for versioning and
222
+ * to determine changes for changelog generation.
217
223
  */
218
- releaseTagPattern?: string;
219
- /**
220
- * Enable and configure automatic git operations as part of the release
221
- */
222
- git?: NxReleaseGitConfiguration;
223
- conventionalCommits?: NxReleaseConventionalCommitsConfiguration;
224
+ versionPlans?: NxReleaseVersionPlansConfiguration | boolean;
224
225
  }
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];
226
+ type ReleaseConfig = Omit<NxReleaseConfiguration, "groups" | "conventionalCommits"> & Required<Pick<NxReleaseConfig, "conventionalCommits">> & {
227
+ groups: Record<string, ReleaseGroupConfig>;
228
+ };
232
229
  type NxReleaseRequiredGitConfig = Required<{
233
230
  commit?: boolean | undefined;
234
231
  commitMessage?: string | undefined;
@@ -239,4 +236,4 @@ type NxReleaseRequiredGitConfig = Required<{
239
236
  tagArgs?: string | undefined;
240
237
  }>;
241
238
 
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 };
239
+ 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.124.0",
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.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,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.19",
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": "9369e3660228db8159c75d45109d4a76a4314382"
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
- };