@storm-software/git-tools 2.101.3 → 2.102.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.
- package/README.md +7 -7
- package/bin/git.cjs +78 -35
- package/bin/git.js +49 -6
- package/dist/{chunk-AZCYMACD.cjs → chunk-PDBBNGUQ.cjs} +6 -0
- package/dist/{chunk-QRP3KP65.js → chunk-WAYANCDV.js} +6 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/readme/templates/README.footer.md +1 -1
- package/dist/release/config.cjs +2 -2
- package/dist/release/config.d.cts +6 -0
- package/dist/release/config.d.ts +6 -0
- package/dist/release/config.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<!-- markdownlint-disable -->
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
<div align="center"><img src="https://
|
|
6
|
+
<div align="center"><img src="https://public.storm-cdn.com/storm-banner.gif" width="100%" alt="Storm Software" /></div>
|
|
7
7
|
<br />
|
|
8
8
|
|
|
9
9
|
<div align="center">
|
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
|
@@ -33,7 +33,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
33
33
|
<!-- prettier-ignore-end -->
|
|
34
34
|
|
|
35
35
|
<div align="center">
|
|
36
|
-
<b>Be sure to ⭐ this
|
|
36
|
+
<b>Be sure to ⭐ this <a href="https://github.com/storm-software/storm-ops" target="_blank">repository on GitHub</a> so you can keep up to date on any daily progress!</b>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
39
|
<br />
|
|
@@ -234,7 +234,7 @@ specification. Contributions of any kind welcome!
|
|
|
234
234
|
<br />
|
|
235
235
|
|
|
236
236
|
<div align="center">
|
|
237
|
-
<img src="https://
|
|
237
|
+
<img src="https://public.storm-cdn.com/brand-banner.png" width="100%" alt="Storm Software" />
|
|
238
238
|
</div>
|
|
239
239
|
<br />
|
|
240
240
|
|
|
@@ -243,7 +243,7 @@ specification. Contributions of any kind welcome!
|
|
|
243
243
|
</div>
|
|
244
244
|
|
|
245
245
|
<div align="center">
|
|
246
|
-
<b>Fingerprint:</b>
|
|
246
|
+
<b>Fingerprint:</b> F47F 1853 BCAD DE9B 42C8 6316 9FDE EC95 47FE D106
|
|
247
247
|
</div>
|
|
248
248
|
<br />
|
|
249
249
|
|
|
@@ -266,9 +266,9 @@ channel!
|
|
|
266
266
|
|
|
267
267
|
<br />
|
|
268
268
|
|
|
269
|
-
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://
|
|
269
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/icon-fill.png" alt="Storm Software" width="200px"/></a></div>
|
|
270
270
|
<br />
|
|
271
|
-
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://
|
|
271
|
+
<div align="center"><a href="https://stormsoftware.com" target="_blank"><img src="https://public.storm-cdn.com/visit-us-text.svg" alt="Visit us at stormsoftware.com" height="90px"/></a></div>
|
|
272
272
|
|
|
273
273
|
<br />
|
|
274
274
|
|
package/bin/git.cjs
CHANGED
|
@@ -80983,6 +80983,44 @@ function parseChangelogMarkdown(contents) {
|
|
|
80983
80983
|
}
|
|
80984
80984
|
_chunkKK4YC43Scjs.__name.call(void 0, parseChangelogMarkdown, "parseChangelogMarkdown");
|
|
80985
80985
|
|
|
80986
|
+
// src/utilities/git-utils.ts
|
|
80987
|
+
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
80988
|
+
var _execcommandjs = require('nx/src/command-line/release/utils/exec-command.js');
|
|
80989
|
+
async function gitTag({ tag, message: message2, additionalArgs, dryRun, verbose, logFn }) {
|
|
80990
|
+
logFn = logFn || console.log;
|
|
80991
|
+
const commandArgs = [
|
|
80992
|
+
"tag",
|
|
80993
|
+
// Create an annotated tag (recommended for releases here: https://git-scm.com/docs/git-tag)
|
|
80994
|
+
"--annotate",
|
|
80995
|
+
"--sign",
|
|
80996
|
+
tag,
|
|
80997
|
+
"--message",
|
|
80998
|
+
message2 || tag
|
|
80999
|
+
];
|
|
81000
|
+
if (additionalArgs) {
|
|
81001
|
+
if (Array.isArray(additionalArgs)) {
|
|
81002
|
+
commandArgs.push(...additionalArgs);
|
|
81003
|
+
} else {
|
|
81004
|
+
commandArgs.push(...additionalArgs.split(" "));
|
|
81005
|
+
}
|
|
81006
|
+
}
|
|
81007
|
+
if (verbose) {
|
|
81008
|
+
logFn(dryRun ? `Would tag the current commit in git with the following command, but --dry-run was set:` : `Tagging the current commit in git with the following command:`);
|
|
81009
|
+
logFn(`git ${commandArgs.join(" ")}`);
|
|
81010
|
+
}
|
|
81011
|
+
if (dryRun) {
|
|
81012
|
+
return "";
|
|
81013
|
+
}
|
|
81014
|
+
try {
|
|
81015
|
+
return await _execcommandjs.execCommand.call(void 0, "git", commandArgs);
|
|
81016
|
+
} catch (err) {
|
|
81017
|
+
throw new Error(`Unexpected error when creating tag ${tag}:
|
|
81018
|
+
|
|
81019
|
+
${err}`);
|
|
81020
|
+
}
|
|
81021
|
+
}
|
|
81022
|
+
_chunkKK4YC43Scjs.__name.call(void 0, gitTag, "gitTag");
|
|
81023
|
+
|
|
80986
81024
|
// src/release/changelog-renderer.ts
|
|
80987
81025
|
_chunkKK4YC43Scjs.init_cjs_shims.call(void 0, );
|
|
80988
81026
|
|
|
@@ -85155,7 +85193,7 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
|
|
|
85155
85193
|
if (_nullishCoalesce(args.gitTag, () => ( nxReleaseConfig.changelog.git.tag))) {
|
|
85156
85194
|
_output.output.logSingleLine(`Tagging commit with git`);
|
|
85157
85195
|
for (const tag of gitTagValues) {
|
|
85158
|
-
await
|
|
85196
|
+
await gitTag({
|
|
85159
85197
|
tag,
|
|
85160
85198
|
message: args.gitTagMessage || nxReleaseConfig.changelog.git.tagMessage,
|
|
85161
85199
|
additionalArgs: args.gitTagArgs || nxReleaseConfig.changelog.git.tagArgs,
|
|
@@ -85471,7 +85509,7 @@ function formatGithubReleaseNotes(releaseVersion2, content, projectName, workspa
|
|
|
85471
85509
|
if (!workspaceConfig) {
|
|
85472
85510
|
return content;
|
|
85473
85511
|
}
|
|
85474
|
-
return `
|
|
85512
|
+
return `![${_optionalChain([titleCase, 'call', _236 => _236(workspaceConfig.organization), 'optionalAccess', _237 => _237.replaceAll, 'call', _238 => _238(" ", "-")])}](${workspaceConfig.release.banner})
|
|
85475
85513
|
${workspaceConfig.release.header || ""}
|
|
85476
85514
|
|
|
85477
85515
|
# ${projectName ? `${titleCase(projectName)} ` : ""}v${releaseVersion2.rawVersion}
|
|
@@ -85480,7 +85518,7 @@ We at [${titleCase(workspaceConfig.organization)}](${workspaceConfig.homepage})
|
|
|
85480
85518
|
|
|
85481
85519
|
These changes are released under the ${workspaceConfig.license.includes("license") ? workspaceConfig.license : `${workspaceConfig.license} license`}. You can find more details on [our licensing page](${workspaceConfig.licensing}). You can find guides, API references, and other documentation around this release (and much more) on [our documentation site](${workspaceConfig.docs}).
|
|
85482
85520
|
|
|
85483
|
-
If you have any questions or comments, feel free to reach out to the team on [Discord](${workspaceConfig.account.discord}) or [our contact page](${workspaceConfig.contact}). Please help us spread the word by giving [this repository](https://github.com/${workspaceConfig.organization}/${workspaceConfig.name}) a star \u2B50 on GitHub or [posting on X (Twitter)](https://x.com/intent/tweet?text=Check%20out%20the%20latest%20@${workspaceConfig.account.twitter}%20release%20${projectName ? `${_optionalChain([titleCase, 'call',
|
|
85521
|
+
If you have any questions or comments, feel free to reach out to the team on [Discord](${workspaceConfig.account.discord}) or [our contact page](${workspaceConfig.contact}). Please help us spread the word by giving [this repository](https://github.com/${workspaceConfig.organization}/${workspaceConfig.name}) a star \u2B50 on GitHub or [posting on X (Twitter)](https://x.com/intent/tweet?text=Check%20out%20the%20latest%20@${workspaceConfig.account.twitter}%20release%20${projectName ? `${_optionalChain([titleCase, 'call', _239 => _239(projectName), 'optionalAccess', _240 => _240.replaceAll, 'call', _241 => _241(" ", "%20")])}%20` : ""}v${releaseVersion2.rawVersion}%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/${workspaceConfig.organization}/${workspaceConfig.name}/releases/tag/${releaseVersion2.gitTag}) about this release!
|
|
85484
85522
|
|
|
85485
85523
|
## Release Notes
|
|
85486
85524
|
|
|
@@ -85503,6 +85541,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
85503
85541
|
projectsRelationship: "independent",
|
|
85504
85542
|
releaseTagPattern: "{projectName}@{version}",
|
|
85505
85543
|
changelog: {
|
|
85544
|
+
git: {
|
|
85545
|
+
tag: true
|
|
85546
|
+
},
|
|
85506
85547
|
createRelease: "github",
|
|
85507
85548
|
entryWhenNoChanges: false,
|
|
85508
85549
|
file: "{projectRoot}/CHANGELOG.md",
|
|
@@ -85524,6 +85565,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
85524
85565
|
var DEFAULT_RELEASE_CONFIG = {
|
|
85525
85566
|
conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG2,
|
|
85526
85567
|
changelog: {
|
|
85568
|
+
git: {
|
|
85569
|
+
tag: true
|
|
85570
|
+
},
|
|
85527
85571
|
automaticFromRef: true,
|
|
85528
85572
|
workspaceChangelog: false,
|
|
85529
85573
|
projectChangelogs: {
|
|
@@ -85575,7 +85619,7 @@ async function releaseVersion(config, args) {
|
|
|
85575
85619
|
});
|
|
85576
85620
|
const { projects } = _projectgraphjs.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
|
|
85577
85621
|
const nxJson = _nxjsonjs.readNxJson.call(void 0, );
|
|
85578
|
-
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
85622
|
+
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _242 => _242.workspaceRoot]), () => ( _chunkKX7Y62QYcjs.findWorkspaceRoot.call(void 0, )));
|
|
85579
85623
|
if (args.verbose) {
|
|
85580
85624
|
process.env.NX_VERBOSE_LOGGING = "true";
|
|
85581
85625
|
}
|
|
@@ -85583,7 +85627,7 @@ async function releaseVersion(config, args) {
|
|
|
85583
85627
|
if (configError) {
|
|
85584
85628
|
return await _configjs.handleNxReleaseConfigError.call(void 0, configError);
|
|
85585
85629
|
}
|
|
85586
|
-
if ((args.gitCommit === void 0 || args.gitTag === void 0 || args.stageChanges === void 0) && _optionalChain([nxJson, 'access',
|
|
85630
|
+
if ((args.gitCommit === void 0 || args.gitTag === void 0 || args.stageChanges === void 0) && _optionalChain([nxJson, 'access', _243 => _243.release, 'optionalAccess', _244 => _244.git])) {
|
|
85587
85631
|
await _resolvenxjsonerrormessagejs.resolveNxJsonConfigErrorMessage.call(void 0, [
|
|
85588
85632
|
"release",
|
|
85589
85633
|
"git"
|
|
@@ -85598,10 +85642,10 @@ async function releaseVersion(config, args) {
|
|
|
85598
85642
|
}
|
|
85599
85643
|
const tree = new (0, _treejs.FsTree)(workspaceRoot3, true);
|
|
85600
85644
|
const versionData = {};
|
|
85601
|
-
const commitMessage = args.gitCommitMessage || _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85645
|
+
const commitMessage = args.gitCommitMessage || _optionalChain([nxReleaseConfig, 'optionalAccess', _245 => _245.version, 'access', _246 => _246.git, 'access', _247 => _247.commitMessage]);
|
|
85602
85646
|
const additionalChangedFiles = /* @__PURE__ */ new Set();
|
|
85603
85647
|
const generatorCallbacks = [];
|
|
85604
|
-
if (_optionalChain([args, 'access',
|
|
85648
|
+
if (_optionalChain([args, 'access', _248 => _248.projects, 'optionalAccess', _249 => _249.length])) {
|
|
85605
85649
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, "Run versioning for all remaining release groups and filtered projects within them", config);
|
|
85606
85650
|
for (const releaseGroup of releaseGroups) {
|
|
85607
85651
|
const releaseGroupName = releaseGroup.name;
|
|
@@ -85641,7 +85685,7 @@ async function releaseVersion(config, args) {
|
|
|
85641
85685
|
});
|
|
85642
85686
|
}
|
|
85643
85687
|
}
|
|
85644
|
-
const gitTagValues2 = _nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85688
|
+
const gitTagValues2 = _nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _250 => _250.version, 'access', _251 => _251.git, 'access', _252 => _252.tag]))) ? _sharedjs.createGitTagValues.call(void 0, releaseGroups, releaseGroupToFilteredProjects, versionData) : [];
|
|
85645
85689
|
_sharedjs.handleDuplicateGitTags.call(void 0, gitTagValues2);
|
|
85646
85690
|
printAndFlushChanges2(config, tree, !!args.dryRun);
|
|
85647
85691
|
for (const generatorCallback of generatorCallbacks) {
|
|
@@ -85658,15 +85702,15 @@ async function releaseVersion(config, args) {
|
|
|
85658
85702
|
projectsVersionData: versionData
|
|
85659
85703
|
};
|
|
85660
85704
|
}
|
|
85661
|
-
if (_nullishCoalesce(args.gitCommit, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85705
|
+
if (_nullishCoalesce(args.gitCommit, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _253 => _253.version, 'access', _254 => _254.git, 'access', _255 => _255.commit])))) {
|
|
85662
85706
|
await _sharedjs.commitChanges.call(void 0, {
|
|
85663
85707
|
changedFiles: changedFiles2,
|
|
85664
85708
|
isDryRun: !!args.dryRun,
|
|
85665
85709
|
isVerbose: !!args.verbose,
|
|
85666
85710
|
gitCommitMessages: _sharedjs.createCommitMessageValues.call(void 0, releaseGroups, releaseGroupToFilteredProjects, versionData, commitMessage),
|
|
85667
|
-
gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85711
|
+
gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _256 => _256.version, 'access', _257 => _257.git, 'access', _258 => _258.commitArgs])
|
|
85668
85712
|
});
|
|
85669
|
-
} else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85713
|
+
} else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _259 => _259.version, 'access', _260 => _260.git, 'access', _261 => _261.stageChanges])))) {
|
|
85670
85714
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, "Staging changed files with git", config);
|
|
85671
85715
|
await _gitjs.gitAdd.call(void 0, {
|
|
85672
85716
|
changedFiles: changedFiles2,
|
|
@@ -85674,13 +85718,13 @@ async function releaseVersion(config, args) {
|
|
|
85674
85718
|
verbose: args.verbose
|
|
85675
85719
|
});
|
|
85676
85720
|
}
|
|
85677
|
-
if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85721
|
+
if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _262 => _262.version, 'access', _263 => _263.git, 'access', _264 => _264.tag])))) {
|
|
85678
85722
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, "Tagging commit with git", config);
|
|
85679
85723
|
for (const tag of gitTagValues2) {
|
|
85680
|
-
await
|
|
85724
|
+
await gitTag({
|
|
85681
85725
|
tag,
|
|
85682
|
-
message: args.gitTagMessage || _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85683
|
-
additionalArgs: args.gitTagArgs || _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85726
|
+
message: args.gitTagMessage || _optionalChain([nxReleaseConfig, 'optionalAccess', _265 => _265.version, 'access', _266 => _266.git, 'access', _267 => _267.tagMessage]),
|
|
85727
|
+
additionalArgs: args.gitTagArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _268 => _268.version, 'access', _269 => _269.git, 'access', _270 => _270.tagArgs]),
|
|
85684
85728
|
dryRun: args.dryRun,
|
|
85685
85729
|
verbose: args.verbose
|
|
85686
85730
|
});
|
|
@@ -85727,7 +85771,7 @@ async function releaseVersion(config, args) {
|
|
|
85727
85771
|
});
|
|
85728
85772
|
}
|
|
85729
85773
|
}
|
|
85730
|
-
const gitTagValues = _nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85774
|
+
const gitTagValues = _nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _271 => _271.version, 'access', _272 => _272.git, 'access', _273 => _273.tag]))) ? _sharedjs.createGitTagValues.call(void 0, releaseGroups, releaseGroupToFilteredProjects, versionData) : [];
|
|
85731
85775
|
_sharedjs.handleDuplicateGitTags.call(void 0, gitTagValues);
|
|
85732
85776
|
printAndFlushChanges2(config, tree, !!args.dryRun);
|
|
85733
85777
|
for (const generatorCallback of generatorCallbacks) {
|
|
@@ -85736,10 +85780,10 @@ async function releaseVersion(config, args) {
|
|
|
85736
85780
|
let workspaceVersion = void 0;
|
|
85737
85781
|
if (releaseGroups.length === 1) {
|
|
85738
85782
|
const releaseGroup = releaseGroups[0];
|
|
85739
|
-
if (_optionalChain([releaseGroup, 'optionalAccess',
|
|
85783
|
+
if (_optionalChain([releaseGroup, 'optionalAccess', _274 => _274.projectsRelationship]) === "fixed") {
|
|
85740
85784
|
const releaseGroupProjectNames = Array.from(_nullishCoalesce(releaseGroupToFilteredProjects.get(releaseGroup), () => ( [])));
|
|
85741
85785
|
if (releaseGroupProjectNames.length > 0 && releaseGroupProjectNames[0]) {
|
|
85742
|
-
workspaceVersion = _optionalChain([versionData, 'access',
|
|
85786
|
+
workspaceVersion = _optionalChain([versionData, 'access', _275 => _275[releaseGroupProjectNames[0]], 'optionalAccess', _276 => _276.newVersion]);
|
|
85743
85787
|
}
|
|
85744
85788
|
}
|
|
85745
85789
|
}
|
|
@@ -85753,15 +85797,15 @@ async function releaseVersion(config, args) {
|
|
|
85753
85797
|
projectsVersionData: versionData
|
|
85754
85798
|
};
|
|
85755
85799
|
}
|
|
85756
|
-
if (_nullishCoalesce(args.gitCommit, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85800
|
+
if (_nullishCoalesce(args.gitCommit, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _277 => _277.version, 'access', _278 => _278.git, 'access', _279 => _279.commit])))) {
|
|
85757
85801
|
await _sharedjs.commitChanges.call(void 0, {
|
|
85758
85802
|
changedFiles,
|
|
85759
85803
|
isDryRun: !!args.dryRun,
|
|
85760
85804
|
isVerbose: !!args.verbose,
|
|
85761
85805
|
gitCommitMessages: _sharedjs.createCommitMessageValues.call(void 0, releaseGroups, releaseGroupToFilteredProjects, versionData, commitMessage),
|
|
85762
|
-
gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85806
|
+
gitCommitArgs: args.gitCommitArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _280 => _280.version, 'access', _281 => _281.git, 'access', _282 => _282.commitArgs])
|
|
85763
85807
|
});
|
|
85764
|
-
} else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85808
|
+
} else if (_nullishCoalesce(args.stageChanges, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _283 => _283.version, 'access', _284 => _284.git, 'access', _285 => _285.stageChanges])))) {
|
|
85765
85809
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, "Staging changed files with git", config);
|
|
85766
85810
|
await _gitjs.gitAdd.call(void 0, {
|
|
85767
85811
|
changedFiles,
|
|
@@ -85769,13 +85813,13 @@ async function releaseVersion(config, args) {
|
|
|
85769
85813
|
verbose: args.verbose
|
|
85770
85814
|
});
|
|
85771
85815
|
}
|
|
85772
|
-
if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85816
|
+
if (_nullishCoalesce(args.gitTag, () => ( _optionalChain([nxReleaseConfig, 'optionalAccess', _286 => _286.version, 'access', _287 => _287.git, 'access', _288 => _288.tag])))) {
|
|
85773
85817
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, "Tagging commit with git", config);
|
|
85774
85818
|
for (const tag of gitTagValues) {
|
|
85775
|
-
await
|
|
85819
|
+
await gitTag({
|
|
85776
85820
|
tag,
|
|
85777
|
-
message: args.gitTagMessage || _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85778
|
-
additionalArgs: args.gitTagArgs || _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85821
|
+
message: args.gitTagMessage || _optionalChain([nxReleaseConfig, 'optionalAccess', _289 => _289.version, 'access', _290 => _290.git, 'access', _291 => _291.tagMessage]),
|
|
85822
|
+
additionalArgs: args.gitTagArgs || _optionalChain([nxReleaseConfig, 'optionalAccess', _292 => _292.version, 'access', _293 => _293.git, 'access', _294 => _294.tagArgs]),
|
|
85779
85823
|
dryRun: args.dryRun,
|
|
85780
85824
|
verbose: args.verbose
|
|
85781
85825
|
});
|
|
@@ -85798,7 +85842,7 @@ async function releaseVersion(config, args) {
|
|
|
85798
85842
|
}
|
|
85799
85843
|
_chunkKK4YC43Scjs.__name.call(void 0, releaseVersion, "releaseVersion");
|
|
85800
85844
|
async function runVersionOnProjects(config, projectGraph, nxJson, args, tree, generatorData, projectNames, releaseGroup, versionData) {
|
|
85801
|
-
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess',
|
|
85845
|
+
const workspaceRoot3 = _nullishCoalesce(_optionalChain([config, 'optionalAccess', _295 => _295.workspaceRoot]), () => ( _chunkKX7Y62QYcjs.findWorkspaceRoot.call(void 0, )));
|
|
85802
85846
|
const generatorOptions = {
|
|
85803
85847
|
// Always ensure a string to avoid generator schema validation errors
|
|
85804
85848
|
specifier: _nullishCoalesce(args.specifier, () => ( "")),
|
|
@@ -85826,11 +85870,11 @@ function printAndFlushChanges2(config, tree, isDryRun) {
|
|
|
85826
85870
|
for (const f of changes) {
|
|
85827
85871
|
if (f.type === "CREATE") {
|
|
85828
85872
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, `CREATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
|
|
85829
|
-
_printchangesjs.printDiff.call(void 0, "", _optionalChain([f, 'access',
|
|
85873
|
+
_printchangesjs.printDiff.call(void 0, "", _optionalChain([f, 'access', _296 => _296.content, 'optionalAccess', _297 => _297.toString, 'call', _298 => _298()]) || "");
|
|
85830
85874
|
} else if (f.type === "UPDATE") {
|
|
85831
85875
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, `UPDATE ${f.path}${isDryRun ? " [dry-run]" : ""}`, config);
|
|
85832
85876
|
const currentContentsOnDisk = _fs.readFileSync.call(void 0, (0, import_devkit.joinPathFragments)(tree.root, f.path)).toString();
|
|
85833
|
-
_printchangesjs.printDiff.call(void 0, currentContentsOnDisk, _optionalChain([f, 'access',
|
|
85877
|
+
_printchangesjs.printDiff.call(void 0, currentContentsOnDisk, _optionalChain([f, 'access', _299 => _299.content, 'optionalAccess', _300 => _300.toString, 'call', _301 => _301()]) || "");
|
|
85834
85878
|
} else if (f.type === "DELETE") {
|
|
85835
85879
|
throw new Error("Unexpected DELETE change, please report this as an issue");
|
|
85836
85880
|
}
|
|
@@ -85909,9 +85953,9 @@ var runRelease = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (co
|
|
|
85909
85953
|
- From: ${from}
|
|
85910
85954
|
- To: ${to}
|
|
85911
85955
|
`, config);
|
|
85912
|
-
if (_optionalChain([nxJson, 'access',
|
|
85956
|
+
if (_optionalChain([nxJson, 'access', _302 => _302.release, 'optionalAccess', _303 => _303.groups])) {
|
|
85913
85957
|
nxJson.release.groups = Object.keys(nxJson.release.groups).reduce((ret, groupName) => {
|
|
85914
|
-
const groupConfig = _optionalChain([nxJson, 'access',
|
|
85958
|
+
const groupConfig = _optionalChain([nxJson, 'access', _304 => _304.release, 'optionalAccess', _305 => _305.groups, 'optionalAccess', _306 => _306[groupName]]);
|
|
85915
85959
|
ret[groupName] = _chunkP2CHIYIKcjs.defu.call(void 0, groupConfig, DEFAULT_RELEASE_GROUP_CONFIG);
|
|
85916
85960
|
return ret;
|
|
85917
85961
|
}, {});
|
|
@@ -85929,12 +85973,11 @@ var runRelease = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (co
|
|
|
85929
85973
|
deleteVersionPlans: false,
|
|
85930
85974
|
stageChanges: true,
|
|
85931
85975
|
gitCommit: false,
|
|
85932
|
-
gitTag: false,
|
|
85933
85976
|
nxReleaseConfig
|
|
85934
85977
|
});
|
|
85935
85978
|
await releaseChangelog({
|
|
85936
85979
|
...options,
|
|
85937
|
-
version: _optionalChain([nxReleaseConfig, 'optionalAccess',
|
|
85980
|
+
version: _optionalChain([nxReleaseConfig, 'optionalAccess', _307 => _307.projectsRelationship]) !== "fixed" ? void 0 : workspaceVersion,
|
|
85938
85981
|
versionData: projectsVersionData,
|
|
85939
85982
|
dryRun: false,
|
|
85940
85983
|
verbose: _chunkKX7Y62QYcjs.isVerbose.call(void 0, config.logLevel),
|
|
@@ -85947,7 +85990,7 @@ var runRelease = /* @__PURE__ */ _chunkKK4YC43Scjs.__name.call(void 0, async (co
|
|
|
85947
85990
|
if (options.skipPublish) {
|
|
85948
85991
|
_chunkKX7Y62QYcjs.writeWarning.call(void 0, "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.", config);
|
|
85949
85992
|
} else {
|
|
85950
|
-
const changedProjects = Object.keys(projectsVersionData).filter((key) => _optionalChain([projectsVersionData, 'access',
|
|
85993
|
+
const changedProjects = Object.keys(projectsVersionData).filter((key) => _optionalChain([projectsVersionData, 'access', _308 => _308[key], 'optionalAccess', _309 => _309.newVersion]));
|
|
85951
85994
|
if (changedProjects.length > 0) {
|
|
85952
85995
|
_chunkKX7Y62QYcjs.writeInfo.call(void 0, `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
|
|
85953
85996
|
${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
|
|
@@ -85957,12 +86000,12 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
|
|
|
85957
86000
|
dryRun: !!options.dryRun,
|
|
85958
86001
|
verbose: _chunkKX7Y62QYcjs.isVerbose.call(void 0, config.logLevel)
|
|
85959
86002
|
});
|
|
85960
|
-
const failedProjects = Object.keys(result2).filter((key) => _optionalChain([result2, 'access',
|
|
86003
|
+
const failedProjects = Object.keys(result2).filter((key) => _optionalChain([result2, 'access', _310 => _310[key], 'optionalAccess', _311 => _311.code]) && _optionalChain([result2, 'access', _312 => _312[key], 'optionalAccess', _313 => _313.code]) > 0);
|
|
85961
86004
|
if (failedProjects.length > 0) {
|
|
85962
86005
|
throw new Error(`The Storm release process was not completed successfully! One or more errors occured while running the \`nx-release-publish\` executor tasks.
|
|
85963
86006
|
|
|
85964
86007
|
Please review the workflow details for the following project(s):
|
|
85965
|
-
${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${_optionalChain([result2, 'access',
|
|
86008
|
+
${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${_optionalChain([result2, 'access', _314 => _314[failedProject], 'optionalAccess', _315 => _315.code])})`).join("\n")}
|
|
85966
86009
|
`);
|
|
85967
86010
|
}
|
|
85968
86011
|
} else {
|
package/bin/git.js
CHANGED
|
@@ -80893,7 +80893,7 @@ import { createNxReleaseConfig, defaultCreateReleaseProvider, handleNxReleaseCon
|
|
|
80893
80893
|
import { deepMergeJson } from "nx/src/command-line/release/config/deep-merge-json";
|
|
80894
80894
|
import { filterReleaseGroups } from "nx/src/command-line/release/config/filter-release-groups";
|
|
80895
80895
|
import { readRawVersionPlans, setResolvedVersionPlansOnGroups } from "nx/src/command-line/release/config/version-plans";
|
|
80896
|
-
import { getCommitHash, getFirstGitCommit, getGitDiff, getLatestGitTagForPattern, gitAdd, gitPush,
|
|
80896
|
+
import { getCommitHash, getFirstGitCommit, getGitDiff, getLatestGitTagForPattern, gitAdd, gitPush, parseCommits, parseGitCommit } from "nx/src/command-line/release/utils/git";
|
|
80897
80897
|
import { createOrUpdateGithubRelease, getGitHubRepoData } from "nx/src/command-line/release/utils/github";
|
|
80898
80898
|
import { launchEditor } from "nx/src/command-line/release/utils/launch-editor";
|
|
80899
80899
|
import { printAndFlushChanges } from "nx/src/command-line/release/utils/print-changes";
|
|
@@ -80982,6 +80982,44 @@ function parseChangelogMarkdown(contents) {
|
|
|
80982
80982
|
}
|
|
80983
80983
|
__name(parseChangelogMarkdown, "parseChangelogMarkdown");
|
|
80984
80984
|
|
|
80985
|
+
// src/utilities/git-utils.ts
|
|
80986
|
+
init_esm_shims();
|
|
80987
|
+
import { execCommand } from "nx/src/command-line/release/utils/exec-command.js";
|
|
80988
|
+
async function gitTag({ tag, message: message2, additionalArgs, dryRun, verbose, logFn }) {
|
|
80989
|
+
logFn = logFn || console.log;
|
|
80990
|
+
const commandArgs = [
|
|
80991
|
+
"tag",
|
|
80992
|
+
// Create an annotated tag (recommended for releases here: https://git-scm.com/docs/git-tag)
|
|
80993
|
+
"--annotate",
|
|
80994
|
+
"--sign",
|
|
80995
|
+
tag,
|
|
80996
|
+
"--message",
|
|
80997
|
+
message2 || tag
|
|
80998
|
+
];
|
|
80999
|
+
if (additionalArgs) {
|
|
81000
|
+
if (Array.isArray(additionalArgs)) {
|
|
81001
|
+
commandArgs.push(...additionalArgs);
|
|
81002
|
+
} else {
|
|
81003
|
+
commandArgs.push(...additionalArgs.split(" "));
|
|
81004
|
+
}
|
|
81005
|
+
}
|
|
81006
|
+
if (verbose) {
|
|
81007
|
+
logFn(dryRun ? `Would tag the current commit in git with the following command, but --dry-run was set:` : `Tagging the current commit in git with the following command:`);
|
|
81008
|
+
logFn(`git ${commandArgs.join(" ")}`);
|
|
81009
|
+
}
|
|
81010
|
+
if (dryRun) {
|
|
81011
|
+
return "";
|
|
81012
|
+
}
|
|
81013
|
+
try {
|
|
81014
|
+
return await execCommand("git", commandArgs);
|
|
81015
|
+
} catch (err) {
|
|
81016
|
+
throw new Error(`Unexpected error when creating tag ${tag}:
|
|
81017
|
+
|
|
81018
|
+
${err}`);
|
|
81019
|
+
}
|
|
81020
|
+
}
|
|
81021
|
+
__name(gitTag, "gitTag");
|
|
81022
|
+
|
|
80985
81023
|
// src/release/changelog-renderer.ts
|
|
80986
81024
|
init_esm_shims();
|
|
80987
81025
|
|
|
@@ -85470,7 +85508,7 @@ function formatGithubReleaseNotes(releaseVersion2, content, projectName, workspa
|
|
|
85470
85508
|
if (!workspaceConfig) {
|
|
85471
85509
|
return content;
|
|
85472
85510
|
}
|
|
85473
|
-
return `
|
|
85511
|
+
return `
|
|
85474
85512
|
${workspaceConfig.release.header || ""}
|
|
85475
85513
|
|
|
85476
85514
|
# ${projectName ? `${titleCase(projectName)} ` : ""}v${releaseVersion2.rawVersion}
|
|
@@ -85502,6 +85540,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
85502
85540
|
projectsRelationship: "independent",
|
|
85503
85541
|
releaseTagPattern: "{projectName}@{version}",
|
|
85504
85542
|
changelog: {
|
|
85543
|
+
git: {
|
|
85544
|
+
tag: true
|
|
85545
|
+
},
|
|
85505
85546
|
createRelease: "github",
|
|
85506
85547
|
entryWhenNoChanges: false,
|
|
85507
85548
|
file: "{projectRoot}/CHANGELOG.md",
|
|
@@ -85523,6 +85564,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
85523
85564
|
var DEFAULT_RELEASE_CONFIG = {
|
|
85524
85565
|
conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG2,
|
|
85525
85566
|
changelog: {
|
|
85567
|
+
git: {
|
|
85568
|
+
tag: true
|
|
85569
|
+
},
|
|
85526
85570
|
automaticFromRef: true,
|
|
85527
85571
|
workspaceChangelog: false,
|
|
85528
85572
|
projectChangelogs: {
|
|
@@ -85557,7 +85601,7 @@ import { getGeneratorInformation } from "nx/src/command-line/generate/generator-
|
|
|
85557
85601
|
import { createNxReleaseConfig as createNxReleaseConfig2, handleNxReleaseConfigError as handleNxReleaseConfigError2 } from "nx/src/command-line/release/config/config.js";
|
|
85558
85602
|
import { filterReleaseGroups as filterReleaseGroups2 } from "nx/src/command-line/release/config/filter-release-groups.js";
|
|
85559
85603
|
import { batchProjectsByGeneratorConfig } from "nx/src/command-line/release/utils/batch-projects-by-generator-config.js";
|
|
85560
|
-
import { gitAdd as gitAdd2
|
|
85604
|
+
import { gitAdd as gitAdd2 } from "nx/src/command-line/release/utils/git.js";
|
|
85561
85605
|
import { printDiff } from "nx/src/command-line/release/utils/print-changes.js";
|
|
85562
85606
|
import { resolveNxJsonConfigErrorMessage as resolveNxJsonConfigErrorMessage2 } from "nx/src/command-line/release/utils/resolve-nx-json-error-message.js";
|
|
85563
85607
|
import { commitChanges as commitChanges2, createCommitMessageValues as createCommitMessageValues2, createGitTagValues as createGitTagValues2, handleDuplicateGitTags as handleDuplicateGitTags2 } from "nx/src/command-line/release/utils/shared.js";
|
|
@@ -85676,7 +85720,7 @@ async function releaseVersion(config, args) {
|
|
|
85676
85720
|
if (args.gitTag ?? nxReleaseConfig?.version.git.tag) {
|
|
85677
85721
|
writeInfo("Tagging commit with git", config);
|
|
85678
85722
|
for (const tag of gitTagValues2) {
|
|
85679
|
-
await
|
|
85723
|
+
await gitTag({
|
|
85680
85724
|
tag,
|
|
85681
85725
|
message: args.gitTagMessage || nxReleaseConfig?.version.git.tagMessage,
|
|
85682
85726
|
additionalArgs: args.gitTagArgs || nxReleaseConfig?.version.git.tagArgs,
|
|
@@ -85771,7 +85815,7 @@ async function releaseVersion(config, args) {
|
|
|
85771
85815
|
if (args.gitTag ?? nxReleaseConfig?.version.git.tag) {
|
|
85772
85816
|
writeInfo("Tagging commit with git", config);
|
|
85773
85817
|
for (const tag of gitTagValues) {
|
|
85774
|
-
await
|
|
85818
|
+
await gitTag({
|
|
85775
85819
|
tag,
|
|
85776
85820
|
message: args.gitTagMessage || nxReleaseConfig?.version.git.tagMessage,
|
|
85777
85821
|
additionalArgs: args.gitTagArgs || nxReleaseConfig?.version.git.tagArgs,
|
|
@@ -85928,7 +85972,6 @@ var runRelease = /* @__PURE__ */ __name(async (config, options) => {
|
|
|
85928
85972
|
deleteVersionPlans: false,
|
|
85929
85973
|
stageChanges: true,
|
|
85930
85974
|
gitCommit: false,
|
|
85931
|
-
gitTag: false,
|
|
85932
85975
|
nxReleaseConfig
|
|
85933
85976
|
});
|
|
85934
85977
|
await releaseChangelog({
|
|
@@ -12,6 +12,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
12
12
|
projectsRelationship: "independent",
|
|
13
13
|
releaseTagPattern: "{projectName}@{version}",
|
|
14
14
|
changelog: {
|
|
15
|
+
git: {
|
|
16
|
+
tag: true
|
|
17
|
+
},
|
|
15
18
|
createRelease: "github",
|
|
16
19
|
entryWhenNoChanges: false,
|
|
17
20
|
file: "{projectRoot}/CHANGELOG.md",
|
|
@@ -33,6 +36,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
33
36
|
var DEFAULT_RELEASE_CONFIG = {
|
|
34
37
|
conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
35
38
|
changelog: {
|
|
39
|
+
git: {
|
|
40
|
+
tag: true
|
|
41
|
+
},
|
|
36
42
|
automaticFromRef: true,
|
|
37
43
|
workspaceChangelog: false,
|
|
38
44
|
projectChangelogs: {
|
|
@@ -12,6 +12,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
12
12
|
projectsRelationship: "independent",
|
|
13
13
|
releaseTagPattern: "{projectName}@{version}",
|
|
14
14
|
changelog: {
|
|
15
|
+
git: {
|
|
16
|
+
tag: true
|
|
17
|
+
},
|
|
15
18
|
createRelease: "github",
|
|
16
19
|
entryWhenNoChanges: false,
|
|
17
20
|
file: "{projectRoot}/CHANGELOG.md",
|
|
@@ -33,6 +36,9 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
|
|
|
33
36
|
var DEFAULT_RELEASE_CONFIG = {
|
|
34
37
|
conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG,
|
|
35
38
|
changelog: {
|
|
39
|
+
git: {
|
|
40
|
+
tag: true
|
|
41
|
+
},
|
|
36
42
|
automaticFromRef: true,
|
|
37
43
|
workspaceChangelog: false,
|
|
38
44
|
projectChangelogs: {
|
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var _chunkYCY2PJXXcjs = require('./chunk-YCY2PJXX.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkPDBBNGUQcjs = require('./chunk-PDBBNGUQ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -25,4 +25,4 @@ var _chunkWZADZNEIcjs = require('./chunk-WZADZNEI.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
exports.DEFAULT_COMMIT_CONFIG = _chunkYCY2PJXXcjs.DEFAULT_COMMIT_CONFIG; exports.DEFAULT_COMMIT_MESSAGE_FORMAT = _chunkWZADZNEIcjs.DEFAULT_COMMIT_MESSAGE_FORMAT; exports.DEFAULT_COMMIT_PROMPT_MESSAGES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_PROMPT_MESSAGES; exports.DEFAULT_COMMIT_QUESTIONS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_QUESTIONS; exports.DEFAULT_COMMIT_SETTINGS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_SETTINGS; exports.DEFAULT_COMMIT_TYPES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_TYPES; exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG =
|
|
28
|
+
exports.DEFAULT_COMMIT_CONFIG = _chunkYCY2PJXXcjs.DEFAULT_COMMIT_CONFIG; exports.DEFAULT_COMMIT_MESSAGE_FORMAT = _chunkWZADZNEIcjs.DEFAULT_COMMIT_MESSAGE_FORMAT; exports.DEFAULT_COMMIT_PROMPT_MESSAGES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_PROMPT_MESSAGES; exports.DEFAULT_COMMIT_QUESTIONS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_QUESTIONS; exports.DEFAULT_COMMIT_SETTINGS = _chunkWZADZNEIcjs.DEFAULT_COMMIT_SETTINGS; exports.DEFAULT_COMMIT_TYPES = _chunkWZADZNEIcjs.DEFAULT_COMMIT_TYPES; exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkPDBBNGUQcjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_CONFIG = _chunkPDBBNGUQcjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkPDBBNGUQcjs.DEFAULT_RELEASE_GROUP_CONFIG; exports.RuleConfigSeverity = _chunkWZADZNEIcjs.RuleConfigSeverity;
|
package/dist/index.js
CHANGED
|
@@ -127,7 +127,7 @@ specification. Contributions of any kind welcome!
|
|
|
127
127
|
</div>
|
|
128
128
|
|
|
129
129
|
<div align="center">
|
|
130
|
-
<b>Fingerprint:</b>
|
|
130
|
+
<b>Fingerprint:</b> F47F 1853 BCAD DE9B 42C8 6316 9FDE EC95 47FE D106
|
|
131
131
|
</div>
|
|
132
132
|
<br />
|
|
133
133
|
|
package/dist/release/config.cjs
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkPDBBNGUQcjs = require('../chunk-PDBBNGUQ.cjs');
|
|
6
6
|
require('../chunk-WZADZNEI.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG =
|
|
11
|
+
exports.DEFAULT_CONVENTIONAL_COMMITS_CONFIG = _chunkPDBBNGUQcjs.DEFAULT_CONVENTIONAL_COMMITS_CONFIG; exports.DEFAULT_RELEASE_CONFIG = _chunkPDBBNGUQcjs.DEFAULT_RELEASE_CONFIG; exports.DEFAULT_RELEASE_GROUP_CONFIG = _chunkPDBBNGUQcjs.DEFAULT_RELEASE_GROUP_CONFIG;
|
|
@@ -334,6 +334,9 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
|
|
|
334
334
|
projectsRelationship: string;
|
|
335
335
|
releaseTagPattern: string;
|
|
336
336
|
changelog: {
|
|
337
|
+
git: {
|
|
338
|
+
tag: boolean;
|
|
339
|
+
};
|
|
337
340
|
createRelease: string;
|
|
338
341
|
entryWhenNoChanges: boolean;
|
|
339
342
|
file: string;
|
|
@@ -682,6 +685,9 @@ declare const DEFAULT_RELEASE_CONFIG: {
|
|
|
682
685
|
};
|
|
683
686
|
};
|
|
684
687
|
changelog: {
|
|
688
|
+
git: {
|
|
689
|
+
tag: boolean;
|
|
690
|
+
};
|
|
685
691
|
automaticFromRef: boolean;
|
|
686
692
|
workspaceChangelog: boolean;
|
|
687
693
|
projectChangelogs: {
|
package/dist/release/config.d.ts
CHANGED
|
@@ -334,6 +334,9 @@ declare const DEFAULT_RELEASE_GROUP_CONFIG: {
|
|
|
334
334
|
projectsRelationship: string;
|
|
335
335
|
releaseTagPattern: string;
|
|
336
336
|
changelog: {
|
|
337
|
+
git: {
|
|
338
|
+
tag: boolean;
|
|
339
|
+
};
|
|
337
340
|
createRelease: string;
|
|
338
341
|
entryWhenNoChanges: boolean;
|
|
339
342
|
file: string;
|
|
@@ -682,6 +685,9 @@ declare const DEFAULT_RELEASE_CONFIG: {
|
|
|
682
685
|
};
|
|
683
686
|
};
|
|
684
687
|
changelog: {
|
|
688
|
+
git: {
|
|
689
|
+
tag: boolean;
|
|
690
|
+
};
|
|
685
691
|
automaticFromRef: boolean;
|
|
686
692
|
workspaceChangelog: boolean;
|
|
687
693
|
projectChangelogs: {
|
package/dist/release/config.js
CHANGED