@storm-software/git-tools 2.131.14 → 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 +193 -167
  34. package/bin/git.cjs.map +1 -1
  35. package/bin/git.js +59 -33
  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) {
@@ -3809,18 +3819,34 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
3809
3819
  let bumped = false;
3810
3820
  const firstProject = releaseGroup.projects.reduce((ret, project) => {
3811
3821
  const currentVersion = this.#getCurrentCachedVersionForProject(project);
3822
+ if (!currentVersion) {
3823
+ chunkOOFHIS6Q_cjs.writeTrace(
3824
+ `No current version found for project ${project} in release group ${releaseGroup.name}, skipping version comparison.`,
3825
+ this.workspaceConfig
3826
+ );
3827
+ return "";
3828
+ }
3812
3829
  if (!ret) {
3813
- return currentVersion;
3830
+ chunkOOFHIS6Q_cjs.writeTrace(
3831
+ `Defaulting to first version ${currentVersion} (project: ${project})`,
3832
+ this.workspaceConfig
3833
+ );
3834
+ return project;
3814
3835
  }
3815
3836
  const largestVersion = this.#getCurrentCachedVersionForProject(ret);
3816
3837
  if (!largestVersion) {
3817
- return currentVersion;
3838
+ chunkOOFHIS6Q_cjs.writeTrace(
3839
+ `No current version found for project ${ret} in release group ${releaseGroup.name}, skipping version comparison.`,
3840
+ this.workspaceConfig
3841
+ );
3842
+ return project;
3818
3843
  }
3819
- chunkYXQQUYO7_cjs.writeDebug(
3820
- `Comparing versions for fixed group ${releaseGroup.name}: Current Greatest Version: ${largestVersion}, Current Project Version: ${currentVersion} (project: ${project})`
3844
+ chunkOOFHIS6Q_cjs.writeDebug(
3845
+ `Comparing versions for fixed group ${releaseGroup.name}: Current Greatest Version: ${largestVersion}, Current Project Version: ${currentVersion} (project: ${project})`,
3846
+ this.workspaceConfig
3821
3847
  );
3822
3848
  if (currentVersion && semver__default.default.gt(currentVersion, largestVersion)) {
3823
- return currentVersion;
3849
+ return project;
3824
3850
  }
3825
3851
  return ret;
3826
3852
  }, "");
@@ -4263,7 +4289,7 @@ var StormReleaseGroupProcessor = class extends releaseGroupProcessor.ReleaseGrou
4263
4289
  var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient {
4264
4290
  static async create(releaseConfig = {}, ignoreNxJsonConfig = false, workspaceConfig) {
4265
4291
  if (!workspaceConfig) {
4266
- workspaceConfig = await chunkYXQQUYO7_cjs.getWorkspaceConfig();
4292
+ workspaceConfig = await chunkOOFHIS6Q_cjs.getWorkspaceConfig();
4267
4293
  }
4268
4294
  const projectGraph = await devkit.createProjectGraphAsync({
4269
4295
  exitOnError: true,
@@ -4274,9 +4300,9 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
4274
4300
  "Failed to load the project graph. Please run `nx reset`, then run the `storm-git commit` command again."
4275
4301
  );
4276
4302
  }
4277
- chunkYXQQUYO7_cjs.writeTrace(
4303
+ chunkOOFHIS6Q_cjs.writeTrace(
4278
4304
  `Provided release configuration:
4279
- ${chunkYXQQUYO7_cjs.formatLogMessage(releaseConfig)}`,
4305
+ ${formatConfigLog(releaseConfig)}`,
4280
4306
  workspaceConfig
4281
4307
  );
4282
4308
  const config5 = getReleaseConfig(
@@ -4285,9 +4311,9 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(releaseConfig)}`,
4285
4311
  workspaceConfig,
4286
4312
  ignoreNxJsonConfig
4287
4313
  );
4288
- chunkYXQQUYO7_cjs.writeDebug(
4314
+ chunkOOFHIS6Q_cjs.writeDebug(
4289
4315
  `Resolved release configuration:
4290
- ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4316
+ ${formatConfigLog(config5)}`,
4291
4317
  workspaceConfig
4292
4318
  );
4293
4319
  return new _StormReleaseClient(projectGraph, config5, workspaceConfig);
@@ -4322,11 +4348,11 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4322
4348
  */
4323
4349
  constructor(projectGraph, releaseConfig, workspaceConfig) {
4324
4350
  super(releaseConfig, true);
4325
- chunkYXQQUYO7_cjs.writeDebug(
4351
+ chunkOOFHIS6Q_cjs.writeDebug(
4326
4352
  "Executing release with the following configuration",
4327
4353
  workspaceConfig
4328
4354
  );
4329
- chunkYXQQUYO7_cjs.writeDebug(releaseConfig, workspaceConfig);
4355
+ chunkOOFHIS6Q_cjs.writeDebug(releaseConfig, workspaceConfig);
4330
4356
  this.projectGraph = projectGraph;
4331
4357
  this.releaseConfig = releaseConfig;
4332
4358
  this.workspaceConfig = workspaceConfig;
@@ -4353,7 +4379,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4353
4379
  groups: options.groups
4354
4380
  },
4355
4381
  firstRelease: !!options.firstRelease,
4356
- verbose: chunkYXQQUYO7_cjs.isVerbose(this.workspaceConfig.logLevel)
4382
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(this.workspaceConfig.logLevel)
4357
4383
  });
4358
4384
  const projectToAdditionalDependencyBumps = /* @__PURE__ */ new Map();
4359
4385
  for (const releaseGroup of releaseGraph$1.releaseGroups) {
@@ -4480,7 +4506,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4480
4506
  })),
4481
4507
  this.releaseConfig.conventionalCommits
4482
4508
  );
4483
- chunkYXQQUYO7_cjs.writeDebug(
4509
+ chunkOOFHIS6Q_cjs.writeDebug(
4484
4510
  `Running changelog generation for the ${releaseGroup.name} release group`,
4485
4511
  this.workspaceConfig
4486
4512
  );
@@ -4554,7 +4580,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4554
4580
  })),
4555
4581
  this.releaseConfig.conventionalCommits
4556
4582
  );
4557
- chunkYXQQUYO7_cjs.writeDebug(
4583
+ chunkOOFHIS6Q_cjs.writeDebug(
4558
4584
  `Running changelog generation for the ${releaseGroup.name} release group`,
4559
4585
  this.workspaceConfig
4560
4586
  );
@@ -4583,7 +4609,7 @@ ${chunkYXQQUYO7_cjs.formatLogMessage(config5)}`,
4583
4609
  }
4584
4610
  }
4585
4611
  }
4586
- chunkYXQQUYO7_cjs.writeDebug(
4612
+ chunkOOFHIS6Q_cjs.writeDebug(
4587
4613
  `Generated changelogs for ${Object.keys(allProjectChangelogs).length} projects:
4588
4614
  ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4589
4615
  `,
@@ -4612,7 +4638,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4612
4638
  );
4613
4639
  const changes = this.tree.listChanges();
4614
4640
  if (!changes.length) {
4615
- chunkYXQQUYO7_cjs.writeWarning(
4641
+ chunkOOFHIS6Q_cjs.writeWarning(
4616
4642
  "No changes were detected for any changelog files, so no changelog entries will be generated.",
4617
4643
  this.workspaceConfig
4618
4644
  );
@@ -4634,7 +4660,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4634
4660
  gitCommitArgs: options.gitCommitArgs || this.releaseConfig.changelog?.git?.commitArgs
4635
4661
  });
4636
4662
  latestCommit = await git.getCommitHash("HEAD");
4637
- chunkYXQQUYO7_cjs.writeDebug(
4663
+ chunkOOFHIS6Q_cjs.writeDebug(
4638
4664
  `Creating git tags: ${gitTagValues.join(", ")}`,
4639
4665
  this.workspaceConfig
4640
4666
  );
@@ -4647,7 +4673,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4647
4673
  verbose: options.verbose
4648
4674
  });
4649
4675
  }
4650
- chunkYXQQUYO7_cjs.writeDebug(
4676
+ chunkOOFHIS6Q_cjs.writeDebug(
4651
4677
  `Pushing to git remote "${options.gitRemote ?? "origin"}"`,
4652
4678
  this.workspaceConfig
4653
4679
  );
@@ -4663,7 +4689,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4663
4689
  return;
4664
4690
  };
4665
4691
  releaseVersion = async (options) => {
4666
- const verbose = options.verbose || chunkYXQQUYO7_cjs.isVerbose(this.workspaceConfig.logLevel);
4692
+ const verbose = options.verbose || chunkOOFHIS6Q_cjs.isVerbose(this.workspaceConfig.logLevel);
4667
4693
  this.projectGraph = await devkit.createProjectGraphAsync({
4668
4694
  exitOnError: true,
4669
4695
  resetDaemonClient: true
@@ -4687,7 +4713,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4687
4713
  versionActionsOptionsOverrides: options.versionActionsOptionsOverrides
4688
4714
  });
4689
4715
  if (releaseGraph$1.filterLog && process.env.NX_RELEASE_INTERNAL_SUPPRESS_FILTER_LOG !== "true") {
4690
- chunkYXQQUYO7_cjs.writeDebug(formatNxLog(releaseGraph$1.filterLog), this.workspaceConfig);
4716
+ chunkOOFHIS6Q_cjs.writeDebug(formatNxLog(releaseGraph$1.filterLog), this.workspaceConfig);
4691
4717
  }
4692
4718
  if (!options.specifier) {
4693
4719
  const rawVersionPlans = await versionPlans.readRawVersionPlans();
@@ -4706,7 +4732,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4706
4732
  }
4707
4733
  } else {
4708
4734
  if (verbose && releaseGraph$1.releaseGroups.some((g) => !!g.versionPlans)) {
4709
- chunkYXQQUYO7_cjs.writeDebug(
4735
+ chunkOOFHIS6Q_cjs.writeDebug(
4710
4736
  `Skipping version plan discovery as a specifier was provided`,
4711
4737
  this.workspaceConfig
4712
4738
  );
@@ -4716,7 +4742,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4716
4742
  options.deleteVersionPlans = false;
4717
4743
  }
4718
4744
  if (this.releaseConfig.version?.preVersionCommand) {
4719
- chunkYXQQUYO7_cjs.writeDebug(
4745
+ chunkOOFHIS6Q_cjs.writeDebug(
4720
4746
  "Executing the following pre-version command: \n" + this.releaseConfig.version.preVersionCommand,
4721
4747
  this.workspaceConfig
4722
4748
  );
@@ -4752,7 +4778,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4752
4778
  continue;
4753
4779
  }
4754
4780
  if (releaseGroup.version?.groupPreVersionCommand) {
4755
- chunkYXQQUYO7_cjs.writeDebug(
4781
+ chunkOOFHIS6Q_cjs.writeDebug(
4756
4782
  `Executing the ${releaseGroup.name} release group's pre-version command:
4757
4783
  ` + releaseGroup.version?.groupPreVersionCommand,
4758
4784
  this.workspaceConfig
@@ -4812,7 +4838,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4812
4838
  changed.forEach((f) => additionalChangedFiles.add(f));
4813
4839
  deleted.forEach((f) => additionalDeletedFiles.add(f));
4814
4840
  if (this.releaseConfig.docker && typeof this.releaseConfig.docker === "object" && this.releaseConfig.docker?.preVersionCommand) {
4815
- chunkYXQQUYO7_cjs.writeDebug(
4841
+ chunkOOFHIS6Q_cjs.writeDebug(
4816
4842
  `Executing the docker pre-version command:
4817
4843
  ` + this.releaseConfig.docker.preVersionCommand,
4818
4844
  this.workspaceConfig
@@ -4849,7 +4875,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4849
4875
  continue;
4850
4876
  }
4851
4877
  if (releaseGroup.docker?.groupPreVersionCommand) {
4852
- chunkYXQQUYO7_cjs.writeDebug(
4878
+ chunkOOFHIS6Q_cjs.writeDebug(
4853
4879
  `Executing the ${releaseGroup.name} release group's docker pre-version command:
4854
4880
  ` + releaseGroup.docker?.groupPreVersionCommand,
4855
4881
  this.workspaceConfig
@@ -4880,7 +4906,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4880
4906
  }
4881
4907
  }
4882
4908
  if (this.releaseConfig.docker || releaseGraph$1.releaseGroups.some((rg) => rg.docker)) {
4883
- chunkYXQQUYO7_cjs.writeWarning(
4909
+ chunkOOFHIS6Q_cjs.writeWarning(
4884
4910
  formatNxLog({
4885
4911
  title: "Warning",
4886
4912
  bodyLines: [
@@ -4937,7 +4963,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4937
4963
  gitCommitArgs: options.gitCommitArgs || this.releaseConfig.version?.git?.commitArgs
4938
4964
  });
4939
4965
  } else if (options.stageChanges ?? this.releaseConfig.version?.git?.stageChanges) {
4940
- chunkYXQQUYO7_cjs.writeDebug(`Staging changed files with git`);
4966
+ chunkOOFHIS6Q_cjs.writeDebug(`Staging changed files with git`);
4941
4967
  await git.gitAdd({
4942
4968
  changedFiles,
4943
4969
  deletedFiles,
@@ -4946,7 +4972,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4946
4972
  });
4947
4973
  }
4948
4974
  if (options.gitTag ?? this.releaseConfig.version?.git?.tag) {
4949
- chunkYXQQUYO7_cjs.writeDebug(`Tagging commit with git`);
4975
+ chunkOOFHIS6Q_cjs.writeDebug(`Tagging commit with git`);
4950
4976
  for (const tag of gitTagValues) {
4951
4977
  await gitTag({
4952
4978
  tag,
@@ -4958,7 +4984,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
4958
4984
  }
4959
4985
  }
4960
4986
  if (options.gitPush ?? this.releaseConfig.version?.git?.push) {
4961
- chunkYXQQUYO7_cjs.writeDebug(`Pushing to git remote "${options.gitRemote ?? "origin"}"`);
4987
+ chunkOOFHIS6Q_cjs.writeDebug(`Pushing to git remote "${options.gitRemote ?? "origin"}"`);
4962
4988
  await git.gitPush({
4963
4989
  gitRemote: options.gitRemote,
4964
4990
  dryRun: options.dryRun,
@@ -4989,7 +5015,7 @@ var runRelease = async (config5, {
4989
5015
  throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
4990
5016
  }
4991
5017
  if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config5)) {
4992
- chunkYXQQUYO7_cjs.writeFatal(
5018
+ chunkOOFHIS6Q_cjs.writeFatal(
4993
5019
  "You must be a member of the Storm Software organization to run the release process.",
4994
5020
  config5
4995
5021
  );
@@ -5006,26 +5032,26 @@ var runRelease = async (config5, {
5006
5032
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
5007
5033
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
5008
5034
  process.env.NPM_CONFIG_PROVENANCE = "true";
5009
- chunkYXQQUYO7_cjs.writeDebug("Creating Storm release client...", config5);
5035
+ chunkOOFHIS6Q_cjs.writeDebug("Creating Storm release client...", config5);
5010
5036
  const releaseClient = await StormReleaseClient.create(
5011
5037
  releaseConfig,
5012
5038
  ignoreNxJsonConfig,
5013
5039
  config5
5014
5040
  );
5015
- chunkYXQQUYO7_cjs.writeDebug("Reading in the workspaces release configuration", config5);
5041
+ chunkOOFHIS6Q_cjs.writeDebug("Reading in the workspaces release configuration", config5);
5016
5042
  const to = head || process.env.NX_HEAD;
5017
5043
  const from = base || process.env.NX_BASE;
5018
- chunkYXQQUYO7_cjs.writeDebug(
5044
+ chunkOOFHIS6Q_cjs.writeDebug(
5019
5045
  `Using the following Git SHAs to determine the release content:
5020
5046
  - From: ${from}
5021
5047
  - To: ${to}
5022
5048
  `,
5023
5049
  config5
5024
5050
  );
5025
- chunkYXQQUYO7_cjs.writeDebug("Determining the current release versions...", config5);
5051
+ chunkOOFHIS6Q_cjs.writeDebug("Determining the current release versions...", config5);
5026
5052
  const { workspaceVersion, projectsVersionData, releaseGraph } = await releaseClient.releaseVersion({
5027
5053
  dryRun,
5028
- verbose: chunkYXQQUYO7_cjs.isVerbose(config5.logLevel),
5054
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(config5.logLevel),
5029
5055
  preid: config5.preid,
5030
5056
  stageChanges: true,
5031
5057
  gitCommit: false
@@ -5034,14 +5060,14 @@ var runRelease = async (config5, {
5034
5060
  version: releaseConfig?.projectsRelationship === "fixed" ? workspaceVersion : void 0,
5035
5061
  versionData: projectsVersionData,
5036
5062
  dryRun,
5037
- verbose: chunkYXQQUYO7_cjs.isVerbose(config5.logLevel),
5063
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(config5.logLevel),
5038
5064
  to,
5039
5065
  from,
5040
5066
  releaseGraph
5041
5067
  });
5042
- chunkYXQQUYO7_cjs.writeDebug("Tagging commit with git", config5);
5068
+ chunkOOFHIS6Q_cjs.writeDebug("Tagging commit with git", config5);
5043
5069
  if (skipPublish) {
5044
- chunkYXQQUYO7_cjs.writeWarning(
5070
+ chunkOOFHIS6Q_cjs.writeWarning(
5045
5071
  "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
5046
5072
  config5
5047
5073
  );
@@ -5050,7 +5076,7 @@ var runRelease = async (config5, {
5050
5076
  (key) => projectsVersionData[key]?.newVersion
5051
5077
  );
5052
5078
  if (changedProjects.length > 0) {
5053
- chunkYXQQUYO7_cjs.writeInfo(
5079
+ chunkOOFHIS6Q_cjs.writeInfo(
5054
5080
  `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
5055
5081
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
5056
5082
  `,
@@ -5059,7 +5085,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
5059
5085
  await updatePackageManifests(projectsVersionData, config5);
5060
5086
  const result = await releaseClient.releasePublish({
5061
5087
  dryRun,
5062
- verbose: chunkYXQQUYO7_cjs.isVerbose(config5.logLevel)
5088
+ verbose: chunkOOFHIS6Q_cjs.isVerbose(config5.logLevel)
5063
5089
  });
5064
5090
  const failedProjects = Object.keys(result).filter(
5065
5091
  (key) => result[key]?.code && result[key]?.code > 0
@@ -5074,10 +5100,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${res
5074
5100
  );
5075
5101
  }
5076
5102
  } else {
5077
- chunkYXQQUYO7_cjs.writeWarning("Skipped publishing packages.", config5);
5103
+ chunkOOFHIS6Q_cjs.writeWarning("Skipped publishing packages.", config5);
5078
5104
  }
5079
5105
  }
5080
- chunkYXQQUYO7_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
5106
+ chunkOOFHIS6Q_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
5081
5107
  };
5082
5108
  async function updatePackageManifests(projectsVersionData, config5) {
5083
5109
  let projectGraph;
@@ -5092,7 +5118,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
5092
5118
  Object.keys(projectsVersionData).map(async (node) => {
5093
5119
  const projectNode = projectGraph.nodes[node];
5094
5120
  if (!projectNode?.data.root) {
5095
- chunkYXQQUYO7_cjs.writeWarning(
5121
+ chunkOOFHIS6Q_cjs.writeWarning(
5096
5122
  `Project node ${node} not found in the project graph. Skipping manifest update.`,
5097
5123
  config5
5098
5124
  );
@@ -5100,17 +5126,17 @@ async function updatePackageManifests(projectsVersionData, config5) {
5100
5126
  }
5101
5127
  const versionData = projectsVersionData[node];
5102
5128
  if (projectNode?.data.root && versionData && versionData.newVersion !== null) {
5103
- chunkYXQQUYO7_cjs.writeTrace(
5129
+ chunkOOFHIS6Q_cjs.writeTrace(
5104
5130
  `Writing version ${versionData.newVersion} update to manifest file for ${node}
5105
5131
  `,
5106
5132
  config5
5107
5133
  );
5108
- const projectRoot = chunkYXQQUYO7_cjs.joinPaths(
5134
+ const projectRoot = chunkOOFHIS6Q_cjs.joinPaths(
5109
5135
  config5.workspaceRoot,
5110
5136
  projectNode.data.root
5111
5137
  );
5112
- const packageJsonPath = chunkYXQQUYO7_cjs.joinPaths(projectRoot, "package.json");
5113
- 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");
5114
5140
  if (fs$1.existsSync(packageJsonPath)) {
5115
5141
  const packageJsonContent = await fs.readFile(packageJsonPath, "utf8");
5116
5142
  const packageJson = JSON.parse(packageJsonContent);
@@ -5128,7 +5154,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
5128
5154
  })
5129
5155
  );
5130
5156
  } else {
5131
- chunkYXQQUYO7_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
5157
+ chunkOOFHIS6Q_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
5132
5158
  }
5133
5159
  }
5134
5160
 
@@ -5136,8 +5162,8 @@ async function updatePackageManifests(projectsVersionData, config5) {
5136
5162
  var _config = {};
5137
5163
  function createProgram(config5) {
5138
5164
  _config = config5;
5139
- chunkYXQQUYO7_cjs.writeInfo(`${chunkYXQQUYO7_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
5140
- 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());
5141
5167
  process.env.STORM_WORKSPACE_ROOT ??= root;
5142
5168
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
5143
5169
  if (root) {
@@ -5184,12 +5210,12 @@ async function commitAction({
5184
5210
  dryRun = false
5185
5211
  }) {
5186
5212
  try {
5187
- chunkYXQQUYO7_cjs.writeInfo(
5188
- `${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...`,
5189
5215
  _config
5190
5216
  );
5191
5217
  await runCommit(config5, dryRun);
5192
- chunkYXQQUYO7_cjs.writeSuccess(
5218
+ chunkOOFHIS6Q_cjs.writeSuccess(
5193
5219
  `\u2714 Storm Commit processing completed successfully!
5194
5220
 
5195
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}
@@ -5197,7 +5223,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
5197
5223
  _config
5198
5224
  );
5199
5225
  } catch (error) {
5200
- chunkYXQQUYO7_cjs.writeFatal(
5226
+ chunkOOFHIS6Q_cjs.writeFatal(
5201
5227
  `A fatal error occurred while running commit action:
5202
5228
 
5203
5229
  ${error.message}${error.stack ? `
@@ -5212,17 +5238,17 @@ Please fix any errors and try committing again.`,
5212
5238
  }
5213
5239
  async function readmeAction(options) {
5214
5240
  try {
5215
- chunkYXQQUYO7_cjs.writeInfo(
5216
- `${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`,
5217
5243
  _config
5218
5244
  );
5219
5245
  await runReadme(options);
5220
- chunkYXQQUYO7_cjs.writeSuccess(
5246
+ chunkOOFHIS6Q_cjs.writeSuccess(
5221
5247
  "\u2714 Formatting of the workspace's README.md files is complete\n",
5222
5248
  _config
5223
5249
  );
5224
5250
  } catch (error) {
5225
- chunkYXQQUYO7_cjs.writeFatal(
5251
+ chunkOOFHIS6Q_cjs.writeFatal(
5226
5252
  `A fatal error occurred while running README format action:
5227
5253
 
5228
5254
  ${error.message}`
@@ -5237,8 +5263,8 @@ async function releaseAction({
5237
5263
  dryRun
5238
5264
  }) {
5239
5265
  try {
5240
- chunkYXQQUYO7_cjs.writeInfo(
5241
- `${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`,
5242
5268
  _config
5243
5269
  );
5244
5270
  await runRelease(_config, {
@@ -5247,9 +5273,9 @@ async function releaseAction({
5247
5273
  base,
5248
5274
  head
5249
5275
  });
5250
- chunkYXQQUYO7_cjs.writeSuccess("\u2714 Release completed successfully!\n", _config);
5276
+ chunkOOFHIS6Q_cjs.writeSuccess("\u2714 Release completed successfully!\n", _config);
5251
5277
  } catch (error) {
5252
- chunkYXQQUYO7_cjs.writeFatal(
5278
+ chunkOOFHIS6Q_cjs.writeFatal(
5253
5279
  `A fatal error occurred while running release action:
5254
5280
 
5255
5281
  ${error.message} ${error.stack ? `
@@ -5263,17 +5289,17 @@ Stacktrace: ${error.stack}` : ""}`,
5263
5289
  }
5264
5290
  async function commitLintAction(options) {
5265
5291
  try {
5266
- chunkYXQQUYO7_cjs.writeInfo(
5267
- `${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.`,
5268
5294
  _config
5269
5295
  );
5270
5296
  await runCommitLint(_config, options);
5271
- chunkYXQQUYO7_cjs.writeSuccess(
5297
+ chunkOOFHIS6Q_cjs.writeSuccess(
5272
5298
  "\u2714 Linting the commit messages completed successfully!\n",
5273
5299
  _config
5274
5300
  );
5275
5301
  } catch (error) {
5276
- chunkYXQQUYO7_cjs.writeFatal(
5302
+ chunkOOFHIS6Q_cjs.writeFatal(
5277
5303
  `A fatal error occurred while linting the commit messages:
5278
5304
 
5279
5305
  ${error.message}`,
@@ -5284,14 +5310,14 @@ ${error.message}`,
5284
5310
  }
5285
5311
  async function postCheckoutAction({ files }) {
5286
5312
  try {
5287
- chunkYXQQUYO7_cjs.writeInfo(
5288
- `${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...`,
5289
5315
  _config
5290
5316
  );
5291
- await chunkNJCMHJBD_cjs.postCheckoutHook(_config, files);
5292
- 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);
5293
5319
  } catch (error) {
5294
- chunkYXQQUYO7_cjs.writeFatal(
5320
+ chunkOOFHIS6Q_cjs.writeFatal(
5295
5321
  `A fatal error occurred while running the post-checkout hook:
5296
5322
 
5297
5323
  ${error.message}`,
@@ -5302,14 +5328,14 @@ ${error.message}`,
5302
5328
  }
5303
5329
  async function postCommitAction({ files }) {
5304
5330
  try {
5305
- chunkYXQQUYO7_cjs.writeInfo(
5306
- `${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...`,
5307
5333
  _config
5308
5334
  );
5309
- await chunkTBOHZQTA_cjs.postCommitHook(_config, files);
5310
- 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);
5311
5337
  } catch (error) {
5312
- chunkYXQQUYO7_cjs.writeFatal(
5338
+ chunkOOFHIS6Q_cjs.writeFatal(
5313
5339
  `A fatal error occurred while running the post-commit hook:
5314
5340
 
5315
5341
  ${error.message}`,
@@ -5320,14 +5346,14 @@ ${error.message}`,
5320
5346
  }
5321
5347
  async function postMergeAction({ files }) {
5322
5348
  try {
5323
- chunkYXQQUYO7_cjs.writeInfo(
5324
- `${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...`,
5325
5351
  _config
5326
5352
  );
5327
- await chunkRYRABFEU_cjs.postMergeHook(_config, files);
5328
- 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);
5329
5355
  } catch (error) {
5330
- chunkYXQQUYO7_cjs.writeFatal(
5356
+ chunkOOFHIS6Q_cjs.writeFatal(
5331
5357
  `A fatal error occurred while running the post-merge hook:
5332
5358
 
5333
5359
  ${error.message}`,
@@ -5338,14 +5364,14 @@ ${error.message}`,
5338
5364
  }
5339
5365
  async function preCommitAction({ files }) {
5340
5366
  try {
5341
- chunkYXQQUYO7_cjs.writeInfo(
5342
- `${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...`,
5343
5369
  _config
5344
5370
  );
5345
- await chunkFAQW5YFS_cjs.preCommitHook(_config, files);
5346
- 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);
5347
5373
  } catch (error) {
5348
- chunkYXQQUYO7_cjs.writeFatal(
5374
+ chunkOOFHIS6Q_cjs.writeFatal(
5349
5375
  `A fatal error occurred while running the pre-commit hook:
5350
5376
 
5351
5377
  ${error.message}`,
@@ -5356,14 +5382,14 @@ ${error.message}`,
5356
5382
  }
5357
5383
  async function prePushAction({ files }) {
5358
5384
  try {
5359
- chunkYXQQUYO7_cjs.writeInfo(
5360
- `${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...`,
5361
5387
  _config
5362
5388
  );
5363
- await chunk4FUNPJYN_cjs.prePushHook(_config, files);
5364
- 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);
5365
5391
  } catch (error) {
5366
- chunkYXQQUYO7_cjs.writeFatal(
5392
+ chunkOOFHIS6Q_cjs.writeFatal(
5367
5393
  `A fatal error occurred while running the pre-push hook:
5368
5394
 
5369
5395
  ${error.message}`,
@@ -5374,14 +5400,14 @@ ${error.message}`,
5374
5400
  }
5375
5401
  async function prepareAction() {
5376
5402
  try {
5377
- chunkYXQQUYO7_cjs.writeInfo(
5378
- `${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...`,
5379
5405
  _config
5380
5406
  );
5381
- await chunkWTWICYHN_cjs.prepareHook(_config);
5382
- 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);
5383
5409
  } catch (error) {
5384
- chunkYXQQUYO7_cjs.writeFatal(
5410
+ chunkOOFHIS6Q_cjs.writeFatal(
5385
5411
  `A fatal error occurred while running the prepare hook:
5386
5412
 
5387
5413
  ${error.message}`,
@@ -5393,18 +5419,18 @@ ${error.message}`,
5393
5419
 
5394
5420
  // bin/git.ts
5395
5421
  void (async () => {
5396
- const config5 = await chunkYXQQUYO7_cjs.getConfig();
5422
+ const config5 = await chunkOOFHIS6Q_cjs.getConfig();
5397
5423
  try {
5398
- chunkYXQQUYO7_cjs.handleProcess(config5);
5424
+ chunkOOFHIS6Q_cjs.handleProcess(config5);
5399
5425
  const program = createProgram(config5);
5400
5426
  await program.parseAsync(process.argv);
5401
- chunkYXQQUYO7_cjs.writeSuccess(
5427
+ chunkOOFHIS6Q_cjs.writeSuccess(
5402
5428
  `\u2714 Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
5403
5429
  config5
5404
5430
  );
5405
- chunkYXQQUYO7_cjs.exitWithSuccess(config5);
5431
+ chunkOOFHIS6Q_cjs.exitWithSuccess(config5);
5406
5432
  } catch (error) {
5407
- chunkYXQQUYO7_cjs.exitWithError(config5);
5433
+ chunkOOFHIS6Q_cjs.exitWithError(config5);
5408
5434
  process.exit(1);
5409
5435
  }
5410
5436
  })();