@storm-software/git-tools 2.131.15 → 2.131.16

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 (81) hide show
  1. package/bin/{chunk-4FUNPJYN.cjs → chunk-2DHSN2C3.cjs} +6 -6
  2. package/bin/{chunk-4FUNPJYN.cjs.map → chunk-2DHSN2C3.cjs.map} +1 -1
  3. package/bin/{chunk-27FK2BQD.js → chunk-2K6K4B6C.js} +3 -3
  4. package/bin/{chunk-27FK2BQD.js.map → chunk-2K6K4B6C.js.map} +1 -1
  5. package/bin/{chunk-WTWICYHN.cjs → chunk-7FLNOTUH.cjs} +4 -4
  6. package/bin/{chunk-WTWICYHN.cjs.map → chunk-7FLNOTUH.cjs.map} +1 -1
  7. package/bin/{chunk-NJCMHJBD.cjs → chunk-CZGE4575.cjs} +4 -4
  8. package/bin/{chunk-NJCMHJBD.cjs.map → chunk-CZGE4575.cjs.map} +1 -1
  9. package/bin/{chunk-TBOHZQTA.cjs → chunk-GVYZ5VMU.cjs} +4 -4
  10. package/bin/{chunk-TBOHZQTA.cjs.map → chunk-GVYZ5VMU.cjs.map} +1 -1
  11. package/bin/{chunk-CRTMVCFC.js → chunk-JZL474YC.js} +3 -3
  12. package/bin/{chunk-CRTMVCFC.js.map → chunk-JZL474YC.js.map} +1 -1
  13. package/bin/{chunk-4KUJG3RB.js → chunk-K3M4EFXG.js} +3 -3
  14. package/bin/{chunk-4KUJG3RB.js.map → chunk-K3M4EFXG.js.map} +1 -1
  15. package/bin/{chunk-5DZ44YLS.cjs → chunk-KQFEBKJ6.cjs} +5 -5
  16. package/bin/{chunk-5DZ44YLS.cjs.map → chunk-KQFEBKJ6.cjs.map} +1 -1
  17. package/bin/{chunk-PAUQYLGE.js → chunk-NFY3U5Y5.js} +3 -3
  18. package/bin/{chunk-PAUQYLGE.js.map → chunk-NFY3U5Y5.js.map} +1 -1
  19. package/bin/{chunk-NBHO5BK4.js → chunk-NPCKWTZG.js} +3 -3
  20. package/bin/{chunk-NBHO5BK4.js.map → chunk-NPCKWTZG.js.map} +1 -1
  21. package/bin/{chunk-YXQQUYO7.cjs → chunk-OOFHIS6Q.cjs} +19 -10
  22. package/bin/chunk-OOFHIS6Q.cjs.map +1 -0
  23. package/bin/{chunk-RYRABFEU.cjs → chunk-PXSKDL54.cjs} +4 -4
  24. package/bin/{chunk-RYRABFEU.cjs.map → chunk-PXSKDL54.cjs.map} +1 -1
  25. package/bin/{chunk-NZK4I3QQ.js → chunk-RNHFC7RJ.js} +19 -10
  26. package/bin/chunk-RNHFC7RJ.js.map +1 -0
  27. package/bin/{chunk-VXOTRXPC.js → chunk-S2KYF4B5.js} +3 -3
  28. package/bin/{chunk-VXOTRXPC.js.map → chunk-S2KYF4B5.js.map} +1 -1
  29. package/bin/{chunk-FAQW5YFS.cjs → chunk-TCH5N4G6.cjs} +4 -4
  30. package/bin/{chunk-FAQW5YFS.cjs.map → chunk-TCH5N4G6.cjs.map} +1 -1
  31. package/bin/{chunk-O4NH73SU.js → chunk-WVG2JDAL.js} +3 -3
  32. package/bin/{chunk-O4NH73SU.js.map → chunk-WVG2JDAL.js.map} +1 -1
  33. package/bin/git.cjs +176 -166
  34. package/bin/git.cjs.map +1 -1
  35. package/bin/git.js +39 -29
  36. package/bin/git.js.map +1 -1
  37. package/bin/post-checkout.cjs +7 -7
  38. package/bin/post-checkout.js +2 -2
  39. package/bin/post-commit.cjs +7 -7
  40. package/bin/post-commit.js +2 -2
  41. package/bin/post-merge.cjs +7 -7
  42. package/bin/post-merge.js +2 -2
  43. package/bin/pre-commit.cjs +7 -7
  44. package/bin/pre-commit.js +2 -2
  45. package/bin/pre-install.cjs +7 -7
  46. package/bin/pre-install.js +2 -2
  47. package/bin/pre-push.cjs +7 -7
  48. package/bin/pre-push.js +2 -2
  49. package/bin/prepare.cjs +7 -7
  50. package/bin/prepare.js +2 -2
  51. package/bin/version-warning.cjs +5 -5
  52. package/bin/version-warning.js +1 -1
  53. package/dist/{chunk-YIORTE6Q.js → chunk-22KHZEQ7.js} +1 -1
  54. package/dist/{chunk-MC3B4RZP.cjs → chunk-3ISKKN7V.cjs} +2 -2
  55. package/dist/{chunk-OZEUXY3F.cjs → chunk-3NDL3NYQ.cjs} +17 -8
  56. package/dist/{chunk-IIIM2NQL.js → chunk-4SXK4XZ7.js} +1 -1
  57. package/dist/{chunk-2R2374NN.cjs → chunk-BBFGZEK2.cjs} +4 -4
  58. package/dist/{chunk-XOVOHV4M.js → chunk-GPIIJKQ7.js} +1 -1
  59. package/dist/{chunk-6AS5VMOX.cjs → chunk-GQZU3KQU.cjs} +2 -2
  60. package/dist/{chunk-UOI2HBBA.js → chunk-HLX2O3W5.js} +30 -14
  61. package/dist/{chunk-ZRFCAV5X.js → chunk-ICTL4AOJ.js} +1 -1
  62. package/dist/{chunk-JXKM22DX.js → chunk-JOWTWLTO.js} +1 -1
  63. package/dist/{chunk-DLFBUN66.cjs → chunk-K6YQY3XT.cjs} +2 -2
  64. package/dist/{chunk-S7OVYP3G.cjs → chunk-MWHYSQOS.cjs} +3 -3
  65. package/dist/{chunk-HDNOJ6YK.cjs → chunk-OWXRRH4A.cjs} +2 -2
  66. package/dist/{chunk-HZMRQVJW.cjs → chunk-PUNY63CE.cjs} +2 -2
  67. package/dist/{chunk-DHMSMFL3.js → chunk-PV25OROZ.js} +17 -8
  68. package/dist/{chunk-AGQBRIPK.cjs → chunk-Q22WRFSZ.cjs} +39 -22
  69. package/dist/{chunk-4RAEKSGE.js → chunk-TUICLGR7.js} +1 -1
  70. package/dist/{chunk-GEBZ74NA.js → chunk-VVDS3FJO.js} +1 -1
  71. package/dist/index.cjs +36 -32
  72. package/dist/index.d.cts +1 -1
  73. package/dist/index.d.ts +1 -1
  74. package/dist/index.js +9 -9
  75. package/dist/release/config.cjs +22 -18
  76. package/dist/release/config.d.cts +8 -3
  77. package/dist/release/config.d.ts +8 -3
  78. package/dist/release/config.js +2 -2
  79. package/package.json +4 -4
  80. package/bin/chunk-NZK4I3QQ.js.map +0 -1
  81. package/bin/chunk-YXQQUYO7.cjs.map +0 -1
package/bin/git.cjs CHANGED
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkNJCMHJBD_cjs = require('./chunk-NJCMHJBD.cjs');
5
- var chunkTBOHZQTA_cjs = require('./chunk-TBOHZQTA.cjs');
6
- var chunkRYRABFEU_cjs = require('./chunk-RYRABFEU.cjs');
7
- var chunkFAQW5YFS_cjs = require('./chunk-FAQW5YFS.cjs');
8
- require('./chunk-5DZ44YLS.cjs');
9
- var chunk4FUNPJYN_cjs = require('./chunk-4FUNPJYN.cjs');
4
+ var chunkCZGE4575_cjs = require('./chunk-CZGE4575.cjs');
5
+ var chunkGVYZ5VMU_cjs = require('./chunk-GVYZ5VMU.cjs');
6
+ var chunkPXSKDL54_cjs = require('./chunk-PXSKDL54.cjs');
7
+ var chunkTCH5N4G6_cjs = require('./chunk-TCH5N4G6.cjs');
8
+ require('./chunk-KQFEBKJ6.cjs');
9
+ var chunk2DHSN2C3_cjs = require('./chunk-2DHSN2C3.cjs');
10
10
  require('./chunk-YHZNDNCW.cjs');
11
- var chunkWTWICYHN_cjs = require('./chunk-WTWICYHN.cjs');
11
+ var chunk7FLNOTUH_cjs = require('./chunk-7FLNOTUH.cjs');
12
12
  var chunkMTAYUS7E_cjs = require('./chunk-MTAYUS7E.cjs');
13
- var chunkYXQQUYO7_cjs = require('./chunk-YXQQUYO7.cjs');
13
+ var chunkOOFHIS6Q_cjs = require('./chunk-OOFHIS6Q.cjs');
14
14
  var TOML = require('@ltd/j-toml');
15
15
  var commander = require('commander');
16
16
  require('@inquirer/checkbox');
@@ -422,9 +422,9 @@ function getRuleFromScopeEnum(scopeEnum) {
422
422
 
423
423
  // ../conventional-changelog/src/index.ts
424
424
  async function createPreset(variant = "monorepo") {
425
- const workspaceConfig = await chunkYXQQUYO7_cjs.getWorkspaceConfig();
425
+ const workspaceConfig = await chunkOOFHIS6Q_cjs.getWorkspaceConfig();
426
426
  if (variant === "minimal") {
427
- return chunkYXQQUYO7_cjs.defu(
427
+ return chunkOOFHIS6Q_cjs.defu(
428
428
  await createBasePreset__default.default({ ...COMMIT_CONFIGS.minimal.changelogs.props }),
429
429
  {
430
430
  ...COMMIT_CONFIGS.minimal,
@@ -438,7 +438,7 @@ async function createPreset(variant = "monorepo") {
438
438
  );
439
439
  }
440
440
  const nxScopes = await getNxScopes({ config: workspaceConfig });
441
- return chunkYXQQUYO7_cjs.defu(
441
+ return chunkOOFHIS6Q_cjs.defu(
442
442
  await createBasePreset__default.default({
443
443
  ...COMMIT_CONFIGS.monorepo.changelogs.props,
444
444
  scope: nxScopes
@@ -1002,7 +1002,7 @@ async function lint(message, config5) {
1002
1002
  // src/commitlint/run.ts
1003
1003
  var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
1004
1004
  async function runCommitLint(workspaceConfig, options) {
1005
- chunkYXQQUYO7_cjs.writeInfo(
1005
+ chunkOOFHIS6Q_cjs.writeInfo(
1006
1006
  "\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
1007
1007
  workspaceConfig
1008
1008
  );
@@ -1010,7 +1010,7 @@ async function runCommitLint(workspaceConfig, options) {
1010
1010
  if (options.message && options.message !== COMMIT_EDITMSG_PATH) {
1011
1011
  commitMessage = options.message;
1012
1012
  } else {
1013
- const commitFile = chunkYXQQUYO7_cjs.joinPaths(
1013
+ const commitFile = chunkOOFHIS6Q_cjs.joinPaths(
1014
1014
  workspaceConfig.workspaceRoot,
1015
1015
  options.file || options.message || COMMIT_EDITMSG_PATH
1016
1016
  );
@@ -1027,17 +1027,17 @@ async function runCommitLint(workspaceConfig, options) {
1027
1027
  if (upstreamRemote) {
1028
1028
  const upstreamRemoteIdentifier = upstreamRemote.split(" ")[0]?.trim();
1029
1029
  if (!upstreamRemoteIdentifier) {
1030
- chunkYXQQUYO7_cjs.writeWarning(
1030
+ chunkOOFHIS6Q_cjs.writeWarning(
1031
1031
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison.`,
1032
1032
  workspaceConfig
1033
1033
  );
1034
1034
  return;
1035
1035
  }
1036
- chunkYXQQUYO7_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1036
+ chunkOOFHIS6Q_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1037
1037
  const currentBranch = childProcess__default.default.execSync("git branch --show-current").toString().trim();
1038
1038
  gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
1039
1039
  } else {
1040
- chunkYXQQUYO7_cjs.writeWarning(
1040
+ chunkOOFHIS6Q_cjs.writeWarning(
1041
1041
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison against upstream main.`,
1042
1042
  workspaceConfig
1043
1043
  );
@@ -1045,7 +1045,7 @@ async function runCommitLint(workspaceConfig, options) {
1045
1045
  }
1046
1046
  commitMessage = childProcess__default.default.execSync(gitLogCmd).toString().trim();
1047
1047
  if (!commitMessage) {
1048
- chunkYXQQUYO7_cjs.writeWarning(
1048
+ chunkOOFHIS6Q_cjs.writeWarning(
1049
1049
  "No commits found. Skipping commit message validation.",
1050
1050
  workspaceConfig
1051
1051
  );
@@ -1055,7 +1055,7 @@ async function runCommitLint(workspaceConfig, options) {
1055
1055
  const preset = await createPreset(workspaceConfig.variant);
1056
1056
  const report = await lint(commitMessage, preset);
1057
1057
  if (!preset.commitlint.regex.test(commitMessage) || report.errors.length || report.warnings.length) {
1058
- chunkYXQQUYO7_cjs.writeSuccess(
1058
+ chunkOOFHIS6Q_cjs.writeSuccess(
1059
1059
  `Commit was processing completed successfully!`,
1060
1060
  workspaceConfig
1061
1061
  );
@@ -1267,7 +1267,7 @@ async function createState(workspaceConfig, configPath) {
1267
1267
  const project = projectConfigurations.projects[scope];
1268
1268
  if (project) {
1269
1269
  let description = `${project.name} - ${project.root}`;
1270
- const packageJsonPath = chunkYXQQUYO7_cjs.joinPaths(project.root, "package.json");
1270
+ const packageJsonPath = chunkOOFHIS6Q_cjs.joinPaths(project.root, "package.json");
1271
1271
  if (fs$1.existsSync(packageJsonPath)) {
1272
1272
  const packageJsonFile = await fs.readFile(packageJsonPath, "utf8");
1273
1273
  const packageJson = JSON.parse(packageJsonFile);
@@ -1341,20 +1341,20 @@ ${closedIssueEmoji}${config5.settings.closedIssueMessage}${issues}`;
1341
1341
 
1342
1342
  // src/commit/run.ts
1343
1343
  async function runCommit(commitizenFile, dryRun = false) {
1344
- const workspaceConfig = await chunkYXQQUYO7_cjs.getWorkspaceConfig();
1344
+ const workspaceConfig = await chunkOOFHIS6Q_cjs.getWorkspaceConfig();
1345
1345
  const state = await createState(workspaceConfig);
1346
1346
  if (dryRun) {
1347
- chunkYXQQUYO7_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1347
+ chunkOOFHIS6Q_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1348
1348
  }
1349
1349
  console.log(chalkTemplate__default.default`
1350
1350
  {bold.#999999 ----------------------------------------}
1351
1351
 
1352
- {bold.#FFFFFF ${chunkYXQQUYO7_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit}
1352
+ {bold.#FFFFFF ${chunkOOFHIS6Q_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit}
1353
1353
  {#CCCCCC Please provide the requested details below...}
1354
1354
  `);
1355
1355
  state.answers = await askQuestions(state);
1356
1356
  const message = formatCommitMessage(state, workspaceConfig);
1357
- const commitMsgFile = chunkYXQQUYO7_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1357
+ const commitMsgFile = chunkOOFHIS6Q_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1358
1358
  console.log(chalkTemplate__default.default`
1359
1359
  {bold.#999999 ----------------------------------------}
1360
1360
 
@@ -1367,11 +1367,11 @@ async function runCommit(commitizenFile, dryRun = false) {
1367
1367
  commandItems.push(...["--file", commitMsgFile]);
1368
1368
  const command = shellescape__default.default(commandItems);
1369
1369
  if (dryRun) {
1370
- chunkYXQQUYO7_cjs.writeDebug(
1370
+ chunkOOFHIS6Q_cjs.writeDebug(
1371
1371
  `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
1372
1372
  workspaceConfig
1373
1373
  );
1374
- chunkYXQQUYO7_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1374
+ chunkOOFHIS6Q_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1375
1375
  } else {
1376
1376
  await fs__default.default.writeFile(commitMsgFile, message);
1377
1377
  chunkMTAYUS7E_cjs.run(workspaceConfig, command);
@@ -2030,7 +2030,7 @@ var runReadme = async ({
2030
2030
  exitOnError: true
2031
2031
  });
2032
2032
  const projectConfigs = projectGraph_js.readProjectsConfigurationFromProjectGraph(projectGraph);
2033
- const workspaceRoot = chunkYXQQUYO7_cjs.findWorkspaceRootSafe(process.cwd());
2033
+ const workspaceRoot = chunkOOFHIS6Q_cjs.findWorkspaceRootSafe(process.cwd());
2034
2034
  if (!workspaceRoot) {
2035
2035
  throw new Error(
2036
2036
  "Unable to find the workspace root. Please ensure you are running this command from within a workspace."
@@ -2447,7 +2447,7 @@ async function generateChangelogContent(releaseVersion, filepath, newContent, cu
2447
2447
  const header = await prettier.format(
2448
2448
  `![${(typeof workspaceConfig?.release.banner === "string" ? workspaceConfig.organization ? titleCase(
2449
2449
  typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name
2450
- ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunkYXQQUYO7_cjs.STORM_DEFAULT_RELEASE_BANNER})
2450
+ ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunkOOFHIS6Q_cjs.STORM_DEFAULT_RELEASE_BANNER})
2451
2451
 
2452
2452
  # Changelog ${project || workspaceConfig?.name ? "for" : ""}${workspaceConfig?.name ? ` ${titleCase(workspaceConfig.name)}` : ""}${project ? `${workspaceConfig?.name ? " -" : ""} ${titleCase(project)}` : ""}
2453
2453
 
@@ -2623,12 +2623,12 @@ async function generateChangelogForProjects({
2623
2623
  projectChangelogs
2624
2624
  )) {
2625
2625
  if (!projectGraph.nodes[projectName]?.data.root) {
2626
- chunkYXQQUYO7_cjs.writeWarning(
2626
+ chunkOOFHIS6Q_cjs.writeWarning(
2627
2627
  `A changelog was generated for ${projectName}, but it could not be found in the project graph. Skipping writing changelog file.`,
2628
2628
  workspaceConfig
2629
2629
  );
2630
2630
  } else if (projectChangelog.contents) {
2631
- const filePath = chunkYXQQUYO7_cjs.joinPaths(
2631
+ const filePath = chunkOOFHIS6Q_cjs.joinPaths(
2632
2632
  projectGraph.nodes[projectName].data.root,
2633
2633
  "CHANGELOG.md"
2634
2634
  );
@@ -2636,7 +2636,7 @@ async function generateChangelogForProjects({
2636
2636
  if (fs$1.existsSync(filePath)) {
2637
2637
  currentContent = await fs.readFile(filePath, "utf8");
2638
2638
  }
2639
- chunkYXQQUYO7_cjs.writeDebug(
2639
+ chunkOOFHIS6Q_cjs.writeDebug(
2640
2640
  `\u270D\uFE0F Writing changelog for project ${projectName} to ${filePath}`,
2641
2641
  workspaceConfig
2642
2642
  );
@@ -2859,7 +2859,7 @@ var StormGithubRemoteReleaseClient = class extends github.GithubRemoteReleaseCli
2859
2859
  }
2860
2860
  async createOrUpdateRelease(releaseVersion, changelogContents, latestCommit, { dryRun }) {
2861
2861
  if (!this.workspaceConfig) {
2862
- this.workspaceConfig = await chunkYXQQUYO7_cjs.getWorkspaceConfig();
2862
+ this.workspaceConfig = await chunkOOFHIS6Q_cjs.getWorkspaceConfig();
2863
2863
  }
2864
2864
  const name = releaseVersion.gitTag.includes("@") ? releaseVersion.gitTag.replace(new RegExp(`^@${this.workspaceConfig.name}/`), "").replace(/@.*$/, "") : releaseVersion.gitTag;
2865
2865
  return super.createOrUpdateRelease(
@@ -3052,7 +3052,7 @@ async function format3(path, data) {
3052
3052
  if (resolvedConfig) {
3053
3053
  code = await prettier.format(
3054
3054
  data,
3055
- chunkYXQQUYO7_cjs.defu(
3055
+ chunkOOFHIS6Q_cjs.defu(
3056
3056
  {
3057
3057
  absolutePath: path,
3058
3058
  ...resolvedConfig
@@ -3108,7 +3108,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer__default.def
3108
3108
  }
3109
3109
  async render() {
3110
3110
  if (!this.workspaceConfig) {
3111
- this.workspaceConfig = await chunkYXQQUYO7_cjs.getWorkspaceConfig();
3111
+ this.workspaceConfig = await chunkOOFHIS6Q_cjs.getWorkspaceConfig();
3112
3112
  }
3113
3113
  return super.render();
3114
3114
  }
@@ -3366,7 +3366,6 @@ var DEFAULT_CHANGELOG_RELEASE_CONFIG = {
3366
3366
  }
3367
3367
  };
3368
3368
  var DEFAULT_RELEASE_GROUP_CONFIG = {
3369
- projectsRelationship: "independent",
3370
3369
  changelog: {
3371
3370
  ...DEFAULT_CHANGELOG_RELEASE_CONFIG
3372
3371
  },
@@ -3374,7 +3373,6 @@ var DEFAULT_RELEASE_GROUP_CONFIG = {
3374
3373
  ...DEFAULT_VERSION_RELEASE_CONFIG
3375
3374
  },
3376
3375
  releaseTag: {
3377
- pattern: DEFAULT_INDEPENDENT_RELEASE_TAG_PATTERN,
3378
3376
  preferDockerVersion: false
3379
3377
  },
3380
3378
  versionPlans: false
@@ -3420,18 +3418,20 @@ var DEFAULT_RUST_RELEASE_GROUP_CONFIG = {
3420
3418
  var DEFAULT_RELEASE_CONFIG = {
3421
3419
  conventionalCommits: DEFAULT_CONVENTIONAL_COMMITS_CONFIG2,
3422
3420
  groups: {
3423
- packages: chunkYXQQUYO7_cjs.defu(
3421
+ packages: chunkOOFHIS6Q_cjs.defu(
3424
3422
  {
3425
3423
  projects: ["packages/*"]
3426
3424
  },
3427
3425
  DEFAULT_JS_RELEASE_GROUP_CONFIG,
3426
+ DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
3428
3427
  DEFAULT_RELEASE_GROUP_CONFIG
3429
3428
  ),
3430
- crates: chunkYXQQUYO7_cjs.defu(
3429
+ crates: chunkOOFHIS6Q_cjs.defu(
3431
3430
  {
3432
3431
  projects: ["crates/*"]
3433
3432
  },
3434
3433
  DEFAULT_RUST_RELEASE_GROUP_CONFIG,
3434
+ DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
3435
3435
  DEFAULT_RELEASE_GROUP_CONFIG
3436
3436
  )
3437
3437
  },
@@ -3450,7 +3450,7 @@ var DEFAULT_RELEASE_CONFIG = {
3450
3450
  }
3451
3451
  };
3452
3452
  function mergeReleaseGroupConfig(config5, defaultConfig, workspaceConfig) {
3453
- return chunkYXQQUYO7_cjs.defu(
3453
+ return chunkOOFHIS6Q_cjs.defu(
3454
3454
  {
3455
3455
  ...omit(defaultConfig, ["changelog", "version"]),
3456
3456
  ...config5
@@ -3481,9 +3481,10 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3481
3481
  projectGraph.nodes
3482
3482
  );
3483
3483
  if (!matchingProjects.length) {
3484
- throw new Error(
3484
+ chunkOOFHIS6Q_cjs.writeWarning(
3485
3485
  `Release group "${name}" does not have any matching projects.`
3486
3486
  );
3487
+ return void 0;
3487
3488
  }
3488
3489
  for (const project of matchingProjects) {
3489
3490
  if (alreadyMatchedProjects.has(project)) {
@@ -3493,20 +3494,21 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3493
3494
  }
3494
3495
  alreadyMatchedProjects.add(project);
3495
3496
  }
3496
- let languageDefaultConfig = {};
3497
+ let defaultConfig = {};
3497
3498
  if (matchingProjects.every(
3498
3499
  (project) => projectGraph.nodes[project]?.data && (projectGraph.nodes[project]?.data.metadata?.js || isEqualProjectTag(
3499
3500
  projectGraph.nodes[project]?.data,
3500
3501
  ProjectTagConstants.Language.TAG_ID,
3501
3502
  ProjectTagConstants.Language.TYPESCRIPT
3502
3503
  ) || projectGraph.nodes[project]?.data.metadata?.root && fs$1.existsSync(
3503
- chunkYXQQUYO7_cjs.joinPaths(
3504
+ chunkOOFHIS6Q_cjs.joinPaths(
3504
3505
  projectGraph.nodes[project]?.data.metadata?.root,
3505
3506
  "package.json"
3506
3507
  )
3507
3508
  ))
3508
3509
  )) {
3509
- languageDefaultConfig = chunkYXQQUYO7_cjs.defu(
3510
+ defaultConfig = chunkOOFHIS6Q_cjs.defu(
3511
+ group.projectsRelationship === "fixed" ? DEFAULT_FIXED_RELEASE_GROUP_CONFIG : DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
3510
3512
  DEFAULT_JS_RELEASE_GROUP_CONFIG,
3511
3513
  DEFAULT_RELEASE_GROUP_CONFIG
3512
3514
  );
@@ -3516,51 +3518,48 @@ function getReleaseGroupConfig(projectGraph, releaseConfig, workspaceConfig) {
3516
3518
  ProjectTagConstants.Language.TAG_ID,
3517
3519
  ProjectTagConstants.Language.RUST
3518
3520
  ) || projectGraph.nodes[project]?.data.metadata?.root && fs$1.existsSync(
3519
- chunkYXQQUYO7_cjs.joinPaths(
3521
+ chunkOOFHIS6Q_cjs.joinPaths(
3520
3522
  projectGraph.nodes[project]?.data.metadata?.root,
3521
3523
  "Cargo.toml"
3522
3524
  )
3523
3525
  ))
3524
3526
  )) {
3525
- languageDefaultConfig = chunkYXQQUYO7_cjs.defu(
3527
+ defaultConfig = chunkOOFHIS6Q_cjs.defu(
3528
+ group.projectsRelationship === "fixed" ? DEFAULT_FIXED_RELEASE_GROUP_CONFIG : DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
3526
3529
  DEFAULT_RUST_RELEASE_GROUP_CONFIG,
3527
3530
  DEFAULT_RELEASE_GROUP_CONFIG
3528
3531
  );
3529
3532
  }
3530
3533
  const config5 = mergeReleaseGroupConfig(
3531
3534
  group,
3532
- chunkYXQQUYO7_cjs.defu(
3533
- languageDefaultConfig,
3534
- group.projectsRelationship === "fixed" ? DEFAULT_FIXED_RELEASE_GROUP_CONFIG : DEFAULT_INDEPENDENT_RELEASE_GROUP_CONFIG,
3535
- DEFAULT_RELEASE_GROUP_CONFIG
3536
- ),
3535
+ defaultConfig,
3537
3536
  workspaceConfig
3538
3537
  );
3539
3538
  config5.projects = matchingProjects;
3540
3539
  if (workspaceConfig?.workspaceRoot) {
3541
3540
  if (config5.changelog?.renderer && typeof config5.changelog?.renderer === "string" && config5.changelog?.renderer?.toString().startsWith("./")) {
3542
- config5.changelog.renderer = chunkYXQQUYO7_cjs.joinPaths(
3541
+ config5.changelog.renderer = chunkOOFHIS6Q_cjs.joinPaths(
3543
3542
  workspaceConfig.workspaceRoot,
3544
3543
  config5.changelog.renderer
3545
3544
  );
3546
3545
  }
3547
3546
  if (config5.version?.versionActions && config5.version.versionActions.startsWith("./")) {
3548
- config5.version.versionActions = chunkYXQQUYO7_cjs.joinPaths(
3547
+ config5.version.versionActions = chunkOOFHIS6Q_cjs.joinPaths(
3549
3548
  workspaceConfig.workspaceRoot,
3550
3549
  config5.version?.versionActions
3551
3550
  );
3552
3551
  }
3553
3552
  }
3554
3553
  return [name, config5];
3555
- })
3554
+ }).filter(Boolean)
3556
3555
  );
3557
3556
  }
3558
3557
  function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNxJsonConfig = false) {
3559
3558
  let nxJson$1 = {};
3560
- if (!ignoreNxJsonConfig && fs$1.existsSync(chunkYXQQUYO7_cjs.joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3559
+ if (!ignoreNxJsonConfig && fs$1.existsSync(chunkOOFHIS6Q_cjs.joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3561
3560
  nxJson$1 = nxJson.readNxJson();
3562
3561
  }
3563
- const baseConfig = chunkYXQQUYO7_cjs.defu(
3562
+ const baseConfig = chunkOOFHIS6Q_cjs.defu(
3564
3563
  {
3565
3564
  changelog: {
3566
3565
  renderOptions: {
@@ -3577,7 +3576,7 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
3577
3576
  if (releaseConfig?.groups && Object.keys(releaseConfig.groups).length > 0) {
3578
3577
  groups = releaseConfig.groups;
3579
3578
  if (nxJson$1.release?.groups && Object.keys(nxJson$1.release.groups).length > 0) {
3580
- groups = chunkYXQQUYO7_cjs.defu(
3579
+ groups = chunkOOFHIS6Q_cjs.defu(
3581
3580
  groups,
3582
3581
  nxJson$1.release.groups
3583
3582
  );
@@ -3596,11 +3595,28 @@ function getReleaseConfig(projectGraph, releaseConfig, workspaceConfig, ignoreNx
3596
3595
  )
3597
3596
  };
3598
3597
  }
3598
+ function formatConfigLog(config5) {
3599
+ return chunkOOFHIS6Q_cjs.formatLogMessage(
3600
+ {
3601
+ ...omit(config5, ["groups"]),
3602
+ groups: Object.fromEntries(
3603
+ Object.entries(config5.groups ?? {}).map(([name, group]) => [
3604
+ name,
3605
+ {
3606
+ ...omit(group, ["projects"]),
3607
+ projects: group.projects.length ? group.projects : "No projects"
3608
+ }
3609
+ ])
3610
+ )
3611
+ },
3612
+ { sort: true, skip: ["workspaceConfig"] }
3613
+ );
3614
+ }
3599
3615
  var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGroupProcessor {
3600
3616
  constructor(tree, workspaceConfig, projectGraph, nxReleaseConfig, releaseGraph, versionOptions) {
3601
3617
  super(tree, projectGraph, nxReleaseConfig, releaseGraph, {
3602
3618
  dryRun: !!versionOptions.dryRun,
3603
- verbose: versionOptions.verbose || chunkYXQQUYO7_cjs.isVerbose(workspaceConfig.logLevel),
3619
+ verbose: versionOptions.verbose || chunkOOFHIS6Q_cjs.isVerbose(workspaceConfig.logLevel),
3604
3620
  firstRelease: !!versionOptions.firstRelease,
3605
3621
  preid: versionOptions.preid ?? workspaceConfig.preid ?? "",
3606
3622
  userGivenSpecifier: versionOptions.specifier,
@@ -3688,7 +3704,7 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
3688
3704
  deletedFiles: deletedFilesForVersionActions
3689
3705
  } = await afterAllProjectsVersioned(this.#tree.root, {
3690
3706
  dryRun: this.versionOptions.dryRun,
3691
- verbose: this.versionOptions.verbose || chunkYXQQUYO7_cjs.isVerbose(this.workspaceConfig.logLevel),
3707
+ verbose: this.versionOptions.verbose || chunkOOFHIS6Q_cjs.isVerbose(this.workspaceConfig.logLevel),
3692
3708
  rootVersionActionsOptions
3693
3709
  });
3694
3710
  for (const file of changedFilesForVersionActions) {
@@ -3721,7 +3737,7 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
3721
3737
  let handleDockerVersion;
3722
3738
  try {
3723
3739
  const dockerVersionUtilsPath = "@nx/docker/release/version-utils";
3724
- const { handleDockerVersion: _handleDockerVersion } = chunkYXQQUYO7_cjs.__require(dockerVersionUtilsPath);
3740
+ const { handleDockerVersion: _handleDockerVersion } = chunkOOFHIS6Q_cjs.__require(dockerVersionUtilsPath);
3725
3741
  handleDockerVersion = _handleDockerVersion;
3726
3742
  } catch (e) {
3727
3743
  console.error(
@@ -3793,13 +3809,7 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
3793
3809
  const groupNode = this.#releaseGraph.groupGraph.get(releaseGroupName);
3794
3810
  await this.#bumpVersions(groupNode.group);
3795
3811
  for (const project of groupNode.group.projects) {
3796
- const projectLogger = this.#releaseGraph.projectLoggers.get(project);
3797
- if (!projectLogger) {
3798
- throw new Error(
3799
- `No project logger found for project ${project} in release group ${releaseGroupName}. This should never happen.`
3800
- );
3801
- }
3802
- projectLogger.flush();
3812
+ this.#getProjectLoggerForProject(project).flush();
3803
3813
  }
3804
3814
  }
3805
3815
  async #bumpFixedVersionGroup(releaseGroup) {
@@ -3810,14 +3820,14 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
3810
3820
  const firstProject = releaseGroup.projects.reduce((ret, project) => {
3811
3821
  const currentVersion = this.#getCurrentCachedVersionForProject(project);
3812
3822
  if (!currentVersion) {
3813
- chunkYXQQUYO7_cjs.writeTrace(
3823
+ chunkOOFHIS6Q_cjs.writeTrace(
3814
3824
  `No current version found for project ${project} in release group ${releaseGroup.name}, skipping version comparison.`,
3815
3825
  this.workspaceConfig
3816
3826
  );
3817
3827
  return "";
3818
3828
  }
3819
3829
  if (!ret) {
3820
- chunkYXQQUYO7_cjs.writeTrace(
3830
+ chunkOOFHIS6Q_cjs.writeTrace(
3821
3831
  `Defaulting to first version ${currentVersion} (project: ${project})`,
3822
3832
  this.workspaceConfig
3823
3833
  );
@@ -3825,13 +3835,13 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
3825
3835
  }
3826
3836
  const largestVersion = this.#getCurrentCachedVersionForProject(ret);
3827
3837
  if (!largestVersion) {
3828
- chunkYXQQUYO7_cjs.writeTrace(
3838
+ chunkOOFHIS6Q_cjs.writeTrace(
3829
3839
  `No current version found for project ${ret} in release group ${releaseGroup.name}, skipping version comparison.`,
3830
3840
  this.workspaceConfig
3831
3841
  );
3832
3842
  return project;
3833
3843
  }
3834
- chunkYXQQUYO7_cjs.writeDebug(
3844
+ chunkOOFHIS6Q_cjs.writeDebug(
3835
3845
  `Comparing versions for fixed group ${releaseGroup.name}: Current Greatest Version: ${largestVersion}, Current Project Version: ${currentVersion} (project: ${project})`,
3836
3846
  this.workspaceConfig
3837
3847
  );
@@ -4279,7 +4289,7 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
4279
4289
  var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient {
4280
4290
  static async create(releaseConfig = {}, ignoreNxJsonConfig = false, workspaceConfig) {
4281
4291
  if (!workspaceConfig) {
4282
- workspaceConfig = await chunkYXQQUYO7_cjs.getWorkspaceConfig();
4292
+ workspaceConfig = await chunkOOFHIS6Q_cjs.getWorkspaceConfig();
4283
4293
  }
4284
4294
  const projectGraph = await devkit.createProjectGraphAsync({
4285
4295
  exitOnError: true,
@@ -4290,9 +4300,9 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
4290
4300
  "Failed to load the project graph. Please run `nx reset`, then run the `storm-git commit` command again."
4291
4301
  );
4292
4302
  }
4293
- chunkYXQQUYO7_cjs.writeTrace(
4303
+ chunkOOFHIS6Q_cjs.writeTrace(
4294
4304
  `Provided release configuration:
4295
- ${chunkYXQQUYO7_cjs.formatLogMessage(releaseConfig)}`,
4305
+ ${formatConfigLog(releaseConfig)}`,
4296
4306
  workspaceConfig
4297
4307
  );
4298
4308
  const config5 = getReleaseConfig(
@@ -4301,9 +4311,9 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(releaseConfig)}`,
4301
4311
  workspaceConfig,
4302
4312
  ignoreNxJsonConfig
4303
4313
  );
4304
- chunkYXQQUYO7_cjs.writeDebug(
4314
+ chunkOOFHIS6Q_cjs.writeDebug(
4305
4315
  `Resolved release configuration:
4306
- ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4316
+ ${formatConfigLog(config5)}`,
4307
4317
  workspaceConfig
4308
4318
  );
4309
4319
  return new _StormReleaseClient(projectGraph, config5, workspaceConfig);
@@ -4338,11 +4348,11 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4338
4348
  */
4339
4349
  constructor(projectGraph, releaseConfig, workspaceConfig) {
4340
4350
  super(releaseConfig, true);
4341
- chunkYXQQUYO7_cjs.writeDebug(
4351
+ chunkOOFHIS6Q_cjs.writeDebug(
4342
4352
  "Executing release with the following configuration",
4343
4353
  workspaceConfig
4344
4354
  );
4345
- chunkYXQQUYO7_cjs.writeDebug(releaseConfig, workspaceConfig);
4355
+ chunkOOFHIS6Q_cjs.writeDebug(releaseConfig, workspaceConfig);
4346
4356
  this.projectGraph = projectGraph;
4347
4357
  this.releaseConfig = releaseConfig;
4348
4358
  this.workspaceConfig = workspaceConfig;
@@ -4369,7 +4379,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4369
4379
  groups: options.groups
4370
4380
  },
4371
4381
  firstRelease: !!options.firstRelease,
4372
- verbose: chunkYXQQUYO7_cjs.isVerbose(this.workspaceConfig.logLevel)
4382
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(this.workspaceConfig.logLevel)
4373
4383
  });
4374
4384
  const projectToAdditionalDependencyBumps = /* @__PURE__ */ new Map();
4375
4385
  for (const releaseGroup of releaseGraph$1.releaseGroups) {
@@ -4496,7 +4506,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4496
4506
  })),
4497
4507
  this.releaseConfig.conventionalCommits
4498
4508
  );
4499
- chunkYXQQUYO7_cjs.writeDebug(
4509
+ chunkOOFHIS6Q_cjs.writeDebug(
4500
4510
  `Running changelog generation for the ${releaseGroup.name} release group`,
4501
4511
  this.workspaceConfig
4502
4512
  );
@@ -4570,7 +4580,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4570
4580
  })),
4571
4581
  this.releaseConfig.conventionalCommits
4572
4582
  );
4573
- chunkYXQQUYO7_cjs.writeDebug(
4583
+ chunkOOFHIS6Q_cjs.writeDebug(
4574
4584
  `Running changelog generation for the ${releaseGroup.name} release group`,
4575
4585
  this.workspaceConfig
4576
4586
  );
@@ -4599,7 +4609,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4599
4609
  }
4600
4610
  }
4601
4611
  }
4602
- chunkYXQQUYO7_cjs.writeDebug(
4612
+ chunkOOFHIS6Q_cjs.writeDebug(
4603
4613
  `Generated changelogs for ${Object.keys(allProjectChangelogs).length} projects:
4604
4614
  ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4605
4615
  `,
@@ -4628,7 +4638,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4628
4638
  );
4629
4639
  const changes = this.tree.listChanges();
4630
4640
  if (!changes.length) {
4631
- chunkYXQQUYO7_cjs.writeWarning(
4641
+ chunkOOFHIS6Q_cjs.writeWarning(
4632
4642
  "No changes were detected for any changelog files, so no changelog entries will be generated.",
4633
4643
  this.workspaceConfig
4634
4644
  );
@@ -4650,7 +4660,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4650
4660
  gitCommitArgs: options.gitCommitArgs || this.releaseConfig.changelog?.git?.commitArgs
4651
4661
  });
4652
4662
  latestCommit = await git.getCommitHash("HEAD");
4653
- chunkYXQQUYO7_cjs.writeDebug(
4663
+ chunkOOFHIS6Q_cjs.writeDebug(
4654
4664
  `Creating git tags: ${gitTagValues.join(", ")}`,
4655
4665
  this.workspaceConfig
4656
4666
  );
@@ -4663,7 +4673,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4663
4673
  verbose: options.verbose
4664
4674
  });
4665
4675
  }
4666
- chunkYXQQUYO7_cjs.writeDebug(
4676
+ chunkOOFHIS6Q_cjs.writeDebug(
4667
4677
  `Pushing to git remote "${options.gitRemote ?? "origin"}"`,
4668
4678
  this.workspaceConfig
4669
4679
  );
@@ -4679,7 +4689,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4679
4689
  return;
4680
4690
  };
4681
4691
  releaseVersion = async (options) => {
4682
- const verbose = options.verbose || chunkYXQQUYO7_cjs.isVerbose(this.workspaceConfig.logLevel);
4692
+ const verbose = options.verbose || chunkOOFHIS6Q_cjs.isVerbose(this.workspaceConfig.logLevel);
4683
4693
  this.projectGraph = await devkit.createProjectGraphAsync({
4684
4694
  exitOnError: true,
4685
4695
  resetDaemonClient: true
@@ -4703,7 +4713,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4703
4713
  versionActionsOptionsOverrides: options.versionActionsOptionsOverrides
4704
4714
  });
4705
4715
  if (releaseGraph$1.filterLog && process.env.NX_RELEASE_INTERNAL_SUPPRESS_FILTER_LOG !== "true") {
4706
- chunkYXQQUYO7_cjs.writeDebug(formatNxLog(releaseGraph$1.filterLog), this.workspaceConfig);
4716
+ chunkOOFHIS6Q_cjs.writeDebug(formatNxLog(releaseGraph$1.filterLog), this.workspaceConfig);
4707
4717
  }
4708
4718
  if (!options.specifier) {
4709
4719
  const rawVersionPlans = await versionPlans.readRawVersionPlans();
@@ -4722,7 +4732,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4722
4732
  }
4723
4733
  } else {
4724
4734
  if (verbose && releaseGraph$1.releaseGroups.some((g) => !!g.versionPlans)) {
4725
- chunkYXQQUYO7_cjs.writeDebug(
4735
+ chunkOOFHIS6Q_cjs.writeDebug(
4726
4736
  `Skipping version plan discovery as a specifier was provided`,
4727
4737
  this.workspaceConfig
4728
4738
  );
@@ -4732,7 +4742,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4732
4742
  options.deleteVersionPlans = false;
4733
4743
  }
4734
4744
  if (this.releaseConfig.version?.preVersionCommand) {
4735
- chunkYXQQUYO7_cjs.writeDebug(
4745
+ chunkOOFHIS6Q_cjs.writeDebug(
4736
4746
  "Executing the following pre-version command: \n" + this.releaseConfig.version.preVersionCommand,
4737
4747
  this.workspaceConfig
4738
4748
  );
@@ -4768,7 +4778,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4768
4778
  continue;
4769
4779
  }
4770
4780
  if (releaseGroup.version?.groupPreVersionCommand) {
4771
- chunkYXQQUYO7_cjs.writeDebug(
4781
+ chunkOOFHIS6Q_cjs.writeDebug(
4772
4782
  `Executing the ${releaseGroup.name} release group's pre-version command:
4773
4783
  ` + releaseGroup.version?.groupPreVersionCommand,
4774
4784
  this.workspaceConfig
@@ -4828,7 +4838,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4828
4838
  changed.forEach((f) => additionalChangedFiles.add(f));
4829
4839
  deleted.forEach((f) => additionalDeletedFiles.add(f));
4830
4840
  if (this.releaseConfig.docker && typeof this.releaseConfig.docker === "object" && this.releaseConfig.docker?.preVersionCommand) {
4831
- chunkYXQQUYO7_cjs.writeDebug(
4841
+ chunkOOFHIS6Q_cjs.writeDebug(
4832
4842
  `Executing the docker pre-version command:
4833
4843
  ` + this.releaseConfig.docker.preVersionCommand,
4834
4844
  this.workspaceConfig
@@ -4865,7 +4875,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4865
4875
  continue;
4866
4876
  }
4867
4877
  if (releaseGroup.docker?.groupPreVersionCommand) {
4868
- chunkYXQQUYO7_cjs.writeDebug(
4878
+ chunkOOFHIS6Q_cjs.writeDebug(
4869
4879
  `Executing the ${releaseGroup.name} release group's docker pre-version command:
4870
4880
  ` + releaseGroup.docker?.groupPreVersionCommand,
4871
4881
  this.workspaceConfig
@@ -4896,7 +4906,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4896
4906
  }
4897
4907
  }
4898
4908
  if (this.releaseConfig.docker || releaseGraph$1.releaseGroups.some((rg) => rg.docker)) {
4899
- chunkYXQQUYO7_cjs.writeWarning(
4909
+ chunkOOFHIS6Q_cjs.writeWarning(
4900
4910
  formatNxLog({
4901
4911
  title: "Warning",
4902
4912
  bodyLines: [
@@ -4953,7 +4963,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4953
4963
  gitCommitArgs: options.gitCommitArgs || this.releaseConfig.version?.git?.commitArgs
4954
4964
  });
4955
4965
  } else if (options.stageChanges ?? this.releaseConfig.version?.git?.stageChanges) {
4956
- chunkYXQQUYO7_cjs.writeDebug(`Staging changed files with git`);
4966
+ chunkOOFHIS6Q_cjs.writeDebug(`Staging changed files with git`);
4957
4967
  await git.gitAdd({
4958
4968
  changedFiles,
4959
4969
  deletedFiles,
@@ -4962,7 +4972,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4962
4972
  });
4963
4973
  }
4964
4974
  if (options.gitTag ?? this.releaseConfig.version?.git?.tag) {
4965
- chunkYXQQUYO7_cjs.writeDebug(`Tagging commit with git`);
4975
+ chunkOOFHIS6Q_cjs.writeDebug(`Tagging commit with git`);
4966
4976
  for (const tag of gitTagValues) {
4967
4977
  await gitTag({
4968
4978
  tag,
@@ -4974,7 +4984,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4974
4984
  }
4975
4985
  }
4976
4986
  if (options.gitPush ?? this.releaseConfig.version?.git?.push) {
4977
- chunkYXQQUYO7_cjs.writeDebug(`Pushing to git remote "${options.gitRemote ?? "origin"}"`);
4987
+ chunkOOFHIS6Q_cjs.writeDebug(`Pushing to git remote "${options.gitRemote ?? "origin"}"`);
4978
4988
  await git.gitPush({
4979
4989
  gitRemote: options.gitRemote,
4980
4990
  dryRun: options.dryRun,
@@ -5005,7 +5015,7 @@ var runRelease = async (config5, {
5005
5015
  throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
5006
5016
  }
5007
5017
  if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config5)) {
5008
- chunkYXQQUYO7_cjs.writeFatal(
5018
+ chunkOOFHIS6Q_cjs.writeFatal(
5009
5019
  "You must be a member of the Storm Software organization to run the release process.",
5010
5020
  config5
5011
5021
  );
@@ -5022,26 +5032,26 @@ var runRelease = async (config5, {
5022
5032
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
5023
5033
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
5024
5034
  process.env.NPM_CONFIG_PROVENANCE = "true";
5025
- chunkYXQQUYO7_cjs.writeDebug("Creating Storm release client...", config5);
5035
+ chunkOOFHIS6Q_cjs.writeDebug("Creating Storm release client...", config5);
5026
5036
  const releaseClient = await StormReleaseClient.create(
5027
5037
  releaseConfig,
5028
5038
  ignoreNxJsonConfig,
5029
5039
  config5
5030
5040
  );
5031
- chunkYXQQUYO7_cjs.writeDebug("Reading in the workspaces release configuration", config5);
5041
+ chunkOOFHIS6Q_cjs.writeDebug("Reading in the workspaces release configuration", config5);
5032
5042
  const to = head || process.env.NX_HEAD;
5033
5043
  const from = base || process.env.NX_BASE;
5034
- chunkYXQQUYO7_cjs.writeDebug(
5044
+ chunkOOFHIS6Q_cjs.writeDebug(
5035
5045
  `Using the following Git SHAs to determine the release content:
5036
5046
  - From: ${from}
5037
5047
  - To: ${to}
5038
5048
  `,
5039
5049
  config5
5040
5050
  );
5041
- chunkYXQQUYO7_cjs.writeDebug("Determining the current release versions...", config5);
5051
+ chunkOOFHIS6Q_cjs.writeDebug("Determining the current release versions...", config5);
5042
5052
  const { workspaceVersion, projectsVersionData, releaseGraph } = await releaseClient.releaseVersion({
5043
5053
  dryRun,
5044
- verbose: chunkYXQQUYO7_cjs.isVerbose(config5.logLevel),
5054
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(config5.logLevel),
5045
5055
  preid: config5.preid,
5046
5056
  stageChanges: true,
5047
5057
  gitCommit: false
@@ -5050,14 +5060,14 @@ var runRelease = async (config5, {
5050
5060
  version: releaseConfig?.projectsRelationship === "fixed" ? workspaceVersion : void 0,
5051
5061
  versionData: projectsVersionData,
5052
5062
  dryRun,
5053
- verbose: chunkYXQQUYO7_cjs.isVerbose(config5.logLevel),
5063
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(config5.logLevel),
5054
5064
  to,
5055
5065
  from,
5056
5066
  releaseGraph
5057
5067
  });
5058
- chunkYXQQUYO7_cjs.writeDebug("Tagging commit with git", config5);
5068
+ chunkOOFHIS6Q_cjs.writeDebug("Tagging commit with git", config5);
5059
5069
  if (skipPublish) {
5060
- chunkYXQQUYO7_cjs.writeWarning(
5070
+ chunkOOFHIS6Q_cjs.writeWarning(
5061
5071
  "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
5062
5072
  config5
5063
5073
  );
@@ -5066,7 +5076,7 @@ var runRelease = async (config5, {
5066
5076
  (key) => projectsVersionData[key]?.newVersion
5067
5077
  );
5068
5078
  if (changedProjects.length > 0) {
5069
- chunkYXQQUYO7_cjs.writeInfo(
5079
+ chunkOOFHIS6Q_cjs.writeInfo(
5070
5080
  `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
5071
5081
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
5072
5082
  `,
@@ -5075,7 +5085,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
5075
5085
  await updatePackageManifests(projectsVersionData, config5);
5076
5086
  const result = await releaseClient.releasePublish({
5077
5087
  dryRun,
5078
- verbose: chunkYXQQUYO7_cjs.isVerbose(config5.logLevel)
5088
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(config5.logLevel)
5079
5089
  });
5080
5090
  const failedProjects = Object.keys(result).filter(
5081
5091
  (key) => result[key]?.code && result[key]?.code > 0
@@ -5090,10 +5100,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${res
5090
5100
  );
5091
5101
  }
5092
5102
  } else {
5093
- chunkYXQQUYO7_cjs.writeWarning("Skipped publishing packages.", config5);
5103
+ chunkOOFHIS6Q_cjs.writeWarning("Skipped publishing packages.", config5);
5094
5104
  }
5095
5105
  }
5096
- chunkYXQQUYO7_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
5106
+ chunkOOFHIS6Q_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
5097
5107
  };
5098
5108
  async function updatePackageManifests(projectsVersionData, config5) {
5099
5109
  let projectGraph;
@@ -5108,7 +5118,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
5108
5118
  Object.keys(projectsVersionData).map(async (node) => {
5109
5119
  const projectNode = projectGraph.nodes[node];
5110
5120
  if (!projectNode?.data.root) {
5111
- chunkYXQQUYO7_cjs.writeWarning(
5121
+ chunkOOFHIS6Q_cjs.writeWarning(
5112
5122
  `Project node ${node} not found in the project graph. Skipping manifest update.`,
5113
5123
  config5
5114
5124
  );
@@ -5116,17 +5126,17 @@ async function updatePackageManifests(projectsVersionData, config5) {
5116
5126
  }
5117
5127
  const versionData = projectsVersionData[node];
5118
5128
  if (projectNode?.data.root && versionData && versionData.newVersion !== null) {
5119
- chunkYXQQUYO7_cjs.writeTrace(
5129
+ chunkOOFHIS6Q_cjs.writeTrace(
5120
5130
  `Writing version ${versionData.newVersion} update to manifest file for ${node}
5121
5131
  `,
5122
5132
  config5
5123
5133
  );
5124
- const projectRoot = chunkYXQQUYO7_cjs.joinPaths(
5134
+ const projectRoot = chunkOOFHIS6Q_cjs.joinPaths(
5125
5135
  config5.workspaceRoot,
5126
5136
  projectNode.data.root
5127
5137
  );
5128
- const packageJsonPath = chunkYXQQUYO7_cjs.joinPaths(projectRoot, "package.json");
5129
- const cargoTomlPath = chunkYXQQUYO7_cjs.joinPaths(projectRoot, "Cargo.toml");
5138
+ const packageJsonPath = chunkOOFHIS6Q_cjs.joinPaths(projectRoot, "package.json");
5139
+ const cargoTomlPath = chunkOOFHIS6Q_cjs.joinPaths(projectRoot, "Cargo.toml");
5130
5140
  if (fs$1.existsSync(packageJsonPath)) {
5131
5141
  const packageJsonContent = await fs.readFile(packageJsonPath, "utf8");
5132
5142
  const packageJson = JSON.parse(packageJsonContent);
@@ -5144,7 +5154,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
5144
5154
  })
5145
5155
  );
5146
5156
  } else {
5147
- chunkYXQQUYO7_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
5157
+ chunkOOFHIS6Q_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
5148
5158
  }
5149
5159
  }
5150
5160
 
@@ -5152,8 +5162,8 @@ async function updatePackageManifests(projectsVersionData, config5) {
5152
5162
  var _config = {};
5153
5163
  function createProgram(config5) {
5154
5164
  _config = config5;
5155
- chunkYXQQUYO7_cjs.writeInfo(`${chunkYXQQUYO7_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
5156
- const root = chunkYXQQUYO7_cjs.findWorkspaceRootSafe(process.cwd());
5165
+ chunkOOFHIS6Q_cjs.writeInfo(`${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
5166
+ const root = chunkOOFHIS6Q_cjs.findWorkspaceRootSafe(process.cwd());
5157
5167
  process.env.STORM_WORKSPACE_ROOT ??= root;
5158
5168
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
5159
5169
  if (root) {
@@ -5200,12 +5210,12 @@ async function commitAction({
5200
5210
  dryRun = false
5201
5211
  }) {
5202
5212
  try {
5203
- chunkYXQQUYO7_cjs.writeInfo(
5204
- `${chunkYXQQUYO7_cjs.brandIcon(typeof config5 === "string" ? {} : config5)} Preparing to commit your changes. Please provide the requested details below...`,
5213
+ chunkOOFHIS6Q_cjs.writeInfo(
5214
+ `${chunkOOFHIS6Q_cjs.brandIcon(typeof config5 === "string" ? {} : config5)} Preparing to commit your changes. Please provide the requested details below...`,
5205
5215
  _config
5206
5216
  );
5207
5217
  await runCommit(config5, dryRun);
5208
- chunkYXQQUYO7_cjs.writeSuccess(
5218
+ chunkOOFHIS6Q_cjs.writeSuccess(
5209
5219
  `\u2714 Storm Commit processing completed successfully!
5210
5220
 
5211
5221
  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}
@@ -5213,7 +5223,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
5213
5223
  _config
5214
5224
  );
5215
5225
  } catch (error) {
5216
- chunkYXQQUYO7_cjs.writeFatal(
5226
+ chunkOOFHIS6Q_cjs.writeFatal(
5217
5227
  `A fatal error occurred while running commit action:
5218
5228
 
5219
5229
  ${error.message}${error.stack ? `
@@ -5228,17 +5238,17 @@ Please fix any errors and try committing again.`,
5228
5238
  }
5229
5239
  async function readmeAction(options) {
5230
5240
  try {
5231
- chunkYXQQUYO7_cjs.writeInfo(
5232
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Formatting the workspace's README.md files`,
5241
+ chunkOOFHIS6Q_cjs.writeInfo(
5242
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Formatting the workspace's README.md files`,
5233
5243
  _config
5234
5244
  );
5235
5245
  await runReadme(options);
5236
- chunkYXQQUYO7_cjs.writeSuccess(
5246
+ chunkOOFHIS6Q_cjs.writeSuccess(
5237
5247
  "\u2714 Formatting of the workspace's README.md files is complete\n",
5238
5248
  _config
5239
5249
  );
5240
5250
  } catch (error) {
5241
- chunkYXQQUYO7_cjs.writeFatal(
5251
+ chunkOOFHIS6Q_cjs.writeFatal(
5242
5252
  `A fatal error occurred while running README format action:
5243
5253
 
5244
5254
  ${error.message}`
@@ -5253,8 +5263,8 @@ async function releaseAction({
5253
5263
  dryRun
5254
5264
  }) {
5255
5265
  try {
5256
- chunkYXQQUYO7_cjs.writeInfo(
5257
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
5266
+ chunkOOFHIS6Q_cjs.writeInfo(
5267
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
5258
5268
  _config
5259
5269
  );
5260
5270
  await runRelease(_config, {
@@ -5263,9 +5273,9 @@ async function releaseAction({
5263
5273
  base,
5264
5274
  head
5265
5275
  });
5266
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Release completed successfully!\n", _config);
5276
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Release completed successfully!\n", _config);
5267
5277
  } catch (error) {
5268
- chunkYXQQUYO7_cjs.writeFatal(
5278
+ chunkOOFHIS6Q_cjs.writeFatal(
5269
5279
  `A fatal error occurred while running release action:
5270
5280
 
5271
5281
  ${error.message} ${error.stack ? `
@@ -5279,17 +5289,17 @@ Stacktrace: ${error.stack}` : ""}`,
5279
5289
  }
5280
5290
  async function commitLintAction(options) {
5281
5291
  try {
5282
- chunkYXQQUYO7_cjs.writeInfo(
5283
- `${chunkYXQQUYO7_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.`,
5292
+ chunkOOFHIS6Q_cjs.writeInfo(
5293
+ `${chunkOOFHIS6Q_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.`,
5284
5294
  _config
5285
5295
  );
5286
5296
  await runCommitLint(_config, options);
5287
- chunkYXQQUYO7_cjs.writeSuccess(
5297
+ chunkOOFHIS6Q_cjs.writeSuccess(
5288
5298
  "\u2714 Linting the commit messages completed successfully!\n",
5289
5299
  _config
5290
5300
  );
5291
5301
  } catch (error) {
5292
- chunkYXQQUYO7_cjs.writeFatal(
5302
+ chunkOOFHIS6Q_cjs.writeFatal(
5293
5303
  `A fatal error occurred while linting the commit messages:
5294
5304
 
5295
5305
  ${error.message}`,
@@ -5300,14 +5310,14 @@ ${error.message}`,
5300
5310
  }
5301
5311
  async function postCheckoutAction({ files }) {
5302
5312
  try {
5303
- chunkYXQQUYO7_cjs.writeInfo(
5304
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Running the Storm post-checkout git hook for ${files.length} files in the workspace...`,
5313
+ chunkOOFHIS6Q_cjs.writeInfo(
5314
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running the Storm post-checkout git hook for ${files.length} files in the workspace...`,
5305
5315
  _config
5306
5316
  );
5307
- await chunkNJCMHJBD_cjs.postCheckoutHook(_config, files);
5308
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Post-checkout hook completed successfully!\n", _config);
5317
+ await chunkCZGE4575_cjs.postCheckoutHook(_config, files);
5318
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Post-checkout hook completed successfully!\n", _config);
5309
5319
  } catch (error) {
5310
- chunkYXQQUYO7_cjs.writeFatal(
5320
+ chunkOOFHIS6Q_cjs.writeFatal(
5311
5321
  `A fatal error occurred while running the post-checkout hook:
5312
5322
 
5313
5323
  ${error.message}`,
@@ -5318,14 +5328,14 @@ ${error.message}`,
5318
5328
  }
5319
5329
  async function postCommitAction({ files }) {
5320
5330
  try {
5321
- chunkYXQQUYO7_cjs.writeInfo(
5322
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Running the Storm post-commit git hook for ${files.length} files in the workspace...`,
5331
+ chunkOOFHIS6Q_cjs.writeInfo(
5332
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running the Storm post-commit git hook for ${files.length} files in the workspace...`,
5323
5333
  _config
5324
5334
  );
5325
- await chunkTBOHZQTA_cjs.postCommitHook(_config, files);
5326
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Post-commit hook completed successfully!\n", _config);
5335
+ await chunkGVYZ5VMU_cjs.postCommitHook(_config, files);
5336
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Post-commit hook completed successfully!\n", _config);
5327
5337
  } catch (error) {
5328
- chunkYXQQUYO7_cjs.writeFatal(
5338
+ chunkOOFHIS6Q_cjs.writeFatal(
5329
5339
  `A fatal error occurred while running the post-commit hook:
5330
5340
 
5331
5341
  ${error.message}`,
@@ -5336,14 +5346,14 @@ ${error.message}`,
5336
5346
  }
5337
5347
  async function postMergeAction({ files }) {
5338
5348
  try {
5339
- chunkYXQQUYO7_cjs.writeInfo(
5340
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Running the Storm post-merge git hook for ${files.length} files in the workspace...`,
5349
+ chunkOOFHIS6Q_cjs.writeInfo(
5350
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running the Storm post-merge git hook for ${files.length} files in the workspace...`,
5341
5351
  _config
5342
5352
  );
5343
- await chunkRYRABFEU_cjs.postMergeHook(_config, files);
5344
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Post-merge hook completed successfully!\n", _config);
5353
+ await chunkPXSKDL54_cjs.postMergeHook(_config, files);
5354
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Post-merge hook completed successfully!\n", _config);
5345
5355
  } catch (error) {
5346
- chunkYXQQUYO7_cjs.writeFatal(
5356
+ chunkOOFHIS6Q_cjs.writeFatal(
5347
5357
  `A fatal error occurred while running the post-merge hook:
5348
5358
 
5349
5359
  ${error.message}`,
@@ -5354,14 +5364,14 @@ ${error.message}`,
5354
5364
  }
5355
5365
  async function preCommitAction({ files }) {
5356
5366
  try {
5357
- chunkYXQQUYO7_cjs.writeInfo(
5358
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Running the Storm pre-commit git hook for ${files.length} files in the workspace...`,
5367
+ chunkOOFHIS6Q_cjs.writeInfo(
5368
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running the Storm pre-commit git hook for ${files.length} files in the workspace...`,
5359
5369
  _config
5360
5370
  );
5361
- await chunkFAQW5YFS_cjs.preCommitHook(_config, files);
5362
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Pre-commit hook completed successfully!\n", _config);
5371
+ await chunkTCH5N4G6_cjs.preCommitHook(_config, files);
5372
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Pre-commit hook completed successfully!\n", _config);
5363
5373
  } catch (error) {
5364
- chunkYXQQUYO7_cjs.writeFatal(
5374
+ chunkOOFHIS6Q_cjs.writeFatal(
5365
5375
  `A fatal error occurred while running the pre-commit hook:
5366
5376
 
5367
5377
  ${error.message}`,
@@ -5372,14 +5382,14 @@ ${error.message}`,
5372
5382
  }
5373
5383
  async function prePushAction({ files }) {
5374
5384
  try {
5375
- chunkYXQQUYO7_cjs.writeInfo(
5376
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Running the Storm pre-push git hook for ${files.length} files in the workspace...`,
5385
+ chunkOOFHIS6Q_cjs.writeInfo(
5386
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running the Storm pre-push git hook for ${files.length} files in the workspace...`,
5377
5387
  _config
5378
5388
  );
5379
- await chunk4FUNPJYN_cjs.prePushHook(_config, files);
5380
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Pre-push hook completed successfully!\n", _config);
5389
+ await chunk2DHSN2C3_cjs.prePushHook(_config, files);
5390
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Pre-push hook completed successfully!\n", _config);
5381
5391
  } catch (error) {
5382
- chunkYXQQUYO7_cjs.writeFatal(
5392
+ chunkOOFHIS6Q_cjs.writeFatal(
5383
5393
  `A fatal error occurred while running the pre-push hook:
5384
5394
 
5385
5395
  ${error.message}`,
@@ -5390,14 +5400,14 @@ ${error.message}`,
5390
5400
  }
5391
5401
  async function prepareAction() {
5392
5402
  try {
5393
- chunkYXQQUYO7_cjs.writeInfo(
5394
- `${chunkYXQQUYO7_cjs.brandIcon(_config)} Running the Storm prepare git hook for the workspace...`,
5403
+ chunkOOFHIS6Q_cjs.writeInfo(
5404
+ `${chunkOOFHIS6Q_cjs.brandIcon(_config)} Running the Storm prepare git hook for the workspace...`,
5395
5405
  _config
5396
5406
  );
5397
- await chunkWTWICYHN_cjs.prepareHook(_config);
5398
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Prepare hook completed successfully!\n", _config);
5407
+ await chunk7FLNOTUH_cjs.prepareHook(_config);
5408
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Prepare hook completed successfully!\n", _config);
5399
5409
  } catch (error) {
5400
- chunkYXQQUYO7_cjs.writeFatal(
5410
+ chunkOOFHIS6Q_cjs.writeFatal(
5401
5411
  `A fatal error occurred while running the prepare hook:
5402
5412
 
5403
5413
  ${error.message}`,
@@ -5409,18 +5419,18 @@ ${error.message}`,
5409
5419
 
5410
5420
  // bin/git.ts
5411
5421
  void (async () => {
5412
- const config5 = await chunkYXQQUYO7_cjs.getConfig();
5422
+ const config5 = await chunkOOFHIS6Q_cjs.getConfig();
5413
5423
  try {
5414
- chunkYXQQUYO7_cjs.handleProcess(config5);
5424
+ chunkOOFHIS6Q_cjs.handleProcess(config5);
5415
5425
  const program = createProgram(config5);
5416
5426
  await program.parseAsync(process.argv);
5417
- chunkYXQQUYO7_cjs.writeSuccess(
5427
+ chunkOOFHIS6Q_cjs.writeSuccess(
5418
5428
  `\u2714 Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
5419
5429
  config5
5420
5430
  );
5421
- chunkYXQQUYO7_cjs.exitWithSuccess(config5);
5431
+ chunkOOFHIS6Q_cjs.exitWithSuccess(config5);
5422
5432
  } catch (error) {
5423
- chunkYXQQUYO7_cjs.exitWithError(config5);
5433
+ chunkOOFHIS6Q_cjs.exitWithError(config5);
5424
5434
  process.exit(1);
5425
5435
  }
5426
5436
  })();