@storm-software/git-tools 2.121.3 → 2.122.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/README.md +2 -1
  2. package/bin/{chunk-N5U2S3QK.cjs → chunk-5SPAQH6A.cjs} +10 -15
  3. package/bin/{chunk-QBJQH2IK.js → chunk-LBURTJLB.js} +10 -10
  4. package/bin/git.cjs +405 -476
  5. package/bin/git.js +342 -413
  6. package/bin/post-checkout.cjs +9 -9
  7. package/bin/post-checkout.js +1 -1
  8. package/bin/post-commit.cjs +9 -9
  9. package/bin/post-commit.js +1 -1
  10. package/bin/post-merge.cjs +9 -9
  11. package/bin/post-merge.js +1 -1
  12. package/bin/pre-commit.cjs +9 -9
  13. package/bin/pre-commit.js +1 -1
  14. package/bin/pre-install.cjs +9 -9
  15. package/bin/pre-install.js +1 -1
  16. package/bin/pre-push.cjs +13 -13
  17. package/bin/pre-push.js +1 -1
  18. package/bin/prepare.cjs +7 -7
  19. package/bin/prepare.js +1 -1
  20. package/bin/version-warning.cjs +5 -5
  21. package/bin/version-warning.js +1 -1
  22. package/dist/chunk-3GGWHKRP.js +274 -0
  23. package/dist/chunk-4VPJA7YJ.cjs +274 -0
  24. package/dist/chunk-5XU2KBM6.js +14 -0
  25. package/dist/chunk-F7OO6L26.cjs +78 -0
  26. package/dist/{chunk-RG47FAF4.cjs → chunk-GOKUSEH3.cjs} +5 -3
  27. package/dist/chunk-JCEVFJCA.js +42 -0
  28. package/dist/chunk-KZRVQ5RZ.js +78 -0
  29. package/dist/chunk-NY53WLGC.cjs +42 -0
  30. package/dist/chunk-YBAE6I5L.cjs +14 -0
  31. package/dist/{chunk-2IQTQBAX.js → chunk-YCEUZFMU.js} +5 -3
  32. package/dist/commit/minimal.cjs +4 -12
  33. package/dist/commit/minimal.d.cts +249 -7
  34. package/dist/commit/minimal.d.ts +249 -7
  35. package/dist/commit/minimal.js +5 -13
  36. package/dist/commit/monorepo.cjs +7 -3
  37. package/dist/commit/monorepo.d.cts +269 -4
  38. package/dist/commit/monorepo.d.ts +269 -4
  39. package/dist/commit/monorepo.js +6 -2
  40. package/dist/commitlint/minimal.cjs +2 -3
  41. package/dist/commitlint/minimal.d.cts +27 -6
  42. package/dist/commitlint/minimal.d.ts +27 -6
  43. package/dist/commitlint/minimal.js +3 -4
  44. package/dist/commitlint/monorepo.cjs +2 -3
  45. package/dist/commitlint/monorepo.d.cts +28 -6
  46. package/dist/commitlint/monorepo.d.ts +28 -6
  47. package/dist/commitlint/monorepo.js +3 -4
  48. package/dist/index.cjs +6 -19
  49. package/dist/index.d.cts +4 -2
  50. package/dist/index.d.ts +4 -2
  51. package/dist/index.js +9 -22
  52. package/dist/release/config.cjs +6 -3
  53. package/dist/release/config.d.cts +2 -1
  54. package/dist/release/config.d.ts +2 -1
  55. package/dist/release/config.js +5 -2
  56. package/dist/types.cjs +2 -20
  57. package/dist/types.d.cts +3 -250
  58. package/dist/types.d.ts +3 -250
  59. package/dist/types.js +3 -21
  60. package/package.json +5 -5
  61. package/dist/chunk-25G45MG4.js +0 -19
  62. package/dist/chunk-2RKFQIWE.cjs +0 -19
  63. package/dist/chunk-2SHAD3P5.cjs +0 -301
  64. package/dist/chunk-GRCMQK4Q.js +0 -301
@@ -3,33 +3,33 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
6
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
7
7
 
8
8
  // bin/post-checkout.ts
9
9
  void (async () => {
10
- const config = await chunkN5U2S3QK_cjs.getConfig();
10
+ const config = await chunk5SPAQH6A_cjs.getConfig();
11
11
  try {
12
- chunkN5U2S3QK_cjs.handleProcess(config);
13
- chunkN5U2S3QK_cjs.writeInfo("Running post-checkout hook...", config);
12
+ chunk5SPAQH6A_cjs.handleProcess(config);
13
+ chunk5SPAQH6A_cjs.writeInfo("Running post-checkout hook...", config);
14
14
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
15
15
  try {
16
16
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
17
17
  } catch (error) {
18
- chunkN5U2S3QK_cjs.writeError(
18
+ chunk5SPAQH6A_cjs.writeError(
19
19
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
20
20
  Error: ${error?.message}`,
21
21
  config
22
22
  );
23
- chunkN5U2S3QK_cjs.exitWithError(config);
23
+ chunk5SPAQH6A_cjs.exitWithError(config);
24
24
  }
25
25
  chunkCIJVSMK2_cjs.run(config, "git lfs post-checkout");
26
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
26
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
27
27
  } catch (error) {
28
- chunkN5U2S3QK_cjs.writeFatal(
28
+ chunk5SPAQH6A_cjs.writeFatal(
29
29
  `A fatal error occurred while running the program: ${error.message}`,
30
30
  config
31
31
  );
32
- chunkN5U2S3QK_cjs.exitWithError(config);
32
+ chunk5SPAQH6A_cjs.exitWithError(config);
33
33
  process.exit(1);
34
34
  }
35
35
  })();
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { checkPackageVersion } from './chunk-AMSZ7DVW.js';
3
3
  import { run } from './chunk-54Q5U5WW.js';
4
- import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-QBJQH2IK.js';
4
+ import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-LBURTJLB.js';
5
5
 
6
6
  // bin/post-checkout.ts
7
7
  void (async () => {
@@ -3,33 +3,33 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
6
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
7
7
 
8
8
  // bin/post-commit.ts
9
9
  void (async () => {
10
- const config = await chunkN5U2S3QK_cjs.getConfig();
10
+ const config = await chunk5SPAQH6A_cjs.getConfig();
11
11
  try {
12
- chunkN5U2S3QK_cjs.handleProcess(config);
13
- chunkN5U2S3QK_cjs.writeInfo("Running post-commit hook...", config);
12
+ chunk5SPAQH6A_cjs.handleProcess(config);
13
+ chunk5SPAQH6A_cjs.writeInfo("Running post-commit hook...", config);
14
14
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
15
15
  try {
16
16
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
17
17
  } catch (error) {
18
- chunkN5U2S3QK_cjs.writeError(
18
+ chunk5SPAQH6A_cjs.writeError(
19
19
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.
20
20
  Error: ${error?.message}`,
21
21
  config
22
22
  );
23
- chunkN5U2S3QK_cjs.exitWithError(config);
23
+ chunk5SPAQH6A_cjs.exitWithError(config);
24
24
  }
25
25
  chunkCIJVSMK2_cjs.run(config, "git lfs post-commit");
26
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
26
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
27
27
  } catch (error) {
28
- chunkN5U2S3QK_cjs.writeFatal(
28
+ chunk5SPAQH6A_cjs.writeFatal(
29
29
  `A fatal error occurred while running the program: ${error.message}`,
30
30
  config
31
31
  );
32
- chunkN5U2S3QK_cjs.exitWithError(config);
32
+ chunk5SPAQH6A_cjs.exitWithError(config);
33
33
  process.exit(1);
34
34
  }
35
35
  })();
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { checkPackageVersion } from './chunk-AMSZ7DVW.js';
3
3
  import { run } from './chunk-54Q5U5WW.js';
4
- import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-QBJQH2IK.js';
4
+ import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-LBURTJLB.js';
5
5
 
6
6
  // bin/post-commit.ts
7
7
  void (async () => {
@@ -3,33 +3,33 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
6
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
7
7
 
8
8
  // bin/post-merge.ts
9
9
  void (async () => {
10
- const config = await chunkN5U2S3QK_cjs.getConfig();
10
+ const config = await chunk5SPAQH6A_cjs.getConfig();
11
11
  try {
12
- chunkN5U2S3QK_cjs.handleProcess(config);
13
- chunkN5U2S3QK_cjs.writeInfo("Running post-merge hook...", config);
12
+ chunk5SPAQH6A_cjs.handleProcess(config);
13
+ chunk5SPAQH6A_cjs.writeInfo("Running post-merge hook...", config);
14
14
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
15
15
  try {
16
16
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
17
17
  } catch (error) {
18
- chunkN5U2S3QK_cjs.writeError(
18
+ chunk5SPAQH6A_cjs.writeError(
19
19
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
20
20
  Error: ${error?.message}`,
21
21
  config
22
22
  );
23
- chunkN5U2S3QK_cjs.exitWithError(config);
23
+ chunk5SPAQH6A_cjs.exitWithError(config);
24
24
  }
25
25
  chunkCIJVSMK2_cjs.run(config, "git lfs post-merge");
26
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
26
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
27
27
  } catch (error) {
28
- chunkN5U2S3QK_cjs.writeFatal(
28
+ chunk5SPAQH6A_cjs.writeFatal(
29
29
  `A fatal error occurred while running the program: ${error.message}`,
30
30
  config
31
31
  );
32
- chunkN5U2S3QK_cjs.exitWithError(config);
32
+ chunk5SPAQH6A_cjs.exitWithError(config);
33
33
  process.exit(1);
34
34
  }
35
35
  })();
package/bin/post-merge.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { checkPackageVersion } from './chunk-AMSZ7DVW.js';
3
3
  import { run } from './chunk-54Q5U5WW.js';
4
- import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-QBJQH2IK.js';
4
+ import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-LBURTJLB.js';
5
5
 
6
6
  // bin/post-merge.ts
7
7
  void (async () => {
@@ -2,29 +2,29 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
5
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
6
6
 
7
7
  // bin/pre-commit.ts
8
8
  void (async () => {
9
- const config = await chunkN5U2S3QK_cjs.getConfig();
9
+ const config = await chunk5SPAQH6A_cjs.getConfig();
10
10
  try {
11
- chunkN5U2S3QK_cjs.handleProcess(config);
12
- chunkN5U2S3QK_cjs.writeInfo("Running pre-commit hook...", config);
11
+ chunk5SPAQH6A_cjs.handleProcess(config);
12
+ chunk5SPAQH6A_cjs.writeInfo("Running pre-commit hook...", config);
13
13
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv.slice(1));
14
14
  if (chunkSWXHQXUT_cjs.isPackageVersionChanged(process.argv?.slice(1))) {
15
- chunkN5U2S3QK_cjs.writeError(
15
+ chunk5SPAQH6A_cjs.writeError(
16
16
  "Please regenerate the package lock file before committing...",
17
17
  config
18
18
  );
19
- chunkN5U2S3QK_cjs.exitWithError(config);
19
+ chunk5SPAQH6A_cjs.exitWithError(config);
20
20
  }
21
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
21
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
22
22
  } catch (error) {
23
- chunkN5U2S3QK_cjs.writeFatal(
23
+ chunk5SPAQH6A_cjs.writeFatal(
24
24
  `A fatal error occurred while running the program: ${error.message}`,
25
25
  config
26
26
  );
27
- chunkN5U2S3QK_cjs.exitWithError(config);
27
+ chunk5SPAQH6A_cjs.exitWithError(config);
28
28
  process.exit(1);
29
29
  }
30
30
  })();
package/bin/pre-commit.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { checkPackageVersion, isPackageVersionChanged } from './chunk-AMSZ7DVW.js';
3
- import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-QBJQH2IK.js';
3
+ import { getConfig, handleProcess, writeInfo, writeError, exitWithError, exitWithSuccess, writeFatal } from './chunk-LBURTJLB.js';
4
4
 
5
5
  // bin/pre-commit.ts
6
6
  void (async () => {
@@ -2,26 +2,26 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
5
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
5
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
6
6
 
7
7
  // bin/pre-install.ts
8
8
  void (async () => {
9
- const config = await chunkN5U2S3QK_cjs.getConfig();
9
+ const config = await chunk5SPAQH6A_cjs.getConfig();
10
10
  try {
11
- chunkN5U2S3QK_cjs.handleProcess(config);
12
- chunkN5U2S3QK_cjs.writeInfo("Running pre-install hook...", config);
11
+ chunk5SPAQH6A_cjs.handleProcess(config);
12
+ chunk5SPAQH6A_cjs.writeInfo("Running pre-install hook...", config);
13
13
  if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
14
- chunkN5U2S3QK_cjs.writeInfo("Skipping pre-install for CI process...", config);
15
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
14
+ chunk5SPAQH6A_cjs.writeInfo("Skipping pre-install for CI process...", config);
15
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
16
16
  }
17
17
  chunkCIJVSMK2_cjs.run(config, "npx -y only-allow pnpm");
18
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
18
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
19
19
  } catch (error) {
20
- chunkN5U2S3QK_cjs.writeFatal(
20
+ chunk5SPAQH6A_cjs.writeFatal(
21
21
  `A fatal error occurred while running the program: ${error.message}`,
22
22
  config
23
23
  );
24
- chunkN5U2S3QK_cjs.exitWithError(config);
24
+ chunk5SPAQH6A_cjs.exitWithError(config);
25
25
  process.exit(1);
26
26
  }
27
27
  })();
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { run } from './chunk-54Q5U5WW.js';
3
- import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-QBJQH2IK.js';
3
+ import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-LBURTJLB.js';
4
4
 
5
5
  // bin/pre-install.ts
6
6
  void (async () => {
package/bin/pre-push.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
5
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
6
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
6
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
7
7
  var fs = require('fs');
8
8
  var promises = require('fs/promises');
9
9
  var path = require('path');
@@ -14,12 +14,12 @@ var fs__default = /*#__PURE__*/_interopDefault(fs);
14
14
  var path__default = /*#__PURE__*/_interopDefault(path);
15
15
 
16
16
  void (async () => {
17
- const config = await chunkN5U2S3QK_cjs.getConfig();
17
+ const config = await chunk5SPAQH6A_cjs.getConfig();
18
18
  try {
19
- chunkN5U2S3QK_cjs.handleProcess(config);
20
- chunkN5U2S3QK_cjs.writeInfo("Running pre-push hook...", config);
19
+ chunk5SPAQH6A_cjs.handleProcess(config);
20
+ chunk5SPAQH6A_cjs.writeInfo("Running pre-push hook...", config);
21
21
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv?.slice(1));
22
- chunkN5U2S3QK_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
22
+ chunk5SPAQH6A_cjs.writeInfo("\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
23
23
  const errors = [];
24
24
  if (fs__default.default.existsSync(
25
25
  path__default.default.join(config.workspaceRoot ?? "./", "package-lock.json")
@@ -54,32 +54,32 @@ void (async () => {
54
54
  errors.push('The "pnpm-lock.yaml" does not exist or cannot be read');
55
55
  }
56
56
  if (errors.length > 0) {
57
- chunkN5U2S3QK_cjs.writeError("\u274C Lock file validation failed", config);
57
+ chunk5SPAQH6A_cjs.writeError("\u274C Lock file validation failed", config);
58
58
  for (const error of errors) {
59
59
  console.error(error);
60
60
  }
61
- chunkN5U2S3QK_cjs.exitWithError(config);
61
+ chunk5SPAQH6A_cjs.exitWithError(config);
62
62
  }
63
- chunkN5U2S3QK_cjs.writeSuccess("Lock file is valid \u2705", config);
63
+ chunk5SPAQH6A_cjs.writeSuccess("Lock file is valid \u2705", config);
64
64
  chunkCIJVSMK2_cjs.run(config, "git lfs pre-push origin");
65
65
  try {
66
66
  chunkCIJVSMK2_cjs.run(config, "git-lfs version");
67
67
  } catch (error) {
68
- chunkN5U2S3QK_cjs.writeError(
68
+ chunk5SPAQH6A_cjs.writeError(
69
69
  `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/pre-push.
70
70
  Error: ${error?.message}`,
71
71
  config
72
72
  );
73
- chunkN5U2S3QK_cjs.exitWithError(config);
73
+ chunk5SPAQH6A_cjs.exitWithError(config);
74
74
  }
75
75
  chunkCIJVSMK2_cjs.run(config, "git lfs pre-push origin");
76
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
76
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
77
77
  } catch (error) {
78
- chunkN5U2S3QK_cjs.writeFatal(
78
+ chunk5SPAQH6A_cjs.writeFatal(
79
79
  `A fatal error occurred while running the program: ${error.message}`,
80
80
  config
81
81
  );
82
- chunkN5U2S3QK_cjs.exitWithError(config);
82
+ chunk5SPAQH6A_cjs.exitWithError(config);
83
83
  process.exit(1);
84
84
  }
85
85
  })();
package/bin/pre-push.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { checkPackageVersion } from './chunk-AMSZ7DVW.js';
3
3
  import { run } from './chunk-54Q5U5WW.js';
4
- import { getConfig, handleProcess, writeInfo, writeError, exitWithError, writeSuccess, exitWithSuccess, writeFatal } from './chunk-QBJQH2IK.js';
4
+ import { getConfig, handleProcess, writeInfo, writeError, exitWithError, writeSuccess, exitWithSuccess, writeFatal } from './chunk-LBURTJLB.js';
5
5
  import fs from 'node:fs';
6
6
  import { readFile } from 'node:fs/promises';
7
7
  import path from 'node:path';
package/bin/prepare.cjs CHANGED
@@ -2,24 +2,24 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkCIJVSMK2_cjs = require('./chunk-CIJVSMK2.cjs');
5
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
5
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
6
6
 
7
7
  // bin/prepare.ts
8
8
  void (async () => {
9
- const config = await chunkN5U2S3QK_cjs.getConfig();
9
+ const config = await chunk5SPAQH6A_cjs.getConfig();
10
10
  try {
11
- chunkN5U2S3QK_cjs.handleProcess(config);
12
- chunkN5U2S3QK_cjs.writeInfo("Running prepare hook...", config);
11
+ chunk5SPAQH6A_cjs.handleProcess(config);
12
+ chunk5SPAQH6A_cjs.writeInfo("Running prepare hook...", config);
13
13
  if (!process.env.CI && !process.env.STORM_CI) {
14
14
  chunkCIJVSMK2_cjs.run(config, "lefthook install");
15
15
  }
16
- chunkN5U2S3QK_cjs.exitWithSuccess(config);
16
+ chunk5SPAQH6A_cjs.exitWithSuccess(config);
17
17
  } catch (error) {
18
- chunkN5U2S3QK_cjs.writeFatal(
18
+ chunk5SPAQH6A_cjs.writeFatal(
19
19
  `A fatal error occurred while running the program: ${error.message}`,
20
20
  config
21
21
  );
22
- chunkN5U2S3QK_cjs.exitWithError(config);
22
+ chunk5SPAQH6A_cjs.exitWithError(config);
23
23
  process.exit(1);
24
24
  }
25
25
  })();
package/bin/prepare.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { run } from './chunk-54Q5U5WW.js';
3
- import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-QBJQH2IK.js';
3
+ import { getConfig, handleProcess, writeInfo, exitWithSuccess, writeFatal, exitWithError } from './chunk-LBURTJLB.js';
4
4
 
5
5
  // bin/prepare.ts
6
6
  void (async () => {
@@ -2,20 +2,20 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkSWXHQXUT_cjs = require('./chunk-SWXHQXUT.cjs');
5
- var chunkN5U2S3QK_cjs = require('./chunk-N5U2S3QK.cjs');
5
+ var chunk5SPAQH6A_cjs = require('./chunk-5SPAQH6A.cjs');
6
6
 
7
7
  // bin/version-warning.ts
8
8
  void (async () => {
9
- const config = await chunkN5U2S3QK_cjs.getConfig();
9
+ const config = await chunk5SPAQH6A_cjs.getConfig();
10
10
  try {
11
- chunkN5U2S3QK_cjs.handleProcess(config);
11
+ chunk5SPAQH6A_cjs.handleProcess(config);
12
12
  chunkSWXHQXUT_cjs.checkPackageVersion(process.argv.slice(1));
13
13
  } catch (error) {
14
- chunkN5U2S3QK_cjs.writeFatal(
14
+ chunk5SPAQH6A_cjs.writeFatal(
15
15
  `A fatal error occurred while running the program: ${error.message}`,
16
16
  config
17
17
  );
18
- chunkN5U2S3QK_cjs.exitWithError(config);
18
+ chunk5SPAQH6A_cjs.exitWithError(config);
19
19
  process.exit(1);
20
20
  }
21
21
  })();
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { checkPackageVersion } from './chunk-AMSZ7DVW.js';
3
- import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-QBJQH2IK.js';
3
+ import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-LBURTJLB.js';
4
4
 
5
5
  // bin/version-warning.ts
6
6
  void (async () => {