@storm-software/git-tools 2.111.21 → 2.111.22

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.111.20-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.111.21-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 -->
@@ -37601,6 +37601,7 @@ var stormWorkspaceConfigSchema = z.object({
37601
37601
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
37602
37602
  homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
37603
37603
  docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
37604
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
37604
37605
  licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
37605
37606
  contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
37606
37607
  support: z.string().trim().url().optional().describe(
@@ -39049,6 +39050,7 @@ var getConfigEnv = () => {
39049
39050
  license: process.env[`${prefix}LICENSE`] || void 0,
39050
39051
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
39051
39052
  docs: process.env[`${prefix}DOCS`] || void 0,
39053
+ portal: process.env[`${prefix}PORTAL`] || void 0,
39052
39054
  licensing: process.env[`${prefix}LICENSING`] || void 0,
39053
39055
  contact: process.env[`${prefix}CONTACT`] || void 0,
39054
39056
  support: process.env[`${prefix}SUPPORT`] || void 0,
@@ -39265,6 +39267,9 @@ var setConfigEnv = (config) => {
39265
39267
  if (config.docs) {
39266
39268
  process.env[`${prefix}DOCS`] = config.docs;
39267
39269
  }
39270
+ if (config.portal) {
39271
+ process.env[`${prefix}PORTAL`] = config.portal;
39272
+ }
39268
39273
  if (config.licensing) {
39269
39274
  process.env[`${prefix}LICENSING`] = config.licensing;
39270
39275
  }
@@ -39580,7 +39585,7 @@ ${formatLogMessage(config)}`,
39580
39585
  var getConfig = (workspaceRoot, skipLogs = false) => {
39581
39586
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
39582
39587
  };
39583
- var getWorkspaceConfig = (skipLogs = false, options = {}) => {
39588
+ var getWorkspaceConfig = (skipLogs = true, options = {}) => {
39584
39589
  let workspaceRoot = options.workspaceRoot;
39585
39590
  if (!workspaceRoot) {
39586
39591
  workspaceRoot = findWorkspaceRoot(options.cwd);
@@ -37537,6 +37537,7 @@ var stormWorkspaceConfigSchema = z.object({
37537
37537
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
37538
37538
  homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
37539
37539
  docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
37540
+ portal: z.string().trim().url().optional().describe("The development portal site for the workspace"),
37540
37541
  licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
37541
37542
  contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
37542
37543
  support: z.string().trim().url().optional().describe(
@@ -38988,6 +38989,7 @@ var getConfigEnv = () => {
38988
38989
  license: process.env[`${prefix}LICENSE`] || void 0,
38989
38990
  homepage: process.env[`${prefix}HOMEPAGE`] || void 0,
38990
38991
  docs: process.env[`${prefix}DOCS`] || void 0,
38992
+ portal: process.env[`${prefix}PORTAL`] || void 0,
38991
38993
  licensing: process.env[`${prefix}LICENSING`] || void 0,
38992
38994
  contact: process.env[`${prefix}CONTACT`] || void 0,
38993
38995
  support: process.env[`${prefix}SUPPORT`] || void 0,
@@ -39204,6 +39206,9 @@ var setConfigEnv = (config) => {
39204
39206
  if (config.docs) {
39205
39207
  process.env[`${prefix}DOCS`] = config.docs;
39206
39208
  }
39209
+ if (config.portal) {
39210
+ process.env[`${prefix}PORTAL`] = config.portal;
39211
+ }
39207
39212
  if (config.licensing) {
39208
39213
  process.env[`${prefix}LICENSING`] = config.licensing;
39209
39214
  }
@@ -39519,7 +39524,7 @@ ${formatLogMessage(config)}`,
39519
39524
  var getConfig = (workspaceRoot, skipLogs = false) => {
39520
39525
  return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
39521
39526
  };
39522
- var getWorkspaceConfig = (skipLogs = false, options = {}) => {
39527
+ var getWorkspaceConfig = (skipLogs = true, options = {}) => {
39523
39528
  let workspaceRoot = options.workspaceRoot;
39524
39529
  if (!workspaceRoot) {
39525
39530
  workspaceRoot = findWorkspaceRoot(options.cwd);
package/bin/git.cjs CHANGED
@@ -20,7 +20,7 @@ var _chunkG7EN4DM2cjs = require('./chunk-G7EN4DM2.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
23
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
24
24
 
25
25
 
26
26
  var _chunkO676GOCVcjs = require('./chunk-O676GOCV.cjs');
@@ -3274,7 +3274,7 @@ var require_wrap_ansi = _chunkV5JQUZOXcjs.__commonJS.call(void 0, {
3274
3274
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
3275
3275
  var stringWidth = require_string_width();
3276
3276
  var stripAnsi2 = require_strip_ansi();
3277
- var ansiStyles2 = _chunkZQPTTPLLcjs.require_ansi_styles.call(void 0, );
3277
+ var ansiStyles2 = _chunkL5TDKKZQcjs.require_ansi_styles.call(void 0, );
3278
3278
  var ESCAPES2 = /* @__PURE__ */ new Set([
3279
3279
  "\x1B",
3280
3280
  "\x9B"
@@ -15298,7 +15298,7 @@ var require_node = _chunkV5JQUZOXcjs.__commonJS.call(void 0, {
15298
15298
  );
15299
15299
  exports.colors = [6, 2, 3, 4, 5, 1];
15300
15300
  try {
15301
- const supportsColor2 = _chunkZQPTTPLLcjs.require_supports_color.call(void 0, );
15301
+ const supportsColor2 = _chunkL5TDKKZQcjs.require_supports_color.call(void 0, );
15302
15302
  if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
15303
15303
  exports.colors = [
15304
15304
  20,
@@ -70467,7 +70467,7 @@ function getRuleFromScopeEnum(scopeEnum2) {
70467
70467
  // src/commitlint/run.ts
70468
70468
  var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
70469
70469
  var runCommitLint = async (config, params) => {
70470
- _chunkZQPTTPLLcjs.writeInfo.call(void 0,
70470
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0,
70471
70471
  "\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
70472
70472
  config
70473
70473
  );
@@ -70475,7 +70475,7 @@ var runCommitLint = async (config, params) => {
70475
70475
  if (params.message && params.message !== COMMIT_EDITMSG_PATH) {
70476
70476
  commitMessage = params.message;
70477
70477
  } else {
70478
- const commitFile = _chunkZQPTTPLLcjs.joinPaths.call(void 0,
70478
+ const commitFile = _chunkL5TDKKZQcjs.joinPaths.call(void 0,
70479
70479
  config.workspaceRoot,
70480
70480
  params.file || params.message || COMMIT_EDITMSG_PATH
70481
70481
  );
@@ -70492,17 +70492,17 @@ var runCommitLint = async (config, params) => {
70492
70492
  if (upstreamRemote) {
70493
70493
  const upstreamRemoteIdentifier = _optionalChain([upstreamRemote, 'access', _84 => _84.split, 'call', _85 => _85(" "), 'access', _86 => _86[0], 'optionalAccess', _87 => _87.trim, 'call', _88 => _88()]);
70494
70494
  if (!upstreamRemoteIdentifier) {
70495
- _chunkZQPTTPLLcjs.writeWarning.call(void 0,
70495
+ _chunkL5TDKKZQcjs.writeWarning.call(void 0,
70496
70496
  `No upstream remote found for ${config.name}.git. Skipping comparison.`,
70497
70497
  config
70498
70498
  );
70499
70499
  return;
70500
70500
  }
70501
- _chunkZQPTTPLLcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
70501
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
70502
70502
  const currentBranch = _child_process2.default.execSync("git branch --show-current").toString().trim();
70503
70503
  gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
70504
70504
  } else {
70505
- _chunkZQPTTPLLcjs.writeWarning.call(void 0,
70505
+ _chunkL5TDKKZQcjs.writeWarning.call(void 0,
70506
70506
  `No upstream remote found for ${config.name}.git. Skipping comparison against upstream main.`,
70507
70507
  config
70508
70508
  );
@@ -70510,7 +70510,7 @@ var runCommitLint = async (config, params) => {
70510
70510
  }
70511
70511
  commitMessage = _child_process2.default.execSync(gitLogCmd).toString().trim();
70512
70512
  if (!commitMessage) {
70513
- _chunkZQPTTPLLcjs.writeWarning.call(void 0,
70513
+ _chunkL5TDKKZQcjs.writeWarning.call(void 0,
70514
70514
  "No commits found. Skipping commit message validation.",
70515
70515
  config
70516
70516
  );
@@ -70533,7 +70533,7 @@ var runCommitLint = async (config, params) => {
70533
70533
  helpUrl: commitlintConfig.helpUrl
70534
70534
  });
70535
70535
  if (!matchCommit || report.errors.length || report.warnings.length) {
70536
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
70536
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
70537
70537
  } else {
70538
70538
  let errorMessage = " Oh no! Your commit message: \n-------------------------------------------------------------------\n" + commitMessage + "\n-------------------------------------------------------------------\n\n Does not follow the commit message convention specified by Storm Software.";
70539
70539
  errorMessage += "\ntype(scope): subject \n BLANK LINE \n body";
@@ -71694,7 +71694,7 @@ async function createState(config, commitizenFile = "@storm-software/git-tools/c
71694
71694
  answers: {}
71695
71695
  };
71696
71696
  } else {
71697
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
71697
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
71698
71698
  let commitizenConfig = await Promise.resolve().then(() => _interopRequireWildcard(require(commitizenFile)));
71699
71699
  if (_optionalChain([commitizenConfig, 'optionalAccess', _94 => _94.default])) {
71700
71700
  commitizenConfig = _optionalChain([commitizenConfig, 'optionalAccess', _95 => _95.default]);
@@ -71757,7 +71757,7 @@ async function createState(config, commitizenFile = "@storm-software/git-tools/c
71757
71757
  const project = projectConfigurations.projects[scope];
71758
71758
  if (project) {
71759
71759
  let description = `${project.name} - ${project.root}`;
71760
- const packageJsonPath = _chunkZQPTTPLLcjs.joinPaths.call(void 0, project.root, "package.json");
71760
+ const packageJsonPath = _chunkL5TDKKZQcjs.joinPaths.call(void 0, project.root, "package.json");
71761
71761
  if (_fs.existsSync.call(void 0, packageJsonPath)) {
71762
71762
  const packageJson = await hfs.json(packageJsonPath);
71763
71763
  description = packageJson.description || description;
@@ -71837,10 +71837,10 @@ ${closedIssueEmoji}${config.prompt.settings.closedIssueMessage}${issues}`;
71837
71837
 
71838
71838
  // src/commit/run.ts
71839
71839
  var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config", dryRun = false) => {
71840
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
71840
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
71841
71841
  const state = await createState(config, commitizenFile);
71842
71842
  if (dryRun) {
71843
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running in dry mode.", config);
71843
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running in dry mode.", config);
71844
71844
  }
71845
71845
  console.log(chalk_template_default`
71846
71846
  {bold.#999999 ----------------------------------------}
@@ -71850,7 +71850,7 @@ var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config
71850
71850
  `);
71851
71851
  state.answers = await askQuestions(state);
71852
71852
  const message2 = formatCommitMessage(state);
71853
- const commitMsgFile = _chunkZQPTTPLLcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
71853
+ const commitMsgFile = _chunkL5TDKKZQcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
71854
71854
  console.log(chalk_template_default`
71855
71855
  {bold.#999999 ----------------------------------------}
71856
71856
 
@@ -71866,11 +71866,11 @@ var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config
71866
71866
  commandItems.push(...["--file", commitMsgFile]);
71867
71867
  const command = (0, import_any_shell_escape.default)(commandItems);
71868
71868
  if (dryRun) {
71869
- _chunkZQPTTPLLcjs.writeDebug.call(void 0,
71869
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0,
71870
71870
  `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
71871
71871
  config
71872
71872
  );
71873
- _chunkZQPTTPLLcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
71873
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
71874
71874
  } else {
71875
71875
  await _promises2.default.writeFile(commitMsgFile, message2);
71876
71876
  _chunkG7EN4DM2cjs.run.call(void 0, config, command);
@@ -77653,7 +77653,7 @@ var _nxjsonjs = require('nx/src/config/nx-json.js');
77653
77653
 
77654
77654
  // src/release/changelog.ts
77655
77655
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
77656
- var chalk3 = _chunkV5JQUZOXcjs.__toESM.call(void 0, _chunkZQPTTPLLcjs.require_source.call(void 0, ), 1);
77656
+ var chalk3 = _chunkV5JQUZOXcjs.__toESM.call(void 0, _chunkL5TDKKZQcjs.require_source.call(void 0, ), 1);
77657
77657
  var import_enquirer2 = _chunkV5JQUZOXcjs.__toESM.call(void 0, require_enquirer(), 1);
77658
77658
  var import_semver2 = _chunkV5JQUZOXcjs.__toESM.call(void 0, require_semver4(), 1);
77659
77659
  var import_tmp = _chunkV5JQUZOXcjs.__toESM.call(void 0, require_tmp2(), 1);
@@ -81246,7 +81246,7 @@ var _conventionalcommits = require('nx/src/command-line/release/config/conventio
81246
81246
  // src/release/github.ts
81247
81247
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
81248
81248
  var import_devkit = _chunkV5JQUZOXcjs.__toESM.call(void 0, require_devkit(), 1);
81249
- var chalk2 = _chunkV5JQUZOXcjs.__toESM.call(void 0, _chunkZQPTTPLLcjs.require_source.call(void 0, ), 1);
81249
+ var chalk2 = _chunkV5JQUZOXcjs.__toESM.call(void 0, _chunkL5TDKKZQcjs.require_source.call(void 0, ), 1);
81250
81250
  var import_enquirer = _chunkV5JQUZOXcjs.__toESM.call(void 0, require_enquirer(), 1);
81251
81251
 
81252
81252
 
@@ -81486,8 +81486,8 @@ async function resolveGithubToken(hostname) {
81486
81486
  if (tokenFromEnv) {
81487
81487
  return tokenFromEnv;
81488
81488
  }
81489
- const ghCLIPath = _chunkZQPTTPLLcjs.joinPaths.call(void 0,
81490
- process.env.XDG_CONFIG_HOME || _chunkZQPTTPLLcjs.joinPaths.call(void 0, _os.homedir.call(void 0, ), ".config"),
81489
+ const ghCLIPath = _chunkL5TDKKZQcjs.joinPaths.call(void 0,
81490
+ process.env.XDG_CONFIG_HOME || _chunkL5TDKKZQcjs.joinPaths.call(void 0, _os.homedir.call(void 0, ), ".config"),
81491
81491
  "gh",
81492
81492
  "hosts.yml"
81493
81493
  );
@@ -81589,7 +81589,7 @@ var StormChangelogRenderer = (_class16 = class extends _changelogrenderer2.defau
81589
81589
  super(config);_class16.prototype.__init43.call(this);;
81590
81590
  }
81591
81591
  async render() {
81592
- this.workspaceConfig = await _chunkZQPTTPLLcjs.getWorkspaceConfig.call(void 0, );
81592
+ this.workspaceConfig = await _chunkL5TDKKZQcjs.getWorkspaceConfig.call(void 0, );
81593
81593
  return await super.render();
81594
81594
  }
81595
81595
  preprocessChanges() {
@@ -81758,7 +81758,7 @@ var StormChangelogRenderer = (_class16 = class extends _changelogrenderer2.defau
81758
81758
  // src/release/changelog.ts
81759
81759
  function createAPI(overrideReleaseConfig) {
81760
81760
  return async function releaseChangelog(args) {
81761
- const workspaceConfig = await _chunkZQPTTPLLcjs.getWorkspaceConfig.call(void 0, );
81761
+ const workspaceConfig = await _chunkL5TDKKZQcjs.getWorkspaceConfig.call(void 0, );
81762
81762
  const projectGraph = await _projectgraph.createProjectGraphAsync.call(void 0, { exitOnError: true });
81763
81763
  const nxJson = _nxjson.readNxJson.call(void 0, );
81764
81764
  const userProvidedReleaseConfig = _deepmergejson.deepMergeJson.call(void 0,
@@ -82455,7 +82455,7 @@ async function generateChangelogForWorkspace({
82455
82455
  changes,
82456
82456
  commits
82457
82457
  }) {
82458
- const workspaceConfig = await _chunkZQPTTPLLcjs.getWorkspaceConfig.call(void 0, );
82458
+ const workspaceConfig = await _chunkL5TDKKZQcjs.getWorkspaceConfig.call(void 0, );
82459
82459
  if (!workspaceConfig) {
82460
82460
  throw new Error(
82461
82461
  `Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
@@ -82571,7 +82571,7 @@ async function generateChangelogForProjects({
82571
82571
  nxReleaseConfig,
82572
82572
  projectToAdditionalDependencyBumps
82573
82573
  }) {
82574
- const workspaceConfig = await _chunkZQPTTPLLcjs.getWorkspaceConfig.call(void 0, );
82574
+ const workspaceConfig = await _chunkL5TDKKZQcjs.getWorkspaceConfig.call(void 0, );
82575
82575
  if (!workspaceConfig) {
82576
82576
  throw new Error(
82577
82577
  `Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
@@ -82867,12 +82867,12 @@ var runRelease = async (config, options) => {
82867
82867
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
82868
82868
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
82869
82869
  process.env.NPM_CONFIG_PROVENANCE = "true";
82870
- _chunkZQPTTPLLcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
82870
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
82871
82871
  const nxJson = _nxjsonjs.readNxJson.call(void 0, );
82872
- _chunkZQPTTPLLcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
82872
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
82873
82873
  const to = options.head || process.env.NX_HEAD;
82874
82874
  const from = options.base || process.env.NX_BASE;
82875
- _chunkZQPTTPLLcjs.writeDebug.call(void 0,
82875
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0,
82876
82876
  `Using the following Git SHAs to determine the release content:
82877
82877
  - From: ${from}
82878
82878
  - To: ${to}
@@ -82893,18 +82893,18 @@ var runRelease = async (config, options) => {
82893
82893
  nxJson.release,
82894
82894
  DEFAULT_RELEASE_CONFIG
82895
82895
  );
82896
- _chunkZQPTTPLLcjs.writeInfo.call(void 0,
82896
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0,
82897
82897
  "Using the following `nx.json` release configuration values",
82898
82898
  config
82899
82899
  );
82900
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, nxReleaseConfig, config);
82900
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, nxReleaseConfig, config);
82901
82901
  const releaseVersion = _versionjs.createAPI.call(void 0, nxReleaseConfig);
82902
82902
  const releaseChangelog = createAPI(nxReleaseConfig);
82903
82903
  const releasePublish = _publishjs.createAPI.call(void 0, nxReleaseConfig);
82904
- _chunkZQPTTPLLcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
82904
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
82905
82905
  const { workspaceVersion, projectsVersionData } = await releaseVersion({
82906
82906
  dryRun: false,
82907
- verbose: _chunkZQPTTPLLcjs.isVerbose.call(void 0, config.logLevel),
82907
+ verbose: _chunkL5TDKKZQcjs.isVerbose.call(void 0, config.logLevel),
82908
82908
  preid: config.preid,
82909
82909
  deleteVersionPlans: false,
82910
82910
  stageChanges: true,
@@ -82915,15 +82915,15 @@ var runRelease = async (config, options) => {
82915
82915
  version: _optionalChain([nxReleaseConfig, 'optionalAccess', _303 => _303.projectsRelationship]) !== "fixed" ? void 0 : workspaceVersion,
82916
82916
  versionData: projectsVersionData,
82917
82917
  dryRun: false,
82918
- verbose: _chunkZQPTTPLLcjs.isVerbose.call(void 0, config.logLevel),
82918
+ verbose: _chunkL5TDKKZQcjs.isVerbose.call(void 0, config.logLevel),
82919
82919
  to,
82920
82920
  from,
82921
82921
  gitCommit: true,
82922
82922
  gitCommitMessage: "release(monorepo): Publish workspace release updates"
82923
82923
  });
82924
- _chunkZQPTTPLLcjs.writeDebug.call(void 0, "Tagging commit with git", config);
82924
+ _chunkL5TDKKZQcjs.writeDebug.call(void 0, "Tagging commit with git", config);
82925
82925
  if (options.skipPublish) {
82926
- _chunkZQPTTPLLcjs.writeWarning.call(void 0,
82926
+ _chunkL5TDKKZQcjs.writeWarning.call(void 0,
82927
82927
  "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
82928
82928
  config
82929
82929
  );
@@ -82932,7 +82932,7 @@ var runRelease = async (config, options) => {
82932
82932
  (key) => _optionalChain([projectsVersionData, 'access', _304 => _304[key], 'optionalAccess', _305 => _305.newVersion])
82933
82933
  );
82934
82934
  if (changedProjects.length > 0) {
82935
- _chunkZQPTTPLLcjs.writeInfo.call(void 0,
82935
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0,
82936
82936
  `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
82937
82937
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
82938
82938
  `,
@@ -82942,7 +82942,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
82942
82942
  const result2 = await releasePublish({
82943
82943
  ...options,
82944
82944
  dryRun: !!options.dryRun,
82945
- verbose: _chunkZQPTTPLLcjs.isVerbose.call(void 0, config.logLevel)
82945
+ verbose: _chunkL5TDKKZQcjs.isVerbose.call(void 0, config.logLevel)
82946
82946
  });
82947
82947
  const failedProjects = Object.keys(result2).filter(
82948
82948
  (key) => _optionalChain([result2, 'access', _306 => _306[key], 'optionalAccess', _307 => _307.code]) && _optionalChain([result2, 'access', _308 => _308[key], 'optionalAccess', _309 => _309.code]) > 0
@@ -82957,10 +82957,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${_op
82957
82957
  );
82958
82958
  }
82959
82959
  } else {
82960
- _chunkZQPTTPLLcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
82960
+ _chunkL5TDKKZQcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
82961
82961
  }
82962
82962
  }
82963
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
82963
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
82964
82964
  };
82965
82965
  async function updatePackageManifests(projectsVersionData, config) {
82966
82966
  let projectGraph;
@@ -82975,7 +82975,7 @@ async function updatePackageManifests(projectsVersionData, config) {
82975
82975
  Object.keys(projectsVersionData).map(async (node) => {
82976
82976
  const projectNode = projectGraph.nodes[node];
82977
82977
  if (!_optionalChain([projectNode, 'optionalAccess', _312 => _312.data, 'access', _313 => _313.root])) {
82978
- _chunkZQPTTPLLcjs.writeWarning.call(void 0,
82978
+ _chunkL5TDKKZQcjs.writeWarning.call(void 0,
82979
82979
  `Project node ${node} not found in the project graph. Skipping manifest update.`,
82980
82980
  config
82981
82981
  );
@@ -82983,17 +82983,17 @@ async function updatePackageManifests(projectsVersionData, config) {
82983
82983
  }
82984
82984
  const versionData = projectsVersionData[node];
82985
82985
  if (_optionalChain([projectNode, 'optionalAccess', _314 => _314.data, 'access', _315 => _315.root]) && versionData && versionData.newVersion !== null) {
82986
- _chunkZQPTTPLLcjs.writeTrace.call(void 0,
82986
+ _chunkL5TDKKZQcjs.writeTrace.call(void 0,
82987
82987
  `Writing version ${versionData.newVersion} update to manifest file for ${node}
82988
82988
  `,
82989
82989
  config
82990
82990
  );
82991
- const projectRoot = _chunkZQPTTPLLcjs.joinPaths.call(void 0,
82991
+ const projectRoot = _chunkL5TDKKZQcjs.joinPaths.call(void 0,
82992
82992
  config.workspaceRoot,
82993
82993
  projectNode.data.root
82994
82994
  );
82995
- const packageJsonPath = _chunkZQPTTPLLcjs.joinPaths.call(void 0, projectRoot, "package.json");
82996
- const cargoTomlPath = _chunkZQPTTPLLcjs.joinPaths.call(void 0, projectRoot, "Cargo.toml");
82995
+ const packageJsonPath = _chunkL5TDKKZQcjs.joinPaths.call(void 0, projectRoot, "package.json");
82996
+ const cargoTomlPath = _chunkL5TDKKZQcjs.joinPaths.call(void 0, projectRoot, "Cargo.toml");
82997
82997
  if (_fs.existsSync.call(void 0, packageJsonPath)) {
82998
82998
  const packageJsonContent = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
82999
82999
  const packageJson = JSON.parse(packageJsonContent);
@@ -83011,7 +83011,7 @@ async function updatePackageManifests(projectsVersionData, config) {
83011
83011
  })
83012
83012
  );
83013
83013
  } else {
83014
- _chunkZQPTTPLLcjs.writeWarning.call(void 0, "No project nodes found. Skipping manifest updates.", config);
83014
+ _chunkL5TDKKZQcjs.writeWarning.call(void 0, "No project nodes found. Skipping manifest updates.", config);
83015
83015
  }
83016
83016
  }
83017
83017
 
@@ -83019,8 +83019,8 @@ async function updatePackageManifests(projectsVersionData, config) {
83019
83019
  var _config = {};
83020
83020
  function createProgram(config) {
83021
83021
  _config = config;
83022
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
83023
- const root2 = _chunkZQPTTPLLcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
83022
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
83023
+ const root2 = _chunkL5TDKKZQcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
83024
83024
  process.env.STORM_WORKSPACE_ROOT ??= root2;
83025
83025
  process.env.NX_WORKSPACE_ROOT_PATH ??= root2;
83026
83026
  if (root2) {
@@ -83085,12 +83085,12 @@ async function commitAction({
83085
83085
  dryRun = false
83086
83086
  }) {
83087
83087
  try {
83088
- _chunkZQPTTPLLcjs.writeInfo.call(void 0,
83088
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0,
83089
83089
  `\u26A1 Preparing to commit your changes. Please provide the requested details below...`,
83090
83090
  _config
83091
83091
  );
83092
83092
  await runCommit(config, dryRun);
83093
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0,
83093
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0,
83094
83094
  `\u{1F389} Storm Commit processing completed successfully!
83095
83095
 
83096
83096
  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}
@@ -83098,7 +83098,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
83098
83098
  _config
83099
83099
  );
83100
83100
  } catch (error) {
83101
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
83101
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
83102
83102
  `A fatal error occurred while running commit action:
83103
83103
 
83104
83104
  ${error.message}`,
@@ -83109,14 +83109,14 @@ ${error.message}`,
83109
83109
  }
83110
83110
  async function readmeAction(options) {
83111
83111
  try {
83112
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
83112
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
83113
83113
  await runReadme(options);
83114
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0,
83114
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0,
83115
83115
  "Formatting of the workspace's README.md files is complete\n",
83116
83116
  _config
83117
83117
  );
83118
83118
  } catch (error) {
83119
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
83119
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
83120
83120
  `A fatal error occurred while running README format action:
83121
83121
 
83122
83122
  ${error.message}`
@@ -83131,7 +83131,7 @@ async function releaseAction({
83131
83131
  dryRun
83132
83132
  }) {
83133
83133
  try {
83134
- _chunkZQPTTPLLcjs.writeInfo.call(void 0,
83134
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0,
83135
83135
  "\u26A1 Running the Storm Release and Publish process on the workspace",
83136
83136
  _config
83137
83137
  );
@@ -83141,9 +83141,9 @@ async function releaseAction({
83141
83141
  base,
83142
83142
  head
83143
83143
  });
83144
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
83144
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
83145
83145
  } catch (error) {
83146
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
83146
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
83147
83147
  `A fatal error occurred while running release action:
83148
83148
 
83149
83149
  ${error.message} ${error.stack ? `
@@ -83161,7 +83161,7 @@ async function commitLintAction({
83161
83161
  file
83162
83162
  }) {
83163
83163
  try {
83164
- _chunkZQPTTPLLcjs.writeInfo.call(void 0,
83164
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0,
83165
83165
  `\u26A1 Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : _config.organization ? _config.organization : "Storm-Software"} repository's commit messages.`,
83166
83166
  _config
83167
83167
  );
@@ -83170,12 +83170,12 @@ async function commitLintAction({
83170
83170
  message: message2,
83171
83171
  file
83172
83172
  });
83173
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0,
83173
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0,
83174
83174
  "Linting the commit messages completed successfully!\n",
83175
83175
  _config
83176
83176
  );
83177
83177
  } catch (error) {
83178
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
83178
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
83179
83179
  `A fatal error occurred while linting the commit messages:
83180
83180
 
83181
83181
  ${error.message}`,
@@ -83187,18 +83187,18 @@ ${error.message}`,
83187
83187
 
83188
83188
  // bin/git.ts
83189
83189
  void (async () => {
83190
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
83190
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
83191
83191
  try {
83192
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
83192
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
83193
83193
  const program2 = createProgram(config);
83194
83194
  await program2.parseAsync(process.argv);
83195
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0,
83195
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0,
83196
83196
  `\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
83197
83197
  config
83198
83198
  );
83199
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
83199
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
83200
83200
  } catch (error) {
83201
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
83201
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
83202
83202
  process.exit(1);
83203
83203
  }
83204
83204
  })();
package/bin/git.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  writeSuccess,
21
21
  writeTrace,
22
22
  writeWarning
23
- } from "./chunk-Y5MQ6QW6.js";
23
+ } from "./chunk-J6B73QDL.js";
24
24
  import {
25
25
  defu
26
26
  } from "./chunk-MB5PZETS.js";
@@ -13,7 +13,7 @@ var _chunkG7EN4DM2cjs = require('./chunk-G7EN4DM2.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
16
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
17
17
  require('./chunk-O676GOCV.cjs');
18
18
  require('./chunk-DMQPPQBD.cjs');
19
19
  require('./chunk-WEDQZJRW.cjs');
@@ -27,29 +27,29 @@ var _chunkV5JQUZOXcjs = require('./chunk-V5JQUZOX.cjs');
27
27
  // bin/post-checkout.ts
28
28
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
30
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
33
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
32
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
33
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
34
34
  _chunkUXYTJON2cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkZQPTTPLLcjs.writeError.call(void 0,
38
+ _chunkL5TDKKZQcjs.writeError.call(void 0,
39
39
  `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.
40
40
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
41
41
  config
42
42
  );
43
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
43
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git lfs post-checkout");
46
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
48
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
52
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
53
53
  process.exit(1);
54
54
  }
55
55
  })();
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-Y5MQ6QW6.js";
16
+ } from "./chunk-J6B73QDL.js";
17
17
  import "./chunk-MB5PZETS.js";
18
18
  import "./chunk-J5FOWEKY.js";
19
19
  import "./chunk-UHBRC2LR.js";
@@ -13,7 +13,7 @@ var _chunkG7EN4DM2cjs = require('./chunk-G7EN4DM2.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
16
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
17
17
  require('./chunk-O676GOCV.cjs');
18
18
  require('./chunk-DMQPPQBD.cjs');
19
19
  require('./chunk-WEDQZJRW.cjs');
@@ -27,29 +27,29 @@ var _chunkV5JQUZOXcjs = require('./chunk-V5JQUZOX.cjs');
27
27
  // bin/post-commit.ts
28
28
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
30
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
33
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
32
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
33
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
34
34
  _chunkUXYTJON2cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkZQPTTPLLcjs.writeError.call(void 0,
38
+ _chunkL5TDKKZQcjs.writeError.call(void 0,
39
39
  `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.
40
40
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
41
41
  config
42
42
  );
43
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
43
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git lfs post-commit");
46
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
48
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
52
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
53
53
  process.exit(1);
54
54
  }
55
55
  })();
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-Y5MQ6QW6.js";
16
+ } from "./chunk-J6B73QDL.js";
17
17
  import "./chunk-MB5PZETS.js";
18
18
  import "./chunk-J5FOWEKY.js";
19
19
  import "./chunk-UHBRC2LR.js";
@@ -13,7 +13,7 @@ var _chunkG7EN4DM2cjs = require('./chunk-G7EN4DM2.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
16
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
17
17
  require('./chunk-O676GOCV.cjs');
18
18
  require('./chunk-DMQPPQBD.cjs');
19
19
  require('./chunk-WEDQZJRW.cjs');
@@ -27,29 +27,29 @@ var _chunkV5JQUZOXcjs = require('./chunk-V5JQUZOX.cjs');
27
27
  // bin/post-merge.ts
28
28
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
30
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
33
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
32
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
33
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
34
34
  _chunkUXYTJON2cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkZQPTTPLLcjs.writeError.call(void 0,
38
+ _chunkL5TDKKZQcjs.writeError.call(void 0,
39
39
  `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.
40
40
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
41
41
  config
42
42
  );
43
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
43
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git lfs post-merge");
46
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
48
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
52
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
53
53
  process.exit(1);
54
54
  }
55
55
  })();
package/bin/post-merge.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-Y5MQ6QW6.js";
16
+ } from "./chunk-J6B73QDL.js";
17
17
  import "./chunk-MB5PZETS.js";
18
18
  import "./chunk-J5FOWEKY.js";
19
19
  import "./chunk-UHBRC2LR.js";
@@ -11,7 +11,7 @@ var _chunkUXYTJON2cjs = require('./chunk-UXYTJON2.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
14
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
15
15
  require('./chunk-O676GOCV.cjs');
16
16
  require('./chunk-DMQPPQBD.cjs');
17
17
  require('./chunk-WEDQZJRW.cjs');
@@ -25,25 +25,25 @@ var _chunkV5JQUZOXcjs = require('./chunk-V5JQUZOX.cjs');
25
25
  // bin/pre-commit.ts
26
26
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
27
27
  void (async () => {
28
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
28
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
29
29
  try {
30
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
31
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
30
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
31
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
32
32
  _chunkUXYTJON2cjs.checkPackageVersion.call(void 0, process.argv.slice(1));
33
33
  if (_chunkUXYTJON2cjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
34
- _chunkZQPTTPLLcjs.writeError.call(void 0,
34
+ _chunkL5TDKKZQcjs.writeError.call(void 0,
35
35
  "Please regenerate the package lock file before committing...",
36
36
  config
37
37
  );
38
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
38
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
39
39
  }
40
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
40
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
41
41
  } catch (error) {
42
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
42
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
43
43
  `A fatal error occurred while running the program: ${error.message}`,
44
44
  config
45
45
  );
46
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
46
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
47
47
  process.exit(1);
48
48
  }
49
49
  })();
package/bin/pre-commit.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  writeError,
12
12
  writeFatal,
13
13
  writeInfo
14
- } from "./chunk-Y5MQ6QW6.js";
14
+ } from "./chunk-J6B73QDL.js";
15
15
  import "./chunk-MB5PZETS.js";
16
16
  import "./chunk-J5FOWEKY.js";
17
17
  import "./chunk-UHBRC2LR.js";
@@ -9,7 +9,7 @@ var _chunkG7EN4DM2cjs = require('./chunk-G7EN4DM2.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
12
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
13
13
  require('./chunk-O676GOCV.cjs');
14
14
  require('./chunk-DMQPPQBD.cjs');
15
15
  require('./chunk-WEDQZJRW.cjs');
@@ -23,22 +23,22 @@ var _chunkV5JQUZOXcjs = require('./chunk-V5JQUZOX.cjs');
23
23
  // bin/pre-install.ts
24
24
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
26
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
29
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
28
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
29
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
30
30
  if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
31
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
31
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
33
33
  }
34
34
  _chunkG7EN4DM2cjs.run.call(void 0, config, "npx -y only-allow pnpm");
35
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
35
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
36
36
  } catch (error) {
37
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
37
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
38
38
  `A fatal error occurred while running the program: ${error.message}`,
39
39
  config
40
40
  );
41
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
41
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
42
42
  process.exit(1);
43
43
  }
44
44
  })();
@@ -9,7 +9,7 @@ import {
9
9
  handleProcess,
10
10
  writeFatal,
11
11
  writeInfo
12
- } from "./chunk-Y5MQ6QW6.js";
12
+ } from "./chunk-J6B73QDL.js";
13
13
  import "./chunk-MB5PZETS.js";
14
14
  import "./chunk-J5FOWEKY.js";
15
15
  import "./chunk-UHBRC2LR.js";
package/bin/pre-push.cjs CHANGED
@@ -14,7 +14,7 @@ var _chunkG7EN4DM2cjs = require('./chunk-G7EN4DM2.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
17
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
18
18
  require('./chunk-O676GOCV.cjs');
19
19
  require('./chunk-DMQPPQBD.cjs');
20
20
  require('./chunk-WEDQZJRW.cjs');
@@ -31,12 +31,12 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
31
31
  var _promises = require('fs/promises');
32
32
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
33
33
  void (async () => {
34
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
34
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
35
35
  try {
36
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
37
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
36
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
37
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
38
38
  _chunkUXYTJON2cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
39
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
39
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
40
40
  const errors = [];
41
41
  if (_fs2.default.existsSync(
42
42
  _path2.default.join(_nullishCoalesce(config.workspaceRoot, () => ( "./")), "package-lock.json")
@@ -71,32 +71,32 @@ void (async () => {
71
71
  errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
72
72
  }
73
73
  if (errors.length > 0) {
74
- _chunkZQPTTPLLcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
74
+ _chunkL5TDKKZQcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
75
75
  for (const error of errors) {
76
76
  console.error(error);
77
77
  }
78
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
78
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
79
79
  }
80
- _chunkZQPTTPLLcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
80
+ _chunkL5TDKKZQcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
81
81
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git lfs pre-push origin");
82
82
  try {
83
83
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git-lfs version");
84
84
  } catch (error) {
85
- _chunkZQPTTPLLcjs.writeError.call(void 0,
85
+ _chunkL5TDKKZQcjs.writeError.call(void 0,
86
86
  `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.
87
87
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`,
88
88
  config
89
89
  );
90
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
90
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
91
91
  }
92
92
  _chunkG7EN4DM2cjs.run.call(void 0, config, "git lfs pre-push origin");
93
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
93
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
94
94
  } catch (error) {
95
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
95
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
96
96
  `A fatal error occurred while running the program: ${error.message}`,
97
97
  config
98
98
  );
99
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
99
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
100
100
  process.exit(1);
101
101
  }
102
102
  })();
package/bin/pre-push.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  writeFatal,
15
15
  writeInfo,
16
16
  writeSuccess
17
- } from "./chunk-Y5MQ6QW6.js";
17
+ } from "./chunk-J6B73QDL.js";
18
18
  import "./chunk-MB5PZETS.js";
19
19
  import "./chunk-J5FOWEKY.js";
20
20
  import "./chunk-UHBRC2LR.js";
package/bin/prepare.cjs CHANGED
@@ -9,7 +9,7 @@ var _chunkG7EN4DM2cjs = require('./chunk-G7EN4DM2.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
12
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
13
13
  require('./chunk-O676GOCV.cjs');
14
14
  require('./chunk-DMQPPQBD.cjs');
15
15
  require('./chunk-WEDQZJRW.cjs');
@@ -23,20 +23,20 @@ var _chunkV5JQUZOXcjs = require('./chunk-V5JQUZOX.cjs');
23
23
  // bin/prepare.ts
24
24
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
26
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
29
- _chunkZQPTTPLLcjs.writeInfo.call(void 0, "Running prepare hook...", config);
28
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
29
+ _chunkL5TDKKZQcjs.writeInfo.call(void 0, "Running prepare hook...", config);
30
30
  if (!process.env.CI && !process.env.STORM_CI) {
31
31
  _chunkG7EN4DM2cjs.run.call(void 0, config, "lefthook install");
32
32
  }
33
- _chunkZQPTTPLLcjs.exitWithSuccess.call(void 0, config);
33
+ _chunkL5TDKKZQcjs.exitWithSuccess.call(void 0, config);
34
34
  } catch (error) {
35
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
35
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
36
36
  `A fatal error occurred while running the program: ${error.message}`,
37
37
  config
38
38
  );
39
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
39
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
40
40
  process.exit(1);
41
41
  }
42
42
  })();
package/bin/prepare.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  handleProcess,
10
10
  writeFatal,
11
11
  writeInfo
12
- } from "./chunk-Y5MQ6QW6.js";
12
+ } from "./chunk-J6B73QDL.js";
13
13
  import "./chunk-MB5PZETS.js";
14
14
  import "./chunk-J5FOWEKY.js";
15
15
  import "./chunk-UHBRC2LR.js";
@@ -7,7 +7,7 @@ var _chunkUXYTJON2cjs = require('./chunk-UXYTJON2.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunkZQPTTPLLcjs = require('./chunk-ZQPTTPLL.cjs');
10
+ var _chunkL5TDKKZQcjs = require('./chunk-L5TDKKZQ.cjs');
11
11
  require('./chunk-O676GOCV.cjs');
12
12
  require('./chunk-DMQPPQBD.cjs');
13
13
  require('./chunk-WEDQZJRW.cjs');
@@ -21,16 +21,16 @@ var _chunkV5JQUZOXcjs = require('./chunk-V5JQUZOX.cjs');
21
21
  // bin/version-warning.ts
22
22
  _chunkV5JQUZOXcjs.init_cjs_shims.call(void 0, );
23
23
  void (async () => {
24
- const config = await _chunkZQPTTPLLcjs.getConfig.call(void 0, );
24
+ const config = await _chunkL5TDKKZQcjs.getConfig.call(void 0, );
25
25
  try {
26
- _chunkZQPTTPLLcjs.handleProcess.call(void 0, config);
26
+ _chunkL5TDKKZQcjs.handleProcess.call(void 0, config);
27
27
  _chunkUXYTJON2cjs.checkPackageVersion.call(void 0, process.argv.slice(1));
28
28
  } catch (error) {
29
- _chunkZQPTTPLLcjs.writeFatal.call(void 0,
29
+ _chunkL5TDKKZQcjs.writeFatal.call(void 0,
30
30
  `A fatal error occurred while running the program: ${error.message}`,
31
31
  config
32
32
  );
33
- _chunkZQPTTPLLcjs.exitWithError.call(void 0, config);
33
+ _chunkL5TDKKZQcjs.exitWithError.call(void 0, config);
34
34
  process.exit(1);
35
35
  }
36
36
  })();
@@ -7,7 +7,7 @@ import {
7
7
  getConfig,
8
8
  handleProcess,
9
9
  writeFatal
10
- } from "./chunk-Y5MQ6QW6.js";
10
+ } from "./chunk-J6B73QDL.js";
11
11
  import "./chunk-MB5PZETS.js";
12
12
  import "./chunk-J5FOWEKY.js";
13
13
  import "./chunk-UHBRC2LR.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.111.21",
3
+ "version": "2.111.22",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {