@storm-software/git-tools 2.131.128 → 2.131.129

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 (71) hide show
  1. package/bin/{chunk-NG23E43K.js → chunk-4PYFQEVV.js} +3 -3
  2. package/bin/{chunk-NG23E43K.js.map → chunk-4PYFQEVV.js.map} +1 -1
  3. package/bin/{chunk-TOLGVHZM.cjs → chunk-5N5WKPFP.cjs} +2 -2
  4. package/bin/{chunk-TOLGVHZM.cjs.map → chunk-5N5WKPFP.cjs.map} +1 -1
  5. package/bin/{chunk-SHH572XU.js → chunk-6QIXTOH3.js} +3 -3
  6. package/bin/{chunk-SHH572XU.js.map → chunk-6QIXTOH3.js.map} +1 -1
  7. package/bin/{chunk-WUN4N3D7.js → chunk-7QTKVCXH.js} +3 -3
  8. package/bin/{chunk-WUN4N3D7.js.map → chunk-7QTKVCXH.js.map} +1 -1
  9. package/bin/{chunk-FOMBLMLH.js → chunk-BB4W6BYT.js} +2 -2
  10. package/bin/{chunk-FOMBLMLH.js.map → chunk-BB4W6BYT.js.map} +1 -1
  11. package/bin/{chunk-A5X7CY3W.js → chunk-CTZZFGE5.js} +3 -3
  12. package/bin/{chunk-A5X7CY3W.js.map → chunk-CTZZFGE5.js.map} +1 -1
  13. package/bin/{chunk-GT7HITVF.cjs → chunk-GVDRZBZ6.cjs} +4 -4
  14. package/bin/{chunk-GT7HITVF.cjs.map → chunk-GVDRZBZ6.cjs.map} +1 -1
  15. package/bin/{chunk-AOZSGQGA.js → chunk-IAPT5G4H.js} +3 -3
  16. package/bin/{chunk-AOZSGQGA.js.map → chunk-IAPT5G4H.js.map} +1 -1
  17. package/bin/{chunk-IIH7F7OZ.js → chunk-NMEHIDW7.js} +3 -3
  18. package/bin/{chunk-IIH7F7OZ.js.map → chunk-NMEHIDW7.js.map} +1 -1
  19. package/bin/{chunk-ZJN2D7NE.cjs → chunk-NPQDZF7C.cjs} +4 -4
  20. package/bin/{chunk-ZJN2D7NE.cjs.map → chunk-NPQDZF7C.cjs.map} +1 -1
  21. package/bin/{chunk-SZFP3TKI.cjs → chunk-Q5KDQ5YL.cjs} +4 -4
  22. package/bin/{chunk-SZFP3TKI.cjs.map → chunk-Q5KDQ5YL.cjs.map} +1 -1
  23. package/bin/{chunk-ML5MZIGJ.cjs → chunk-RMBYK2PG.cjs} +5 -5
  24. package/bin/{chunk-ML5MZIGJ.cjs.map → chunk-RMBYK2PG.cjs.map} +1 -1
  25. package/bin/{chunk-JYYYVLIU.cjs → chunk-TTSXYT7W.cjs} +4 -4
  26. package/bin/{chunk-JYYYVLIU.cjs.map → chunk-TTSXYT7W.cjs.map} +1 -1
  27. package/bin/{chunk-IHDSESSE.cjs → chunk-U3US7IBH.cjs} +4 -4
  28. package/bin/{chunk-IHDSESSE.cjs.map → chunk-U3US7IBH.cjs.map} +1 -1
  29. package/bin/{chunk-QBI7KQ6A.cjs → chunk-XVVRI3DK.cjs} +6 -6
  30. package/bin/{chunk-QBI7KQ6A.cjs.map → chunk-XVVRI3DK.cjs.map} +1 -1
  31. package/bin/{chunk-JBHMFR7F.js → chunk-ZPPKYVIH.js} +3 -3
  32. package/bin/{chunk-JBHMFR7F.js.map → chunk-ZPPKYVIH.js.map} +1 -1
  33. package/bin/git.cjs +145 -145
  34. package/bin/git.js +8 -8
  35. package/bin/post-checkout.cjs +7 -7
  36. package/bin/post-checkout.js +2 -2
  37. package/bin/post-commit.cjs +7 -7
  38. package/bin/post-commit.js +2 -2
  39. package/bin/post-merge.cjs +7 -7
  40. package/bin/post-merge.js +2 -2
  41. package/bin/pre-commit.cjs +7 -7
  42. package/bin/pre-commit.js +2 -2
  43. package/bin/pre-install.cjs +7 -7
  44. package/bin/pre-install.js +2 -2
  45. package/bin/pre-push.cjs +7 -7
  46. package/bin/pre-push.js +2 -2
  47. package/bin/prepare.cjs +7 -7
  48. package/bin/prepare.js +2 -2
  49. package/bin/version-warning.cjs +5 -5
  50. package/bin/version-warning.js +1 -1
  51. package/dist/{chunk-52Z6PKZI.js → chunk-5AHFCU2Z.js} +1 -1
  52. package/dist/{chunk-OMWWQPRY.js → chunk-F22OVP2A.js} +2 -2
  53. package/dist/{chunk-RIPABM45.cjs → chunk-GFCNZUMY.cjs} +9 -9
  54. package/dist/{chunk-U5IGP2SZ.cjs → chunk-TEL5N7KI.cjs} +2 -2
  55. package/dist/commit/minimal.cjs +4 -4
  56. package/dist/commit/minimal.js +2 -2
  57. package/dist/commit/monorepo.cjs +5 -5
  58. package/dist/commit/monorepo.js +3 -3
  59. package/dist/index.cjs +39 -39
  60. package/dist/index.js +10 -10
  61. package/dist/release/config.cjs +21 -21
  62. package/dist/release/config.js +4 -4
  63. package/package.json +16 -16
  64. package/dist/{chunk-XS6PFVQQ.js → chunk-2YWPEDFN.js} +1 -1
  65. package/dist/{chunk-OABXW2AI.js → chunk-5GF6UCF2.js} +1 -1
  66. package/dist/{chunk-LXXJEGUX.cjs → chunk-5UUCFSHA.cjs} +1 -1
  67. package/dist/{chunk-PBGCSXPL.js → chunk-7IP42CZC.js} +1 -1
  68. package/dist/{chunk-WRSI3KUJ.cjs → chunk-HBZTKU5M.cjs} +1 -1
  69. package/dist/{chunk-NPCVH6FC.js → chunk-HEEBBIWA.js} +1 -1
  70. package/dist/{chunk-SHNYRICK.cjs → chunk-J6OZPTPD.cjs} +1 -1
  71. package/dist/{chunk-ZYMWVRAL.cjs → chunk-RWLJU2S2.cjs} +1 -1
package/bin/git.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkIHDSESSE_cjs = require('./chunk-IHDSESSE.cjs');
5
- var chunkGT7HITVF_cjs = require('./chunk-GT7HITVF.cjs');
6
- var chunkSZFP3TKI_cjs = require('./chunk-SZFP3TKI.cjs');
7
- var chunkZJN2D7NE_cjs = require('./chunk-ZJN2D7NE.cjs');
8
- require('./chunk-ML5MZIGJ.cjs');
9
- var chunkQBI7KQ6A_cjs = require('./chunk-QBI7KQ6A.cjs');
4
+ var chunkU3US7IBH_cjs = require('./chunk-U3US7IBH.cjs');
5
+ var chunkGVDRZBZ6_cjs = require('./chunk-GVDRZBZ6.cjs');
6
+ var chunkQ5KDQ5YL_cjs = require('./chunk-Q5KDQ5YL.cjs');
7
+ var chunkNPQDZF7C_cjs = require('./chunk-NPQDZF7C.cjs');
8
+ require('./chunk-RMBYK2PG.cjs');
9
+ var chunkXVVRI3DK_cjs = require('./chunk-XVVRI3DK.cjs');
10
10
  require('./chunk-SP3UCTLI.cjs');
11
- var chunkJYYYVLIU_cjs = require('./chunk-JYYYVLIU.cjs');
11
+ var chunkTTSXYT7W_cjs = require('./chunk-TTSXYT7W.cjs');
12
12
  var chunkMTAYUS7E_cjs = require('./chunk-MTAYUS7E.cjs');
13
- var chunkTOLGVHZM_cjs = require('./chunk-TOLGVHZM.cjs');
13
+ var chunk5N5WKPFP_cjs = require('./chunk-5N5WKPFP.cjs');
14
14
  var TOML = require('@ltd/j-toml');
15
15
  var commander = require('commander');
16
16
  var prompts = require('@inquirer/prompts');
@@ -415,7 +415,7 @@ function getRuleFromScopeEnum(scopeEnum) {
415
415
 
416
416
  // ../conventional-changelog/src/index.ts
417
417
  async function createPreset(variant = "monorepo") {
418
- const workspaceConfig = await chunkTOLGVHZM_cjs.getWorkspaceConfig();
418
+ const workspaceConfig = await chunk5N5WKPFP_cjs.getWorkspaceConfig();
419
419
  if (variant === "minimal") {
420
420
  return defu3__default.default(
421
421
  await createBasePreset__default.default({ ...COMMIT_CONFIGS.minimal.changelogs.props }),
@@ -995,7 +995,7 @@ async function lint(message, config5) {
995
995
  // src/commitlint/run.ts
996
996
  var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
997
997
  async function runCommitLint(workspaceConfig, options) {
998
- chunkTOLGVHZM_cjs.writeInfo(
998
+ chunk5N5WKPFP_cjs.writeInfo(
999
999
  "\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
1000
1000
  workspaceConfig
1001
1001
  );
@@ -1003,7 +1003,7 @@ async function runCommitLint(workspaceConfig, options) {
1003
1003
  if (options.message && options.message !== COMMIT_EDITMSG_PATH) {
1004
1004
  commitMessage = options.message;
1005
1005
  } else {
1006
- const commitFile = chunkTOLGVHZM_cjs.joinPaths(
1006
+ const commitFile = chunk5N5WKPFP_cjs.joinPaths(
1007
1007
  workspaceConfig.workspaceRoot,
1008
1008
  options.file || options.message || COMMIT_EDITMSG_PATH
1009
1009
  );
@@ -1020,17 +1020,17 @@ async function runCommitLint(workspaceConfig, options) {
1020
1020
  if (upstreamRemote) {
1021
1021
  const upstreamRemoteIdentifier = upstreamRemote.split(" ")[0]?.trim();
1022
1022
  if (!upstreamRemoteIdentifier) {
1023
- chunkTOLGVHZM_cjs.writeWarning(
1023
+ chunk5N5WKPFP_cjs.writeWarning(
1024
1024
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison.`,
1025
1025
  workspaceConfig
1026
1026
  );
1027
1027
  return;
1028
1028
  }
1029
- chunkTOLGVHZM_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1029
+ chunk5N5WKPFP_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1030
1030
  const currentBranch = childProcess__default.default.execSync("git branch --show-current").toString().trim();
1031
1031
  gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
1032
1032
  } else {
1033
- chunkTOLGVHZM_cjs.writeWarning(
1033
+ chunk5N5WKPFP_cjs.writeWarning(
1034
1034
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison against upstream main.`,
1035
1035
  workspaceConfig
1036
1036
  );
@@ -1038,7 +1038,7 @@ async function runCommitLint(workspaceConfig, options) {
1038
1038
  }
1039
1039
  commitMessage = childProcess__default.default.execSync(gitLogCmd).toString().trim();
1040
1040
  if (!commitMessage) {
1041
- chunkTOLGVHZM_cjs.writeWarning(
1041
+ chunk5N5WKPFP_cjs.writeWarning(
1042
1042
  "No commits found. Skipping commit message validation.",
1043
1043
  workspaceConfig
1044
1044
  );
@@ -1048,7 +1048,7 @@ async function runCommitLint(workspaceConfig, options) {
1048
1048
  const preset = await createPreset(workspaceConfig.variant);
1049
1049
  const report = await lint(commitMessage, preset);
1050
1050
  if (!preset.commitlint.regex.test(commitMessage) || report.errors.length || report.warnings.length) {
1051
- chunkTOLGVHZM_cjs.writeSuccess(
1051
+ chunk5N5WKPFP_cjs.writeSuccess(
1052
1052
  `Commit was processing completed successfully!`,
1053
1053
  workspaceConfig
1054
1054
  );
@@ -1260,7 +1260,7 @@ async function createState(workspaceConfig, configPath) {
1260
1260
  const project = projectConfigurations.projects[scope];
1261
1261
  if (project) {
1262
1262
  let description = `${project.name} - ${project.root}`;
1263
- const packageJsonPath = chunkTOLGVHZM_cjs.joinPaths(project.root, "package.json");
1263
+ const packageJsonPath = chunk5N5WKPFP_cjs.joinPaths(project.root, "package.json");
1264
1264
  if (fs$1.existsSync(packageJsonPath)) {
1265
1265
  const packageJsonFile = await fs.readFile(packageJsonPath, "utf8");
1266
1266
  const packageJson = JSON.parse(packageJsonFile);
@@ -1334,19 +1334,19 @@ ${closedIssueEmoji}${config5.settings.closedIssueMessage}${issues}`;
1334
1334
 
1335
1335
  // src/commit/run.ts
1336
1336
  async function runCommit(commitizenFile, dryRun = false) {
1337
- const workspaceConfig = await chunkTOLGVHZM_cjs.getWorkspaceConfig();
1337
+ const workspaceConfig = await chunk5N5WKPFP_cjs.getWorkspaceConfig();
1338
1338
  const state = await createState(workspaceConfig);
1339
1339
  if (dryRun) {
1340
- chunkTOLGVHZM_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1340
+ chunk5N5WKPFP_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1341
1341
  }
1342
1342
  console.log(
1343
1343
  chalk2__default.default.bold.hex("#4b585b")("----------------------------------------") + "\n" + chalk2__default.default.bold.hex("#FFFFFF")(
1344
- ` ${chunkTOLGVHZM_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit`
1344
+ ` ${chunk5N5WKPFP_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit`
1345
1345
  ) + "\n" + chalk2__default.default.hex("#9ca8ab")("Please provide the requested details below...") + "\n"
1346
1346
  );
1347
1347
  state.answers = await askQuestions(state);
1348
1348
  const message = formatCommitMessage(state, workspaceConfig);
1349
- const commitMsgFile = chunkTOLGVHZM_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1349
+ const commitMsgFile = chunk5N5WKPFP_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1350
1350
  console.log(
1351
1351
  chalk2__default.default.bold.hex("#4b585b")("----------------------------------------") + `
1352
1352
 
@@ -1363,11 +1363,11 @@ ${chalk2__default.default.bold.hex("#FFFFFF")("Git-Commit File")}${chalk2__defau
1363
1363
  commandItems.push(...["--file", commitMsgFile]);
1364
1364
  const command = shellescape__default.default(commandItems);
1365
1365
  if (dryRun) {
1366
- chunkTOLGVHZM_cjs.writeDebug(
1366
+ chunk5N5WKPFP_cjs.writeDebug(
1367
1367
  `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
1368
1368
  workspaceConfig
1369
1369
  );
1370
- chunkTOLGVHZM_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1370
+ chunk5N5WKPFP_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1371
1371
  } else {
1372
1372
  await fs__default.default.writeFile(commitMsgFile, message);
1373
1373
  chunkMTAYUS7E_cjs.run(workspaceConfig, command);
@@ -2028,7 +2028,7 @@ var runReadme = async ({
2028
2028
  exitOnError: true
2029
2029
  });
2030
2030
  const projectConfigs = projectGraph.readProjectsConfigurationFromProjectGraph(projectGraph$1);
2031
- const workspaceRoot = chunkTOLGVHZM_cjs.findWorkspaceRootSafe(process.cwd());
2031
+ const workspaceRoot = chunk5N5WKPFP_cjs.findWorkspaceRootSafe(process.cwd());
2032
2032
  if (!workspaceRoot) {
2033
2033
  throw new Error(
2034
2034
  "Unable to find the workspace root. Please ensure you are running this command from within a workspace."
@@ -2445,7 +2445,7 @@ async function generateChangelogContent(releaseVersion, filepath, newContent, cu
2445
2445
  const header = await prettier.format(
2446
2446
  `![${(typeof workspaceConfig?.release.banner === "string" ? workspaceConfig.organization ? titleCase(
2447
2447
  typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name
2448
- ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunkTOLGVHZM_cjs.STORM_DEFAULT_RELEASE_BANNER})
2448
+ ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunk5N5WKPFP_cjs.STORM_DEFAULT_RELEASE_BANNER})
2449
2449
 
2450
2450
  # Changelog ${project || workspaceConfig?.name ? "for" : ""}${workspaceConfig?.name ? ` ${titleCase(workspaceConfig.name)}` : ""}${project ? `${workspaceConfig?.name ? " -" : ""} ${titleCase(project)}` : ""}
2451
2451
 
@@ -2621,12 +2621,12 @@ async function generateChangelogForProjects({
2621
2621
  projectChangelogs
2622
2622
  )) {
2623
2623
  if (!projectGraph.nodes[projectName]?.data.root) {
2624
- chunkTOLGVHZM_cjs.writeWarning(
2624
+ chunk5N5WKPFP_cjs.writeWarning(
2625
2625
  `A changelog was generated for ${projectName}, but it could not be found in the project graph. Skipping writing changelog file.`,
2626
2626
  workspaceConfig
2627
2627
  );
2628
2628
  } else if (projectChangelog.contents) {
2629
- const filePath = chunkTOLGVHZM_cjs.joinPaths(
2629
+ const filePath = chunk5N5WKPFP_cjs.joinPaths(
2630
2630
  projectGraph.nodes[projectName].data.root,
2631
2631
  "CHANGELOG.md"
2632
2632
  );
@@ -2634,7 +2634,7 @@ async function generateChangelogForProjects({
2634
2634
  if (fs$1.existsSync(filePath)) {
2635
2635
  currentContent = await fs.readFile(filePath, "utf8");
2636
2636
  }
2637
- chunkTOLGVHZM_cjs.writeDebug(
2637
+ chunk5N5WKPFP_cjs.writeDebug(
2638
2638
  `\u270D\uFE0F Writing changelog for project ${projectName} to ${filePath}`,
2639
2639
  workspaceConfig
2640
2640
  );
@@ -2852,12 +2852,12 @@ async function getLatestGitTagForPattern(workspaceConfig, releaseTagPattern, add
2852
2852
  if (!matchingTags.length) {
2853
2853
  return null;
2854
2854
  }
2855
- chunkTOLGVHZM_cjs.writeDebug(
2855
+ chunk5N5WKPFP_cjs.writeDebug(
2856
2856
  `Found ${matchingTags.length} matching tags out of ${tags.length} total tags for release tag pattern "${releaseTagPattern}" (Interpolated tag pattern: ${interpolatedTagPattern})`,
2857
2857
  workspaceConfig
2858
2858
  );
2859
2859
  if (!strictPreid) {
2860
- chunkTOLGVHZM_cjs.writeTrace(
2860
+ chunk5N5WKPFP_cjs.writeTrace(
2861
2861
  `Not using strict preid, will use the greatest matching tag of project "${additionalInterpolationData.projectName}"`,
2862
2862
  workspaceConfig
2863
2863
  );
@@ -2869,7 +2869,7 @@ async function getLatestGitTagForPattern(workspaceConfig, releaseTagPattern, add
2869
2869
  const [, version] = matches;
2870
2870
  return version && !shared.isPrerelease(version);
2871
2871
  });
2872
- chunkTOLGVHZM_cjs.writeDebug(
2872
+ chunk5N5WKPFP_cjs.writeDebug(
2873
2873
  `Found ${stableReleaseTags.length} stable tags for release tag pattern "${releaseTagPattern}" (Interpolated tag pattern: ${interpolatedTagPattern})`,
2874
2874
  workspaceConfig
2875
2875
  );
@@ -2880,7 +2880,7 @@ async function getLatestGitTagForPattern(workspaceConfig, releaseTagPattern, add
2880
2880
  const version = match.find((part) => part.match(SEMVER_REGEX));
2881
2881
  return version && version.includes(`-${preid}.`);
2882
2882
  });
2883
- chunkTOLGVHZM_cjs.writeDebug(
2883
+ chunk5N5WKPFP_cjs.writeDebug(
2884
2884
  `Found ${preidReleaseTags.length} preid tags for release tag pattern "${releaseTagPattern}" (Interpolated tag pattern: ${interpolatedTagPattern})`,
2885
2885
  workspaceConfig
2886
2886
  );
@@ -2889,12 +2889,12 @@ async function getLatestGitTagForPattern(workspaceConfig, releaseTagPattern, add
2889
2889
  const stableResult = compareTags(stableReleaseTags, tagRegexp, options);
2890
2890
  const preidBaseVersion = semver.coerce(preidResult.extractedVersion)?.version;
2891
2891
  const stableVersion = semver.coerce(stableResult.extractedVersion)?.version;
2892
- chunkTOLGVHZM_cjs.writeDebug(
2892
+ chunk5N5WKPFP_cjs.writeDebug(
2893
2893
  `Extracted preid version: ${preidBaseVersion} and stable version: ${stableVersion} for release tag pattern "${releaseTagPattern}" (Interpolated tag pattern: ${interpolatedTagPattern})`,
2894
2894
  workspaceConfig
2895
2895
  );
2896
2896
  if (preidBaseVersion && stableVersion && semver.gte(stableVersion, preidBaseVersion)) {
2897
- chunkTOLGVHZM_cjs.writeDebug(
2897
+ chunk5N5WKPFP_cjs.writeDebug(
2898
2898
  `Using latest stable tag for release tag pattern "${releaseTagPattern}" (Interpolated tag pattern: ${interpolatedTagPattern}) because its version (${stableVersion}) is greater than or equal to the base version of the latest preid tag (${preidBaseVersion})`,
2899
2899
  workspaceConfig
2900
2900
  );
@@ -2903,7 +2903,7 @@ async function getLatestGitTagForPattern(workspaceConfig, releaseTagPattern, add
2903
2903
  return preidResult;
2904
2904
  }
2905
2905
  if (preidReleaseTags.length > 0) {
2906
- chunkTOLGVHZM_cjs.writeDebug(
2906
+ chunk5N5WKPFP_cjs.writeDebug(
2907
2907
  `Using latest preid tag for release tag pattern "${releaseTagPattern}" (Interpolated tag pattern: ${interpolatedTagPattern})`,
2908
2908
  workspaceConfig
2909
2909
  );
@@ -2911,7 +2911,7 @@ async function getLatestGitTagForPattern(workspaceConfig, releaseTagPattern, add
2911
2911
  }
2912
2912
  }
2913
2913
  if (stableReleaseTags.length > 0) {
2914
- chunkTOLGVHZM_cjs.writeDebug(
2914
+ chunk5N5WKPFP_cjs.writeDebug(
2915
2915
  `Using latest stable tag for release tag pattern "${releaseTagPattern}" (Interpolated tag pattern: ${interpolatedTagPattern})`,
2916
2916
  workspaceConfig
2917
2917
  );
@@ -2965,7 +2965,7 @@ var StormGithubRemoteReleaseClient = class extends github.GithubRemoteReleaseCli
2965
2965
  }
2966
2966
  async createOrUpdateRelease(releaseVersion, changelogContents, latestCommit, { dryRun }) {
2967
2967
  if (!this.workspaceConfig) {
2968
- this.workspaceConfig = await chunkTOLGVHZM_cjs.getWorkspaceConfig();
2968
+ this.workspaceConfig = await chunk5N5WKPFP_cjs.getWorkspaceConfig();
2969
2969
  }
2970
2970
  const name = releaseVersion.gitTag.includes("@") ? releaseVersion.gitTag.replace(new RegExp(`^@${this.workspaceConfig.name}/`), "").replace(/@.*$/, "") : releaseVersion.gitTag;
2971
2971
  return super.createOrUpdateRelease(
@@ -3214,7 +3214,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer__default.def
3214
3214
  }
3215
3215
  async render() {
3216
3216
  if (!this.workspaceConfig) {
3217
- this.workspaceConfig = await chunkTOLGVHZM_cjs.getWorkspaceConfig();
3217
+ this.workspaceConfig = await chunk5N5WKPFP_cjs.getWorkspaceConfig();
3218
3218
  }
3219
3219
  return super.render();
3220
3220
  }
@@ -3583,7 +3583,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3583
3583
  projectGraph.nodes
3584
3584
  );
3585
3585
  if (!matchingProjects.length) {
3586
- chunkTOLGVHZM_cjs.writeWarning(
3586
+ chunk5N5WKPFP_cjs.writeWarning(
3587
3587
  `Release group "${name}" does not have any matching projects.`
3588
3588
  );
3589
3589
  return void 0;
@@ -3603,7 +3603,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3603
3603
  ProjectTagConstants.Language.TAG_ID,
3604
3604
  ProjectTagConstants.Language.TYPESCRIPT
3605
3605
  ) || projectGraph.nodes[project]?.data.metadata?.root && fs$1.existsSync(
3606
- chunkTOLGVHZM_cjs.joinPaths(
3606
+ chunk5N5WKPFP_cjs.joinPaths(
3607
3607
  projectGraph.nodes[project]?.data.metadata?.root,
3608
3608
  "package.json"
3609
3609
  )
@@ -3620,7 +3620,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3620
3620
  ProjectTagConstants.Language.TAG_ID,
3621
3621
  ProjectTagConstants.Language.RUST
3622
3622
  ) || projectGraph.nodes[project]?.data.metadata?.root && fs$1.existsSync(
3623
- chunkTOLGVHZM_cjs.joinPaths(
3623
+ chunk5N5WKPFP_cjs.joinPaths(
3624
3624
  projectGraph.nodes[project]?.data.metadata?.root,
3625
3625
  "Cargo.toml"
3626
3626
  )
@@ -3640,13 +3640,13 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3640
3640
  config5.projects = matchingProjects;
3641
3641
  if (workspaceConfig?.workspaceRoot) {
3642
3642
  if (config5.changelog?.renderer && typeof config5.changelog?.renderer === "string" && config5.changelog?.renderer?.toString().startsWith("./")) {
3643
- config5.changelog.renderer = chunkTOLGVHZM_cjs.joinPaths(
3643
+ config5.changelog.renderer = chunk5N5WKPFP_cjs.joinPaths(
3644
3644
  workspaceConfig.workspaceRoot,
3645
3645
  config5.changelog.renderer
3646
3646
  );
3647
3647
  }
3648
3648
  if (config5.version?.versionActions && config5.version.versionActions.startsWith("./")) {
3649
- config5.version.versionActions = chunkTOLGVHZM_cjs.joinPaths(
3649
+ config5.version.versionActions = chunk5N5WKPFP_cjs.joinPaths(
3650
3650
  workspaceConfig.workspaceRoot,
3651
3651
  config5.version?.versionActions
3652
3652
  );
@@ -3658,7 +3658,7 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3658
3658
  }
3659
3659
  function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNxJsonConfig = false) {
3660
3660
  let nxJson$1 = {};
3661
- if (!ignoreNxJsonConfig && fs$1.existsSync(chunkTOLGVHZM_cjs.joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3661
+ if (!ignoreNxJsonConfig && fs$1.existsSync(chunk5N5WKPFP_cjs.joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3662
3662
  nxJson$1 = nxJson.readNxJson();
3663
3663
  }
3664
3664
  const baseConfig = defu3__default.default(
@@ -3698,7 +3698,7 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
3698
3698
  };
3699
3699
  }
3700
3700
  function formatConfigLog(config5) {
3701
- return chunkTOLGVHZM_cjs.formatLogMessage(config5, {
3701
+ return chunk5N5WKPFP_cjs.formatLogMessage(config5, {
3702
3702
  sort: true,
3703
3703
  skip: ["workspaceConfig", "conventionalCommits"]
3704
3704
  });
@@ -4111,7 +4111,7 @@ var ReleaseGraph = class _ReleaseGraph {
4111
4111
  this.resolveRepositoryTags.bind(this),
4112
4112
  options
4113
4113
  );
4114
- chunkTOLGVHZM_cjs.writeDebug(
4114
+ chunk5N5WKPFP_cjs.writeDebug(
4115
4115
  `Group release tag pattern: ${releaseTagPattern}
4116
4116
  Project release tag pattern: ${projectReleaseTagPattern}
4117
4117
  Group release tag: ${groupReleaseTag?.tag}
@@ -4135,7 +4135,7 @@ Project release tag: ${projectReleaseTag?.tag}`,
4135
4135
  options
4136
4136
  );
4137
4137
  }
4138
- chunkTOLGVHZM_cjs.writeInfo(
4138
+ chunk5N5WKPFP_cjs.writeInfo(
4139
4139
  `Resolved latest matching git tag for "${projectName}": ${latestMatchingGitTag?.tag} (version: ${latestMatchingGitTag?.extractedVersion})`,
4140
4140
  this.workspaceConfig
4141
4141
  );
@@ -4405,7 +4405,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
4405
4405
  constructor(tree, workspaceConfig, projectGraph, nxReleaseConfig, releaseGraph, versionOptions) {
4406
4406
  super(tree, projectGraph, nxReleaseConfig, releaseGraph, {
4407
4407
  dryRun: !!versionOptions.dryRun,
4408
- verbose: versionOptions.verbose || chunkTOLGVHZM_cjs.isVerbose(workspaceConfig.logLevel),
4408
+ verbose: versionOptions.verbose || chunk5N5WKPFP_cjs.isVerbose(workspaceConfig.logLevel),
4409
4409
  firstRelease: !!versionOptions.firstRelease,
4410
4410
  preid: versionOptions.preid ?? workspaceConfig.preid ?? "",
4411
4411
  userGivenSpecifier: versionOptions.specifier,
@@ -4503,7 +4503,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
4503
4503
  deletedFiles: deletedFilesForVersionActions
4504
4504
  } = await afterAllProjectsVersioned(this.#tree.root, {
4505
4505
  dryRun: this.versionOptions.dryRun,
4506
- verbose: this.versionOptions.verbose || chunkTOLGVHZM_cjs.isVerbose(this.workspaceConfig.logLevel),
4506
+ verbose: this.versionOptions.verbose || chunk5N5WKPFP_cjs.isVerbose(this.workspaceConfig.logLevel),
4507
4507
  rootVersionActionsOptions
4508
4508
  });
4509
4509
  for (const file of changedFilesForVersionActions) {
@@ -4536,7 +4536,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
4536
4536
  let handleDockerVersion;
4537
4537
  try {
4538
4538
  const dockerVersionUtilsPath = "@nx/docker/release/version-utils";
4539
- const { handleDockerVersion: _handleDockerVersion } = chunkTOLGVHZM_cjs.__require(dockerVersionUtilsPath);
4539
+ const { handleDockerVersion: _handleDockerVersion } = chunk5N5WKPFP_cjs.__require(dockerVersionUtilsPath);
4540
4540
  handleDockerVersion = _handleDockerVersion;
4541
4541
  } catch (e) {
4542
4542
  console.error(
@@ -4624,12 +4624,12 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
4624
4624
  for (const project of releaseGroup.projects) {
4625
4625
  const currentVersion = this.#getCurrentCachedVersionForProject(project);
4626
4626
  if (!currentVersion) {
4627
- chunkTOLGVHZM_cjs.writeTrace(
4627
+ chunk5N5WKPFP_cjs.writeTrace(
4628
4628
  `No current version found for project ${project} in release group ${releaseGroup.name}, skipping version comparison.`,
4629
4629
  this.workspaceConfig
4630
4630
  );
4631
4631
  } else {
4632
- chunkTOLGVHZM_cjs.writeDebug(
4632
+ chunk5N5WKPFP_cjs.writeDebug(
4633
4633
  `Comparing versions for fixed group ${releaseGroup.name}: Current Greatest Version: ${fixedGroup.currentVersion || "none"}, Current Project Version: ${currentVersion} (project: ${project})`,
4634
4634
  this.workspaceConfig
4635
4635
  );
@@ -4655,7 +4655,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
4655
4655
  reasonData: newVersionInputReasonData
4656
4656
  };
4657
4657
  }
4658
- chunkTOLGVHZM_cjs.writeDebug(
4658
+ chunk5N5WKPFP_cjs.writeDebug(
4659
4659
  `Fixed release group ${releaseGroup.name} updated: Current Version: ${fixedGroup.currentVersion || "none"}, New Version: ${fixedGroup.newVersion?.input || "none"} (first project: ${project})`,
4660
4660
  this.workspaceConfig
4661
4661
  );
@@ -5108,7 +5108,7 @@ var StormReleaseGroupProcessor = class _StormReleaseGroupProcessor extends relea
5108
5108
  var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient {
5109
5109
  static async create(releaseConfig = {}, ignoreNxJsonConfig = false, workspaceConfig) {
5110
5110
  if (!workspaceConfig) {
5111
- workspaceConfig = await chunkTOLGVHZM_cjs.getWorkspaceConfig();
5111
+ workspaceConfig = await chunk5N5WKPFP_cjs.getWorkspaceConfig();
5112
5112
  }
5113
5113
  const projectGraph = await devkit.createProjectGraphAsync({
5114
5114
  exitOnError: true,
@@ -5119,7 +5119,7 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
5119
5119
  "Failed to load the project graph. Please run `nx reset`, then run the `storm-git commit` command again."
5120
5120
  );
5121
5121
  }
5122
- chunkTOLGVHZM_cjs.writeTrace(
5122
+ chunk5N5WKPFP_cjs.writeTrace(
5123
5123
  `Provided release configuration:
5124
5124
  ${formatConfigLog(releaseConfig)}`,
5125
5125
  workspaceConfig
@@ -5130,7 +5130,7 @@ ${formatConfigLog(releaseConfig)}`,
5130
5130
  workspaceConfig,
5131
5131
  ignoreNxJsonConfig
5132
5132
  );
5133
- chunkTOLGVHZM_cjs.writeDebug(
5133
+ chunk5N5WKPFP_cjs.writeDebug(
5134
5134
  `Resolved release configuration:
5135
5135
  ${formatConfigLog(config5)}`,
5136
5136
  workspaceConfig
@@ -5167,11 +5167,11 @@ ${formatConfigLog(config5)}`,
5167
5167
  */
5168
5168
  constructor(projectGraph, releaseConfig, workspaceConfig) {
5169
5169
  super(releaseConfig, true);
5170
- chunkTOLGVHZM_cjs.writeDebug(
5170
+ chunk5N5WKPFP_cjs.writeDebug(
5171
5171
  "Executing release with the following configuration",
5172
5172
  workspaceConfig
5173
5173
  );
5174
- chunkTOLGVHZM_cjs.writeDebug(releaseConfig, workspaceConfig);
5174
+ chunk5N5WKPFP_cjs.writeDebug(releaseConfig, workspaceConfig);
5175
5175
  this.projectGraph = projectGraph;
5176
5176
  this.releaseConfig = releaseConfig;
5177
5177
  this.workspaceConfig = workspaceConfig;
@@ -5199,7 +5199,7 @@ ${formatConfigLog(config5)}`,
5199
5199
  groups: options.groups
5200
5200
  },
5201
5201
  firstRelease: !!options.firstRelease,
5202
- verbose: chunkTOLGVHZM_cjs.isVerbose(this.workspaceConfig.logLevel)
5202
+ verbose: chunk5N5WKPFP_cjs.isVerbose(this.workspaceConfig.logLevel)
5203
5203
  },
5204
5204
  this.workspaceConfig
5205
5205
  );
@@ -5329,7 +5329,7 @@ ${formatConfigLog(config5)}`,
5329
5329
  })),
5330
5330
  this.releaseConfig.conventionalCommits
5331
5331
  );
5332
- chunkTOLGVHZM_cjs.writeDebug(
5332
+ chunk5N5WKPFP_cjs.writeDebug(
5333
5333
  `Running changelog generation for the ${releaseGroup.name} release group`,
5334
5334
  this.workspaceConfig
5335
5335
  );
@@ -5404,7 +5404,7 @@ ${formatConfigLog(config5)}`,
5404
5404
  })),
5405
5405
  this.releaseConfig.conventionalCommits
5406
5406
  );
5407
- chunkTOLGVHZM_cjs.writeDebug(
5407
+ chunk5N5WKPFP_cjs.writeDebug(
5408
5408
  `Running changelog generation for the ${releaseGroup.name} release group`,
5409
5409
  this.workspaceConfig
5410
5410
  );
@@ -5433,7 +5433,7 @@ ${formatConfigLog(config5)}`,
5433
5433
  }
5434
5434
  }
5435
5435
  }
5436
- chunkTOLGVHZM_cjs.writeDebug(
5436
+ chunk5N5WKPFP_cjs.writeDebug(
5437
5437
  `Generated changelogs for ${Object.keys(allProjectChangelogs).length} projects:
5438
5438
  ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5439
5439
  `,
@@ -5462,7 +5462,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5462
5462
  );
5463
5463
  const changes = this.tree.listChanges();
5464
5464
  if (!changes.length) {
5465
- chunkTOLGVHZM_cjs.writeWarning(
5465
+ chunk5N5WKPFP_cjs.writeWarning(
5466
5466
  "No changes were detected for any changelog files, so no changelog entries will be generated.",
5467
5467
  this.workspaceConfig
5468
5468
  );
@@ -5484,7 +5484,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5484
5484
  gitCommitArgs: options.gitCommitArgs || this.releaseConfig.changelog?.git?.commitArgs
5485
5485
  });
5486
5486
  latestCommit = await git.getCommitHash("HEAD");
5487
- chunkTOLGVHZM_cjs.writeDebug(
5487
+ chunk5N5WKPFP_cjs.writeDebug(
5488
5488
  `Creating git tags: ${gitTagValues.join(", ")}`,
5489
5489
  this.workspaceConfig
5490
5490
  );
@@ -5497,7 +5497,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5497
5497
  verbose: options.verbose
5498
5498
  });
5499
5499
  }
5500
- chunkTOLGVHZM_cjs.writeDebug(
5500
+ chunk5N5WKPFP_cjs.writeDebug(
5501
5501
  `Pushing to git remote "${options.gitRemote ?? "origin"}"`,
5502
5502
  this.workspaceConfig
5503
5503
  );
@@ -5513,7 +5513,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5513
5513
  return;
5514
5514
  };
5515
5515
  releaseVersion = async (options) => {
5516
- const verbose = options.verbose || chunkTOLGVHZM_cjs.isVerbose(this.workspaceConfig.logLevel);
5516
+ const verbose = options.verbose || chunk5N5WKPFP_cjs.isVerbose(this.workspaceConfig.logLevel);
5517
5517
  this.projectGraph = await devkit.createProjectGraphAsync({
5518
5518
  exitOnError: true,
5519
5519
  resetDaemonClient: true
@@ -5540,7 +5540,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5540
5540
  this.workspaceConfig
5541
5541
  );
5542
5542
  if (releaseGraph.filterLog && process.env.NX_RELEASE_INTERNAL_SUPPRESS_FILTER_LOG !== "true") {
5543
- chunkTOLGVHZM_cjs.writeDebug(formatNxLog(releaseGraph.filterLog), this.workspaceConfig);
5543
+ chunk5N5WKPFP_cjs.writeDebug(formatNxLog(releaseGraph.filterLog), this.workspaceConfig);
5544
5544
  }
5545
5545
  if (!options.specifier) {
5546
5546
  const rawVersionPlans = await versionPlans.readRawVersionPlans();
@@ -5559,7 +5559,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5559
5559
  }
5560
5560
  } else {
5561
5561
  if (verbose && releaseGraph.releaseGroups.some((g) => !!g.versionPlans)) {
5562
- chunkTOLGVHZM_cjs.writeDebug(
5562
+ chunk5N5WKPFP_cjs.writeDebug(
5563
5563
  `Skipping version plan discovery as a specifier was provided`,
5564
5564
  this.workspaceConfig
5565
5565
  );
@@ -5569,7 +5569,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5569
5569
  options.deleteVersionPlans = false;
5570
5570
  }
5571
5571
  if (this.releaseConfig.version?.preVersionCommand) {
5572
- chunkTOLGVHZM_cjs.writeDebug(
5572
+ chunk5N5WKPFP_cjs.writeDebug(
5573
5573
  "Executing the following pre-version command: \n" + this.releaseConfig.version.preVersionCommand,
5574
5574
  this.workspaceConfig
5575
5575
  );
@@ -5605,7 +5605,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5605
5605
  continue;
5606
5606
  }
5607
5607
  if (releaseGroup.version?.groupPreVersionCommand) {
5608
- chunkTOLGVHZM_cjs.writeDebug(
5608
+ chunk5N5WKPFP_cjs.writeDebug(
5609
5609
  `Executing the ${releaseGroup.name} release group's pre-version command:
5610
5610
  ` + releaseGroup.version?.groupPreVersionCommand,
5611
5611
  this.workspaceConfig
@@ -5665,7 +5665,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5665
5665
  changed.forEach((f) => additionalChangedFiles.add(f));
5666
5666
  deleted.forEach((f) => additionalDeletedFiles.add(f));
5667
5667
  if (this.releaseConfig.docker && typeof this.releaseConfig.docker === "object" && this.releaseConfig.docker?.preVersionCommand) {
5668
- chunkTOLGVHZM_cjs.writeDebug(
5668
+ chunk5N5WKPFP_cjs.writeDebug(
5669
5669
  `Executing the docker pre-version command:
5670
5670
  ` + this.releaseConfig.docker.preVersionCommand,
5671
5671
  this.workspaceConfig
@@ -5702,7 +5702,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5702
5702
  continue;
5703
5703
  }
5704
5704
  if (releaseGroup.docker?.groupPreVersionCommand) {
5705
- chunkTOLGVHZM_cjs.writeDebug(
5705
+ chunk5N5WKPFP_cjs.writeDebug(
5706
5706
  `Executing the ${releaseGroup.name} release group's docker pre-version command:
5707
5707
  ` + releaseGroup.docker?.groupPreVersionCommand,
5708
5708
  this.workspaceConfig
@@ -5733,7 +5733,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5733
5733
  }
5734
5734
  }
5735
5735
  if (this.releaseConfig.docker || releaseGraph.releaseGroups.some((rg) => rg.docker)) {
5736
- chunkTOLGVHZM_cjs.writeWarning(
5736
+ chunk5N5WKPFP_cjs.writeWarning(
5737
5737
  formatNxLog({
5738
5738
  title: "Warning",
5739
5739
  bodyLines: [
@@ -5790,7 +5790,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5790
5790
  gitCommitArgs: options.gitCommitArgs || this.releaseConfig.version?.git?.commitArgs
5791
5791
  });
5792
5792
  } else if (options.stageChanges ?? this.releaseConfig.version?.git?.stageChanges) {
5793
- chunkTOLGVHZM_cjs.writeDebug(`Staging changed files with git`);
5793
+ chunk5N5WKPFP_cjs.writeDebug(`Staging changed files with git`);
5794
5794
  await git.gitAdd({
5795
5795
  changedFiles,
5796
5796
  deletedFiles,
@@ -5799,7 +5799,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5799
5799
  });
5800
5800
  }
5801
5801
  if (options.gitTag ?? this.releaseConfig.version?.git?.tag) {
5802
- chunkTOLGVHZM_cjs.writeDebug(`Tagging commit with git`);
5802
+ chunk5N5WKPFP_cjs.writeDebug(`Tagging commit with git`);
5803
5803
  for (const tag of gitTagValues) {
5804
5804
  await gitTag({
5805
5805
  tag,
@@ -5811,7 +5811,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
5811
5811
  }
5812
5812
  }
5813
5813
  if (options.gitPush ?? this.releaseConfig.version?.git?.push) {
5814
- chunkTOLGVHZM_cjs.writeDebug(`Pushing to git remote "${options.gitRemote ?? "origin"}"`);
5814
+ chunk5N5WKPFP_cjs.writeDebug(`Pushing to git remote "${options.gitRemote ?? "origin"}"`);
5815
5815
  await git.gitPush({
5816
5816
  gitRemote: options.gitRemote,
5817
5817
  dryRun: options.dryRun,
@@ -5842,7 +5842,7 @@ var runRelease = async (config5, {
5842
5842
  throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
5843
5843
  }
5844
5844
  if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config5)) {
5845
- chunkTOLGVHZM_cjs.writeFatal(
5845
+ chunk5N5WKPFP_cjs.writeFatal(
5846
5846
  "You must be a member of the Storm Software organization to run the release process.",
5847
5847
  config5
5848
5848
  );
@@ -5859,23 +5859,23 @@ var runRelease = async (config5, {
5859
5859
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
5860
5860
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
5861
5861
  process.env.NPM_CONFIG_PROVENANCE = "true";
5862
- chunkTOLGVHZM_cjs.writeDebug("Creating Storm release client...", config5);
5862
+ chunk5N5WKPFP_cjs.writeDebug("Creating Storm release client...", config5);
5863
5863
  const releaseClient = await StormReleaseClient.create(
5864
5864
  releaseConfig,
5865
5865
  ignoreNxJsonConfig,
5866
5866
  config5
5867
5867
  );
5868
- chunkTOLGVHZM_cjs.writeDebug("Reading in the workspaces release configuration", config5);
5868
+ chunk5N5WKPFP_cjs.writeDebug("Reading in the workspaces release configuration", config5);
5869
5869
  const to = head || process.env.NX_HEAD;
5870
5870
  const from = base || process.env.NX_BASE;
5871
- chunkTOLGVHZM_cjs.writeDebug(
5871
+ chunk5N5WKPFP_cjs.writeDebug(
5872
5872
  `Using the following Git SHAs to determine the release content:
5873
5873
  - From: ${from}
5874
5874
  - To: ${to}
5875
5875
  `,
5876
5876
  config5
5877
5877
  );
5878
- chunkTOLGVHZM_cjs.writeDebug("Determining the current release versions...", config5);
5878
+ chunk5N5WKPFP_cjs.writeDebug("Determining the current release versions...", config5);
5879
5879
  const { workspaceVersion, projectsVersionData, releaseGraph } = await releaseClient.releaseVersion({
5880
5880
  dryRun,
5881
5881
  verbose: true,
@@ -5892,9 +5892,9 @@ var runRelease = async (config5, {
5892
5892
  from,
5893
5893
  releaseGraph
5894
5894
  });
5895
- chunkTOLGVHZM_cjs.writeDebug("Tagging commit with git", config5);
5895
+ chunk5N5WKPFP_cjs.writeDebug("Tagging commit with git", config5);
5896
5896
  if (skipPublish) {
5897
- chunkTOLGVHZM_cjs.writeWarning(
5897
+ chunk5N5WKPFP_cjs.writeWarning(
5898
5898
  "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
5899
5899
  config5
5900
5900
  );
@@ -5903,7 +5903,7 @@ var runRelease = async (config5, {
5903
5903
  (key) => projectsVersionData[key]?.newVersion
5904
5904
  );
5905
5905
  if (changedProjects.length > 0) {
5906
- chunkTOLGVHZM_cjs.writeInfo(
5906
+ chunk5N5WKPFP_cjs.writeInfo(
5907
5907
  `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
5908
5908
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
5909
5909
  `,
@@ -5927,10 +5927,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${res
5927
5927
  );
5928
5928
  }
5929
5929
  } else {
5930
- chunkTOLGVHZM_cjs.writeWarning("Skipped publishing packages.", config5);
5930
+ chunk5N5WKPFP_cjs.writeWarning("Skipped publishing packages.", config5);
5931
5931
  }
5932
5932
  }
5933
- chunkTOLGVHZM_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
5933
+ chunk5N5WKPFP_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
5934
5934
  };
5935
5935
  async function updatePackageManifests(projectsVersionData, config5) {
5936
5936
  let projectGraph;
@@ -5945,7 +5945,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
5945
5945
  Object.keys(projectsVersionData).map(async (node) => {
5946
5946
  const projectNode = projectGraph.nodes[node];
5947
5947
  if (!projectNode?.data.root) {
5948
- chunkTOLGVHZM_cjs.writeWarning(
5948
+ chunk5N5WKPFP_cjs.writeWarning(
5949
5949
  `Project node ${node} not found in the project graph. Skipping manifest update.`,
5950
5950
  config5
5951
5951
  );
@@ -5953,17 +5953,17 @@ async function updatePackageManifests(projectsVersionData, config5) {
5953
5953
  }
5954
5954
  const versionData = projectsVersionData[node];
5955
5955
  if (projectNode?.data.root && versionData && versionData.newVersion !== null) {
5956
- chunkTOLGVHZM_cjs.writeTrace(
5956
+ chunk5N5WKPFP_cjs.writeTrace(
5957
5957
  `Writing version ${versionData.newVersion} update to manifest file for ${node}
5958
5958
  `,
5959
5959
  config5
5960
5960
  );
5961
- const projectRoot = chunkTOLGVHZM_cjs.joinPaths(
5961
+ const projectRoot = chunk5N5WKPFP_cjs.joinPaths(
5962
5962
  config5.workspaceRoot,
5963
5963
  projectNode.data.root
5964
5964
  );
5965
- const packageJsonPath = chunkTOLGVHZM_cjs.joinPaths(projectRoot, "package.json");
5966
- const cargoTomlPath = chunkTOLGVHZM_cjs.joinPaths(projectRoot, "Cargo.toml");
5965
+ const packageJsonPath = chunk5N5WKPFP_cjs.joinPaths(projectRoot, "package.json");
5966
+ const cargoTomlPath = chunk5N5WKPFP_cjs.joinPaths(projectRoot, "Cargo.toml");
5967
5967
  if (fs$1.existsSync(packageJsonPath)) {
5968
5968
  const packageJsonContent = await fs.readFile(packageJsonPath, "utf8");
5969
5969
  const packageJson = JSON.parse(packageJsonContent);
@@ -5981,7 +5981,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
5981
5981
  })
5982
5982
  );
5983
5983
  } else {
5984
- chunkTOLGVHZM_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
5984
+ chunk5N5WKPFP_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
5985
5985
  }
5986
5986
  }
5987
5987
 
@@ -5989,8 +5989,8 @@ async function updatePackageManifests(projectsVersionData, config5) {
5989
5989
  var _config = {};
5990
5990
  function createProgram(config5) {
5991
5991
  _config = config5;
5992
- chunkTOLGVHZM_cjs.writeInfo(`${chunkTOLGVHZM_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
5993
- const root = chunkTOLGVHZM_cjs.findWorkspaceRootSafe(process.cwd());
5992
+ chunk5N5WKPFP_cjs.writeInfo(`${chunk5N5WKPFP_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
5993
+ const root = chunk5N5WKPFP_cjs.findWorkspaceRootSafe(process.cwd());
5994
5994
  process.env.STORM_WORKSPACE_ROOT ??= root;
5995
5995
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
5996
5996
  if (root) {
@@ -6037,12 +6037,12 @@ async function commitAction({
6037
6037
  dryRun = false
6038
6038
  }) {
6039
6039
  try {
6040
- chunkTOLGVHZM_cjs.writeInfo(
6041
- `${chunkTOLGVHZM_cjs.brandIcon(typeof config5 === "string" ? {} : config5)} Preparing to commit your changes. Please provide the requested details below...`,
6040
+ chunk5N5WKPFP_cjs.writeInfo(
6041
+ `${chunk5N5WKPFP_cjs.brandIcon(typeof config5 === "string" ? {} : config5)} Preparing to commit your changes. Please provide the requested details below...`,
6042
6042
  _config
6043
6043
  );
6044
6044
  await runCommit(config5, dryRun);
6045
- chunkTOLGVHZM_cjs.writeSuccess(
6045
+ chunk5N5WKPFP_cjs.writeSuccess(
6046
6046
  `\u2714 Storm Commit processing completed successfully!
6047
6047
 
6048
6048
  Note: Please run "pnpm push" to upload these changes to the remote ${_config.name ? _config.name : _config.namespace ? _config.namespace : _config.organization ? _config.organization : "Storm-Software"} Git repository at ${_config.repository}
@@ -6050,7 +6050,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
6050
6050
  _config
6051
6051
  );
6052
6052
  } catch (error) {
6053
- chunkTOLGVHZM_cjs.writeFatal(
6053
+ chunk5N5WKPFP_cjs.writeFatal(
6054
6054
  `A fatal error occurred while running commit action:
6055
6055
 
6056
6056
  ${error.message}${error.stack ? `
@@ -6065,17 +6065,17 @@ Please fix any errors and try committing again.`,
6065
6065
  }
6066
6066
  async function readmeAction(options) {
6067
6067
  try {
6068
- chunkTOLGVHZM_cjs.writeInfo(
6069
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Formatting the workspace's README.md files`,
6068
+ chunk5N5WKPFP_cjs.writeInfo(
6069
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Formatting the workspace's README.md files`,
6070
6070
  _config
6071
6071
  );
6072
6072
  await runReadme(options);
6073
- chunkTOLGVHZM_cjs.writeSuccess(
6073
+ chunk5N5WKPFP_cjs.writeSuccess(
6074
6074
  "\u2714 Formatting of the workspace's README.md files is complete\n",
6075
6075
  _config
6076
6076
  );
6077
6077
  } catch (error) {
6078
- chunkTOLGVHZM_cjs.writeFatal(
6078
+ chunk5N5WKPFP_cjs.writeFatal(
6079
6079
  `A fatal error occurred while running README format action:
6080
6080
 
6081
6081
  ${error.message}
@@ -6094,8 +6094,8 @@ async function releaseAction({
6094
6094
  dryRun
6095
6095
  }) {
6096
6096
  try {
6097
- chunkTOLGVHZM_cjs.writeInfo(
6098
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
6097
+ chunk5N5WKPFP_cjs.writeInfo(
6098
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
6099
6099
  _config
6100
6100
  );
6101
6101
  await runRelease(_config, {
@@ -6104,9 +6104,9 @@ async function releaseAction({
6104
6104
  base,
6105
6105
  head
6106
6106
  });
6107
- chunkTOLGVHZM_cjs.writeSuccess("\u2714 Release completed successfully!\n", _config);
6107
+ chunk5N5WKPFP_cjs.writeSuccess("\u2714 Release completed successfully!\n", _config);
6108
6108
  } catch (error) {
6109
- chunkTOLGVHZM_cjs.writeFatal(
6109
+ chunk5N5WKPFP_cjs.writeFatal(
6110
6110
  `A fatal error occurred while running release action:
6111
6111
 
6112
6112
  ${error.message} ${error.stack ? `
@@ -6120,17 +6120,17 @@ Stacktrace: ${error.stack}` : ""}`,
6120
6120
  }
6121
6121
  async function commitLintAction(options) {
6122
6122
  try {
6123
- chunkTOLGVHZM_cjs.writeInfo(
6124
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : typeof _config.organization === "string" ? _config.organization : _config.organization?.name ? _config.organization?.name : "Storm-Software"} repository's commit messages.`,
6123
+ chunk5N5WKPFP_cjs.writeInfo(
6124
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : typeof _config.organization === "string" ? _config.organization : _config.organization?.name ? _config.organization?.name : "Storm-Software"} repository's commit messages.`,
6125
6125
  _config
6126
6126
  );
6127
6127
  await runCommitLint(_config, options);
6128
- chunkTOLGVHZM_cjs.writeSuccess(
6128
+ chunk5N5WKPFP_cjs.writeSuccess(
6129
6129
  "\u2714 Linting the commit messages completed successfully!\n",
6130
6130
  _config
6131
6131
  );
6132
6132
  } catch (error) {
6133
- chunkTOLGVHZM_cjs.writeFatal(
6133
+ chunk5N5WKPFP_cjs.writeFatal(
6134
6134
  `A fatal error occurred while linting the commit messages:
6135
6135
 
6136
6136
  ${error.message}`,
@@ -6141,14 +6141,14 @@ ${error.message}`,
6141
6141
  }
6142
6142
  async function postCheckoutAction({ files }) {
6143
6143
  try {
6144
- chunkTOLGVHZM_cjs.writeInfo(
6145
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Running the Storm post-checkout git hook for ${files.length} files in the workspace...`,
6144
+ chunk5N5WKPFP_cjs.writeInfo(
6145
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Running the Storm post-checkout git hook for ${files.length} files in the workspace...`,
6146
6146
  _config
6147
6147
  );
6148
- await chunkIHDSESSE_cjs.postCheckoutHook(_config, files);
6149
- chunkTOLGVHZM_cjs.writeSuccess("\u2714 Post-checkout hook completed successfully!\n", _config);
6148
+ await chunkU3US7IBH_cjs.postCheckoutHook(_config, files);
6149
+ chunk5N5WKPFP_cjs.writeSuccess("\u2714 Post-checkout hook completed successfully!\n", _config);
6150
6150
  } catch (error) {
6151
- chunkTOLGVHZM_cjs.writeFatal(
6151
+ chunk5N5WKPFP_cjs.writeFatal(
6152
6152
  `A fatal error occurred while running the post-checkout hook:
6153
6153
 
6154
6154
  ${error.message}`,
@@ -6159,14 +6159,14 @@ ${error.message}`,
6159
6159
  }
6160
6160
  async function postCommitAction({ files }) {
6161
6161
  try {
6162
- chunkTOLGVHZM_cjs.writeInfo(
6163
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Running the Storm post-commit git hook for ${files.length} files in the workspace...`,
6162
+ chunk5N5WKPFP_cjs.writeInfo(
6163
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Running the Storm post-commit git hook for ${files.length} files in the workspace...`,
6164
6164
  _config
6165
6165
  );
6166
- await chunkGT7HITVF_cjs.postCommitHook(_config, files);
6167
- chunkTOLGVHZM_cjs.writeSuccess("\u2714 Post-commit hook completed successfully!\n", _config);
6166
+ await chunkGVDRZBZ6_cjs.postCommitHook(_config, files);
6167
+ chunk5N5WKPFP_cjs.writeSuccess("\u2714 Post-commit hook completed successfully!\n", _config);
6168
6168
  } catch (error) {
6169
- chunkTOLGVHZM_cjs.writeFatal(
6169
+ chunk5N5WKPFP_cjs.writeFatal(
6170
6170
  `A fatal error occurred while running the post-commit hook:
6171
6171
 
6172
6172
  ${error.message}`,
@@ -6177,14 +6177,14 @@ ${error.message}`,
6177
6177
  }
6178
6178
  async function postMergeAction({ files }) {
6179
6179
  try {
6180
- chunkTOLGVHZM_cjs.writeInfo(
6181
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Running the Storm post-merge git hook for ${files.length} files in the workspace...`,
6180
+ chunk5N5WKPFP_cjs.writeInfo(
6181
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Running the Storm post-merge git hook for ${files.length} files in the workspace...`,
6182
6182
  _config
6183
6183
  );
6184
- await chunkSZFP3TKI_cjs.postMergeHook(_config, files);
6185
- chunkTOLGVHZM_cjs.writeSuccess("\u2714 Post-merge hook completed successfully!\n", _config);
6184
+ await chunkQ5KDQ5YL_cjs.postMergeHook(_config, files);
6185
+ chunk5N5WKPFP_cjs.writeSuccess("\u2714 Post-merge hook completed successfully!\n", _config);
6186
6186
  } catch (error) {
6187
- chunkTOLGVHZM_cjs.writeFatal(
6187
+ chunk5N5WKPFP_cjs.writeFatal(
6188
6188
  `A fatal error occurred while running the post-merge hook:
6189
6189
 
6190
6190
  ${error.message}`,
@@ -6195,14 +6195,14 @@ ${error.message}`,
6195
6195
  }
6196
6196
  async function preCommitAction({ files }) {
6197
6197
  try {
6198
- chunkTOLGVHZM_cjs.writeInfo(
6199
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Running the Storm pre-commit git hook for ${files.length} files in the workspace...`,
6198
+ chunk5N5WKPFP_cjs.writeInfo(
6199
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Running the Storm pre-commit git hook for ${files.length} files in the workspace...`,
6200
6200
  _config
6201
6201
  );
6202
- await chunkZJN2D7NE_cjs.preCommitHook(_config, files);
6203
- chunkTOLGVHZM_cjs.writeSuccess("\u2714 Pre-commit hook completed successfully!\n", _config);
6202
+ await chunkNPQDZF7C_cjs.preCommitHook(_config, files);
6203
+ chunk5N5WKPFP_cjs.writeSuccess("\u2714 Pre-commit hook completed successfully!\n", _config);
6204
6204
  } catch (error) {
6205
- chunkTOLGVHZM_cjs.writeFatal(
6205
+ chunk5N5WKPFP_cjs.writeFatal(
6206
6206
  `A fatal error occurred while running the pre-commit hook:
6207
6207
 
6208
6208
  ${error.message}`,
@@ -6213,14 +6213,14 @@ ${error.message}`,
6213
6213
  }
6214
6214
  async function prePushAction({ files }) {
6215
6215
  try {
6216
- chunkTOLGVHZM_cjs.writeInfo(
6217
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Running the Storm pre-push git hook for ${files.length} files in the workspace...`,
6216
+ chunk5N5WKPFP_cjs.writeInfo(
6217
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Running the Storm pre-push git hook for ${files.length} files in the workspace...`,
6218
6218
  _config
6219
6219
  );
6220
- await chunkQBI7KQ6A_cjs.prePushHook(_config, files);
6221
- chunkTOLGVHZM_cjs.writeSuccess("\u2714 Pre-push hook completed successfully!\n", _config);
6220
+ await chunkXVVRI3DK_cjs.prePushHook(_config, files);
6221
+ chunk5N5WKPFP_cjs.writeSuccess("\u2714 Pre-push hook completed successfully!\n", _config);
6222
6222
  } catch (error) {
6223
- chunkTOLGVHZM_cjs.writeFatal(
6223
+ chunk5N5WKPFP_cjs.writeFatal(
6224
6224
  `A fatal error occurred while running the pre-push hook:
6225
6225
 
6226
6226
  ${error.message}`,
@@ -6231,14 +6231,14 @@ ${error.message}`,
6231
6231
  }
6232
6232
  async function prepareAction() {
6233
6233
  try {
6234
- chunkTOLGVHZM_cjs.writeInfo(
6235
- `${chunkTOLGVHZM_cjs.brandIcon(_config)} Running the Storm prepare git hook for the workspace...`,
6234
+ chunk5N5WKPFP_cjs.writeInfo(
6235
+ `${chunk5N5WKPFP_cjs.brandIcon(_config)} Running the Storm prepare git hook for the workspace...`,
6236
6236
  _config
6237
6237
  );
6238
- await chunkJYYYVLIU_cjs.prepareHook(_config);
6239
- chunkTOLGVHZM_cjs.writeSuccess("\u2714 Prepare hook completed successfully!\n", _config);
6238
+ await chunkTTSXYT7W_cjs.prepareHook(_config);
6239
+ chunk5N5WKPFP_cjs.writeSuccess("\u2714 Prepare hook completed successfully!\n", _config);
6240
6240
  } catch (error) {
6241
- chunkTOLGVHZM_cjs.writeFatal(
6241
+ chunk5N5WKPFP_cjs.writeFatal(
6242
6242
  `A fatal error occurred while running the prepare hook:
6243
6243
 
6244
6244
  ${error.message}`,
@@ -6250,18 +6250,18 @@ ${error.message}`,
6250
6250
 
6251
6251
  // bin/git.ts
6252
6252
  void (async () => {
6253
- const config5 = await chunkTOLGVHZM_cjs.getConfig();
6253
+ const config5 = await chunk5N5WKPFP_cjs.getConfig();
6254
6254
  try {
6255
- chunkTOLGVHZM_cjs.handleProcess(config5);
6255
+ chunk5N5WKPFP_cjs.handleProcess(config5);
6256
6256
  const program = createProgram(config5);
6257
6257
  await program.parseAsync(process.argv);
6258
- chunkTOLGVHZM_cjs.writeSuccess(
6258
+ chunk5N5WKPFP_cjs.writeSuccess(
6259
6259
  `\u2714 Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
6260
6260
  config5
6261
6261
  );
6262
- chunkTOLGVHZM_cjs.exitWithSuccess(config5);
6262
+ chunk5N5WKPFP_cjs.exitWithSuccess(config5);
6263
6263
  } catch (error) {
6264
- chunkTOLGVHZM_cjs.exitWithError(config5);
6264
+ chunk5N5WKPFP_cjs.exitWithError(config5);
6265
6265
  process.exit(1);
6266
6266
  }
6267
6267
  })();