@storm-software/git-tools 2.89.26 → 2.89.30

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
@@ -19,7 +19,7 @@ import {
19
19
  writeInfo,
20
20
  writeSuccess,
21
21
  writeWarning
22
- } from "./chunk-FJHQPSYU.js";
22
+ } from "./chunk-F5UAXEVI.js";
23
23
  import {
24
24
  defu
25
25
  } from "./chunk-ZEYLUM4B.js";
@@ -64876,89 +64876,82 @@ __name(resolveGeneratorData, "resolveGeneratorData");
64876
64876
 
64877
64877
  // src/release/run.ts
64878
64878
  var runRelease = /* @__PURE__ */ __name(async (config, options) => {
64879
- try {
64880
- process.env.GIT_AUTHOR_NAME = process.env.GITHUB_ACTOR;
64881
- process.env.GIT_AUTHOR_EMAIL = `${process.env.GITHUB_ACTOR}@users.noreply.github.com`;
64882
- process.env.GIT_COMMITTER_NAME = config.bot.name;
64883
- process.env.GIT_COMMITTER_EMAIL = `${config.bot.name}@users.noreply.github.com`;
64884
- process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
64885
- process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
64886
- process.env.NPM_CONFIG_PROVENANCE = "true";
64887
- writeDebug("Creating workspace Project Graph data...", config);
64888
- const nxJson = readNxJson2();
64889
- writeDebug("Reading in the workspaces release configuration", config);
64890
- const to = options.head || process.env.NX_HEAD;
64891
- const from = options.base || process.env.NX_BASE;
64892
- writeDebug(`Using the following Git SHAs to determine the release content:
64879
+ process.env.GIT_AUTHOR_NAME = process.env.GITHUB_ACTOR;
64880
+ process.env.GIT_AUTHOR_EMAIL = `${process.env.GITHUB_ACTOR}@users.noreply.github.com`;
64881
+ process.env.GIT_COMMITTER_NAME = config.bot.name;
64882
+ process.env.GIT_COMMITTER_EMAIL = `${config.bot.name}@users.noreply.github.com`;
64883
+ process.env.NODE_AUTH_TOKEN = process.env.NPM_TOKEN;
64884
+ process.env.NPM_AUTH_TOKEN = process.env.NPM_TOKEN;
64885
+ process.env.NPM_CONFIG_PROVENANCE = "true";
64886
+ writeDebug("Creating workspace Project Graph data...", config);
64887
+ const nxJson = readNxJson2();
64888
+ writeDebug("Reading in the workspaces release configuration", config);
64889
+ const to = options.head || process.env.NX_HEAD;
64890
+ const from = options.base || process.env.NX_BASE;
64891
+ writeDebug(`Using the following Git SHAs to determine the release content:
64893
64892
  - From: ${from}
64894
64893
  - To: ${to}
64895
64894
  `, config);
64896
- if (nxJson.release?.groups) {
64897
- nxJson.release.groups = Object.keys(nxJson.release.groups).reduce((ret, groupName) => {
64898
- const groupConfig = nxJson.release.groups[groupName];
64899
- ret[groupName] = defu(groupConfig, DEFAULT_RELEASE_GROUP_CONFIG);
64900
- return ret;
64901
- }, {});
64902
- }
64903
- const nxReleaseConfig = defu(nxJson.release, DEFAULT_RELEASE_CONFIG);
64904
- writeInfo("Using the following `nx.json` release configuration values", config);
64905
- writeInfo(nxReleaseConfig, config);
64906
- const releaseChangelog = createReleaseChangelogAPI(nxReleaseConfig);
64907
- const releasePublish = createReleasePublishAPI(nxReleaseConfig);
64908
- writeDebug("Determining the current release versions...", config);
64909
- const { workspaceVersion, projectsVersionData } = await releaseVersion(config, {
64910
- dryRun: false,
64911
- verbose: isVerbose(config.logLevel),
64912
- preid: config.preid,
64913
- deleteVersionPlans: false,
64914
- stageChanges: true,
64915
- gitCommit: false,
64916
- gitTag: false
64917
- });
64918
- await releaseChangelog({
64919
- ...options,
64920
- version: nxReleaseConfig?.projectsRelationship !== "fixed" ? void 0 : workspaceVersion,
64921
- versionData: projectsVersionData,
64922
- dryRun: false,
64923
- verbose: isVerbose(config.logLevel),
64924
- to,
64925
- from,
64926
- gitCommit: true,
64927
- gitCommitMessage: "release(monorepo): Publish workspace release updates"
64928
- });
64929
- writeDebug("Tagging commit with git", config);
64930
- if (options.skipPublish) {
64931
- writeWarning("Skipping publishing packages since `skipPublish` was provided as `true` in the release options.", config);
64932
- } else {
64933
- const changedProjects = Object.keys(projectsVersionData).filter((key) => projectsVersionData[key]?.newVersion);
64934
- if (changedProjects.length > 0) {
64935
- writeInfo(`Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
64895
+ if (nxJson.release?.groups) {
64896
+ nxJson.release.groups = Object.keys(nxJson.release.groups).reduce((ret, groupName) => {
64897
+ const groupConfig = nxJson.release.groups[groupName];
64898
+ ret[groupName] = defu(groupConfig, DEFAULT_RELEASE_GROUP_CONFIG);
64899
+ return ret;
64900
+ }, {});
64901
+ }
64902
+ const nxReleaseConfig = defu(nxJson.release, DEFAULT_RELEASE_CONFIG);
64903
+ writeInfo("Using the following `nx.json` release configuration values", config);
64904
+ writeInfo(nxReleaseConfig, config);
64905
+ const releaseChangelog = createReleaseChangelogAPI(nxReleaseConfig);
64906
+ const releasePublish = createReleasePublishAPI(nxReleaseConfig);
64907
+ writeDebug("Determining the current release versions...", config);
64908
+ const { workspaceVersion, projectsVersionData } = await releaseVersion(config, {
64909
+ dryRun: false,
64910
+ verbose: isVerbose(config.logLevel),
64911
+ preid: config.preid,
64912
+ deleteVersionPlans: false,
64913
+ stageChanges: true,
64914
+ gitCommit: false,
64915
+ gitTag: false
64916
+ });
64917
+ await releaseChangelog({
64918
+ ...options,
64919
+ version: nxReleaseConfig?.projectsRelationship !== "fixed" ? void 0 : workspaceVersion,
64920
+ versionData: projectsVersionData,
64921
+ dryRun: false,
64922
+ verbose: isVerbose(config.logLevel),
64923
+ to,
64924
+ from,
64925
+ gitCommit: true,
64926
+ gitCommitMessage: "release(monorepo): Publish workspace release updates"
64927
+ });
64928
+ writeDebug("Tagging commit with git", config);
64929
+ if (options.skipPublish) {
64930
+ writeWarning("Skipping publishing packages since `skipPublish` was provided as `true` in the release options.", config);
64931
+ } else {
64932
+ const changedProjects = Object.keys(projectsVersionData).filter((key) => projectsVersionData[key]?.newVersion);
64933
+ if (changedProjects.length > 0) {
64934
+ writeInfo(`Publishing release for ${changedProjects.length} ${changedProjects.length === 1 ? "project" : "projects"}:
64936
64935
  ${changedProjects.map((changedProject) => ` - ${changedProject}`).join("\n")}
64937
64936
  `, config);
64938
- const result2 = await releasePublish({
64939
- ...options,
64940
- dryRun: !!options.dryRun,
64941
- verbose: isVerbose(config.logLevel)
64942
- });
64943
- const failedProjects = Object.keys(result2).filter((key) => result2[key]?.code && result2[key]?.code > 0);
64944
- if (failedProjects.length > 0) {
64945
- throw new Error(`The Storm release process was not completed successfully! One or more errors occured while running the \`nx-release-publish\` executor tasks.
64937
+ const result2 = await releasePublish({
64938
+ ...options,
64939
+ dryRun: !!options.dryRun,
64940
+ verbose: isVerbose(config.logLevel)
64941
+ });
64942
+ const failedProjects = Object.keys(result2).filter((key) => result2[key]?.code && result2[key]?.code > 0);
64943
+ if (failedProjects.length > 0) {
64944
+ throw new Error(`The Storm release process was not completed successfully! One or more errors occured while running the \`nx-release-publish\` executor tasks.
64946
64945
 
64947
64946
  Please review the workflow details for the following project(s):
64948
64947
  ${failedProjects.map((failedProject) => ` - ${failedProject} (Error Code: ${result2[failedProject]?.code})`).join("\n")}
64949
64948
  `);
64950
- }
64951
- } else {
64952
- writeWarning("Skipped publishing packages.", config);
64953
64949
  }
64950
+ } else {
64951
+ writeWarning("Skipped publishing packages.", config);
64954
64952
  }
64955
- writeSuccess("Completed the Storm workspace release process!", config);
64956
- } catch (error) {
64957
- writeFatal("An exception was thrown while running the Storm release workflow.", config);
64958
- error.message && writeError(`${error.name ? `${error.name}: ` : ""}${error.message}${error.stack ? `
64959
- ${error.stack}` : ""}`, config);
64960
- throw error;
64961
64953
  }
64954
+ writeSuccess("Completed the Storm workspace release process!", config);
64962
64955
  }, "runRelease");
64963
64956
 
64964
64957
  // src/cli/index.ts
@@ -65040,10 +65033,6 @@ async function releaseAction({ project, base, head, dryRun }) {
65040
65033
 
65041
65034
  ${error.message}`, _config);
65042
65035
  writeFatal(error, _config);
65043
- console.error("");
65044
- console.error("Fatal release error: ");
65045
- console.error(error);
65046
- console.error("");
65047
65036
  throw new Error(error.message, {
65048
65037
  cause: error
65049
65038
  });
@@ -65080,9 +65069,6 @@ void (async () => {
65080
65069
  writeSuccess(`\u{1F389} Git ${process.argv && process.argv.length >= 3 && process.argv[2] ? process.argv[2] : "tool"} processing completed successfully!`, config);
65081
65070
  exitWithSuccess(config);
65082
65071
  } catch (error) {
65083
- writeFatal(`A fatal error occurred while running the Storm Git tool:
65084
- ${error?.message ? error.message : JSON.stringify(error)}${error?.stack ? `
65085
- Stack Trace: ${error.stack}` : ""}`, config);
65086
65072
  exitWithError(config);
65087
65073
  process.exit(1);
65088
65074
  }
@@ -13,7 +13,7 @@ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
16
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
17
17
  require('./chunk-F6YMONH3.cjs');
18
18
  require('./chunk-D7E6FHYG.cjs');
19
19
  require('./chunk-4EXZWKXK.cjs');
@@ -27,23 +27,23 @@ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
27
27
  // bin/post-checkout.ts
28
28
  _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkWIDIIDDQcjs.getConfig.call(void 0, );
30
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
33
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
32
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
33
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Running post-checkout hook...", config);
34
34
  _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkWIDIIDDQcjs.writeError.call(void 0, `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.
38
+ _chunkNTA62AN7cjs.writeError.call(void 0, `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.
39
39
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
40
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
40
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
41
41
  }
42
42
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git lfs post-checkout");
43
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
43
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
44
44
  } catch (error) {
45
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
45
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
47
47
  process.exit(1);
48
48
  }
49
49
  })();
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-FJHQPSYU.js";
16
+ } from "./chunk-F5UAXEVI.js";
17
17
  import "./chunk-ZEYLUM4B.js";
18
18
  import "./chunk-PRYU3CEH.js";
19
19
  import "./chunk-S3A47QIS.js";
@@ -13,7 +13,7 @@ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
16
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
17
17
  require('./chunk-F6YMONH3.cjs');
18
18
  require('./chunk-D7E6FHYG.cjs');
19
19
  require('./chunk-4EXZWKXK.cjs');
@@ -27,23 +27,23 @@ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
27
27
  // bin/post-commit.ts
28
28
  _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkWIDIIDDQcjs.getConfig.call(void 0, );
30
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
33
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
32
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
33
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Running post-commit hook...", config);
34
34
  _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkWIDIIDDQcjs.writeError.call(void 0, `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.
38
+ _chunkNTA62AN7cjs.writeError.call(void 0, `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.
39
39
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
40
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
40
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
41
41
  }
42
42
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git lfs post-commit");
43
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
43
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
44
44
  } catch (error) {
45
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
45
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
47
47
  process.exit(1);
48
48
  }
49
49
  })();
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-FJHQPSYU.js";
16
+ } from "./chunk-F5UAXEVI.js";
17
17
  import "./chunk-ZEYLUM4B.js";
18
18
  import "./chunk-PRYU3CEH.js";
19
19
  import "./chunk-S3A47QIS.js";
@@ -13,7 +13,7 @@ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
16
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
17
17
  require('./chunk-F6YMONH3.cjs');
18
18
  require('./chunk-D7E6FHYG.cjs');
19
19
  require('./chunk-4EXZWKXK.cjs');
@@ -27,23 +27,23 @@ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
27
27
  // bin/post-merge.ts
28
28
  _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkWIDIIDDQcjs.getConfig.call(void 0, );
30
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
33
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
32
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
33
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Running post-merge hook...", config);
34
34
  _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkWIDIIDDQcjs.writeError.call(void 0, `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.
38
+ _chunkNTA62AN7cjs.writeError.call(void 0, `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.
39
39
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
40
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
40
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
41
41
  }
42
42
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git lfs post-merge");
43
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
43
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
44
44
  } catch (error) {
45
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
45
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
47
47
  process.exit(1);
48
48
  }
49
49
  })();
package/bin/post-merge.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-FJHQPSYU.js";
16
+ } from "./chunk-F5UAXEVI.js";
17
17
  import "./chunk-ZEYLUM4B.js";
18
18
  import "./chunk-PRYU3CEH.js";
19
19
  import "./chunk-S3A47QIS.js";
@@ -11,7 +11,7 @@ var _chunkP2UJ7X76cjs = require('./chunk-P2UJ7X76.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
14
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
15
15
  require('./chunk-F6YMONH3.cjs');
16
16
  require('./chunk-D7E6FHYG.cjs');
17
17
  require('./chunk-4EXZWKXK.cjs');
@@ -25,19 +25,19 @@ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
25
25
  // bin/pre-commit.ts
26
26
  _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
27
27
  void (async () => {
28
- const config = await _chunkWIDIIDDQcjs.getConfig.call(void 0, );
28
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
29
29
  try {
30
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
31
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
30
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
31
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
32
32
  _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, process.argv.slice(1));
33
33
  if (_chunkP2UJ7X76cjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
34
- _chunkWIDIIDDQcjs.writeError.call(void 0, "Please regenerate the package lock file before committing...", config);
35
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
34
+ _chunkNTA62AN7cjs.writeError.call(void 0, "Please regenerate the package lock file before committing...", config);
35
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
36
36
  }
37
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
37
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
38
38
  } catch (error) {
39
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
40
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
39
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
40
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
41
41
  process.exit(1);
42
42
  }
43
43
  })();
package/bin/pre-commit.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  writeError,
12
12
  writeFatal,
13
13
  writeInfo
14
- } from "./chunk-FJHQPSYU.js";
14
+ } from "./chunk-F5UAXEVI.js";
15
15
  import "./chunk-ZEYLUM4B.js";
16
16
  import "./chunk-PRYU3CEH.js";
17
17
  import "./chunk-S3A47QIS.js";
@@ -9,7 +9,7 @@ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
12
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
13
13
  require('./chunk-F6YMONH3.cjs');
14
14
  require('./chunk-D7E6FHYG.cjs');
15
15
  require('./chunk-4EXZWKXK.cjs');
@@ -23,19 +23,19 @@ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
23
23
  // bin/pre-install.ts
24
24
  _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunkWIDIIDDQcjs.getConfig.call(void 0, );
26
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
29
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
28
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
29
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Running pre-install hook...", config);
30
30
  if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
31
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
31
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
33
33
  }
34
34
  _chunk7FWXX5NNcjs.run.call(void 0, config, "npx -y only-allow pnpm");
35
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
35
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
36
36
  } catch (error) {
37
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
38
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
37
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
38
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
39
39
  process.exit(1);
40
40
  }
41
41
  })();
@@ -9,7 +9,7 @@ import {
9
9
  handleProcess,
10
10
  writeFatal,
11
11
  writeInfo
12
- } from "./chunk-FJHQPSYU.js";
12
+ } from "./chunk-F5UAXEVI.js";
13
13
  import "./chunk-ZEYLUM4B.js";
14
14
  import "./chunk-PRYU3CEH.js";
15
15
  import "./chunk-S3A47QIS.js";
package/bin/pre-push.cjs CHANGED
@@ -14,7 +14,7 @@ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
17
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
18
18
  require('./chunk-F6YMONH3.cjs');
19
19
  require('./chunk-D7E6FHYG.cjs');
20
20
  require('./chunk-4EXZWKXK.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 _chunkWIDIIDDQcjs.getConfig.call(void 0, );
34
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
35
35
  try {
36
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
37
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
36
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
37
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Running pre-push hook...", config);
38
38
  _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
39
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
39
+ _chunkNTA62AN7cjs.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(_path2.default.join(_nullishCoalesce(config.workspaceRoot, () => ( "./")), "package-lock.json"))) {
42
42
  errors.push('Invalid occurrence of "package-lock.json" file. Please remove it and use only "pnpm-lock.yaml"');
@@ -58,26 +58,26 @@ void (async () => {
58
58
  errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
59
59
  }
60
60
  if (errors.length > 0) {
61
- _chunkWIDIIDDQcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
61
+ _chunkNTA62AN7cjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
62
62
  for (const error of errors) {
63
63
  console.error(error);
64
64
  }
65
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
65
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
66
66
  }
67
- _chunkWIDIIDDQcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
67
+ _chunkNTA62AN7cjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
68
68
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git lfs pre-push origin");
69
69
  try {
70
70
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git-lfs version");
71
71
  } catch (error) {
72
- _chunkWIDIIDDQcjs.writeError.call(void 0, `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.
72
+ _chunkNTA62AN7cjs.writeError.call(void 0, `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.
73
73
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
74
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
74
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
75
75
  }
76
76
  _chunk7FWXX5NNcjs.run.call(void 0, config, "git lfs pre-push origin");
77
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
77
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
78
78
  } catch (error) {
79
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
79
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
81
81
  process.exit(1);
82
82
  }
83
83
  })();
package/bin/pre-push.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  writeFatal,
15
15
  writeInfo,
16
16
  writeSuccess
17
- } from "./chunk-FJHQPSYU.js";
17
+ } from "./chunk-F5UAXEVI.js";
18
18
  import "./chunk-ZEYLUM4B.js";
19
19
  import "./chunk-PRYU3CEH.js";
20
20
  import "./chunk-S3A47QIS.js";
package/bin/prepare.cjs CHANGED
@@ -9,7 +9,7 @@ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
12
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
13
13
  require('./chunk-F6YMONH3.cjs');
14
14
  require('./chunk-D7E6FHYG.cjs');
15
15
  require('./chunk-4EXZWKXK.cjs');
@@ -23,17 +23,17 @@ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
23
23
  // bin/prepare.ts
24
24
  _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunkWIDIIDDQcjs.getConfig.call(void 0, );
26
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
29
- _chunkWIDIIDDQcjs.writeInfo.call(void 0, "Running prepare hook...", config);
28
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
29
+ _chunkNTA62AN7cjs.writeInfo.call(void 0, "Running prepare hook...", config);
30
30
  if (!process.env.CI && !process.env.STORM_CI) {
31
31
  _chunk7FWXX5NNcjs.run.call(void 0, config, "lefthook install");
32
32
  }
33
- _chunkWIDIIDDQcjs.exitWithSuccess.call(void 0, config);
33
+ _chunkNTA62AN7cjs.exitWithSuccess.call(void 0, config);
34
34
  } catch (error) {
35
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
35
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
37
37
  process.exit(1);
38
38
  }
39
39
  })();
package/bin/prepare.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  handleProcess,
10
10
  writeFatal,
11
11
  writeInfo
12
- } from "./chunk-FJHQPSYU.js";
12
+ } from "./chunk-F5UAXEVI.js";
13
13
  import "./chunk-ZEYLUM4B.js";
14
14
  import "./chunk-PRYU3CEH.js";
15
15
  import "./chunk-S3A47QIS.js";
@@ -7,7 +7,7 @@ var _chunkP2UJ7X76cjs = require('./chunk-P2UJ7X76.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunkWIDIIDDQcjs = require('./chunk-WIDIIDDQ.cjs');
10
+ var _chunkNTA62AN7cjs = require('./chunk-NTA62AN7.cjs');
11
11
  require('./chunk-F6YMONH3.cjs');
12
12
  require('./chunk-D7E6FHYG.cjs');
13
13
  require('./chunk-4EXZWKXK.cjs');
@@ -21,13 +21,13 @@ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
21
21
  // bin/version-warning.ts
22
22
  _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
23
23
  void (async () => {
24
- const config = await _chunkWIDIIDDQcjs.getConfig.call(void 0, );
24
+ const config = await _chunkNTA62AN7cjs.getConfig.call(void 0, );
25
25
  try {
26
- _chunkWIDIIDDQcjs.handleProcess.call(void 0, config);
26
+ _chunkNTA62AN7cjs.handleProcess.call(void 0, config);
27
27
  _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, process.argv.slice(1));
28
28
  } catch (error) {
29
- _chunkWIDIIDDQcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
- _chunkWIDIIDDQcjs.exitWithError.call(void 0, config);
29
+ _chunkNTA62AN7cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
+ _chunkNTA62AN7cjs.exitWithError.call(void 0, config);
31
31
  process.exit(1);
32
32
  }
33
33
  })();
@@ -7,7 +7,7 @@ import {
7
7
  getConfig,
8
8
  handleProcess,
9
9
  writeFatal
10
- } from "./chunk-FJHQPSYU.js";
10
+ } from "./chunk-F5UAXEVI.js";
11
11
  import "./chunk-ZEYLUM4B.js";
12
12
  import "./chunk-PRYU3CEH.js";
13
13
  import "./chunk-S3A47QIS.js";
@@ -46,18 +46,15 @@ pre-commit:
46
46
  stage_fixed: true
47
47
  lint-toml:
48
48
  glob: "**/*.toml"
49
- run:
50
- 'pnpm exec taplo format --check
49
+ run: 'pnpm exec taplo format --check
51
50
  --config="./node_modules/@storm-software/linting-tools/taplo/config.toml"'
52
51
  lint-filename:
53
52
  glob: "**/*.*"
54
- run:
55
- 'pnpm exec ls-lint
53
+ run: 'pnpm exec ls-lint
56
54
  --config="@storm-software/linting-tools/ls-lint/config.yml"'
57
55
  lint-github-actions:
58
56
  glob: ".github/workflows/*.*"
59
- run:
60
- 'zizmor --offline
57
+ run: 'zizmor --offline
61
58
  --config="./node_modules/@storm-software/linting-tools/zizmor/config.yml"
62
59
  .github/workflows/'
63
60
  readme-gen:
@@ -70,8 +67,7 @@ pre-commit:
70
67
  stage_fixed: true
71
68
  format-toml:
72
69
  glob: "**/*.toml"
73
- run:
74
- 'pnpm exec taplo format
70
+ run: 'pnpm exec taplo format
75
71
  --config="@storm-software/linting-tools/taplo/config.toml" && git
76
72
  update-index'
77
73
  postbuild: