@storm-software/git-tools 2.112.2 → 2.112.4

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.js CHANGED
@@ -20,7 +20,7 @@ import {
20
20
  writeSuccess,
21
21
  writeTrace,
22
22
  writeWarning
23
- } from "./chunk-EAYXHTXS.js";
23
+ } from "./chunk-MD4JU5TN.js";
24
24
  import {
25
25
  defu
26
26
  } from "./chunk-5QFXXGFE.js";
@@ -88248,7 +88248,7 @@ function generateChangelogTitle(version3, project, workspaceConfig) {
88248
88248
  if (!workspaceConfig?.name || !project) {
88249
88249
  return version3;
88250
88250
  }
88251
- return `[${version3}](https://github.com/${workspaceConfig.organization}/${workspaceConfig.name}/releases/tag/${project}%40${version3}) (${(/* @__PURE__ */ new Date()).toISOString().slice(0, 10)})`;
88251
+ return `[${version3}](https://github.com/${typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization?.name}/${workspaceConfig.name}/releases/tag/${project}%40${version3}) (${(/* @__PURE__ */ new Date()).toISOString().slice(0, 10)})`;
88252
88252
  }
88253
88253
  function parseChangelogMarkdown(contents) {
88254
88254
  const CHANGELOG_RELEASE_HEAD_RE = new RegExp(
@@ -92343,7 +92343,7 @@ async function isUserAnOrganizationMember(userId, config, remoteName = "origin")
92343
92343
  apiBaseUrl: repoData.apiBaseUrl,
92344
92344
  token: tokenData?.token || null
92345
92345
  },
92346
- `/orgs/${config.organization}/members/${userId}`,
92346
+ `/orgs/${typeof config.organization === "string" ? config.organization : config.organization?.name}/members/${userId}`,
92347
92347
  {}
92348
92348
  );
92349
92349
  if (result2.status !== 204) {
@@ -93370,20 +93370,34 @@ function formatGithubReleaseNotes(releaseVersion, content, projectName, workspac
93370
93370
  if (!workspaceConfig) {
93371
93371
  return content;
93372
93372
  }
93373
- return `![${titleCase(workspaceConfig.organization)?.replaceAll(" ", "-")}](${workspaceConfig.release.banner})
93373
+ return `![${workspaceConfig.organization ? titleCase(
93374
+ typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name
93375
+ ) : ""}](${workspaceConfig.release.banner})
93374
93376
  ${workspaceConfig.release.header || ""}
93375
93377
 
93376
93378
  # ${projectName ? `${titleCase(projectName)} ` : ""}v${releaseVersion.rawVersion}
93377
93379
 
93378
- We at [${titleCase(workspaceConfig.organization)}](${workspaceConfig.homepage}) are very excited to announce the v${releaseVersion.rawVersion} release of the ${projectName ? titleCase(projectName) : workspaceConfig.name ? titleCase(workspaceConfig.name) : "Storm Software"} project! \u{1F680}
93380
+ We at [${workspaceConfig.organization ? titleCase(
93381
+ typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization.name
93382
+ ) : ""}](${workspaceConfig.homepage}) are very excited to announce the v${releaseVersion.rawVersion} release of the ${projectName ? titleCase(projectName) : workspaceConfig.name ? titleCase(workspaceConfig.name) : "Storm Software"} project! \u{1F680}
93379
93383
 
93380
93384
  These changes are released under the ${workspaceConfig.license.includes("license") ? workspaceConfig.license : `${workspaceConfig.license} license`}. You can find more details on [our licensing page](${workspaceConfig.licensing}). You can find guides, API references, and other documentation around this release (and much more) on [our documentation site](${workspaceConfig.docs}).
93381
93385
 
93382
- If you have any questions or comments, feel free to reach out to the team on [Discord](${workspaceConfig.account.discord}) or [our contact page](${workspaceConfig.contact}). Please help us spread the word by giving [this repository](https://github.com/${workspaceConfig.organization}/${workspaceConfig.name}) a star \u2B50 on GitHub or [posting on X (Twitter)](https://x.com/intent/tweet?text=Check%20out%20the%20latest%20@${workspaceConfig.account.twitter}%20release%20${projectName ? `${titleCase(projectName)?.replaceAll(" ", "%20")}%20` : ""}v${releaseVersion.rawVersion}%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/${workspaceConfig.organization}/${workspaceConfig.name}/releases/tag/${releaseVersion.gitTag}) about this release!
93386
+ If you have any questions or comments, feel free to reach out to the team on [Discord](${workspaceConfig.account.discord}) or [our contact page](${workspaceConfig.contact}). Please help us spread the word by giving [this repository](https://github.com/${typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization?.name}/${workspaceConfig.name}) a star \u2B50 on GitHub or [posting on X (Twitter)](https://x.com/intent/tweet?text=Check%20out%20the%20latest%20@${workspaceConfig.account.twitter}%20release%20${projectName ? `${titleCase(projectName)?.replaceAll(" ", "%20")}%20` : ""}v${releaseVersion.rawVersion}%20%F0%9F%9A%80%0D%0A%0D%0Ahttps://github.com/${typeof workspaceConfig.organization === "string" ? workspaceConfig.organization : workspaceConfig.organization?.name}/${workspaceConfig.name}/releases/tag/${releaseVersion.gitTag}) about this release!
93383
93387
 
93384
93388
  ## Release Notes
93385
93389
 
93386
- ${content.replaceAll(`## ${generateChangelogTitle(releaseVersion.rawVersion, projectName, workspaceConfig)}`, "").replaceAll(`# ${generateChangelogTitle(releaseVersion.rawVersion, projectName, workspaceConfig)}`, "")}
93390
+ ${content.replaceAll(
93391
+ `## ${generateChangelogTitle(
93392
+ releaseVersion.rawVersion,
93393
+ projectName,
93394
+ workspaceConfig
93395
+ )}`,
93396
+ ""
93397
+ ).replaceAll(
93398
+ `# ${generateChangelogTitle(releaseVersion.rawVersion, projectName, workspaceConfig)}`,
93399
+ ""
93400
+ )}
93387
93401
 
93388
93402
  ---
93389
93403
 
@@ -93469,7 +93483,7 @@ var runRelease = async (config, options) => {
93469
93483
  config
93470
93484
  );
93471
93485
  throw new Error(
93472
- `The GitHub actor "${process.env.GITHUB_ACTOR}" is not a member of the organization "${config.organization}". Only members of the organization can initiate releases.`
93486
+ `The GitHub actor "${process.env.GITHUB_ACTOR}" is not a member of the organization "${typeof config.organization === "string" ? config.organization : config.organization?.name}". Only members of the organization can initiate releases.`
93473
93487
  );
93474
93488
  }
93475
93489
  const name = config.bot.name;
@@ -93776,7 +93790,7 @@ async function commitLintAction({
93776
93790
  }) {
93777
93791
  try {
93778
93792
  writeInfo(
93779
- `\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.`,
93793
+ `\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.`,
93780
93794
  _config
93781
93795
  );
93782
93796
  await runCommitLint(_config, {
@@ -13,7 +13,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
16
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.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 _chunkXE275LJTcjs.getConfig.call(void 0, );
30
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
33
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
32
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
33
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.writeError.call(void 0,
38
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
43
+ _chunkZO7HQETDcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-checkout");
46
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkXE275LJTcjs.writeFatal.call(void 0,
48
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
52
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
16
+ } from "./chunk-MD4JU5TN.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 _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
16
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.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 _chunkXE275LJTcjs.getConfig.call(void 0, );
30
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
33
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
32
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
33
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.writeError.call(void 0,
38
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
43
+ _chunkZO7HQETDcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-commit");
46
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkXE275LJTcjs.writeFatal.call(void 0,
48
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
52
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
16
+ } from "./chunk-MD4JU5TN.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 _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
16
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.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 _chunkXE275LJTcjs.getConfig.call(void 0, );
30
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
33
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
32
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
33
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.writeError.call(void 0,
38
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
43
+ _chunkZO7HQETDcjs.exitWithError.call(void 0, config);
44
44
  }
45
45
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs post-merge");
46
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
46
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
47
47
  } catch (error) {
48
- _chunkXE275LJTcjs.writeFatal.call(void 0,
48
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
49
49
  `A fatal error occurred while running the program: ${error.message}`,
50
50
  config
51
51
  );
52
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
52
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
16
+ } from "./chunk-MD4JU5TN.js";
17
17
  import "./chunk-5QFXXGFE.js";
18
18
  import "./chunk-QWTKUQL3.js";
19
19
  import "./chunk-5OLGPOTK.js";
@@ -11,7 +11,7 @@ var _chunkHTVOKCRJcjs = require('./chunk-HTVOKCRJ.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
14
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.cjs');
15
15
  require('./chunk-FMYKTN2Z.cjs');
16
16
  require('./chunk-MXO7CLUN.cjs');
17
17
  require('./chunk-GSZ2Y7H4.cjs');
@@ -25,25 +25,25 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
25
25
  // bin/pre-commit.ts
26
26
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
27
27
  void (async () => {
28
- const config = await _chunkXE275LJTcjs.getConfig.call(void 0, );
28
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
29
29
  try {
30
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
31
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
30
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
31
+ _chunkZO7HQETDcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
32
32
  _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
33
33
  if (_chunkHTVOKCRJcjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
34
- _chunkXE275LJTcjs.writeError.call(void 0,
34
+ _chunkZO7HQETDcjs.writeError.call(void 0,
35
35
  "Please regenerate the package lock file before committing...",
36
36
  config
37
37
  );
38
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
38
+ _chunkZO7HQETDcjs.exitWithError.call(void 0, config);
39
39
  }
40
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
40
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
41
41
  } catch (error) {
42
- _chunkXE275LJTcjs.writeFatal.call(void 0,
42
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
43
43
  `A fatal error occurred while running the program: ${error.message}`,
44
44
  config
45
45
  );
46
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
46
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
14
+ } from "./chunk-MD4JU5TN.js";
15
15
  import "./chunk-5QFXXGFE.js";
16
16
  import "./chunk-QWTKUQL3.js";
17
17
  import "./chunk-5OLGPOTK.js";
@@ -9,7 +9,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
12
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.cjs');
13
13
  require('./chunk-FMYKTN2Z.cjs');
14
14
  require('./chunk-MXO7CLUN.cjs');
15
15
  require('./chunk-GSZ2Y7H4.cjs');
@@ -23,22 +23,22 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
23
23
  // bin/pre-install.ts
24
24
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunkXE275LJTcjs.getConfig.call(void 0, );
26
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
29
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
28
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
29
+ _chunkZO7HQETDcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
30
30
  if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
31
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
31
+ _chunkZO7HQETDcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
33
33
  }
34
34
  _chunkGWDOCACNcjs.run.call(void 0, config, "npx -y only-allow pnpm");
35
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
35
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
36
36
  } catch (error) {
37
- _chunkXE275LJTcjs.writeFatal.call(void 0,
37
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
38
38
  `A fatal error occurred while running the program: ${error.message}`,
39
39
  config
40
40
  );
41
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
41
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
12
+ } from "./chunk-MD4JU5TN.js";
13
13
  import "./chunk-5QFXXGFE.js";
14
14
  import "./chunk-QWTKUQL3.js";
15
15
  import "./chunk-5OLGPOTK.js";
package/bin/pre-push.cjs CHANGED
@@ -14,7 +14,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
17
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.cjs');
18
18
  require('./chunk-FMYKTN2Z.cjs');
19
19
  require('./chunk-MXO7CLUN.cjs');
20
20
  require('./chunk-GSZ2Y7H4.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 _chunkXE275LJTcjs.getConfig.call(void 0, );
34
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
35
35
  try {
36
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
37
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
36
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
37
+ _chunkZO7HQETDcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
38
38
  _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
39
- _chunkXE275LJTcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
39
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
74
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
78
+ _chunkZO7HQETDcjs.exitWithError.call(void 0, config);
79
79
  }
80
- _chunkXE275LJTcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
80
+ _chunkZO7HQETDcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
81
81
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs pre-push origin");
82
82
  try {
83
83
  _chunkGWDOCACNcjs.run.call(void 0, config, "git-lfs version");
84
84
  } catch (error) {
85
- _chunkXE275LJTcjs.writeError.call(void 0,
85
+ _chunkZO7HQETDcjs.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
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
90
+ _chunkZO7HQETDcjs.exitWithError.call(void 0, config);
91
91
  }
92
92
  _chunkGWDOCACNcjs.run.call(void 0, config, "git lfs pre-push origin");
93
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
93
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
94
94
  } catch (error) {
95
- _chunkXE275LJTcjs.writeFatal.call(void 0,
95
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
96
96
  `A fatal error occurred while running the program: ${error.message}`,
97
97
  config
98
98
  );
99
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
99
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
17
+ } from "./chunk-MD4JU5TN.js";
18
18
  import "./chunk-5QFXXGFE.js";
19
19
  import "./chunk-QWTKUQL3.js";
20
20
  import "./chunk-5OLGPOTK.js";
package/bin/prepare.cjs CHANGED
@@ -9,7 +9,7 @@ var _chunkGWDOCACNcjs = require('./chunk-GWDOCACN.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
12
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.cjs');
13
13
  require('./chunk-FMYKTN2Z.cjs');
14
14
  require('./chunk-MXO7CLUN.cjs');
15
15
  require('./chunk-GSZ2Y7H4.cjs');
@@ -23,20 +23,20 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
23
23
  // bin/prepare.ts
24
24
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunkXE275LJTcjs.getConfig.call(void 0, );
26
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
29
- _chunkXE275LJTcjs.writeInfo.call(void 0, "Running prepare hook...", config);
28
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
29
+ _chunkZO7HQETDcjs.writeInfo.call(void 0, "Running prepare hook...", config);
30
30
  if (!process.env.CI && !process.env.STORM_CI) {
31
31
  _chunkGWDOCACNcjs.run.call(void 0, config, "lefthook install");
32
32
  }
33
- _chunkXE275LJTcjs.exitWithSuccess.call(void 0, config);
33
+ _chunkZO7HQETDcjs.exitWithSuccess.call(void 0, config);
34
34
  } catch (error) {
35
- _chunkXE275LJTcjs.writeFatal.call(void 0,
35
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
36
36
  `A fatal error occurred while running the program: ${error.message}`,
37
37
  config
38
38
  );
39
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
39
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
12
+ } from "./chunk-MD4JU5TN.js";
13
13
  import "./chunk-5QFXXGFE.js";
14
14
  import "./chunk-QWTKUQL3.js";
15
15
  import "./chunk-5OLGPOTK.js";
@@ -7,7 +7,7 @@ var _chunkHTVOKCRJcjs = require('./chunk-HTVOKCRJ.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunkXE275LJTcjs = require('./chunk-XE275LJT.cjs');
10
+ var _chunkZO7HQETDcjs = require('./chunk-ZO7HQETD.cjs');
11
11
  require('./chunk-FMYKTN2Z.cjs');
12
12
  require('./chunk-MXO7CLUN.cjs');
13
13
  require('./chunk-GSZ2Y7H4.cjs');
@@ -21,16 +21,16 @@ var _chunkIG6EXAQUcjs = require('./chunk-IG6EXAQU.cjs');
21
21
  // bin/version-warning.ts
22
22
  _chunkIG6EXAQUcjs.init_cjs_shims.call(void 0, );
23
23
  void (async () => {
24
- const config = await _chunkXE275LJTcjs.getConfig.call(void 0, );
24
+ const config = await _chunkZO7HQETDcjs.getConfig.call(void 0, );
25
25
  try {
26
- _chunkXE275LJTcjs.handleProcess.call(void 0, config);
26
+ _chunkZO7HQETDcjs.handleProcess.call(void 0, config);
27
27
  _chunkHTVOKCRJcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
28
28
  } catch (error) {
29
- _chunkXE275LJTcjs.writeFatal.call(void 0,
29
+ _chunkZO7HQETDcjs.writeFatal.call(void 0,
30
30
  `A fatal error occurred while running the program: ${error.message}`,
31
31
  config
32
32
  );
33
- _chunkXE275LJTcjs.exitWithError.call(void 0, config);
33
+ _chunkZO7HQETDcjs.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-EAYXHTXS.js";
10
+ } from "./chunk-MD4JU5TN.js";
11
11
  import "./chunk-5QFXXGFE.js";
12
12
  import "./chunk-QWTKUQL3.js";
13
13
  import "./chunk-5OLGPOTK.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.112.2",
3
+ "version": "2.112.4",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {