@storm-software/git-tools 2.124.71 → 2.124.72

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/git.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  require('./chunk-AU5PZKTN.cjs');
5
5
  var chunkFH5OSXAJ_cjs = require('./chunk-FH5OSXAJ.cjs');
6
- var chunk2JUV6SZN_cjs = require('./chunk-2JUV6SZN.cjs');
6
+ var chunkZBLIE7F7_cjs = require('./chunk-ZBLIE7F7.cjs');
7
7
  var TOML = require('@ltd/j-toml');
8
8
  var commander = require('commander');
9
9
  require('@inquirer/checkbox');
@@ -402,9 +402,9 @@ function getRuleFromScopeEnum(scopeEnum) {
402
402
 
403
403
  // ../conventional-changelog/src/index.ts
404
404
  async function createPreset(variant = "monorepo") {
405
- const workspaceConfig = await chunk2JUV6SZN_cjs.getWorkspaceConfig();
405
+ const workspaceConfig = await chunkZBLIE7F7_cjs.getWorkspaceConfig();
406
406
  if (variant === "minimal") {
407
- return chunk2JUV6SZN_cjs.defu(
407
+ return chunkZBLIE7F7_cjs.defu(
408
408
  await createBasePreset__default.default({ ...COMMIT_CONFIGS.minimal.changelogs.props }),
409
409
  {
410
410
  ...COMMIT_CONFIGS.minimal,
@@ -418,7 +418,7 @@ async function createPreset(variant = "monorepo") {
418
418
  );
419
419
  }
420
420
  const nxScopes = await getNxScopes({ config: workspaceConfig });
421
- return chunk2JUV6SZN_cjs.defu(
421
+ return chunkZBLIE7F7_cjs.defu(
422
422
  await createBasePreset__default.default({
423
423
  ...COMMIT_CONFIGS.monorepo.changelogs.props,
424
424
  scope: nxScopes
@@ -970,7 +970,7 @@ async function lint(message, config5) {
970
970
  // src/commitlint/run.ts
971
971
  var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
972
972
  async function runCommitLint(workspaceConfig, options) {
973
- chunk2JUV6SZN_cjs.writeInfo(
973
+ chunkZBLIE7F7_cjs.writeInfo(
974
974
  "\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
975
975
  workspaceConfig
976
976
  );
@@ -978,7 +978,7 @@ async function runCommitLint(workspaceConfig, options) {
978
978
  if (options.message && options.message !== COMMIT_EDITMSG_PATH) {
979
979
  commitMessage = options.message;
980
980
  } else {
981
- const commitFile = chunk2JUV6SZN_cjs.joinPaths(
981
+ const commitFile = chunkZBLIE7F7_cjs.joinPaths(
982
982
  workspaceConfig.workspaceRoot,
983
983
  options.file || options.message || COMMIT_EDITMSG_PATH
984
984
  );
@@ -995,17 +995,17 @@ async function runCommitLint(workspaceConfig, options) {
995
995
  if (upstreamRemote) {
996
996
  const upstreamRemoteIdentifier = upstreamRemote.split(" ")[0]?.trim();
997
997
  if (!upstreamRemoteIdentifier) {
998
- chunk2JUV6SZN_cjs.writeWarning(
998
+ chunkZBLIE7F7_cjs.writeWarning(
999
999
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison.`,
1000
1000
  workspaceConfig
1001
1001
  );
1002
1002
  return;
1003
1003
  }
1004
- chunk2JUV6SZN_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1004
+ chunkZBLIE7F7_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1005
1005
  const currentBranch = childProcess__default.default.execSync("git branch --show-current").toString().trim();
1006
1006
  gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
1007
1007
  } else {
1008
- chunk2JUV6SZN_cjs.writeWarning(
1008
+ chunkZBLIE7F7_cjs.writeWarning(
1009
1009
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison against upstream main.`,
1010
1010
  workspaceConfig
1011
1011
  );
@@ -1013,7 +1013,7 @@ async function runCommitLint(workspaceConfig, options) {
1013
1013
  }
1014
1014
  commitMessage = childProcess__default.default.execSync(gitLogCmd).toString().trim();
1015
1015
  if (!commitMessage) {
1016
- chunk2JUV6SZN_cjs.writeWarning(
1016
+ chunkZBLIE7F7_cjs.writeWarning(
1017
1017
  "No commits found. Skipping commit message validation.",
1018
1018
  workspaceConfig
1019
1019
  );
@@ -1023,7 +1023,7 @@ async function runCommitLint(workspaceConfig, options) {
1023
1023
  const preset = await createPreset(workspaceConfig.variant);
1024
1024
  const report = await lint(commitMessage, preset);
1025
1025
  if (!preset.commitlint.regex.test(commitMessage) || report.errors.length || report.warnings.length) {
1026
- chunk2JUV6SZN_cjs.writeSuccess(
1026
+ chunkZBLIE7F7_cjs.writeSuccess(
1027
1027
  `Commit was processing completed successfully!`,
1028
1028
  workspaceConfig
1029
1029
  );
@@ -1235,7 +1235,7 @@ async function createState(workspaceConfig, configPath) {
1235
1235
  const project = projectConfigurations.projects[scope];
1236
1236
  if (project) {
1237
1237
  let description = `${project.name} - ${project.root}`;
1238
- const packageJsonPath = chunk2JUV6SZN_cjs.joinPaths(project.root, "package.json");
1238
+ const packageJsonPath = chunkZBLIE7F7_cjs.joinPaths(project.root, "package.json");
1239
1239
  if (fs$1.existsSync(packageJsonPath)) {
1240
1240
  const packageJsonFile = await fs.readFile(packageJsonPath, "utf8");
1241
1241
  const packageJson = JSON.parse(packageJsonFile);
@@ -1309,20 +1309,20 @@ ${closedIssueEmoji}${config5.settings.closedIssueMessage}${issues}`;
1309
1309
 
1310
1310
  // src/commit/run.ts
1311
1311
  async function runCommit(commitizenFile, dryRun = false) {
1312
- const workspaceConfig = await chunk2JUV6SZN_cjs.getWorkspaceConfig();
1312
+ const workspaceConfig = await chunkZBLIE7F7_cjs.getWorkspaceConfig();
1313
1313
  const state = await createState(workspaceConfig);
1314
1314
  if (dryRun) {
1315
- chunk2JUV6SZN_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1315
+ chunkZBLIE7F7_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1316
1316
  }
1317
1317
  console.log(chalkTemplate__default.default`
1318
1318
  {bold.#999999 ----------------------------------------}
1319
1319
 
1320
- {bold.#FFFFFF ${chunk2JUV6SZN_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit}
1320
+ {bold.#FFFFFF ${chunkZBLIE7F7_cjs.brandIcon(workspaceConfig)} Storm Software Git-Tools - Commit}
1321
1321
  {#CCCCCC Please provide the requested details below...}
1322
1322
  `);
1323
1323
  state.answers = await askQuestions(state);
1324
1324
  const message = formatCommitMessage(state, workspaceConfig);
1325
- const commitMsgFile = chunk2JUV6SZN_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1325
+ const commitMsgFile = chunkZBLIE7F7_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1326
1326
  console.log(chalkTemplate__default.default`
1327
1327
  {bold.#999999 ----------------------------------------}
1328
1328
 
@@ -1335,11 +1335,11 @@ async function runCommit(commitizenFile, dryRun = false) {
1335
1335
  commandItems.push(...["--file", commitMsgFile]);
1336
1336
  const command = shellescape__default.default(commandItems);
1337
1337
  if (dryRun) {
1338
- chunk2JUV6SZN_cjs.writeDebug(
1338
+ chunkZBLIE7F7_cjs.writeDebug(
1339
1339
  `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
1340
1340
  workspaceConfig
1341
1341
  );
1342
- chunk2JUV6SZN_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1342
+ chunkZBLIE7F7_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1343
1343
  } else {
1344
1344
  await fs__default.default.writeFile(commitMsgFile, message);
1345
1345
  chunkFH5OSXAJ_cjs.run(workspaceConfig, command);
@@ -2380,7 +2380,7 @@ async function generateChangelogContent(releaseVersion, filepath, newContent, cu
2380
2380
  const header = await prettier.format(
2381
2381
  `![${(typeof workspaceConfig?.release.banner === "string" ? workspaceConfig.organization ? titleCase(
2382
2382
  typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name
2383
- ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunk2JUV6SZN_cjs.STORM_DEFAULT_RELEASE_BANNER})
2383
+ ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunkZBLIE7F7_cjs.STORM_DEFAULT_RELEASE_BANNER})
2384
2384
 
2385
2385
  # Changelog ${project || workspaceConfig?.name ? "for" : ""}${workspaceConfig?.name ? ` ${titleCase(workspaceConfig.name)}` : ""}${project ? `${workspaceConfig?.name ? " -" : ""} ${titleCase(project)}` : ""}
2386
2386
 
@@ -2556,12 +2556,12 @@ async function generateChangelogForProjects({
2556
2556
  projectChangelogs
2557
2557
  )) {
2558
2558
  if (!projectGraph.nodes[projectName]?.data.root) {
2559
- chunk2JUV6SZN_cjs.writeWarning(
2559
+ chunkZBLIE7F7_cjs.writeWarning(
2560
2560
  `A changelog was generated for ${projectName}, but it could not be found in the project graph. Skipping writing changelog file.`,
2561
2561
  workspaceConfig
2562
2562
  );
2563
2563
  } else if (projectChangelog.contents) {
2564
- const filePath = chunk2JUV6SZN_cjs.joinPaths(
2564
+ const filePath = chunkZBLIE7F7_cjs.joinPaths(
2565
2565
  projectGraph.nodes[projectName].data.root,
2566
2566
  "CHANGELOG.md"
2567
2567
  );
@@ -2569,7 +2569,7 @@ async function generateChangelogForProjects({
2569
2569
  if (fs$1.existsSync(filePath)) {
2570
2570
  currentContent = await fs.readFile(filePath, "utf8");
2571
2571
  }
2572
- chunk2JUV6SZN_cjs.writeDebug(
2572
+ chunkZBLIE7F7_cjs.writeDebug(
2573
2573
  `\u270D\uFE0F Writing changelog for project ${projectName} to ${filePath}`,
2574
2574
  workspaceConfig
2575
2575
  );
@@ -2792,7 +2792,7 @@ var StormGithubRemoteReleaseClient = class extends github.GithubRemoteReleaseCli
2792
2792
  }
2793
2793
  async createOrUpdateRelease(releaseVersion, changelogContents, latestCommit, { dryRun }) {
2794
2794
  if (!this.workspaceConfig) {
2795
- this.workspaceConfig = await chunk2JUV6SZN_cjs.getWorkspaceConfig();
2795
+ this.workspaceConfig = await chunkZBLIE7F7_cjs.getWorkspaceConfig();
2796
2796
  }
2797
2797
  const name = releaseVersion.gitTag.includes("@") ? releaseVersion.gitTag.replace(new RegExp(`^@${this.workspaceConfig.name}/`), "").replace(/@.*$/, "") : releaseVersion.gitTag;
2798
2798
  return super.createOrUpdateRelease(
@@ -2993,7 +2993,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer__default.def
2993
2993
  }
2994
2994
  async render() {
2995
2995
  if (!this.workspaceConfig) {
2996
- this.workspaceConfig = await chunk2JUV6SZN_cjs.getWorkspaceConfig();
2996
+ this.workspaceConfig = await chunkZBLIE7F7_cjs.getWorkspaceConfig();
2997
2997
  }
2998
2998
  return super.render();
2999
2999
  }
@@ -3249,7 +3249,7 @@ var DEFAULT_RELEASE_CONFIG = {
3249
3249
  function getReleaseGroupConfig(releaseConfig, workspaceConfig) {
3250
3250
  return !releaseConfig?.groups || Object.keys(releaseConfig.groups).length === 0 ? {} : Object.fromEntries(
3251
3251
  Object.entries(releaseConfig.groups).map(([name, group]) => {
3252
- const config5 = chunk2JUV6SZN_cjs.defu(
3252
+ const config5 = chunkZBLIE7F7_cjs.defu(
3253
3253
  {
3254
3254
  ...omit(DEFAULT_RELEASE_GROUP_CONFIG, ["changelog", "version"]),
3255
3255
  ...group
@@ -3272,13 +3272,13 @@ function getReleaseGroupConfig(releaseConfig, workspaceConfig) {
3272
3272
  );
3273
3273
  if (workspaceConfig?.workspaceRoot) {
3274
3274
  if (config5.changelog?.renderer && typeof config5.changelog?.renderer === "string" && config5.changelog?.renderer?.toString().startsWith("./")) {
3275
- config5.changelog.renderer = chunk2JUV6SZN_cjs.joinPaths(
3275
+ config5.changelog.renderer = chunkZBLIE7F7_cjs.joinPaths(
3276
3276
  workspaceConfig.workspaceRoot,
3277
3277
  config5.changelog.renderer
3278
3278
  );
3279
3279
  }
3280
3280
  if (config5.version?.versionActions && config5.version.versionActions.startsWith("./")) {
3281
- config5.version.versionActions = chunk2JUV6SZN_cjs.joinPaths(
3281
+ config5.version.versionActions = chunkZBLIE7F7_cjs.joinPaths(
3282
3282
  workspaceConfig.workspaceRoot,
3283
3283
  config5.version?.versionActions
3284
3284
  );
@@ -3293,7 +3293,7 @@ function getReleaseGroupConfig(releaseConfig, workspaceConfig) {
3293
3293
  var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient {
3294
3294
  static async create(releaseConfig = {}, ignoreNxJsonConfig = false, workspaceConfig) {
3295
3295
  if (!workspaceConfig) {
3296
- workspaceConfig = await chunk2JUV6SZN_cjs.getWorkspaceConfig();
3296
+ workspaceConfig = await chunkZBLIE7F7_cjs.getWorkspaceConfig();
3297
3297
  }
3298
3298
  let projectGraph;
3299
3299
  try {
@@ -3346,10 +3346,10 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
3346
3346
  */
3347
3347
  constructor(projectGraph, releaseConfig, ignoreNxJsonConfig, workspaceConfig) {
3348
3348
  let nxJson$1;
3349
- if (!ignoreNxJsonConfig && fs$1.existsSync(chunk2JUV6SZN_cjs.joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3349
+ if (!ignoreNxJsonConfig && fs$1.existsSync(chunkZBLIE7F7_cjs.joinPaths(workspaceConfig.workspaceRoot, "nx.json"))) {
3350
3350
  nxJson$1 = nxJson.readNxJson();
3351
3351
  }
3352
- const config5 = chunk2JUV6SZN_cjs.defu(
3352
+ const config5 = chunkZBLIE7F7_cjs.defu(
3353
3353
  {
3354
3354
  changelog: {
3355
3355
  renderOptions: {
@@ -3371,11 +3371,11 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
3371
3371
  omit(DEFAULT_RELEASE_CONFIG, ["groups"])
3372
3372
  );
3373
3373
  super(config5, true);
3374
- chunk2JUV6SZN_cjs.writeDebug(
3374
+ chunkZBLIE7F7_cjs.writeDebug(
3375
3375
  "Executing release with the following configuration",
3376
3376
  workspaceConfig
3377
3377
  );
3378
- chunk2JUV6SZN_cjs.writeDebug(config5, workspaceConfig);
3378
+ chunkZBLIE7F7_cjs.writeDebug(config5, workspaceConfig);
3379
3379
  this.projectGraph = projectGraph;
3380
3380
  this.config = config5;
3381
3381
  this.workspaceConfig = workspaceConfig;
@@ -3519,7 +3519,7 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
3519
3519
  })),
3520
3520
  this.config.conventionalCommits
3521
3521
  );
3522
- chunk2JUV6SZN_cjs.writeDebug(
3522
+ chunkZBLIE7F7_cjs.writeDebug(
3523
3523
  `Running changelog generation for the ${releaseGroup.name} release group`,
3524
3524
  this.workspaceConfig
3525
3525
  );
@@ -3590,7 +3590,7 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
3590
3590
  })),
3591
3591
  this.config.conventionalCommits
3592
3592
  );
3593
- chunk2JUV6SZN_cjs.writeDebug(
3593
+ chunkZBLIE7F7_cjs.writeDebug(
3594
3594
  `Running changelog generation for the ${releaseGroup.name} release group`,
3595
3595
  this.workspaceConfig
3596
3596
  );
@@ -3619,7 +3619,7 @@ var StormReleaseClient = class _StormReleaseClient extends release.ReleaseClient
3619
3619
  }
3620
3620
  }
3621
3621
  }
3622
- chunk2JUV6SZN_cjs.writeDebug(
3622
+ chunkZBLIE7F7_cjs.writeDebug(
3623
3623
  `Generated changelogs for ${Object.keys(allProjectChangelogs).length} projects:
3624
3624
  ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
3625
3625
  `,
@@ -3648,7 +3648,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
3648
3648
  );
3649
3649
  const changes = this.tree.listChanges();
3650
3650
  if (!changes.length) {
3651
- chunk2JUV6SZN_cjs.writeWarning(
3651
+ chunkZBLIE7F7_cjs.writeWarning(
3652
3652
  "No changes were detected for any changelog files, so no changelog entries will be generated.",
3653
3653
  this.workspaceConfig
3654
3654
  );
@@ -3670,7 +3670,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
3670
3670
  gitCommitArgs: options.gitCommitArgs || this.config.changelog?.git?.commitArgs
3671
3671
  });
3672
3672
  latestCommit = await git.getCommitHash("HEAD");
3673
- chunk2JUV6SZN_cjs.writeDebug(
3673
+ chunkZBLIE7F7_cjs.writeDebug(
3674
3674
  `Creating git tags: ${gitTagValues.join(", ")}`,
3675
3675
  this.workspaceConfig
3676
3676
  );
@@ -3683,7 +3683,7 @@ ${Object.keys(allProjectChangelogs).map((p) => ` - ${p}`).join("\n")}
3683
3683
  verbose: options.verbose
3684
3684
  });
3685
3685
  }
3686
- chunk2JUV6SZN_cjs.writeDebug(
3686
+ chunkZBLIE7F7_cjs.writeDebug(
3687
3687
  `Pushing to git remote "${options.gitRemote ?? "origin"}"`,
3688
3688
  this.workspaceConfig
3689
3689
  );
@@ -3715,7 +3715,7 @@ var runRelease = async (config5, {
3715
3715
  throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
3716
3716
  }
3717
3717
  if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config5)) {
3718
- chunk2JUV6SZN_cjs.writeFatal(
3718
+ chunkZBLIE7F7_cjs.writeFatal(
3719
3719
  "You must be a member of the Storm Software organization to run the release process.",
3720
3720
  config5
3721
3721
  );
@@ -3732,26 +3732,26 @@ var runRelease = async (config5, {
3732
3732
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
3733
3733
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
3734
3734
  process.env.NPM_CONFIG_PROVENANCE = "true";
3735
- chunk2JUV6SZN_cjs.writeDebug("Creating Storm release client...", config5);
3735
+ chunkZBLIE7F7_cjs.writeDebug("Creating Storm release client...", config5);
3736
3736
  const releaseClient = await StormReleaseClient.create(
3737
3737
  releaseConfig,
3738
3738
  ignoreNxJsonConfig,
3739
3739
  config5
3740
3740
  );
3741
- chunk2JUV6SZN_cjs.writeDebug("Reading in the workspaces release configuration", config5);
3741
+ chunkZBLIE7F7_cjs.writeDebug("Reading in the workspaces release configuration", config5);
3742
3742
  const to = head || process.env.NX_HEAD;
3743
3743
  const from = base || process.env.NX_BASE;
3744
- chunk2JUV6SZN_cjs.writeDebug(
3744
+ chunkZBLIE7F7_cjs.writeDebug(
3745
3745
  `Using the following Git SHAs to determine the release content:
3746
3746
  - From: ${from}
3747
3747
  - To: ${to}
3748
3748
  `,
3749
3749
  config5
3750
3750
  );
3751
- chunk2JUV6SZN_cjs.writeDebug("Determining the current release versions...", config5);
3751
+ chunkZBLIE7F7_cjs.writeDebug("Determining the current release versions...", config5);
3752
3752
  const { workspaceVersion, projectsVersionData, releaseGraph } = await releaseClient.releaseVersion({
3753
3753
  dryRun,
3754
- verbose: chunk2JUV6SZN_cjs.isVerbose(config5.logLevel),
3754
+ verbose: chunkZBLIE7F7_cjs.isVerbose(config5.logLevel),
3755
3755
  preid: config5.preid,
3756
3756
  stageChanges: true,
3757
3757
  gitCommit: false
@@ -3760,14 +3760,14 @@ var runRelease = async (config5, {
3760
3760
  version: releaseConfig?.projectsRelationship === "fixed" ? workspaceVersion : void 0,
3761
3761
  versionData: projectsVersionData,
3762
3762
  dryRun,
3763
- verbose: chunk2JUV6SZN_cjs.isVerbose(config5.logLevel),
3763
+ verbose: chunkZBLIE7F7_cjs.isVerbose(config5.logLevel),
3764
3764
  to,
3765
3765
  from,
3766
3766
  releaseGraph
3767
3767
  });
3768
- chunk2JUV6SZN_cjs.writeDebug("Tagging commit with git", config5);
3768
+ chunkZBLIE7F7_cjs.writeDebug("Tagging commit with git", config5);
3769
3769
  if (skipPublish) {
3770
- chunk2JUV6SZN_cjs.writeWarning(
3770
+ chunkZBLIE7F7_cjs.writeWarning(
3771
3771
  "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
3772
3772
  config5
3773
3773
  );
@@ -3776,7 +3776,7 @@ var runRelease = async (config5, {
3776
3776
  (key) => projectsVersionData[key]?.newVersion
3777
3777
  );
3778
3778
  if (changedProjects.length > 0) {
3779
- chunk2JUV6SZN_cjs.writeInfo(
3779
+ chunkZBLIE7F7_cjs.writeInfo(
3780
3780
  `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
3781
3781
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
3782
3782
  `,
@@ -3785,7 +3785,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
3785
3785
  await updatePackageManifests(projectsVersionData, config5);
3786
3786
  const result = await releaseClient.releasePublish({
3787
3787
  dryRun,
3788
- verbose: chunk2JUV6SZN_cjs.isVerbose(config5.logLevel)
3788
+ verbose: chunkZBLIE7F7_cjs.isVerbose(config5.logLevel)
3789
3789
  });
3790
3790
  const failedProjects = Object.keys(result).filter(
3791
3791
  (key) => result[key]?.code && result[key]?.code > 0
@@ -3800,10 +3800,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${res
3800
3800
  );
3801
3801
  }
3802
3802
  } else {
3803
- chunk2JUV6SZN_cjs.writeWarning("Skipped publishing packages.", config5);
3803
+ chunkZBLIE7F7_cjs.writeWarning("Skipped publishing packages.", config5);
3804
3804
  }
3805
3805
  }
3806
- chunk2JUV6SZN_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
3806
+ chunkZBLIE7F7_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
3807
3807
  };
3808
3808
  async function updatePackageManifests(projectsVersionData, config5) {
3809
3809
  let projectGraph;
@@ -3818,7 +3818,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
3818
3818
  Object.keys(projectsVersionData).map(async (node) => {
3819
3819
  const projectNode = projectGraph.nodes[node];
3820
3820
  if (!projectNode?.data.root) {
3821
- chunk2JUV6SZN_cjs.writeWarning(
3821
+ chunkZBLIE7F7_cjs.writeWarning(
3822
3822
  `Project node ${node} not found in the project graph. Skipping manifest update.`,
3823
3823
  config5
3824
3824
  );
@@ -3826,17 +3826,17 @@ async function updatePackageManifests(projectsVersionData, config5) {
3826
3826
  }
3827
3827
  const versionData = projectsVersionData[node];
3828
3828
  if (projectNode?.data.root && versionData && versionData.newVersion !== null) {
3829
- chunk2JUV6SZN_cjs.writeTrace(
3829
+ chunkZBLIE7F7_cjs.writeTrace(
3830
3830
  `Writing version ${versionData.newVersion} update to manifest file for ${node}
3831
3831
  `,
3832
3832
  config5
3833
3833
  );
3834
- const projectRoot = chunk2JUV6SZN_cjs.joinPaths(
3834
+ const projectRoot = chunkZBLIE7F7_cjs.joinPaths(
3835
3835
  config5.workspaceRoot,
3836
3836
  projectNode.data.root
3837
3837
  );
3838
- const packageJsonPath = chunk2JUV6SZN_cjs.joinPaths(projectRoot, "package.json");
3839
- const cargoTomlPath = chunk2JUV6SZN_cjs.joinPaths(projectRoot, "Cargo.toml");
3838
+ const packageJsonPath = chunkZBLIE7F7_cjs.joinPaths(projectRoot, "package.json");
3839
+ const cargoTomlPath = chunkZBLIE7F7_cjs.joinPaths(projectRoot, "Cargo.toml");
3840
3840
  if (fs$1.existsSync(packageJsonPath)) {
3841
3841
  const packageJsonContent = await fs.readFile(packageJsonPath, "utf8");
3842
3842
  const packageJson = JSON.parse(packageJsonContent);
@@ -3854,7 +3854,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
3854
3854
  })
3855
3855
  );
3856
3856
  } else {
3857
- chunk2JUV6SZN_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
3857
+ chunkZBLIE7F7_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
3858
3858
  }
3859
3859
  }
3860
3860
 
@@ -3862,8 +3862,8 @@ async function updatePackageManifests(projectsVersionData, config5) {
3862
3862
  var _config = {};
3863
3863
  function createProgram(config5) {
3864
3864
  _config = config5;
3865
- chunk2JUV6SZN_cjs.writeInfo(`${chunk2JUV6SZN_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
3866
- const root = chunk2JUV6SZN_cjs.findWorkspaceRootSafe(process.cwd());
3865
+ chunkZBLIE7F7_cjs.writeInfo(`${chunkZBLIE7F7_cjs.brandIcon(_config)} Running Storm Git Tools`, config5);
3866
+ const root = chunkZBLIE7F7_cjs.findWorkspaceRootSafe(process.cwd());
3867
3867
  process.env.STORM_WORKSPACE_ROOT ??= root;
3868
3868
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
3869
3869
  if (root) {
@@ -3903,20 +3903,20 @@ async function commitAction({
3903
3903
  dryRun = false
3904
3904
  }) {
3905
3905
  try {
3906
- chunk2JUV6SZN_cjs.writeInfo(
3907
- `${chunk2JUV6SZN_cjs.brandIcon(config5)} Preparing to commit your changes. Please provide the requested details below...`,
3906
+ chunkZBLIE7F7_cjs.writeInfo(
3907
+ `${chunkZBLIE7F7_cjs.brandIcon(config5)} Preparing to commit your changes. Please provide the requested details below...`,
3908
3908
  _config
3909
3909
  );
3910
3910
  await runCommit(config5, dryRun);
3911
- chunk2JUV6SZN_cjs.writeSuccess(
3912
- `\u{1F389} Storm Commit processing completed successfully!
3911
+ chunkZBLIE7F7_cjs.writeSuccess(
3912
+ `\u2714 Storm Commit processing completed successfully!
3913
3913
 
3914
3914
  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}
3915
3915
  `,
3916
3916
  _config
3917
3917
  );
3918
3918
  } catch (error) {
3919
- chunk2JUV6SZN_cjs.writeFatal(
3919
+ chunkZBLIE7F7_cjs.writeFatal(
3920
3920
  `A fatal error occurred while running commit action:
3921
3921
 
3922
3922
  ${error.message}${error.stack ? `
@@ -3931,17 +3931,17 @@ Please fix any errors and try committing again.`,
3931
3931
  }
3932
3932
  async function readmeAction(options) {
3933
3933
  try {
3934
- chunk2JUV6SZN_cjs.writeInfo(
3935
- `${chunk2JUV6SZN_cjs.brandIcon(_config)} Formatting the workspace's README.md files`,
3934
+ chunkZBLIE7F7_cjs.writeInfo(
3935
+ `${chunkZBLIE7F7_cjs.brandIcon(_config)} Formatting the workspace's README.md files`,
3936
3936
  _config
3937
3937
  );
3938
3938
  await runReadme(options);
3939
- chunk2JUV6SZN_cjs.writeSuccess(
3939
+ chunkZBLIE7F7_cjs.writeSuccess(
3940
3940
  "Formatting of the workspace's README.md files is complete\n",
3941
3941
  _config
3942
3942
  );
3943
3943
  } catch (error) {
3944
- chunk2JUV6SZN_cjs.writeFatal(
3944
+ chunkZBLIE7F7_cjs.writeFatal(
3945
3945
  `A fatal error occurred while running README format action:
3946
3946
 
3947
3947
  ${error.message}`
@@ -3956,8 +3956,8 @@ async function releaseAction({
3956
3956
  dryRun
3957
3957
  }) {
3958
3958
  try {
3959
- chunk2JUV6SZN_cjs.writeInfo(
3960
- `${chunk2JUV6SZN_cjs.brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
3959
+ chunkZBLIE7F7_cjs.writeInfo(
3960
+ `${chunkZBLIE7F7_cjs.brandIcon(_config)} Running the Storm Release and Publish process on the workspace`,
3961
3961
  _config
3962
3962
  );
3963
3963
  await runRelease(_config, {
@@ -3966,9 +3966,9 @@ async function releaseAction({
3966
3966
  base,
3967
3967
  head
3968
3968
  });
3969
- chunk2JUV6SZN_cjs.writeSuccess("Release completed successfully!\n", _config);
3969
+ chunkZBLIE7F7_cjs.writeSuccess("Release completed successfully!\n", _config);
3970
3970
  } catch (error) {
3971
- chunk2JUV6SZN_cjs.writeFatal(
3971
+ chunkZBLIE7F7_cjs.writeFatal(
3972
3972
  `A fatal error occurred while running release action:
3973
3973
 
3974
3974
  ${error.message} ${error.stack ? `
@@ -3982,17 +3982,17 @@ Stacktrace: ${error.stack}` : ""}`,
3982
3982
  }
3983
3983
  async function commitLintAction(options) {
3984
3984
  try {
3985
- chunk2JUV6SZN_cjs.writeInfo(
3986
- `${chunk2JUV6SZN_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.`,
3985
+ chunkZBLIE7F7_cjs.writeInfo(
3986
+ `${chunkZBLIE7F7_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.`,
3987
3987
  _config
3988
3988
  );
3989
3989
  await runCommitLint(_config, options);
3990
- chunk2JUV6SZN_cjs.writeSuccess(
3990
+ chunkZBLIE7F7_cjs.writeSuccess(
3991
3991
  "Linting the commit messages completed successfully!\n",
3992
3992
  _config
3993
3993
  );
3994
3994
  } catch (error) {
3995
- chunk2JUV6SZN_cjs.writeFatal(
3995
+ chunkZBLIE7F7_cjs.writeFatal(
3996
3996
  `A fatal error occurred while linting the commit messages:
3997
3997
 
3998
3998
  ${error.message}`,
@@ -4004,18 +4004,18 @@ ${error.message}`,
4004
4004
 
4005
4005
  // bin/git.ts
4006
4006
  void (async () => {
4007
- const config5 = await chunk2JUV6SZN_cjs.getConfig();
4007
+ const config5 = await chunkZBLIE7F7_cjs.getConfig();
4008
4008
  try {
4009
- chunk2JUV6SZN_cjs.handleProcess(config5);
4009
+ chunkZBLIE7F7_cjs.handleProcess(config5);
4010
4010
  const program = createProgram(config5);
4011
4011
  await program.parseAsync(process.argv);
4012
- chunk2JUV6SZN_cjs.writeSuccess(
4013
- `\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
4012
+ chunkZBLIE7F7_cjs.writeSuccess(
4013
+ `\u2714 Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
4014
4014
  config5
4015
4015
  );
4016
- chunk2JUV6SZN_cjs.exitWithSuccess(config5);
4016
+ chunkZBLIE7F7_cjs.exitWithSuccess(config5);
4017
4017
  } catch (error) {
4018
- chunk2JUV6SZN_cjs.exitWithError(config5);
4018
+ chunkZBLIE7F7_cjs.exitWithError(config5);
4019
4019
  process.exit(1);
4020
4020
  }
4021
4021
  })();