@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.
- package/README.md +1 -1
- package/bin/{chunk-SWXHQXUT.cjs → chunk-AU5PZKTN.cjs} +2 -0
- package/bin/chunk-AU5PZKTN.cjs.map +1 -0
- package/bin/{chunk-G3JMIIRF.cjs → chunk-EHPPIARR.cjs} +12 -17
- package/bin/chunk-EHPPIARR.cjs.map +1 -0
- package/bin/{chunk-L64XVBGM.cjs → chunk-FH5OSXAJ.cjs} +2 -0
- package/bin/chunk-FH5OSXAJ.cjs.map +1 -0
- package/bin/{chunk-S5PS23TL.js → chunk-G3YPGVPS.js} +2 -0
- package/bin/chunk-G3YPGVPS.js.map +1 -0
- package/bin/{chunk-AMSZ7DVW.js → chunk-Q3DQKTOI.js} +2 -0
- package/bin/chunk-Q3DQKTOI.js.map +1 -0
- package/bin/{chunk-K3LWFM6S.js → chunk-VBJB46HW.js} +13 -17
- package/bin/chunk-VBJB46HW.js.map +1 -0
- package/bin/git.cjs +642 -1563
- package/bin/git.cjs.map +1 -0
- package/bin/git.js +589 -1510
- package/bin/git.js.map +1 -0
- package/bin/post-checkout.cjs +16 -14
- package/bin/post-checkout.cjs.map +1 -0
- package/bin/post-checkout.js +5 -3
- package/bin/post-checkout.js.map +1 -0
- package/bin/post-commit.cjs +16 -14
- package/bin/post-commit.cjs.map +1 -0
- package/bin/post-commit.js +5 -3
- package/bin/post-commit.js.map +1 -0
- package/bin/post-merge.cjs +16 -14
- package/bin/post-merge.cjs.map +1 -0
- package/bin/post-merge.js +5 -3
- package/bin/post-merge.js.map +1 -0
- package/bin/pre-commit.cjs +14 -12
- package/bin/pre-commit.cjs.map +1 -0
- package/bin/pre-commit.js +4 -2
- package/bin/pre-commit.js.map +1 -0
- package/bin/pre-install.cjs +13 -11
- package/bin/pre-install.cjs.map +1 -0
- package/bin/pre-install.js +4 -2
- package/bin/pre-install.js.map +1 -0
- package/bin/pre-push.cjs +21 -19
- package/bin/pre-push.cjs.map +1 -0
- package/bin/pre-push.js +5 -3
- package/bin/pre-push.js.map +1 -0
- package/bin/prepare.cjs +11 -9
- package/bin/prepare.cjs.map +1 -0
- package/bin/prepare.js +4 -2
- package/bin/prepare.js.map +1 -0
- package/bin/version-warning.cjs +9 -7
- package/bin/version-warning.cjs.map +1 -0
- package/bin/version-warning.js +4 -2
- package/bin/version-warning.js.map +1 -0
- package/dist/chunk-3GGWHKRP.js +3 -6
- package/dist/chunk-4VPJA7YJ.cjs +9 -9
- package/dist/chunk-5XU2KBM6.js +1 -3
- package/dist/chunk-F7OO6L26.cjs +11 -16
- package/dist/chunk-JCEVFJCA.js +4 -14
- package/dist/chunk-KZRVQ5RZ.js +3 -11
- package/dist/chunk-NY53WLGC.cjs +16 -23
- package/dist/chunk-NZHEQPL3.cjs +82 -0
- package/dist/chunk-PKEX4GUO.js +75 -0
- package/dist/chunk-YBAE6I5L.cjs +3 -3
- package/dist/commit/minimal.cjs +11 -3
- package/dist/commit/minimal.js +3 -10
- package/dist/commit/monorepo.cjs +11 -3
- package/dist/commit/monorepo.js +4 -11
- package/dist/commitlint/minimal.cjs +4 -5
- package/dist/commitlint/minimal.js +3 -6
- package/dist/commitlint/monorepo.cjs +4 -5
- package/dist/commitlint/monorepo.js +3 -6
- package/dist/index.cjs +36 -14
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -20
- package/dist/release/config.cjs +26 -6
- package/dist/release/config.d.cts +21 -242
- package/dist/release/config.d.ts +21 -242
- package/dist/release/config.js +5 -14
- package/dist/types.cjs +7 -3
- package/dist/types.d.cts +90 -94
- package/dist/types.d.ts +90 -94
- package/dist/types.js +1 -6
- package/package.json +12 -12
- package/dist/chunk-GOKUSEH3.cjs +0 -77
- 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,
|
|
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
|
|
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
|
|
114
|
+
interface ReleaseGroupConfig {
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
117
|
-
*
|
|
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
|
-
|
|
119
|
+
projectsRelationship?: "fixed" | "independent";
|
|
120
120
|
/**
|
|
121
|
-
*
|
|
122
|
-
*
|
|
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
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
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
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
158
|
-
}
|
|
150
|
+
groupPreVersionCommand?: string;
|
|
151
|
+
};
|
|
159
152
|
/**
|
|
160
|
-
*
|
|
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
|
-
*
|
|
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
|
-
|
|
166
|
-
|
|
163
|
+
changelog?: NxReleaseChangelogConfiguration | boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Configuration for release tag generation and matching.
|
|
166
|
+
*/
|
|
167
|
+
releaseTag?: {
|
|
167
168
|
/**
|
|
168
|
-
*
|
|
169
|
+
* The pattern to use for release tags. Supports interpolating {version}, {projectName}, and {releaseGroupName}.
|
|
169
170
|
*/
|
|
170
|
-
|
|
171
|
+
pattern?: string;
|
|
171
172
|
/**
|
|
172
|
-
*
|
|
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
|
|
175
|
-
* - false
|
|
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
|
-
|
|
180
|
+
checkAllBranchesWhen?: boolean | string[];
|
|
178
181
|
/**
|
|
179
|
-
*
|
|
182
|
+
* By default, we will use semver when searching through the tags to find the latest matching tag.
|
|
180
183
|
*
|
|
181
|
-
* - true
|
|
182
|
-
* - false
|
|
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
|
-
|
|
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
|
-
*
|
|
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
|
-
|
|
197
|
+
preferDockerVersion?: boolean | "both";
|
|
201
198
|
/**
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
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
|
-
|
|
217
|
+
strictPreid?: boolean;
|
|
207
218
|
};
|
|
208
219
|
/**
|
|
209
|
-
*
|
|
210
|
-
*
|
|
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
|
-
|
|
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
|
|
226
|
-
|
|
227
|
-
|
|
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
|
|
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/git-tools",
|
|
3
|
-
"version": "2.123.
|
|
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": "^
|
|
187
|
-
"@nx/js": "^
|
|
188
|
-
"@storm-software/config": "^1.134.
|
|
189
|
-
"@storm-software/config-tools": "^1.188.
|
|
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.
|
|
197
|
+
"conventional-changelog-storm-software": "^0.3.18",
|
|
198
198
|
"htmlparser2": "10.0.0",
|
|
199
199
|
"jsonc-parser": "3.2.1",
|
|
200
|
-
"nx": "^
|
|
201
|
-
"prettier": "^3.
|
|
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.
|
|
207
|
+
"zod": "^4.1.12"
|
|
208
208
|
},
|
|
209
209
|
"devDependencies": {
|
|
210
|
-
"@types/node": "^22.
|
|
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.
|
|
215
|
+
"simple-git": "^3.30.0",
|
|
216
216
|
"tsup": "8.4.0"
|
|
217
217
|
},
|
|
218
218
|
"publishConfig": { "access": "public" },
|
|
219
|
-
"gitHead": "
|
|
219
|
+
"gitHead": "4ff7ccead93c470ebb8b9ad5fcd7e70f3a122cbf"
|
|
220
220
|
}
|
package/dist/chunk-GOKUSEH3.cjs
DELETED
|
@@ -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;
|
package/dist/chunk-YCEUZFMU.js
DELETED
|
@@ -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
|
-
};
|