@storm-software/git-tools 2.116.1 → 2.117.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-2.115.16-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-2.116.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -40,6 +40,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
40
40
 
41
41
  <!-- START doctoc -->
42
42
  <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
43
+
43
44
  ## Table of Contents
44
45
 
45
46
  - [Storm Git Tools](#storm-git-tools)
@@ -22,7 +22,7 @@ var __export = (target, all) => {
22
22
  __defProp(target, name, { get: all[name], enumerable: true });
23
23
  };
24
24
 
25
- // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__297f17f1454f91c6953e15139a881a25/node_modules/tsup/assets/cjs_shims.js
25
+ // ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__d6e611a074328ae4b12204b5bb78c504/node_modules/tsup/assets/cjs_shims.js
26
26
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
27
27
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
28
28
 
package/bin/git.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
5
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
5
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
6
6
  var TOML = require('@ltd/j-toml');
7
7
  var commander = require('commander');
8
8
  var prompts = require('@inquirer/prompts');
@@ -405,16 +405,16 @@ var config2 = {
405
405
  var monorepo_default = config2;
406
406
 
407
407
  // src/commitlint/helpers.ts
408
- var jiti = jiti$1.createJiti(chunkLD4V463J_cjs.importMetaUrl, { importMeta: ({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('git.cjs', document.baseURI).href)) }) });
408
+ var jiti = jiti$1.createJiti(chunkFEIWTHDN_cjs.importMetaUrl, { importMeta: ({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('git.cjs', document.baseURI).href)) }) });
409
409
  async function resolveCommitlintConfig(workspaceConfig, configPath) {
410
410
  if (configPath && configPath !== "@storm-software/git-tools/commitlint/minimal" && configPath !== "@storm-software/git-tools/commitlint/monorepo") {
411
- chunkLD4V463J_cjs.writeInfo(
411
+ chunkFEIWTHDN_cjs.writeInfo(
412
412
  `Using custom commitlint config file: ${configPath}`,
413
413
  workspaceConfig
414
414
  );
415
415
  } else {
416
416
  configPath = workspaceConfig?.variant === "minimal" ? "@storm-software/git-tools/commitlint/minimal" : "@storm-software/git-tools/commitlint/monorepo";
417
- chunkLD4V463J_cjs.writeInfo(
417
+ chunkFEIWTHDN_cjs.writeInfo(
418
418
  `Using standard commitlint config file: ${configPath}`,
419
419
  workspaceConfig
420
420
  );
@@ -1005,7 +1005,7 @@ function getRuleFromScopeEnum(scopeEnum) {
1005
1005
  // src/commitlint/run.ts
1006
1006
  var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
1007
1007
  async function runCommitLint(workspaceConfig, options) {
1008
- chunkLD4V463J_cjs.writeInfo(
1008
+ chunkFEIWTHDN_cjs.writeInfo(
1009
1009
  "\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
1010
1010
  workspaceConfig
1011
1011
  );
@@ -1013,7 +1013,7 @@ async function runCommitLint(workspaceConfig, options) {
1013
1013
  if (options.message && options.message !== COMMIT_EDITMSG_PATH) {
1014
1014
  commitMessage = options.message;
1015
1015
  } else {
1016
- const commitFile = chunkLD4V463J_cjs.joinPaths(
1016
+ const commitFile = chunkFEIWTHDN_cjs.joinPaths(
1017
1017
  workspaceConfig.workspaceRoot,
1018
1018
  options.file || options.message || COMMIT_EDITMSG_PATH
1019
1019
  );
@@ -1030,17 +1030,17 @@ async function runCommitLint(workspaceConfig, options) {
1030
1030
  if (upstreamRemote) {
1031
1031
  const upstreamRemoteIdentifier = upstreamRemote.split(" ")[0]?.trim();
1032
1032
  if (!upstreamRemoteIdentifier) {
1033
- chunkLD4V463J_cjs.writeWarning(
1033
+ chunkFEIWTHDN_cjs.writeWarning(
1034
1034
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison.`,
1035
1035
  workspaceConfig
1036
1036
  );
1037
1037
  return;
1038
1038
  }
1039
- chunkLD4V463J_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1039
+ chunkFEIWTHDN_cjs.writeDebug(`Comparing against remote ${upstreamRemoteIdentifier}`);
1040
1040
  const currentBranch = childProcess__default.default.execSync("git branch --show-current").toString().trim();
1041
1041
  gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
1042
1042
  } else {
1043
- chunkLD4V463J_cjs.writeWarning(
1043
+ chunkFEIWTHDN_cjs.writeWarning(
1044
1044
  `No upstream remote found for ${workspaceConfig.name}.git. Skipping comparison against upstream main.`,
1045
1045
  workspaceConfig
1046
1046
  );
@@ -1048,7 +1048,7 @@ async function runCommitLint(workspaceConfig, options) {
1048
1048
  }
1049
1049
  commitMessage = childProcess__default.default.execSync(gitLogCmd).toString().trim();
1050
1050
  if (!commitMessage) {
1051
- chunkLD4V463J_cjs.writeWarning(
1051
+ chunkFEIWTHDN_cjs.writeWarning(
1052
1052
  "No commits found. Skipping commit message validation.",
1053
1053
  workspaceConfig
1054
1054
  );
@@ -1077,7 +1077,7 @@ async function runCommitLint(workspaceConfig, options) {
1077
1077
  }
1078
1078
  const report = await lint(commitMessage, commitlintConfig);
1079
1079
  if (!commitlintRegex.test(commitMessage) || report.errors.length || report.warnings.length) {
1080
- chunkLD4V463J_cjs.writeSuccess(
1080
+ chunkFEIWTHDN_cjs.writeSuccess(
1081
1081
  `Commit was processing completed successfully!`,
1082
1082
  workspaceConfig
1083
1083
  );
@@ -1149,16 +1149,16 @@ function resolveMonorepoCommitOptions(workspaceConfig, config5 = monorepo_defaul
1149
1149
  }
1150
1150
  };
1151
1151
  }
1152
- var jiti2 = jiti$1.createJiti(chunkLD4V463J_cjs.importMetaUrl, { importMeta: ({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('git.cjs', document.baseURI).href)) }) });
1152
+ var jiti2 = jiti$1.createJiti(chunkFEIWTHDN_cjs.importMetaUrl, { importMeta: ({ url: (typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('git.cjs', document.baseURI).href)) }) });
1153
1153
  async function resolveCommitConfig(workspaceConfig, configPath) {
1154
1154
  if (configPath && configPath !== "@storm-software/git-tools/commit/minimal" && configPath !== "@storm-software/git-tools/commit/monorepo") {
1155
- chunkLD4V463J_cjs.writeInfo(
1155
+ chunkFEIWTHDN_cjs.writeInfo(
1156
1156
  `Using custom commit config file: ${configPath}`,
1157
1157
  workspaceConfig
1158
1158
  );
1159
1159
  } else {
1160
1160
  configPath = workspaceConfig?.variant === "minimal" ? "@storm-software/git-tools/commit/minimal" : "@storm-software/git-tools/commit/monorepo";
1161
- chunkLD4V463J_cjs.writeInfo(
1161
+ chunkFEIWTHDN_cjs.writeInfo(
1162
1162
  `Using standard commit config file: ${configPath}`,
1163
1163
  workspaceConfig
1164
1164
  );
@@ -1258,7 +1258,7 @@ async function createState(workspaceConfig, configPath) {
1258
1258
  const project = projectConfigurations.projects[scope];
1259
1259
  if (project) {
1260
1260
  let description = `${project.name} - ${project.root}`;
1261
- const packageJsonPath = chunkLD4V463J_cjs.joinPaths(project.root, "package.json");
1261
+ const packageJsonPath = chunkFEIWTHDN_cjs.joinPaths(project.root, "package.json");
1262
1262
  if (fs$1.existsSync(packageJsonPath)) {
1263
1263
  const packageJsonFile = await fs.readFile(packageJsonPath, "utf8");
1264
1264
  const packageJson = JSON.parse(packageJsonFile);
@@ -1335,10 +1335,10 @@ ${closedIssueEmoji}${config5.prompt.settings.closedIssueMessage}${issues}`;
1335
1335
 
1336
1336
  // src/commit/run.ts
1337
1337
  async function runCommit(commitizenFile, dryRun = false) {
1338
- const workspaceConfig = await chunkLD4V463J_cjs.getWorkspaceConfig();
1338
+ const workspaceConfig = await chunkFEIWTHDN_cjs.getWorkspaceConfig();
1339
1339
  const state = await createState(workspaceConfig, commitizenFile);
1340
1340
  if (dryRun) {
1341
- chunkLD4V463J_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1341
+ chunkFEIWTHDN_cjs.writeInfo("Running in dry mode.", workspaceConfig);
1342
1342
  }
1343
1343
  console.log(chalkTemplate__default.default`
1344
1344
  {bold.#999999 ----------------------------------------}
@@ -1348,7 +1348,7 @@ async function runCommit(commitizenFile, dryRun = false) {
1348
1348
  `);
1349
1349
  state.answers = await askQuestions(state);
1350
1350
  const message = formatCommitMessage(state);
1351
- const commitMsgFile = chunkLD4V463J_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1351
+ const commitMsgFile = chunkFEIWTHDN_cjs.joinPaths(getGitDir(), "COMMIT_EDITMSG");
1352
1352
  console.log(chalkTemplate__default.default`
1353
1353
  {bold.#999999 ----------------------------------------}
1354
1354
 
@@ -1361,11 +1361,11 @@ async function runCommit(commitizenFile, dryRun = false) {
1361
1361
  commandItems.push(...["--file", commitMsgFile]);
1362
1362
  const command = shellescape__default.default(commandItems);
1363
1363
  if (dryRun) {
1364
- chunkLD4V463J_cjs.writeDebug(
1364
+ chunkFEIWTHDN_cjs.writeDebug(
1365
1365
  `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
1366
1366
  workspaceConfig
1367
1367
  );
1368
- chunkLD4V463J_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1368
+ chunkFEIWTHDN_cjs.writeDebug(`Message [dry-run]: ${message}`, workspaceConfig);
1369
1369
  } else {
1370
1370
  await fs__default.default.writeFile(commitMsgFile, message);
1371
1371
  chunkCIJVSMK2_cjs.run(workspaceConfig, command);
@@ -2397,7 +2397,7 @@ async function generateChangelogContent(releaseVersion, filepath, newContent, cu
2397
2397
  const header = await prettier.format(
2398
2398
  `![${(typeof workspaceConfig?.release.banner === "string" ? workspaceConfig.organization ? titleCase(
2399
2399
  typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name
2400
- ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunkLD4V463J_cjs.STORM_DEFAULT_RELEASE_BANNER})
2400
+ ) : void 0 : workspaceConfig?.release.banner.alt) || "Branded release banner image"}](${bannerUrl || chunkFEIWTHDN_cjs.STORM_DEFAULT_RELEASE_BANNER})
2401
2401
 
2402
2402
  # Changelog ${project || workspaceConfig?.name ? "for" : ""}${workspaceConfig?.name ? ` ${titleCase(workspaceConfig.name)}` : ""}${project ? `${workspaceConfig?.name ? " -" : ""} ${titleCase(project)}` : ""}
2403
2403
 
@@ -2636,7 +2636,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer__default.def
2636
2636
  };
2637
2637
  }
2638
2638
  async render() {
2639
- this.workspaceConfig = await chunkLD4V463J_cjs.getWorkspaceConfig();
2639
+ this.workspaceConfig = await chunkFEIWTHDN_cjs.getWorkspaceConfig();
2640
2640
  return await super.render();
2641
2641
  }
2642
2642
  preprocessChanges() {
@@ -2947,7 +2947,7 @@ async function createOrUpdateGithubReleaseInternal(githubRequestConfig, release,
2947
2947
  if (!shouldContinueInGitHub) {
2948
2948
  return;
2949
2949
  }
2950
- const open = chunkLD4V463J_cjs.__require("open");
2950
+ const open = chunkFEIWTHDN_cjs.__require("open");
2951
2951
  await open(result.url).then(() => {
2952
2952
  console.info(
2953
2953
  `
@@ -3060,7 +3060,7 @@ async function resolveTokenData(hostname) {
3060
3060
  );
3061
3061
  if (fs$1.existsSync(ghCLIPath)) {
3062
3062
  const yamlContents = await fs$1.promises.readFile(ghCLIPath, "utf8");
3063
- const { load } = chunkLD4V463J_cjs.__require("@zkochan/js-yaml");
3063
+ const { load } = chunkFEIWTHDN_cjs.__require("@zkochan/js-yaml");
3064
3064
  const ghCLIConfig = load(yamlContents);
3065
3065
  if (ghCLIConfig[hostname]) {
3066
3066
  if (ghCLIConfig[hostname].oauth_token) {
@@ -3174,7 +3174,7 @@ async function isUserAnOrganizationMember(userId, config5, remoteName = "origin"
3174
3174
  // src/release/changelog.ts
3175
3175
  function createAPI(overrideReleaseConfig) {
3176
3176
  return async function releaseChangelog(args) {
3177
- const workspaceConfig = await chunkLD4V463J_cjs.getWorkspaceConfig();
3177
+ const workspaceConfig = await chunkFEIWTHDN_cjs.getWorkspaceConfig();
3178
3178
  const projectGraph$1 = await projectGraph.createProjectGraphAsync({ exitOnError: true });
3179
3179
  const nxJson$1 = nxJson.readNxJson();
3180
3180
  const userProvidedReleaseConfig = deepMergeJson.deepMergeJson(
@@ -3835,7 +3835,7 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
3835
3835
  });
3836
3836
  latestCommit = await git.getCommitHash("HEAD");
3837
3837
  } else if ((args.stageChanges ?? nxReleaseConfig.changelog?.git.stageChanges) && changes.length) {
3838
- chunkLD4V463J_cjs.writeDebug(`Staging changed files with git`);
3838
+ chunkFEIWTHDN_cjs.writeDebug(`Staging changed files with git`);
3839
3839
  await git.gitAdd({
3840
3840
  changedFiles,
3841
3841
  deletedFiles,
@@ -3844,7 +3844,7 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
3844
3844
  });
3845
3845
  }
3846
3846
  if (args.gitTag ?? nxReleaseConfig.changelog?.git.tag) {
3847
- chunkLD4V463J_cjs.writeDebug(`Tagging commit with git`);
3847
+ chunkFEIWTHDN_cjs.writeDebug(`Tagging commit with git`);
3848
3848
  for (const tag of gitTagValues) {
3849
3849
  await gitTag({
3850
3850
  tag,
@@ -3856,7 +3856,7 @@ async function applyChangesAndExit(args, nxReleaseConfig, tree, toSHA, postGitTa
3856
3856
  }
3857
3857
  }
3858
3858
  if (args.gitPush ?? nxReleaseConfig.changelog?.git.push) {
3859
- chunkLD4V463J_cjs.writeDebug(`Pushing to git remote "${args.gitRemote}"`);
3859
+ chunkFEIWTHDN_cjs.writeDebug(`Pushing to git remote "${args.gitRemote}"`);
3860
3860
  await git.gitPush({
3861
3861
  gitRemote: args.gitRemote,
3862
3862
  dryRun: args.dryRun,
@@ -3875,7 +3875,7 @@ async function generateChangelogForWorkspace({
3875
3875
  workspaceChangelogVersion,
3876
3876
  changes
3877
3877
  }) {
3878
- const workspaceConfig = await chunkLD4V463J_cjs.getWorkspaceConfig();
3878
+ const workspaceConfig = await chunkFEIWTHDN_cjs.getWorkspaceConfig();
3879
3879
  if (!workspaceConfig) {
3880
3880
  throw new Error(
3881
3881
  `Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
@@ -3989,7 +3989,7 @@ async function generateChangelogForProjects({
3989
3989
  nxReleaseConfig,
3990
3990
  projectToAdditionalDependencyBumps
3991
3991
  }) {
3992
- const workspaceConfig = await chunkLD4V463J_cjs.getWorkspaceConfig();
3992
+ const workspaceConfig = await chunkFEIWTHDN_cjs.getWorkspaceConfig();
3993
3993
  if (!workspaceConfig) {
3994
3994
  throw new Error(
3995
3995
  `Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
@@ -4294,7 +4294,7 @@ var runRelease = async (config5, options) => {
4294
4294
  throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
4295
4295
  }
4296
4296
  if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config5)) {
4297
- chunkLD4V463J_cjs.writeFatal(
4297
+ chunkFEIWTHDN_cjs.writeFatal(
4298
4298
  "You must be a member of the Storm Software organization to run the release process.",
4299
4299
  config5
4300
4300
  );
@@ -4311,12 +4311,12 @@ var runRelease = async (config5, options) => {
4311
4311
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
4312
4312
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
4313
4313
  process.env.NPM_CONFIG_PROVENANCE = "true";
4314
- chunkLD4V463J_cjs.writeDebug("Creating workspace Project Graph data...", config5);
4314
+ chunkFEIWTHDN_cjs.writeDebug("Creating workspace Project Graph data...", config5);
4315
4315
  const nxJson = nxJson_js.readNxJson();
4316
- chunkLD4V463J_cjs.writeDebug("Reading in the workspaces release configuration", config5);
4316
+ chunkFEIWTHDN_cjs.writeDebug("Reading in the workspaces release configuration", config5);
4317
4317
  const to = options.head || process.env.NX_HEAD;
4318
4318
  const from = options.base || process.env.NX_BASE;
4319
- chunkLD4V463J_cjs.writeDebug(
4319
+ chunkFEIWTHDN_cjs.writeDebug(
4320
4320
  `Using the following Git SHAs to determine the release content:
4321
4321
  - From: ${from}
4322
4322
  - To: ${to}
@@ -4327,28 +4327,28 @@ var runRelease = async (config5, options) => {
4327
4327
  nxJson.release.groups = Object.keys(nxJson.release.groups).reduce(
4328
4328
  (ret, groupName) => {
4329
4329
  const groupConfig = nxJson.release?.groups?.[groupName];
4330
- ret[groupName] = chunkLD4V463J_cjs.defu(groupConfig, DEFAULT_RELEASE_GROUP_CONFIG);
4330
+ ret[groupName] = chunkFEIWTHDN_cjs.defu(groupConfig, DEFAULT_RELEASE_GROUP_CONFIG);
4331
4331
  return ret;
4332
4332
  },
4333
4333
  {}
4334
4334
  );
4335
4335
  }
4336
- const nxReleaseConfig = chunkLD4V463J_cjs.defu(
4336
+ const nxReleaseConfig = chunkFEIWTHDN_cjs.defu(
4337
4337
  nxJson.release,
4338
4338
  DEFAULT_RELEASE_CONFIG
4339
4339
  );
4340
- chunkLD4V463J_cjs.writeInfo(
4340
+ chunkFEIWTHDN_cjs.writeInfo(
4341
4341
  "Using the following `nx.json` release configuration values",
4342
4342
  config5
4343
4343
  );
4344
- chunkLD4V463J_cjs.writeInfo(nxReleaseConfig, config5);
4344
+ chunkFEIWTHDN_cjs.writeInfo(nxReleaseConfig, config5);
4345
4345
  const releaseVersion = version_js.createAPI(nxReleaseConfig);
4346
4346
  const releaseChangelog = createAPI(nxReleaseConfig);
4347
4347
  const releasePublish = publish_js.createAPI(nxReleaseConfig);
4348
- chunkLD4V463J_cjs.writeDebug("Determining the current release versions...", config5);
4348
+ chunkFEIWTHDN_cjs.writeDebug("Determining the current release versions...", config5);
4349
4349
  const { workspaceVersion, projectsVersionData } = await releaseVersion({
4350
4350
  dryRun: false,
4351
- verbose: chunkLD4V463J_cjs.isVerbose(config5.logLevel),
4351
+ verbose: chunkFEIWTHDN_cjs.isVerbose(config5.logLevel),
4352
4352
  preid: config5.preid,
4353
4353
  deleteVersionPlans: false,
4354
4354
  stageChanges: true,
@@ -4359,15 +4359,15 @@ var runRelease = async (config5, options) => {
4359
4359
  version: nxReleaseConfig?.projectsRelationship !== "fixed" ? void 0 : workspaceVersion,
4360
4360
  versionData: projectsVersionData,
4361
4361
  dryRun: false,
4362
- verbose: chunkLD4V463J_cjs.isVerbose(config5.logLevel),
4362
+ verbose: chunkFEIWTHDN_cjs.isVerbose(config5.logLevel),
4363
4363
  to,
4364
4364
  from,
4365
4365
  gitCommit: true,
4366
4366
  gitCommitMessage: "release(monorepo): Publish workspace release updates"
4367
4367
  });
4368
- chunkLD4V463J_cjs.writeDebug("Tagging commit with git", config5);
4368
+ chunkFEIWTHDN_cjs.writeDebug("Tagging commit with git", config5);
4369
4369
  if (options.skipPublish) {
4370
- chunkLD4V463J_cjs.writeWarning(
4370
+ chunkFEIWTHDN_cjs.writeWarning(
4371
4371
  "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
4372
4372
  config5
4373
4373
  );
@@ -4376,7 +4376,7 @@ var runRelease = async (config5, options) => {
4376
4376
  (key) => projectsVersionData[key]?.newVersion
4377
4377
  );
4378
4378
  if (changedProjects.length > 0) {
4379
- chunkLD4V463J_cjs.writeInfo(
4379
+ chunkFEIWTHDN_cjs.writeInfo(
4380
4380
  `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
4381
4381
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
4382
4382
  `,
@@ -4386,7 +4386,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
4386
4386
  const result = await releasePublish({
4387
4387
  ...options,
4388
4388
  dryRun: !!options.dryRun,
4389
- verbose: chunkLD4V463J_cjs.isVerbose(config5.logLevel)
4389
+ verbose: chunkFEIWTHDN_cjs.isVerbose(config5.logLevel)
4390
4390
  });
4391
4391
  const failedProjects = Object.keys(result).filter(
4392
4392
  (key) => result[key]?.code && result[key]?.code > 0
@@ -4401,10 +4401,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${res
4401
4401
  );
4402
4402
  }
4403
4403
  } else {
4404
- chunkLD4V463J_cjs.writeWarning("Skipped publishing packages.", config5);
4404
+ chunkFEIWTHDN_cjs.writeWarning("Skipped publishing packages.", config5);
4405
4405
  }
4406
4406
  }
4407
- chunkLD4V463J_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
4407
+ chunkFEIWTHDN_cjs.writeSuccess("Completed the Storm workspace release process!", config5);
4408
4408
  };
4409
4409
  async function updatePackageManifests(projectsVersionData, config5) {
4410
4410
  let projectGraph;
@@ -4419,7 +4419,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
4419
4419
  Object.keys(projectsVersionData).map(async (node) => {
4420
4420
  const projectNode = projectGraph.nodes[node];
4421
4421
  if (!projectNode?.data.root) {
4422
- chunkLD4V463J_cjs.writeWarning(
4422
+ chunkFEIWTHDN_cjs.writeWarning(
4423
4423
  `Project node ${node} not found in the project graph. Skipping manifest update.`,
4424
4424
  config5
4425
4425
  );
@@ -4427,17 +4427,17 @@ async function updatePackageManifests(projectsVersionData, config5) {
4427
4427
  }
4428
4428
  const versionData = projectsVersionData[node];
4429
4429
  if (projectNode?.data.root && versionData && versionData.newVersion !== null) {
4430
- chunkLD4V463J_cjs.writeTrace(
4430
+ chunkFEIWTHDN_cjs.writeTrace(
4431
4431
  `Writing version ${versionData.newVersion} update to manifest file for ${node}
4432
4432
  `,
4433
4433
  config5
4434
4434
  );
4435
- const projectRoot = chunkLD4V463J_cjs.joinPaths(
4435
+ const projectRoot = chunkFEIWTHDN_cjs.joinPaths(
4436
4436
  config5.workspaceRoot,
4437
4437
  projectNode.data.root
4438
4438
  );
4439
- const packageJsonPath = chunkLD4V463J_cjs.joinPaths(projectRoot, "package.json");
4440
- const cargoTomlPath = chunkLD4V463J_cjs.joinPaths(projectRoot, "Cargo.toml");
4439
+ const packageJsonPath = chunkFEIWTHDN_cjs.joinPaths(projectRoot, "package.json");
4440
+ const cargoTomlPath = chunkFEIWTHDN_cjs.joinPaths(projectRoot, "Cargo.toml");
4441
4441
  if (fs$1.existsSync(packageJsonPath)) {
4442
4442
  const packageJsonContent = await fs.readFile(packageJsonPath, "utf8");
4443
4443
  const packageJson = JSON.parse(packageJsonContent);
@@ -4455,7 +4455,7 @@ async function updatePackageManifests(projectsVersionData, config5) {
4455
4455
  })
4456
4456
  );
4457
4457
  } else {
4458
- chunkLD4V463J_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
4458
+ chunkFEIWTHDN_cjs.writeWarning("No project nodes found. Skipping manifest updates.", config5);
4459
4459
  }
4460
4460
  }
4461
4461
 
@@ -4463,8 +4463,8 @@ async function updatePackageManifests(projectsVersionData, config5) {
4463
4463
  var _config = {};
4464
4464
  function createProgram(config5) {
4465
4465
  _config = config5;
4466
- chunkLD4V463J_cjs.writeInfo("\u26A1 Running Storm Git Tools", config5);
4467
- const root = chunkLD4V463J_cjs.findWorkspaceRootSafe(process.cwd());
4466
+ chunkFEIWTHDN_cjs.writeInfo("\u26A1 Running Storm Git Tools", config5);
4467
+ const root = chunkFEIWTHDN_cjs.findWorkspaceRootSafe(process.cwd());
4468
4468
  process.env.STORM_WORKSPACE_ROOT ??= root;
4469
4469
  process.env.NX_WORKSPACE_ROOT_PATH ??= root;
4470
4470
  if (root) {
@@ -4533,12 +4533,12 @@ async function commitAction({
4533
4533
  dryRun = false
4534
4534
  }) {
4535
4535
  try {
4536
- chunkLD4V463J_cjs.writeInfo(
4536
+ chunkFEIWTHDN_cjs.writeInfo(
4537
4537
  `\u26A1 Preparing to commit your changes. Please provide the requested details below...`,
4538
4538
  _config
4539
4539
  );
4540
4540
  await runCommit(config5, dryRun);
4541
- chunkLD4V463J_cjs.writeSuccess(
4541
+ chunkFEIWTHDN_cjs.writeSuccess(
4542
4542
  `\u{1F389} Storm Commit processing completed successfully!
4543
4543
 
4544
4544
  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}
@@ -4546,7 +4546,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
4546
4546
  _config
4547
4547
  );
4548
4548
  } catch (error) {
4549
- chunkLD4V463J_cjs.writeFatal(
4549
+ chunkFEIWTHDN_cjs.writeFatal(
4550
4550
  `A fatal error occurred while running commit action:
4551
4551
 
4552
4552
  ${error.message}`,
@@ -4557,14 +4557,14 @@ ${error.message}`,
4557
4557
  }
4558
4558
  async function readmeAction(options) {
4559
4559
  try {
4560
- chunkLD4V463J_cjs.writeInfo("\u26A1 Formatting the workspace's README.md files", _config);
4560
+ chunkFEIWTHDN_cjs.writeInfo("\u26A1 Formatting the workspace's README.md files", _config);
4561
4561
  await runReadme(options);
4562
- chunkLD4V463J_cjs.writeSuccess(
4562
+ chunkFEIWTHDN_cjs.writeSuccess(
4563
4563
  "Formatting of the workspace's README.md files is complete\n",
4564
4564
  _config
4565
4565
  );
4566
4566
  } catch (error) {
4567
- chunkLD4V463J_cjs.writeFatal(
4567
+ chunkFEIWTHDN_cjs.writeFatal(
4568
4568
  `A fatal error occurred while running README format action:
4569
4569
 
4570
4570
  ${error.message}`
@@ -4579,7 +4579,7 @@ async function releaseAction({
4579
4579
  dryRun
4580
4580
  }) {
4581
4581
  try {
4582
- chunkLD4V463J_cjs.writeInfo(
4582
+ chunkFEIWTHDN_cjs.writeInfo(
4583
4583
  "\u26A1 Running the Storm Release and Publish process on the workspace",
4584
4584
  _config
4585
4585
  );
@@ -4589,9 +4589,9 @@ async function releaseAction({
4589
4589
  base,
4590
4590
  head
4591
4591
  });
4592
- chunkLD4V463J_cjs.writeSuccess("Release completed successfully!\n", _config);
4592
+ chunkFEIWTHDN_cjs.writeSuccess("Release completed successfully!\n", _config);
4593
4593
  } catch (error) {
4594
- chunkLD4V463J_cjs.writeFatal(
4594
+ chunkFEIWTHDN_cjs.writeFatal(
4595
4595
  `A fatal error occurred while running release action:
4596
4596
 
4597
4597
  ${error.message} ${error.stack ? `
@@ -4605,17 +4605,17 @@ Stacktrace: ${error.stack}` : ""}`,
4605
4605
  }
4606
4606
  async function commitLintAction(options) {
4607
4607
  try {
4608
- chunkLD4V463J_cjs.writeInfo(
4608
+ chunkFEIWTHDN_cjs.writeInfo(
4609
4609
  `\u26A1 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.`,
4610
4610
  _config
4611
4611
  );
4612
4612
  await runCommitLint(_config, options);
4613
- chunkLD4V463J_cjs.writeSuccess(
4613
+ chunkFEIWTHDN_cjs.writeSuccess(
4614
4614
  "Linting the commit messages completed successfully!\n",
4615
4615
  _config
4616
4616
  );
4617
4617
  } catch (error) {
4618
- chunkLD4V463J_cjs.writeFatal(
4618
+ chunkFEIWTHDN_cjs.writeFatal(
4619
4619
  `A fatal error occurred while linting the commit messages:
4620
4620
 
4621
4621
  ${error.message}`,
@@ -4627,18 +4627,18 @@ ${error.message}`,
4627
4627
 
4628
4628
  // bin/git.ts
4629
4629
  void (async () => {
4630
- const config5 = await chunkLD4V463J_cjs.getConfig();
4630
+ const config5 = await chunkFEIWTHDN_cjs.getConfig();
4631
4631
  try {
4632
- chunkLD4V463J_cjs.handleProcess(config5);
4632
+ chunkFEIWTHDN_cjs.handleProcess(config5);
4633
4633
  const program = createProgram(config5);
4634
4634
  await program.parseAsync(process.argv);
4635
- chunkLD4V463J_cjs.writeSuccess(
4635
+ chunkFEIWTHDN_cjs.writeSuccess(
4636
4636
  `\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
4637
4637
  config5
4638
4638
  );
4639
- chunkLD4V463J_cjs.exitWithSuccess(config5);
4639
+ chunkFEIWTHDN_cjs.exitWithSuccess(config5);
4640
4640
  } catch (error) {
4641
- chunkLD4V463J_cjs.exitWithError(config5);
4641
+ chunkFEIWTHDN_cjs.exitWithError(config5);
4642
4642
  process.exit(1);
4643
4643
  }
4644
4644
  })();
@@ -3,33 +3,33 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
6
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
7
7
 
8
8
  // bin/post-checkout.ts
9
9
  void (async () => {
10
- const config = await chunkLD4V463J_cjs.getConfig();
10
+ const config = await chunkFEIWTHDN_cjs.getConfig();
11
11
  try {
12
- chunkLD4V463J_cjs.handleProcess(config);
13
- chunkLD4V463J_cjs.writeInfo("Running post-checkout hook...", config);
12
+ chunkFEIWTHDN_cjs.handleProcess(config);
13
+ chunkFEIWTHDN_cjs.writeInfo("Running post-checkout hook...", config);
14
14
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
15
15
  try {
16
16
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
17
17
  } catch (error) {
18
- chunkLD4V463J_cjs.writeError(
18
+ chunkFEIWTHDN_cjs.writeError(
19
19
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
20
20
  Error: ${error?.message}`,
21
21
  config
22
22
  );
23
- chunkLD4V463J_cjs.exitWithError(config);
23
+ chunkFEIWTHDN_cjs.exitWithError(config);
24
24
  }
25
25
  chunkCIJVSMK2_cjs.run(config, "git lfs post-checkout");
26
- chunkLD4V463J_cjs.exitWithSuccess(config);
26
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
27
27
  } catch (error) {
28
- chunkLD4V463J_cjs.writeFatal(
28
+ chunkFEIWTHDN_cjs.writeFatal(
29
29
  `A fatal error occurred while running the program: ${error.message}`,
30
30
  config
31
31
  );
32
- chunkLD4V463J_cjs.exitWithError(config);
32
+ chunkFEIWTHDN_cjs.exitWithError(config);
33
33
  process.exit(1);
34
34
  }
35
35
  })();
@@ -3,33 +3,33 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
6
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
7
7
 
8
8
  // bin/post-commit.ts
9
9
  void (async () => {
10
- const config = await chunkLD4V463J_cjs.getConfig();
10
+ const config = await chunkFEIWTHDN_cjs.getConfig();
11
11
  try {
12
- chunkLD4V463J_cjs.handleProcess(config);
13
- chunkLD4V463J_cjs.writeInfo("Running post-commit hook...", config);
12
+ chunkFEIWTHDN_cjs.handleProcess(config);
13
+ chunkFEIWTHDN_cjs.writeInfo("Running post-commit hook...", config);
14
14
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
15
15
  try {
16
16
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
17
17
  } catch (error) {
18
- chunkLD4V463J_cjs.writeError(
18
+ chunkFEIWTHDN_cjs.writeError(
19
19
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.
20
20
  Error: ${error?.message}`,
21
21
  config
22
22
  );
23
- chunkLD4V463J_cjs.exitWithError(config);
23
+ chunkFEIWTHDN_cjs.exitWithError(config);
24
24
  }
25
25
  chunkCIJVSMK2_cjs.run(config, "git lfs post-commit");
26
- chunkLD4V463J_cjs.exitWithSuccess(config);
26
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
27
27
  } catch (error) {
28
- chunkLD4V463J_cjs.writeFatal(
28
+ chunkFEIWTHDN_cjs.writeFatal(
29
29
  `A fatal error occurred while running the program: ${error.message}`,
30
30
  config
31
31
  );
32
- chunkLD4V463J_cjs.exitWithError(config);
32
+ chunkFEIWTHDN_cjs.exitWithError(config);
33
33
  process.exit(1);
34
34
  }
35
35
  })();
@@ -3,33 +3,33 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
6
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
7
7
 
8
8
  // bin/post-merge.ts
9
9
  void (async () => {
10
- const config = await chunkLD4V463J_cjs.getConfig();
10
+ const config = await chunkFEIWTHDN_cjs.getConfig();
11
11
  try {
12
- chunkLD4V463J_cjs.handleProcess(config);
13
- chunkLD4V463J_cjs.writeInfo("Running post-merge hook...", config);
12
+ chunkFEIWTHDN_cjs.handleProcess(config);
13
+ chunkFEIWTHDN_cjs.writeInfo("Running post-merge hook...", config);
14
14
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
15
15
  try {
16
16
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
17
17
  } catch (error) {
18
- chunkLD4V463J_cjs.writeError(
18
+ chunkFEIWTHDN_cjs.writeError(
19
19
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
20
20
  Error: ${error?.message}`,
21
21
  config
22
22
  );
23
- chunkLD4V463J_cjs.exitWithError(config);
23
+ chunkFEIWTHDN_cjs.exitWithError(config);
24
24
  }
25
25
  chunkCIJVSMK2_cjs.run(config, "git lfs post-merge");
26
- chunkLD4V463J_cjs.exitWithSuccess(config);
26
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
27
27
  } catch (error) {
28
- chunkLD4V463J_cjs.writeFatal(
28
+ chunkFEIWTHDN_cjs.writeFatal(
29
29
  `A fatal error occurred while running the program: ${error.message}`,
30
30
  config
31
31
  );
32
- chunkLD4V463J_cjs.exitWithError(config);
32
+ chunkFEIWTHDN_cjs.exitWithError(config);
33
33
  process.exit(1);
34
34
  }
35
35
  })();
@@ -2,29 +2,29 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
5
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
6
6
 
7
7
  // bin/pre-commit.ts
8
8
  void (async () => {
9
- const config = await chunkLD4V463J_cjs.getConfig();
9
+ const config = await chunkFEIWTHDN_cjs.getConfig();
10
10
  try {
11
- chunkLD4V463J_cjs.handleProcess(config);
12
- chunkLD4V463J_cjs.writeInfo("Running pre-commit hook...", config);
11
+ chunkFEIWTHDN_cjs.handleProcess(config);
12
+ chunkFEIWTHDN_cjs.writeInfo("Running pre-commit hook...", config);
13
13
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv.slice(1));
14
14
  if (chunkSWXHQXUT_cjs.isPackageVersionChanged(process.argv?.slice(1))) {
15
- chunkLD4V463J_cjs.writeError(
15
+ chunkFEIWTHDN_cjs.writeError(
16
16
  "Please regenerate the package lock file before committing...",
17
17
  config
18
18
  );
19
- chunkLD4V463J_cjs.exitWithError(config);
19
+ chunkFEIWTHDN_cjs.exitWithError(config);
20
20
  }
21
- chunkLD4V463J_cjs.exitWithSuccess(config);
21
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
22
22
  } catch (error) {
23
- chunkLD4V463J_cjs.writeFatal(
23
+ chunkFEIWTHDN_cjs.writeFatal(
24
24
  `A fatal error occurred while running the program: ${error.message}`,
25
25
  config
26
26
  );
27
- chunkLD4V463J_cjs.exitWithError(config);
27
+ chunkFEIWTHDN_cjs.exitWithError(config);
28
28
  process.exit(1);
29
29
  }
30
30
  })();
@@ -2,26 +2,26 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
5
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
5
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
6
6
 
7
7
  // bin/pre-install.ts
8
8
  void (async () => {
9
- const config = await chunkLD4V463J_cjs.getConfig();
9
+ const config = await chunkFEIWTHDN_cjs.getConfig();
10
10
  try {
11
- chunkLD4V463J_cjs.handleProcess(config);
12
- chunkLD4V463J_cjs.writeInfo("Running pre-install hook...", config);
11
+ chunkFEIWTHDN_cjs.handleProcess(config);
12
+ chunkFEIWTHDN_cjs.writeInfo("Running pre-install hook...", config);
13
13
  if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
14
- chunkLD4V463J_cjs.writeInfo("Skipping pre-install for CI process...", config);
15
- chunkLD4V463J_cjs.exitWithSuccess(config);
14
+ chunkFEIWTHDN_cjs.writeInfo("Skipping pre-install for CI process...", config);
15
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
16
16
  }
17
17
  chunkCIJVSMK2_cjs.run(config, "npx -y only-allow pnpm");
18
- chunkLD4V463J_cjs.exitWithSuccess(config);
18
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
19
19
  } catch (error) {
20
- chunkLD4V463J_cjs.writeFatal(
20
+ chunkFEIWTHDN_cjs.writeFatal(
21
21
  `A fatal error occurred while running the program: ${error.message}`,
22
22
  config
23
23
  );
24
- chunkLD4V463J_cjs.exitWithError(config);
24
+ chunkFEIWTHDN_cjs.exitWithError(config);
25
25
  process.exit(1);
26
26
  }
27
27
  })();
package/bin/pre-push.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
6
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
7
7
  var fs = require('fs');
8
8
  var promises = require('fs/promises');
9
9
  var path = require('path');
@@ -14,12 +14,12 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
14
14
  var path__default = /*#__PURE__*/_interopDefault(path);
15
15
 
16
16
  void (async () => {
17
- const config = await chunkLD4V463J_cjs.getConfig();
17
+ const config = await chunkFEIWTHDN_cjs.getConfig();
18
18
  try {
19
- chunkLD4V463J_cjs.handleProcess(config);
20
- chunkLD4V463J_cjs.writeInfo("Running pre-push hook...", config);
19
+ chunkFEIWTHDN_cjs.handleProcess(config);
20
+ chunkFEIWTHDN_cjs.writeInfo("Running pre-push hook...", config);
21
21
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
22
- chunkLD4V463J_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
22
+ chunkFEIWTHDN_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
23
23
  const errors = [];
24
24
  if (fs__default.default.existsSync(
25
25
  path__default.default.join(config.workspaceRoot ?? "./", "package-lock.json")
@@ -54,32 +54,32 @@ void (async () => {
54
54
  errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
55
55
  }
56
56
  if (errors.length > 0) {
57
- chunkLD4V463J_cjs.writeError("\u274C Lock file validation failed", config);
57
+ chunkFEIWTHDN_cjs.writeError("\u274C Lock file validation failed", config);
58
58
  for (const error of errors) {
59
59
  console.error(error);
60
60
  }
61
- chunkLD4V463J_cjs.exitWithError(config);
61
+ chunkFEIWTHDN_cjs.exitWithError(config);
62
62
  }
63
- chunkLD4V463J_cjs.writeSuccess("Lock file is valid \u2705", config);
63
+ chunkFEIWTHDN_cjs.writeSuccess("Lock file is valid \u2705", config);
64
64
  chunkCIJVSMK2_cjs.run(config, "git lfs pre-push origin");
65
65
  try {
66
66
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
67
67
  } catch (error) {
68
- chunkLD4V463J_cjs.writeError(
68
+ chunkFEIWTHDN_cjs.writeError(
69
69
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.
70
70
  Error: ${error?.message}`,
71
71
  config
72
72
  );
73
- chunkLD4V463J_cjs.exitWithError(config);
73
+ chunkFEIWTHDN_cjs.exitWithError(config);
74
74
  }
75
75
  chunkCIJVSMK2_cjs.run(config, "git lfs pre-push origin");
76
- chunkLD4V463J_cjs.exitWithSuccess(config);
76
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
77
77
  } catch (error) {
78
- chunkLD4V463J_cjs.writeFatal(
78
+ chunkFEIWTHDN_cjs.writeFatal(
79
79
  `A fatal error occurred while running the program: ${error.message}`,
80
80
  config
81
81
  );
82
- chunkLD4V463J_cjs.exitWithError(config);
82
+ chunkFEIWTHDN_cjs.exitWithError(config);
83
83
  process.exit(1);
84
84
  }
85
85
  })();
package/bin/prepare.cjs CHANGED
@@ -2,24 +2,24 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
5
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
5
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
6
6
 
7
7
  // bin/prepare.ts
8
8
  void (async () => {
9
- const config = await chunkLD4V463J_cjs.getConfig();
9
+ const config = await chunkFEIWTHDN_cjs.getConfig();
10
10
  try {
11
- chunkLD4V463J_cjs.handleProcess(config);
12
- chunkLD4V463J_cjs.writeInfo("Running prepare hook...", config);
11
+ chunkFEIWTHDN_cjs.handleProcess(config);
12
+ chunkFEIWTHDN_cjs.writeInfo("Running prepare hook...", config);
13
13
  if (!process.env.CI && !process.env.STORM_CI) {
14
14
  chunkCIJVSMK2_cjs.run(config, "lefthook install");
15
15
  }
16
- chunkLD4V463J_cjs.exitWithSuccess(config);
16
+ chunkFEIWTHDN_cjs.exitWithSuccess(config);
17
17
  } catch (error) {
18
- chunkLD4V463J_cjs.writeFatal(
18
+ chunkFEIWTHDN_cjs.writeFatal(
19
19
  `A fatal error occurred while running the program: ${error.message}`,
20
20
  config
21
21
  );
22
- chunkLD4V463J_cjs.exitWithError(config);
22
+ chunkFEIWTHDN_cjs.exitWithError(config);
23
23
  process.exit(1);
24
24
  }
25
25
  })();
@@ -2,20 +2,20 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
- var chunkLD4V463J_cjs = require('./chunk-LD4V463J.cjs');
5
+ var chunkFEIWTHDN_cjs = require('./chunk-FEIWTHDN.cjs');
6
6
 
7
7
  // bin/version-warning.ts
8
8
  void (async () => {
9
- const config = await chunkLD4V463J_cjs.getConfig();
9
+ const config = await chunkFEIWTHDN_cjs.getConfig();
10
10
  try {
11
- chunkLD4V463J_cjs.handleProcess(config);
11
+ chunkFEIWTHDN_cjs.handleProcess(config);
12
12
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv.slice(1));
13
13
  } catch (error) {
14
- chunkLD4V463J_cjs.writeFatal(
14
+ chunkFEIWTHDN_cjs.writeFatal(
15
15
  `A fatal error occurred while running the program: ${error.message}`,
16
16
  config
17
17
  );
18
- chunkLD4V463J_cjs.exitWithError(config);
18
+ chunkFEIWTHDN_cjs.exitWithError(config);
19
19
  process.exit(1);
20
20
  }
21
21
  })();
@@ -9,7 +9,7 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
9
9
  readonly type: "select";
10
10
  readonly title: "Commit Type";
11
11
  readonly description: "Select the commit type that best describes your changes";
12
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
12
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
13
13
  readonly defaultValue: "chore";
14
14
  readonly maxLength: 20;
15
15
  readonly minLength: 3;
@@ -226,7 +226,7 @@ declare const DEFAULT_RELEASE_CONFIG: {
226
226
  readonly type: "select";
227
227
  readonly title: "Commit Type";
228
228
  readonly description: "Select the commit type that best describes your changes";
229
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
229
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
230
230
  readonly defaultValue: "chore";
231
231
  readonly maxLength: 20;
232
232
  readonly minLength: 3;
@@ -9,7 +9,7 @@ declare const DEFAULT_CONVENTIONAL_COMMITS_CONFIG: {
9
9
  readonly type: "select";
10
10
  readonly title: "Commit Type";
11
11
  readonly description: "Select the commit type that best describes your changes";
12
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
12
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
13
13
  readonly defaultValue: "chore";
14
14
  readonly maxLength: 20;
15
15
  readonly minLength: 3;
@@ -226,7 +226,7 @@ declare const DEFAULT_RELEASE_CONFIG: {
226
226
  readonly type: "select";
227
227
  readonly title: "Commit Type";
228
228
  readonly description: "Select the commit type that best describes your changes";
229
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
229
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
230
230
  readonly defaultValue: "chore";
231
231
  readonly maxLength: 20;
232
232
  readonly minLength: 3;
package/dist/types.d.cts CHANGED
@@ -170,7 +170,7 @@ declare const DEFAULT_MINIMAL_COMMIT_QUESTIONS: {
170
170
  readonly type: "select";
171
171
  readonly title: "Commit Type";
172
172
  readonly description: "Select the commit type that best describes your changes";
173
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
173
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
174
174
  readonly defaultValue: "chore";
175
175
  readonly maxLength: 20;
176
176
  readonly minLength: 3;
@@ -222,7 +222,7 @@ declare const DEFAULT_MONOREPO_COMMIT_QUESTIONS: {
222
222
  readonly type: "select";
223
223
  readonly title: "Commit Type";
224
224
  readonly description: "Select the commit type that best describes your changes";
225
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
225
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
226
226
  readonly defaultValue: "chore";
227
227
  readonly maxLength: 20;
228
228
  readonly minLength: 3;
package/dist/types.d.ts CHANGED
@@ -170,7 +170,7 @@ declare const DEFAULT_MINIMAL_COMMIT_QUESTIONS: {
170
170
  readonly type: "select";
171
171
  readonly title: "Commit Type";
172
172
  readonly description: "Select the commit type that best describes your changes";
173
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
173
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
174
174
  readonly defaultValue: "chore";
175
175
  readonly maxLength: 20;
176
176
  readonly minLength: 3;
@@ -222,7 +222,7 @@ declare const DEFAULT_MONOREPO_COMMIT_QUESTIONS: {
222
222
  readonly type: "select";
223
223
  readonly title: "Commit Type";
224
224
  readonly description: "Select the commit type that best describes your changes";
225
- readonly enum: CommitTypesEnum<"chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "docs" | "test" | "deps" | "build" | "release">;
225
+ readonly enum: CommitTypesEnum<"build" | "docs" | "release" | "chore" | "fix" | "feat" | "ci" | "refactor" | "style" | "perf" | "test" | "deps">;
226
226
  readonly defaultValue: "chore";
227
227
  readonly maxLength: 20;
228
228
  readonly minLength: 3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.116.1",
3
+ "version": "2.117.0",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {
@@ -179,8 +179,8 @@
179
179
  "@inquirer/prompts": "7.2.1",
180
180
  "@nx/devkit": "^21.4.1",
181
181
  "@nx/js": "^21.4.1",
182
- "@storm-software/config": "^1.129.0",
183
- "@storm-software/config-tools": "^1.181.1",
182
+ "@storm-software/config": "^1.129.2",
183
+ "@storm-software/config-tools": "^1.182.0",
184
184
  "@textlint/ast-node-types": "14.4.2",
185
185
  "@textlint/markdown-to-ast": "14.4.2",
186
186
  "anchor-markdown-header": "0.7.0",
@@ -209,5 +209,5 @@
209
209
  "tsup": "8.4.0"
210
210
  },
211
211
  "publishConfig": { "access": "public" },
212
- "gitHead": "658730b4c2e45539c2c7e8a27a7de490a0313325"
212
+ "gitHead": "33495f6446b9cce3f9874b76bc93cdc975e2d866"
213
213
  }