@storm-software/git-tools 2.113.10 → 2.113.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/git.cjs CHANGED
@@ -20,7 +20,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkQBLF3SVDcjs = require('./chunk-QBLF3SVD.cjs');
23
+ var _chunkF4T262FKcjs = require('./chunk-F4T262FK.cjs');
24
24
 
25
25
 
26
26
  var _chunkFMYKTN2Zcjs = require('./chunk-FMYKTN2Z.cjs');
@@ -3274,7 +3274,7 @@ var require_wrap_ansi = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
3274
3274
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
3275
3275
  var stringWidth = require_string_width();
3276
3276
  var stripAnsi2 = require_strip_ansi();
3277
- var ansiStyles2 = _chunkQBLF3SVDcjs.require_ansi_styles.call(void 0, );
3277
+ var ansiStyles2 = _chunkF4T262FKcjs.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 = _chunkIG6EXAQUcjs.__commonJS.call(void 0, {
15298
15298
  );
15299
15299
  exports.colors = [6, 2, 3, 4, 5, 1];
15300
15300
  try {
15301
- const supportsColor2 = _chunkQBLF3SVDcjs.require_supports_color.call(void 0, );
15301
+ const supportsColor2 = _chunkF4T262FKcjs.require_supports_color.call(void 0, );
15302
15302
  if (supportsColor2 && (supportsColor2.stderr || supportsColor2).level >= 2) {
15303
15303
  exports.colors = [
15304
15304
  20,
@@ -70469,7 +70469,7 @@ function getRuleFromScopeEnum(scopeEnum2) {
70469
70469
  // src/commitlint/run.ts
70470
70470
  var COMMIT_EDITMSG_PATH = ".git/COMMIT_EDITMSG";
70471
70471
  var runCommitLint = async (config, params) => {
70472
- _chunkQBLF3SVDcjs.writeInfo.call(void 0,
70472
+ _chunkF4T262FKcjs.writeInfo.call(void 0,
70473
70473
  "\u{1F4DD} Validating git commit message aligns with the Storm Software specification",
70474
70474
  config
70475
70475
  );
@@ -70477,7 +70477,7 @@ var runCommitLint = async (config, params) => {
70477
70477
  if (params.message && params.message !== COMMIT_EDITMSG_PATH) {
70478
70478
  commitMessage = params.message;
70479
70479
  } else {
70480
- const commitFile = _chunkQBLF3SVDcjs.joinPaths.call(void 0,
70480
+ const commitFile = _chunkF4T262FKcjs.joinPaths.call(void 0,
70481
70481
  config.workspaceRoot,
70482
70482
  params.file || params.message || COMMIT_EDITMSG_PATH
70483
70483
  );
@@ -70494,17 +70494,17 @@ var runCommitLint = async (config, params) => {
70494
70494
  if (upstreamRemote) {
70495
70495
  const upstreamRemoteIdentifier = _optionalChain([upstreamRemote, 'access', _84 => _84.split, 'call', _85 => _85(" "), 'access', _86 => _86[0], 'optionalAccess', _87 => _87.trim, 'call', _88 => _88()]);
70496
70496
  if (!upstreamRemoteIdentifier) {
70497
- _chunkQBLF3SVDcjs.writeWarning.call(void 0,
70497
+ _chunkF4T262FKcjs.writeWarning.call(void 0,
70498
70498
  `No upstream remote found for ${config.name}.git. Skipping comparison.`,
70499
70499
  config
70500
70500
  );
70501
70501
  return;
70502
70502
  }
70503
- _chunkQBLF3SVDcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
70503
+ _chunkF4T262FKcjs.writeDebug.call(void 0, `Comparing against remote ${upstreamRemoteIdentifier}`);
70504
70504
  const currentBranch = _child_process2.default.execSync("git branch --show-current").toString().trim();
70505
70505
  gitLogCmd = gitLogCmd + ` ${currentBranch} ^${upstreamRemoteIdentifier}/main`;
70506
70506
  } else {
70507
- _chunkQBLF3SVDcjs.writeWarning.call(void 0,
70507
+ _chunkF4T262FKcjs.writeWarning.call(void 0,
70508
70508
  `No upstream remote found for ${config.name}.git. Skipping comparison against upstream main.`,
70509
70509
  config
70510
70510
  );
@@ -70512,7 +70512,7 @@ var runCommitLint = async (config, params) => {
70512
70512
  }
70513
70513
  commitMessage = _child_process2.default.execSync(gitLogCmd).toString().trim();
70514
70514
  if (!commitMessage) {
70515
- _chunkQBLF3SVDcjs.writeWarning.call(void 0,
70515
+ _chunkF4T262FKcjs.writeWarning.call(void 0,
70516
70516
  "No commits found. Skipping commit message validation.",
70517
70517
  config
70518
70518
  );
@@ -70535,7 +70535,7 @@ var runCommitLint = async (config, params) => {
70535
70535
  helpUrl: commitlintConfig.helpUrl
70536
70536
  });
70537
70537
  if (!matchCommit || report.errors.length || report.warnings.length) {
70538
- _chunkQBLF3SVDcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
70538
+ _chunkF4T262FKcjs.writeSuccess.call(void 0, `Commit was processing completed successfully!`, config);
70539
70539
  } else {
70540
70540
  let errorMessage = " Oh no! Your commit message: \n-------------------------------------------------------------------\n" + commitMessage + "\n-------------------------------------------------------------------\n\n Does not follow the commit message convention specified by Storm Software.";
70541
70541
  errorMessage += "\ntype(scope): subject \n BLANK LINE \n body";
@@ -71696,7 +71696,7 @@ async function createState(config, commitizenFile = "@storm-software/git-tools/c
71696
71696
  answers: {}
71697
71697
  };
71698
71698
  } else {
71699
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
71699
+ _chunkF4T262FKcjs.writeInfo.call(void 0, `Using custom commit config file: ${commitizenFile}`, config);
71700
71700
  let commitizenConfig = await Promise.resolve().then(() => _interopRequireWildcard(require(commitizenFile)));
71701
71701
  if (_optionalChain([commitizenConfig, 'optionalAccess', _94 => _94.default])) {
71702
71702
  commitizenConfig = _optionalChain([commitizenConfig, 'optionalAccess', _95 => _95.default]);
@@ -71759,7 +71759,7 @@ async function createState(config, commitizenFile = "@storm-software/git-tools/c
71759
71759
  const project = projectConfigurations.projects[scope];
71760
71760
  if (project) {
71761
71761
  let description = `${project.name} - ${project.root}`;
71762
- const packageJsonPath = _chunkQBLF3SVDcjs.joinPaths.call(void 0, project.root, "package.json");
71762
+ const packageJsonPath = _chunkF4T262FKcjs.joinPaths.call(void 0, project.root, "package.json");
71763
71763
  if (_fs.existsSync.call(void 0, packageJsonPath)) {
71764
71764
  const packageJson = await hfs.json(packageJsonPath);
71765
71765
  description = packageJson.description || description;
@@ -71839,10 +71839,10 @@ ${closedIssueEmoji}${config.prompt.settings.closedIssueMessage}${issues}`;
71839
71839
 
71840
71840
  // src/commit/run.ts
71841
71841
  var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config", dryRun = false) => {
71842
- const config = await _chunkQBLF3SVDcjs.getConfig.call(void 0, );
71842
+ const config = await _chunkF4T262FKcjs.getConfig.call(void 0, );
71843
71843
  const state = await createState(config, commitizenFile);
71844
71844
  if (dryRun) {
71845
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, "Running in dry mode.", config);
71845
+ _chunkF4T262FKcjs.writeInfo.call(void 0, "Running in dry mode.", config);
71846
71846
  }
71847
71847
  console.log(chalk_template_default`
71848
71848
  {bold.#999999 ----------------------------------------}
@@ -71852,7 +71852,7 @@ var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config
71852
71852
  `);
71853
71853
  state.answers = await askQuestions(state);
71854
71854
  const message2 = formatCommitMessage(state);
71855
- const commitMsgFile = _chunkQBLF3SVDcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
71855
+ const commitMsgFile = _chunkF4T262FKcjs.joinPaths.call(void 0, getGitDir(), "COMMIT_EDITMSG");
71856
71856
  console.log(chalk_template_default`
71857
71857
  {bold.#999999 ----------------------------------------}
71858
71858
 
@@ -71865,11 +71865,11 @@ var runCommit = async (commitizenFile = "@storm-software/git-tools/commit/config
71865
71865
  commandItems.push(...["--file", commitMsgFile]);
71866
71866
  const command = (0, import_any_shell_escape.default)(commandItems);
71867
71867
  if (dryRun) {
71868
- _chunkQBLF3SVDcjs.writeDebug.call(void 0,
71868
+ _chunkF4T262FKcjs.writeDebug.call(void 0,
71869
71869
  `Skipping execution [dry-run]: ${command.replace(commitMsgFile, ".git/COMMIT_EDITMSG")}`,
71870
71870
  config
71871
71871
  );
71872
- _chunkQBLF3SVDcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
71872
+ _chunkF4T262FKcjs.writeDebug.call(void 0, `Message [dry-run]: ${message2}`, config);
71873
71873
  } else {
71874
71874
  await _promises2.default.writeFile(commitMsgFile, message2);
71875
71875
  _chunkGWDOCACNcjs.run.call(void 0, config, command);
@@ -77652,7 +77652,7 @@ var _nxjsonjs = require('nx/src/config/nx-json.js');
77652
77652
 
77653
77653
  // src/release/changelog.ts
77654
77654
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
77655
- var chalk3 = _chunkIG6EXAQUcjs.__toESM.call(void 0, _chunkQBLF3SVDcjs.require_source.call(void 0, ), 1);
77655
+ var chalk3 = _chunkIG6EXAQUcjs.__toESM.call(void 0, _chunkF4T262FKcjs.require_source.call(void 0, ), 1);
77656
77656
  var import_enquirer2 = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_enquirer(), 1);
77657
77657
  var import_semver2 = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_semver4(), 1);
77658
77658
  var import_tmp = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_tmp2(), 1);
@@ -81569,7 +81569,7 @@ var StormChangelogRenderer = (_class16 = class extends _changelogrenderer2.defau
81569
81569
  };
81570
81570
  }
81571
81571
  async render() {
81572
- this.workspaceConfig = await _chunkQBLF3SVDcjs.getWorkspaceConfig.call(void 0, );
81572
+ this.workspaceConfig = await _chunkF4T262FKcjs.getWorkspaceConfig.call(void 0, );
81573
81573
  return await super.render();
81574
81574
  }
81575
81575
  preprocessChanges() {
@@ -81751,7 +81751,7 @@ var StormChangelogRenderer = (_class16 = class extends _changelogrenderer2.defau
81751
81751
  // src/release/github.ts
81752
81752
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
81753
81753
  var import_devkit = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_devkit(), 1);
81754
- var chalk2 = _chunkIG6EXAQUcjs.__toESM.call(void 0, _chunkQBLF3SVDcjs.require_source.call(void 0, ), 1);
81754
+ var chalk2 = _chunkIG6EXAQUcjs.__toESM.call(void 0, _chunkF4T262FKcjs.require_source.call(void 0, ), 1);
81755
81755
  var import_enquirer = _chunkIG6EXAQUcjs.__toESM.call(void 0, require_enquirer(), 1);
81756
81756
 
81757
81757
 
@@ -82116,7 +82116,7 @@ async function isUserAnOrganizationMember(userId, config, remoteName = "origin")
82116
82116
  // src/release/changelog.ts
82117
82117
  function createAPI(overrideReleaseConfig) {
82118
82118
  return async function releaseChangelog(args) {
82119
- const workspaceConfig = await _chunkQBLF3SVDcjs.getWorkspaceConfig.call(void 0, );
82119
+ const workspaceConfig = await _chunkF4T262FKcjs.getWorkspaceConfig.call(void 0, );
82120
82120
  const projectGraph = await _projectgraph.createProjectGraphAsync.call(void 0, { exitOnError: true });
82121
82121
  const nxJson = _nxjson.readNxJson.call(void 0, );
82122
82122
  const userProvidedReleaseConfig = _deepmergejson.deepMergeJson.call(void 0,
@@ -82811,7 +82811,7 @@ async function generateChangelogForWorkspace({
82811
82811
  workspaceChangelogVersion,
82812
82812
  changes
82813
82813
  }) {
82814
- const workspaceConfig = await _chunkQBLF3SVDcjs.getWorkspaceConfig.call(void 0, );
82814
+ const workspaceConfig = await _chunkF4T262FKcjs.getWorkspaceConfig.call(void 0, );
82815
82815
  if (!workspaceConfig) {
82816
82816
  throw new Error(
82817
82817
  `Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
@@ -82927,7 +82927,7 @@ async function generateChangelogForProjects({
82927
82927
  nxReleaseConfig,
82928
82928
  projectToAdditionalDependencyBumps
82929
82929
  }) {
82930
- const workspaceConfig = await _chunkQBLF3SVDcjs.getWorkspaceConfig.call(void 0, );
82930
+ const workspaceConfig = await _chunkF4T262FKcjs.getWorkspaceConfig.call(void 0, );
82931
82931
  if (!workspaceConfig) {
82932
82932
  throw new Error(
82933
82933
  `Unable to determine the Storm workspace config. Please ensure that your storm-workspace.json file is present and valid.`
@@ -83235,7 +83235,7 @@ var runRelease = async (config, options) => {
83235
83235
  throw new Error("The `GITHUB_ACTOR` environment variable is not set.");
83236
83236
  }
83237
83237
  if (!await isUserAnOrganizationMember(process.env.GITHUB_ACTOR, config)) {
83238
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
83238
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
83239
83239
  "You must be a member of the Storm Software organization to run the release process.",
83240
83240
  config
83241
83241
  );
@@ -83252,12 +83252,12 @@ var runRelease = async (config, options) => {
83252
83252
  process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
83253
83253
  process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
83254
83254
  process.env.NPM_CONFIG_PROVENANCE = "true";
83255
- _chunkQBLF3SVDcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
83255
+ _chunkF4T262FKcjs.writeDebug.call(void 0, "Creating workspace Project Graph data...", config);
83256
83256
  const nxJson = _nxjsonjs.readNxJson.call(void 0, );
83257
- _chunkQBLF3SVDcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
83257
+ _chunkF4T262FKcjs.writeDebug.call(void 0, "Reading in the workspaces release configuration", config);
83258
83258
  const to = options.head || process.env.NX_HEAD;
83259
83259
  const from = options.base || process.env.NX_BASE;
83260
- _chunkQBLF3SVDcjs.writeDebug.call(void 0,
83260
+ _chunkF4T262FKcjs.writeDebug.call(void 0,
83261
83261
  `Using the following Git SHAs to determine the release content:
83262
83262
  - From: ${from}
83263
83263
  - To: ${to}
@@ -83278,18 +83278,18 @@ var runRelease = async (config, options) => {
83278
83278
  nxJson.release,
83279
83279
  DEFAULT_RELEASE_CONFIG
83280
83280
  );
83281
- _chunkQBLF3SVDcjs.writeInfo.call(void 0,
83281
+ _chunkF4T262FKcjs.writeInfo.call(void 0,
83282
83282
  "Using the following `nx.json` release configuration values",
83283
83283
  config
83284
83284
  );
83285
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, nxReleaseConfig, config);
83285
+ _chunkF4T262FKcjs.writeInfo.call(void 0, nxReleaseConfig, config);
83286
83286
  const releaseVersion = _versionjs.createAPI.call(void 0, nxReleaseConfig);
83287
83287
  const releaseChangelog = createAPI(nxReleaseConfig);
83288
83288
  const releasePublish = _publishjs.createAPI.call(void 0, nxReleaseConfig);
83289
- _chunkQBLF3SVDcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
83289
+ _chunkF4T262FKcjs.writeDebug.call(void 0, "Determining the current release versions...", config);
83290
83290
  const { workspaceVersion, projectsVersionData } = await releaseVersion({
83291
83291
  dryRun: false,
83292
- verbose: _chunkQBLF3SVDcjs.isVerbose.call(void 0, config.logLevel),
83292
+ verbose: _chunkF4T262FKcjs.isVerbose.call(void 0, config.logLevel),
83293
83293
  preid: config.preid,
83294
83294
  deleteVersionPlans: false,
83295
83295
  stageChanges: true,
@@ -83300,15 +83300,15 @@ var runRelease = async (config, options) => {
83300
83300
  version: _optionalChain([nxReleaseConfig, 'optionalAccess', _314 => _314.projectsRelationship]) !== "fixed" ? void 0 : workspaceVersion,
83301
83301
  versionData: projectsVersionData,
83302
83302
  dryRun: false,
83303
- verbose: _chunkQBLF3SVDcjs.isVerbose.call(void 0, config.logLevel),
83303
+ verbose: _chunkF4T262FKcjs.isVerbose.call(void 0, config.logLevel),
83304
83304
  to,
83305
83305
  from,
83306
83306
  gitCommit: true,
83307
83307
  gitCommitMessage: "release(monorepo): Publish workspace release updates"
83308
83308
  });
83309
- _chunkQBLF3SVDcjs.writeDebug.call(void 0, "Tagging commit with git", config);
83309
+ _chunkF4T262FKcjs.writeDebug.call(void 0, "Tagging commit with git", config);
83310
83310
  if (options.skipPublish) {
83311
- _chunkQBLF3SVDcjs.writeWarning.call(void 0,
83311
+ _chunkF4T262FKcjs.writeWarning.call(void 0,
83312
83312
  "Skipping publishing packages since `skipPublish` was provided as `true` in the release options.",
83313
83313
  config
83314
83314
  );
@@ -83317,7 +83317,7 @@ var runRelease = async (config, options) => {
83317
83317
  (key) => _optionalChain([projectsVersionData, 'access', _315 => _315[key], 'optionalAccess', _316 => _316.newVersion])
83318
83318
  );
83319
83319
  if (changedProjects.length > 0) {
83320
- _chunkQBLF3SVDcjs.writeInfo.call(void 0,
83320
+ _chunkF4T262FKcjs.writeInfo.call(void 0,
83321
83321
  `Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
83322
83322
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
83323
83323
  `,
@@ -83327,7 +83327,7 @@ ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
83327
83327
  const result2 = await releasePublish({
83328
83328
  ...options,
83329
83329
  dryRun: !!options.dryRun,
83330
- verbose: _chunkQBLF3SVDcjs.isVerbose.call(void 0, config.logLevel)
83330
+ verbose: _chunkF4T262FKcjs.isVerbose.call(void 0, config.logLevel)
83331
83331
  });
83332
83332
  const failedProjects = Object.keys(result2).filter(
83333
83333
  (key) => _optionalChain([result2, 'access', _317 => _317[key], 'optionalAccess', _318 => _318.code]) && _optionalChain([result2, 'access', _319 => _319[key], 'optionalAccess', _320 => _320.code]) > 0
@@ -83342,10 +83342,10 @@ ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${_op
83342
83342
  );
83343
83343
  }
83344
83344
  } else {
83345
- _chunkQBLF3SVDcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
83345
+ _chunkF4T262FKcjs.writeWarning.call(void 0, "Skipped publishing packages.", config);
83346
83346
  }
83347
83347
  }
83348
- _chunkQBLF3SVDcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
83348
+ _chunkF4T262FKcjs.writeSuccess.call(void 0, "Completed the Storm workspace release process!", config);
83349
83349
  };
83350
83350
  async function updatePackageManifests(projectsVersionData, config) {
83351
83351
  let projectGraph;
@@ -83360,7 +83360,7 @@ async function updatePackageManifests(projectsVersionData, config) {
83360
83360
  Object.keys(projectsVersionData).map(async (node) => {
83361
83361
  const projectNode = projectGraph.nodes[node];
83362
83362
  if (!_optionalChain([projectNode, 'optionalAccess', _323 => _323.data, 'access', _324 => _324.root])) {
83363
- _chunkQBLF3SVDcjs.writeWarning.call(void 0,
83363
+ _chunkF4T262FKcjs.writeWarning.call(void 0,
83364
83364
  `Project node ${node} not found in the project graph. Skipping manifest update.`,
83365
83365
  config
83366
83366
  );
@@ -83368,17 +83368,17 @@ async function updatePackageManifests(projectsVersionData, config) {
83368
83368
  }
83369
83369
  const versionData = projectsVersionData[node];
83370
83370
  if (_optionalChain([projectNode, 'optionalAccess', _325 => _325.data, 'access', _326 => _326.root]) && versionData && versionData.newVersion !== null) {
83371
- _chunkQBLF3SVDcjs.writeTrace.call(void 0,
83371
+ _chunkF4T262FKcjs.writeTrace.call(void 0,
83372
83372
  `Writing version ${versionData.newVersion} update to manifest file for ${node}
83373
83373
  `,
83374
83374
  config
83375
83375
  );
83376
- const projectRoot = _chunkQBLF3SVDcjs.joinPaths.call(void 0,
83376
+ const projectRoot = _chunkF4T262FKcjs.joinPaths.call(void 0,
83377
83377
  config.workspaceRoot,
83378
83378
  projectNode.data.root
83379
83379
  );
83380
- const packageJsonPath = _chunkQBLF3SVDcjs.joinPaths.call(void 0, projectRoot, "package.json");
83381
- const cargoTomlPath = _chunkQBLF3SVDcjs.joinPaths.call(void 0, projectRoot, "Cargo.toml");
83380
+ const packageJsonPath = _chunkF4T262FKcjs.joinPaths.call(void 0, projectRoot, "package.json");
83381
+ const cargoTomlPath = _chunkF4T262FKcjs.joinPaths.call(void 0, projectRoot, "Cargo.toml");
83382
83382
  if (_fs.existsSync.call(void 0, packageJsonPath)) {
83383
83383
  const packageJsonContent = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
83384
83384
  const packageJson = JSON.parse(packageJsonContent);
@@ -83396,7 +83396,7 @@ async function updatePackageManifests(projectsVersionData, config) {
83396
83396
  })
83397
83397
  );
83398
83398
  } else {
83399
- _chunkQBLF3SVDcjs.writeWarning.call(void 0, "No project nodes found. Skipping manifest updates.", config);
83399
+ _chunkF4T262FKcjs.writeWarning.call(void 0, "No project nodes found. Skipping manifest updates.", config);
83400
83400
  }
83401
83401
  }
83402
83402
 
@@ -83404,8 +83404,8 @@ async function updatePackageManifests(projectsVersionData, config) {
83404
83404
  var _config = {};
83405
83405
  function createProgram(config) {
83406
83406
  _config = config;
83407
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
83408
- const root2 = _chunkQBLF3SVDcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
83407
+ _chunkF4T262FKcjs.writeInfo.call(void 0, "\u26A1 Running Storm Git Tools", config);
83408
+ const root2 = _chunkF4T262FKcjs.findWorkspaceRootSafe.call(void 0, process.cwd());
83409
83409
  process.env.STORM_WORKSPACE_ROOT ??= root2;
83410
83410
  process.env.NX_WORKSPACE_ROOT_PATH ??= root2;
83411
83411
  if (root2) {
@@ -83470,12 +83470,12 @@ async function commitAction({
83470
83470
  dryRun = false
83471
83471
  }) {
83472
83472
  try {
83473
- _chunkQBLF3SVDcjs.writeInfo.call(void 0,
83473
+ _chunkF4T262FKcjs.writeInfo.call(void 0,
83474
83474
  `\u26A1 Preparing to commit your changes. Please provide the requested details below...`,
83475
83475
  _config
83476
83476
  );
83477
83477
  await runCommit(config, dryRun);
83478
- _chunkQBLF3SVDcjs.writeSuccess.call(void 0,
83478
+ _chunkF4T262FKcjs.writeSuccess.call(void 0,
83479
83479
  `\u{1F389} Storm Commit processing completed successfully!
83480
83480
 
83481
83481
  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}
@@ -83483,7 +83483,7 @@ Note: Please run "pnpm push" to upload these changes to the remote ${_config.nam
83483
83483
  _config
83484
83484
  );
83485
83485
  } catch (error) {
83486
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
83486
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
83487
83487
  `A fatal error occurred while running commit action:
83488
83488
 
83489
83489
  ${error.message}`,
@@ -83494,14 +83494,14 @@ ${error.message}`,
83494
83494
  }
83495
83495
  async function readmeAction(options) {
83496
83496
  try {
83497
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
83497
+ _chunkF4T262FKcjs.writeInfo.call(void 0, "\u26A1 Formatting the workspace's README.md files", _config);
83498
83498
  await runReadme(options);
83499
- _chunkQBLF3SVDcjs.writeSuccess.call(void 0,
83499
+ _chunkF4T262FKcjs.writeSuccess.call(void 0,
83500
83500
  "Formatting of the workspace's README.md files is complete\n",
83501
83501
  _config
83502
83502
  );
83503
83503
  } catch (error) {
83504
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
83504
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
83505
83505
  `A fatal error occurred while running README format action:
83506
83506
 
83507
83507
  ${error.message}`
@@ -83516,7 +83516,7 @@ async function releaseAction({
83516
83516
  dryRun
83517
83517
  }) {
83518
83518
  try {
83519
- _chunkQBLF3SVDcjs.writeInfo.call(void 0,
83519
+ _chunkF4T262FKcjs.writeInfo.call(void 0,
83520
83520
  "\u26A1 Running the Storm Release and Publish process on the workspace",
83521
83521
  _config
83522
83522
  );
@@ -83526,9 +83526,9 @@ async function releaseAction({
83526
83526
  base,
83527
83527
  head
83528
83528
  });
83529
- _chunkQBLF3SVDcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
83529
+ _chunkF4T262FKcjs.writeSuccess.call(void 0, "Release completed successfully!\n", _config);
83530
83530
  } catch (error) {
83531
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
83531
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
83532
83532
  `A fatal error occurred while running release action:
83533
83533
 
83534
83534
  ${error.message} ${error.stack ? `
@@ -83546,7 +83546,7 @@ async function commitLintAction({
83546
83546
  file
83547
83547
  }) {
83548
83548
  try {
83549
- _chunkQBLF3SVDcjs.writeInfo.call(void 0,
83549
+ _chunkF4T262FKcjs.writeInfo.call(void 0,
83550
83550
  `\u26A1 Linting the ${_config.repository ? _config.repository : _config.namespace ? _config.namespace : _config.name ? _config.name : typeof _config.organization === "string" ? _config.organization : _optionalChain([_config, 'access', _327 => _327.organization, 'optionalAccess', _328 => _328.name]) ? _optionalChain([_config, 'access', _329 => _329.organization, 'optionalAccess', _330 => _330.name]) : "Storm-Software"} repository's commit messages.`,
83551
83551
  _config
83552
83552
  );
@@ -83555,12 +83555,12 @@ async function commitLintAction({
83555
83555
  message: message2,
83556
83556
  file
83557
83557
  });
83558
- _chunkQBLF3SVDcjs.writeSuccess.call(void 0,
83558
+ _chunkF4T262FKcjs.writeSuccess.call(void 0,
83559
83559
  "Linting the commit messages completed successfully!\n",
83560
83560
  _config
83561
83561
  );
83562
83562
  } catch (error) {
83563
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
83563
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
83564
83564
  `A fatal error occurred while linting the commit messages:
83565
83565
 
83566
83566
  ${error.message}`,
@@ -83572,18 +83572,18 @@ ${error.message}`,
83572
83572
 
83573
83573
  // bin/git.ts
83574
83574
  void (async () => {
83575
- const config = await _chunkQBLF3SVDcjs.getConfig.call(void 0, );
83575
+ const config = await _chunkF4T262FKcjs.getConfig.call(void 0, );
83576
83576
  try {
83577
- _chunkQBLF3SVDcjs.handleProcess.call(void 0, config);
83577
+ _chunkF4T262FKcjs.handleProcess.call(void 0, config);
83578
83578
  const program2 = createProgram(config);
83579
83579
  await program2.parseAsync(process.argv);
83580
- _chunkQBLF3SVDcjs.writeSuccess.call(void 0,
83580
+ _chunkF4T262FKcjs.writeSuccess.call(void 0,
83581
83581
  `\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`,
83582
83582
  config
83583
83583
  );
83584
- _chunkQBLF3SVDcjs.exitWithSuccess.call(void 0, config);
83584
+ _chunkF4T262FKcjs.exitWithSuccess.call(void 0, config);
83585
83585
  } catch (error) {
83586
- _chunkQBLF3SVDcjs.exitWithError.call(void 0, config);
83586
+ _chunkF4T262FKcjs.exitWithError.call(void 0, config);
83587
83587
  process.exit(1);
83588
83588
  }
83589
83589
  })();
package/bin/git.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  writeSuccess,
21
21
  writeTrace,
22
22
  writeWarning
23
- } from "./chunk-2YVCKFIL.js";
23
+ } from "./chunk-IMYRNNG2.js";
24
24
  import {
25
25
  defu
26
26
  } from "./chunk-5QFXXGFE.js";
@@ -13,7 +13,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkQBLF3SVDcjs = require('./chunk-QBLF3SVD.cjs');
16
+ var _chunkF4T262FKcjs = require('./chunk-F4T262FK.cjs');
17
17
  require('./chunk-FMYKTN2Z.cjs');
18
18
  require('./chunk-MXO7CLUN.cjs');
19
19
  require('./chunk-GSZ2Y7H4.cjs');
@@ -27,29 +27,29 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
27
27
  // bin/post-checkout.ts
28
28
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkQBLF3SVDcjs.getConfig.call(void 0, );
30
+ const config = await _chunkF4T262FKcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkQBLF3SVDcjs.handleProcess.call(void 0, config);
33
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
32
+ _chunkF4T262FKcjs.handleProcess.call(void 0, config);
33
+ _chunkF4T262FKcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
34
34
  _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkQBLF3SVDcjs.writeError.call(void 0,
38
+ _chunkF4T262FKcjs.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
- _chunkQBLF3SVDcjs.exitWithError.call(void 0, config);
43
+ _chunkF4T262FKcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-checkout");
46
- _chunkQBLF3SVDcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkF4T262FKcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
48
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkQBLF3SVDcjs.exitWithError.call(void 0, config);
52
+ _chunkF4T262FKcjs.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-2YVCKFIL.js";
16
+ } from "./chunk-IMYRNNG2.js";
17
17
  import "./chunk-5QFXXGFE.js";
18
18
  import "./chunk-QWTKUQL3.js";
19
19
  import "./chunk-5OLGPOTK.js";
@@ -13,7 +13,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkQBLF3SVDcjs = require('./chunk-QBLF3SVD.cjs');
16
+ var _chunkF4T262FKcjs = require('./chunk-F4T262FK.cjs');
17
17
  require('./chunk-FMYKTN2Z.cjs');
18
18
  require('./chunk-MXO7CLUN.cjs');
19
19
  require('./chunk-GSZ2Y7H4.cjs');
@@ -27,29 +27,29 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
27
27
  // bin/post-commit.ts
28
28
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkQBLF3SVDcjs.getConfig.call(void 0, );
30
+ const config = await _chunkF4T262FKcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkQBLF3SVDcjs.handleProcess.call(void 0, config);
33
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
32
+ _chunkF4T262FKcjs.handleProcess.call(void 0, config);
33
+ _chunkF4T262FKcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
34
34
  _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkQBLF3SVDcjs.writeError.call(void 0,
38
+ _chunkF4T262FKcjs.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
- _chunkQBLF3SVDcjs.exitWithError.call(void 0, config);
43
+ _chunkF4T262FKcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-commit");
46
- _chunkQBLF3SVDcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkF4T262FKcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
48
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkQBLF3SVDcjs.exitWithError.call(void 0, config);
52
+ _chunkF4T262FKcjs.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-2YVCKFIL.js";
16
+ } from "./chunk-IMYRNNG2.js";
17
17
  import "./chunk-5QFXXGFE.js";
18
18
  import "./chunk-QWTKUQL3.js";
19
19
  import "./chunk-5OLGPOTK.js";
@@ -13,7 +13,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkQBLF3SVDcjs = require('./chunk-QBLF3SVD.cjs');
16
+ var _chunkF4T262FKcjs = require('./chunk-F4T262FK.cjs');
17
17
  require('./chunk-FMYKTN2Z.cjs');
18
18
  require('./chunk-MXO7CLUN.cjs');
19
19
  require('./chunk-GSZ2Y7H4.cjs');
@@ -27,29 +27,29 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
27
27
  // bin/post-merge.ts
28
28
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkQBLF3SVDcjs.getConfig.call(void 0, );
30
+ const config = await _chunkF4T262FKcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkQBLF3SVDcjs.handleProcess.call(void 0, config);
33
- _chunkQBLF3SVDcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
32
+ _chunkF4T262FKcjs.handleProcess.call(void 0, config);
33
+ _chunkF4T262FKcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
34
34
  _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkQBLF3SVDcjs.writeError.call(void 0,
38
+ _chunkF4T262FKcjs.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
- _chunkQBLF3SVDcjs.exitWithError.call(void 0, config);
43
+ _chunkF4T262FKcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-merge");
46
- _chunkQBLF3SVDcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkF4T262FKcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkQBLF3SVDcjs.writeFatal.call(void 0,
48
+ _chunkF4T262FKcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkQBLF3SVDcjs.exitWithError.call(void 0, config);
52
+ _chunkF4T262FKcjs.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-2YVCKFIL.js";
16
+ } from "./chunk-IMYRNNG2.js";
17
17
  import "./chunk-5QFXXGFE.js";
18
18
  import "./chunk-QWTKUQL3.js";
19
19
  import "./chunk-5OLGPOTK.js";