@storm-software/git-tools 2.130.35 → 2.130.37

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 (76) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-KTR6DN32.js → chunk-2QLTCKJS.js} +3 -3
  3. package/bin/{chunk-KTR6DN32.js.map → chunk-2QLTCKJS.js.map} +1 -1
  4. package/bin/{chunk-UHJ3INXD.js → chunk-2RGP4ACE.js} +3 -3
  5. package/bin/{chunk-UHJ3INXD.js.map → chunk-2RGP4ACE.js.map} +1 -1
  6. package/bin/{chunk-VFP2YC56.js → chunk-5VMV7N3G.js} +19 -30
  7. package/bin/chunk-5VMV7N3G.js.map +1 -0
  8. package/bin/{chunk-EGDFRWIN.cjs → chunk-5Z6RONLO.cjs} +4 -4
  9. package/bin/{chunk-EGDFRWIN.cjs.map → chunk-5Z6RONLO.cjs.map} +1 -1
  10. package/bin/{chunk-ECWQIUB4.js → chunk-CW2LOJGK.js} +3 -3
  11. package/bin/{chunk-ECWQIUB4.js.map → chunk-CW2LOJGK.js.map} +1 -1
  12. package/bin/{chunk-FVR6F5QB.js → chunk-GULFJC7R.js} +3 -3
  13. package/bin/{chunk-FVR6F5QB.js.map → chunk-GULFJC7R.js.map} +1 -1
  14. package/bin/{chunk-EGX3JSKB.cjs → chunk-HIBBA263.cjs} +5 -5
  15. package/bin/{chunk-EGX3JSKB.cjs.map → chunk-HIBBA263.cjs.map} +1 -1
  16. package/bin/{chunk-DI6PREU4.cjs → chunk-HVR76UIF.cjs} +19 -30
  17. package/bin/chunk-HVR76UIF.cjs.map +1 -0
  18. package/bin/{chunk-ATE3TAGF.cjs → chunk-L5CIC5RM.cjs} +4 -4
  19. package/bin/{chunk-ATE3TAGF.cjs.map → chunk-L5CIC5RM.cjs.map} +1 -1
  20. package/bin/{chunk-LSV4BGLC.cjs → chunk-LOG3DPPQ.cjs} +4 -4
  21. package/bin/{chunk-LSV4BGLC.cjs.map → chunk-LOG3DPPQ.cjs.map} +1 -1
  22. package/bin/{chunk-MQWJPO5J.js → chunk-NBAUOCB4.js} +3 -3
  23. package/bin/{chunk-MQWJPO5J.js.map → chunk-NBAUOCB4.js.map} +1 -1
  24. package/bin/{chunk-QOXHPYED.cjs → chunk-NZCON5HN.cjs} +4 -4
  25. package/bin/{chunk-QOXHPYED.cjs.map → chunk-NZCON5HN.cjs.map} +1 -1
  26. package/bin/{chunk-ZGZ6JZDP.cjs → chunk-OVGMWXXJ.cjs} +6 -6
  27. package/bin/{chunk-ZGZ6JZDP.cjs.map → chunk-OVGMWXXJ.cjs.map} +1 -1
  28. package/bin/{chunk-XFAV5NG6.cjs → chunk-PRWPYXMH.cjs} +4 -4
  29. package/bin/{chunk-XFAV5NG6.cjs.map → chunk-PRWPYXMH.cjs.map} +1 -1
  30. package/bin/{chunk-WRLNGX7N.js → chunk-WBM5EHOT.js} +3 -3
  31. package/bin/{chunk-WRLNGX7N.js.map → chunk-WBM5EHOT.js.map} +1 -1
  32. package/bin/{chunk-QP6P24WO.js → chunk-ZSLNAQQG.js} +3 -3
  33. package/bin/{chunk-QP6P24WO.js.map → chunk-ZSLNAQQG.js.map} +1 -1
  34. package/bin/git.cjs +118 -118
  35. package/bin/git.js +8 -8
  36. package/bin/post-checkout.cjs +7 -7
  37. package/bin/post-checkout.js +2 -2
  38. package/bin/post-commit.cjs +7 -7
  39. package/bin/post-commit.js +2 -2
  40. package/bin/post-merge.cjs +7 -7
  41. package/bin/post-merge.js +2 -2
  42. package/bin/pre-commit.cjs +7 -7
  43. package/bin/pre-commit.js +2 -2
  44. package/bin/pre-install.cjs +7 -7
  45. package/bin/pre-install.js +2 -2
  46. package/bin/pre-push.cjs +7 -7
  47. package/bin/pre-push.js +2 -2
  48. package/bin/prepare.cjs +7 -7
  49. package/bin/prepare.js +2 -2
  50. package/bin/version-warning.cjs +5 -5
  51. package/bin/version-warning.js +1 -1
  52. package/dist/{chunk-4WE2GYN5.cjs → chunk-6AS5VMOX.cjs} +2 -2
  53. package/dist/{chunk-DQBPRD5I.js → chunk-7YZQR2LH.js} +1 -1
  54. package/dist/{chunk-N7GR4PRY.cjs → chunk-AH2722GG.cjs} +10 -10
  55. package/dist/{chunk-VNHQ67ST.js → chunk-DHMSMFL3.js} +17 -28
  56. package/dist/{chunk-B7UB3ZXH.cjs → chunk-DLFBUN66.cjs} +2 -2
  57. package/dist/{chunk-2WB3Y3LV.js → chunk-GEBZ74NA.js} +1 -1
  58. package/dist/{chunk-WKT2GS3D.cjs → chunk-HDNOJ6YK.cjs} +2 -2
  59. package/dist/{chunk-IDLABXSC.cjs → chunk-HZMRQVJW.cjs} +2 -2
  60. package/dist/{chunk-PSIDOCCW.js → chunk-IIIM2NQL.js} +1 -1
  61. package/dist/{chunk-5LXLYDKZ.js → chunk-JXKM22DX.js} +1 -1
  62. package/dist/{chunk-ZHSRGVUS.js → chunk-LXOOPN74.js} +1 -1
  63. package/dist/{chunk-VOTWSUDD.cjs → chunk-MC3B4RZP.cjs} +2 -2
  64. package/dist/{chunk-AAIROCDF.cjs → chunk-O56OC5QZ.cjs} +4 -4
  65. package/dist/{chunk-ISLA7CP2.cjs → chunk-OZEUXY3F.cjs} +17 -28
  66. package/dist/{chunk-DNPDNWA3.cjs → chunk-S7OVYP3G.cjs} +3 -3
  67. package/dist/{chunk-HLX3ZD3F.js → chunk-XOVOHV4M.js} +1 -1
  68. package/dist/{chunk-WCBM32NK.js → chunk-YIORTE6Q.js} +1 -1
  69. package/dist/{chunk-2NX5AYN5.js → chunk-ZRFCAV5X.js} +1 -1
  70. package/dist/index.cjs +23 -23
  71. package/dist/index.js +9 -9
  72. package/dist/release/config.cjs +9 -9
  73. package/dist/release/config.js +2 -2
  74. package/package.json +7 -7
  75. package/bin/chunk-DI6PREU4.cjs.map +0 -1
  76. package/bin/chunk-VFP2YC56.js.map +0 -1
package/bin/git.js CHANGED
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
- import { postCheckoutHook } from './chunk-FVR6F5QB.js';
3
- import { postCommitHook } from './chunk-QP6P24WO.js';
4
- import { postMergeHook } from './chunk-ECWQIUB4.js';
5
- import { preCommitHook } from './chunk-WRLNGX7N.js';
6
- import './chunk-UHJ3INXD.js';
7
- import { prePushHook } from './chunk-MQWJPO5J.js';
2
+ import { postCheckoutHook } from './chunk-GULFJC7R.js';
3
+ import { postCommitHook } from './chunk-ZSLNAQQG.js';
4
+ import { postMergeHook } from './chunk-CW2LOJGK.js';
5
+ import { preCommitHook } from './chunk-WBM5EHOT.js';
6
+ import './chunk-2RGP4ACE.js';
7
+ import { prePushHook } from './chunk-NBAUOCB4.js';
8
8
  import './chunk-HBLWPOJV.js';
9
- import { prepareHook } from './chunk-KTR6DN32.js';
9
+ import { prepareHook } from './chunk-2QLTCKJS.js';
10
10
  import { run } from './chunk-G3YPGVPS.js';
11
- import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, isVerbose, writeWarning, defu, writeTrace, STORM_DEFAULT_RELEASE_BANNER } from './chunk-VFP2YC56.js';
11
+ import { getConfig, handleProcess, writeSuccess, exitWithSuccess, exitWithError, writeInfo, brandIcon, findWorkspaceRootSafe, writeFatal, getWorkspaceConfig, joinPaths, writeDebug, isVerbose, writeWarning, defu, writeTrace, STORM_DEFAULT_RELEASE_BANNER } from './chunk-5VMV7N3G.js';
12
12
  import TOML from '@ltd/j-toml';
13
13
  import { Command } from 'commander';
14
14
  import '@inquirer/checkbox';
@@ -1,23 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkQOXHPYED_cjs = require('./chunk-QOXHPYED.cjs');
4
+ var chunkNZCON5HN_cjs = require('./chunk-NZCON5HN.cjs');
5
5
  require('./chunk-YHZNDNCW.cjs');
6
6
  require('./chunk-FH5OSXAJ.cjs');
7
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
7
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
8
8
 
9
9
  // bin/post-checkout.ts
10
10
  void (async () => {
11
- const config = await chunkDI6PREU4_cjs.getConfig();
11
+ const config = await chunkHVR76UIF_cjs.getConfig();
12
12
  try {
13
- await chunkQOXHPYED_cjs.postCheckoutHook(config, process.argv.slice(2));
14
- chunkDI6PREU4_cjs.exitWithSuccess(config);
13
+ await chunkNZCON5HN_cjs.postCheckoutHook(config, process.argv.slice(2));
14
+ chunkHVR76UIF_cjs.exitWithSuccess(config);
15
15
  } catch (error) {
16
- chunkDI6PREU4_cjs.writeFatal(
16
+ chunkHVR76UIF_cjs.writeFatal(
17
17
  `A fatal error occurred while running the program: ${error.message}`,
18
18
  config
19
19
  );
20
- chunkDI6PREU4_cjs.exitWithError(config);
20
+ chunkHVR76UIF_cjs.exitWithError(config);
21
21
  process.exit(1);
22
22
  }
23
23
  })();
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { postCheckoutHook } from './chunk-FVR6F5QB.js';
2
+ import { postCheckoutHook } from './chunk-GULFJC7R.js';
3
3
  import './chunk-HBLWPOJV.js';
4
4
  import './chunk-G3YPGVPS.js';
5
- import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
5
+ import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
6
6
 
7
7
  // bin/post-checkout.ts
8
8
  void (async () => {
@@ -1,23 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkEGDFRWIN_cjs = require('./chunk-EGDFRWIN.cjs');
4
+ var chunk5Z6RONLO_cjs = require('./chunk-5Z6RONLO.cjs');
5
5
  require('./chunk-YHZNDNCW.cjs');
6
6
  require('./chunk-FH5OSXAJ.cjs');
7
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
7
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
8
8
 
9
9
  // bin/post-commit.ts
10
10
  void (async () => {
11
- const config = await chunkDI6PREU4_cjs.getConfig();
11
+ const config = await chunkHVR76UIF_cjs.getConfig();
12
12
  try {
13
- await chunkEGDFRWIN_cjs.postCommitHook(config, process.argv.slice(2));
14
- chunkDI6PREU4_cjs.exitWithSuccess(config);
13
+ await chunk5Z6RONLO_cjs.postCommitHook(config, process.argv.slice(2));
14
+ chunkHVR76UIF_cjs.exitWithSuccess(config);
15
15
  } catch (error) {
16
- chunkDI6PREU4_cjs.writeFatal(
16
+ chunkHVR76UIF_cjs.writeFatal(
17
17
  `A fatal error occurred while running the program: ${error.message}`,
18
18
  config
19
19
  );
20
- chunkDI6PREU4_cjs.exitWithError(config);
20
+ chunkHVR76UIF_cjs.exitWithError(config);
21
21
  process.exit(1);
22
22
  }
23
23
  })();
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { postCommitHook } from './chunk-QP6P24WO.js';
2
+ import { postCommitHook } from './chunk-ZSLNAQQG.js';
3
3
  import './chunk-HBLWPOJV.js';
4
4
  import './chunk-G3YPGVPS.js';
5
- import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
5
+ import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
6
6
 
7
7
  // bin/post-commit.ts
8
8
  void (async () => {
@@ -1,23 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkLSV4BGLC_cjs = require('./chunk-LSV4BGLC.cjs');
4
+ var chunkLOG3DPPQ_cjs = require('./chunk-LOG3DPPQ.cjs');
5
5
  require('./chunk-YHZNDNCW.cjs');
6
6
  require('./chunk-FH5OSXAJ.cjs');
7
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
7
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
8
8
 
9
9
  // bin/post-merge.ts
10
10
  void (async () => {
11
- const config = await chunkDI6PREU4_cjs.getConfig();
11
+ const config = await chunkHVR76UIF_cjs.getConfig();
12
12
  try {
13
- await chunkLSV4BGLC_cjs.postMergeHook(config, process.argv.slice(2));
14
- chunkDI6PREU4_cjs.exitWithSuccess(config);
13
+ await chunkLOG3DPPQ_cjs.postMergeHook(config, process.argv.slice(2));
14
+ chunkHVR76UIF_cjs.exitWithSuccess(config);
15
15
  } catch (error) {
16
- chunkDI6PREU4_cjs.writeFatal(
16
+ chunkHVR76UIF_cjs.writeFatal(
17
17
  `A fatal error occurred while running the program: ${error.message}`,
18
18
  config
19
19
  );
20
- chunkDI6PREU4_cjs.exitWithError(config);
20
+ chunkHVR76UIF_cjs.exitWithError(config);
21
21
  process.exit(1);
22
22
  }
23
23
  })();
package/bin/post-merge.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
- import { postMergeHook } from './chunk-ECWQIUB4.js';
2
+ import { postMergeHook } from './chunk-CW2LOJGK.js';
3
3
  import './chunk-HBLWPOJV.js';
4
4
  import './chunk-G3YPGVPS.js';
5
- import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
5
+ import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
6
6
 
7
7
  // bin/post-merge.ts
8
8
  void (async () => {
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkATE3TAGF_cjs = require('./chunk-ATE3TAGF.cjs');
4
+ var chunkL5CIC5RM_cjs = require('./chunk-L5CIC5RM.cjs');
5
5
  require('./chunk-YHZNDNCW.cjs');
6
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
6
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
7
7
 
8
8
  // bin/pre-commit.ts
9
9
  void (async () => {
10
- const config = await chunkDI6PREU4_cjs.getConfig();
10
+ const config = await chunkHVR76UIF_cjs.getConfig();
11
11
  try {
12
- await chunkATE3TAGF_cjs.preCommitHook(config, process.argv.slice(2));
13
- chunkDI6PREU4_cjs.exitWithSuccess(config);
12
+ await chunkL5CIC5RM_cjs.preCommitHook(config, process.argv.slice(2));
13
+ chunkHVR76UIF_cjs.exitWithSuccess(config);
14
14
  } catch (error) {
15
- chunkDI6PREU4_cjs.writeFatal(
15
+ chunkHVR76UIF_cjs.writeFatal(
16
16
  `A fatal error occurred while running the program: ${error.message}`,
17
17
  config
18
18
  );
19
- chunkDI6PREU4_cjs.exitWithError(config);
19
+ chunkHVR76UIF_cjs.exitWithError(config);
20
20
  process.exit(1);
21
21
  }
22
22
  })();
package/bin/pre-commit.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { preCommitHook } from './chunk-WRLNGX7N.js';
2
+ import { preCommitHook } from './chunk-WBM5EHOT.js';
3
3
  import './chunk-HBLWPOJV.js';
4
- import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
4
+ import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
5
5
 
6
6
  // bin/pre-commit.ts
7
7
  void (async () => {
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkEGX3JSKB_cjs = require('./chunk-EGX3JSKB.cjs');
4
+ var chunkHIBBA263_cjs = require('./chunk-HIBBA263.cjs');
5
5
  require('./chunk-FH5OSXAJ.cjs');
6
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
6
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
7
7
 
8
8
  // bin/pre-install.ts
9
9
  void (async () => {
10
- const config = await chunkDI6PREU4_cjs.getConfig();
10
+ const config = await chunkHVR76UIF_cjs.getConfig();
11
11
  try {
12
- await chunkEGX3JSKB_cjs.preInstallHook(config);
13
- chunkDI6PREU4_cjs.exitWithSuccess(config);
12
+ await chunkHIBBA263_cjs.preInstallHook(config);
13
+ chunkHVR76UIF_cjs.exitWithSuccess(config);
14
14
  } catch (error) {
15
- chunkDI6PREU4_cjs.writeFatal(
15
+ chunkHVR76UIF_cjs.writeFatal(
16
16
  `A fatal error occurred while running the program: ${error.message}`,
17
17
  config
18
18
  );
19
- chunkDI6PREU4_cjs.exitWithError(config);
19
+ chunkHVR76UIF_cjs.exitWithError(config);
20
20
  process.exit(1);
21
21
  }
22
22
  })();
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { preInstallHook } from './chunk-UHJ3INXD.js';
2
+ import { preInstallHook } from './chunk-2RGP4ACE.js';
3
3
  import './chunk-G3YPGVPS.js';
4
- import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
4
+ import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
5
5
 
6
6
  // bin/pre-install.ts
7
7
  void (async () => {
package/bin/pre-push.cjs CHANGED
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkZGZ6JZDP_cjs = require('./chunk-ZGZ6JZDP.cjs');
4
+ var chunkOVGMWXXJ_cjs = require('./chunk-OVGMWXXJ.cjs');
5
5
  require('./chunk-YHZNDNCW.cjs');
6
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
6
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
7
7
 
8
8
  // bin/pre-push.ts
9
9
  void (async () => {
10
- const config = await chunkDI6PREU4_cjs.getConfig();
10
+ const config = await chunkHVR76UIF_cjs.getConfig();
11
11
  try {
12
- await chunkZGZ6JZDP_cjs.prePushHook(config, process.argv.slice(2));
13
- chunkDI6PREU4_cjs.exitWithSuccess(config);
12
+ await chunkOVGMWXXJ_cjs.prePushHook(config, process.argv.slice(2));
13
+ chunkHVR76UIF_cjs.exitWithSuccess(config);
14
14
  } catch (error) {
15
- chunkDI6PREU4_cjs.writeFatal(
15
+ chunkHVR76UIF_cjs.writeFatal(
16
16
  `A fatal error occurred while running the program: ${error.message}`,
17
17
  config
18
18
  );
19
- chunkDI6PREU4_cjs.exitWithError(config);
19
+ chunkHVR76UIF_cjs.exitWithError(config);
20
20
  process.exit(1);
21
21
  }
22
22
  })();
package/bin/pre-push.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { prePushHook } from './chunk-MQWJPO5J.js';
2
+ import { prePushHook } from './chunk-NBAUOCB4.js';
3
3
  import './chunk-HBLWPOJV.js';
4
- import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
4
+ import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
5
5
 
6
6
  // bin/pre-push.ts
7
7
  void (async () => {
package/bin/prepare.cjs CHANGED
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict';
3
3
 
4
- var chunkXFAV5NG6_cjs = require('./chunk-XFAV5NG6.cjs');
4
+ var chunkPRWPYXMH_cjs = require('./chunk-PRWPYXMH.cjs');
5
5
  require('./chunk-FH5OSXAJ.cjs');
6
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
6
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
7
7
 
8
8
  // bin/prepare.ts
9
9
  void (async () => {
10
- const config = await chunkDI6PREU4_cjs.getConfig();
10
+ const config = await chunkHVR76UIF_cjs.getConfig();
11
11
  try {
12
- await chunkXFAV5NG6_cjs.prepareHook(config);
13
- chunkDI6PREU4_cjs.exitWithSuccess(config);
12
+ await chunkPRWPYXMH_cjs.prepareHook(config);
13
+ chunkHVR76UIF_cjs.exitWithSuccess(config);
14
14
  } catch (error) {
15
- chunkDI6PREU4_cjs.writeFatal(
15
+ chunkHVR76UIF_cjs.writeFatal(
16
16
  `A fatal error occurred while running the program: ${error.message}`,
17
17
  config
18
18
  );
19
- chunkDI6PREU4_cjs.exitWithError(config);
19
+ chunkHVR76UIF_cjs.exitWithError(config);
20
20
  process.exit(1);
21
21
  }
22
22
  })();
package/bin/prepare.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { prepareHook } from './chunk-KTR6DN32.js';
2
+ import { prepareHook } from './chunk-2QLTCKJS.js';
3
3
  import './chunk-G3YPGVPS.js';
4
- import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
4
+ import { getConfig, exitWithSuccess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
5
5
 
6
6
  // bin/prepare.ts
7
7
  void (async () => {
@@ -2,20 +2,20 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkYHZNDNCW_cjs = require('./chunk-YHZNDNCW.cjs');
5
- var chunkDI6PREU4_cjs = require('./chunk-DI6PREU4.cjs');
5
+ var chunkHVR76UIF_cjs = require('./chunk-HVR76UIF.cjs');
6
6
 
7
7
  // bin/version-warning.ts
8
8
  void (async () => {
9
- const config = await chunkDI6PREU4_cjs.getConfig();
9
+ const config = await chunkHVR76UIF_cjs.getConfig();
10
10
  try {
11
- chunkDI6PREU4_cjs.handleProcess(config);
11
+ chunkHVR76UIF_cjs.handleProcess(config);
12
12
  chunkYHZNDNCW_cjs.checkPackageVersion(process.argv.slice(1));
13
13
  } catch (error) {
14
- chunkDI6PREU4_cjs.writeFatal(
14
+ chunkHVR76UIF_cjs.writeFatal(
15
15
  `A fatal error occurred while running the program: ${error.message}`,
16
16
  config
17
17
  );
18
- chunkDI6PREU4_cjs.exitWithError(config);
18
+ chunkHVR76UIF_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-HBLWPOJV.js';
3
- import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-VFP2YC56.js';
3
+ import { getConfig, handleProcess, writeFatal, exitWithError } from './chunk-5VMV7N3G.js';
4
4
 
5
5
  // bin/version-warning.ts
6
6
  void (async () => {
@@ -2,11 +2,11 @@
2
2
 
3
3
  var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
4
4
  var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
5
- var chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
5
+ var chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
6
6
 
7
7
  // src/hooks/post-merge.ts
8
8
  async function postMergeHook(config, files) {
9
- chunkISLA7CP2_cjs.writeInfo("Running post-merge hook...", config);
9
+ chunkOZEUXY3F_cjs.writeInfo("Running post-merge hook...", config);
10
10
  chunkQCNDIFYQ_cjs.checkPackageVersion(files);
11
11
  try {
12
12
  chunkFJL2V56E_cjs.run(config, "git-lfs version");
@@ -1,5 +1,5 @@
1
1
  import { checkPackageVersion } from './chunk-HMHOHK22.js';
2
- import { writeInfo, writeSuccess } from './chunk-VNHQ67ST.js';
2
+ import { writeInfo, writeSuccess } from './chunk-DHMSMFL3.js';
3
3
  import fs from 'node:fs';
4
4
  import { readFile } from 'node:fs/promises';
5
5
  import path from 'node:path';
@@ -2,7 +2,7 @@
2
2
 
3
3
  var chunk7ZSL4J35_cjs = require('./chunk-7ZSL4J35.cjs');
4
4
  var chunk4VPJA7YJ_cjs = require('./chunk-4VPJA7YJ.cjs');
5
- var chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
5
+ var chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
6
6
  var defu = require('defu');
7
7
  var c12 = require('c12');
8
8
  var fs = require('fs');
@@ -2311,7 +2311,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
2311
2311
  let config2 = result.config;
2312
2312
  const configFile = result.configFile;
2313
2313
  if (config2 && configFile && Object.keys(config2).length > 0 && !config2.skipConfigLogging) {
2314
- chunkISLA7CP2_cjs.writeTrace(
2314
+ chunkOZEUXY3F_cjs.writeTrace(
2315
2315
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
2316
2316
  {
2317
2317
  logLevel: "all"
@@ -2327,7 +2327,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
2327
2327
  for (const result2 of results) {
2328
2328
  if (result2?.config && result2?.configFile && Object.keys(result2.config).length > 0) {
2329
2329
  if (!config2.skipConfigLogging && !result2.config.skipConfigLogging) {
2330
- chunkISLA7CP2_cjs.writeTrace(
2330
+ chunkOZEUXY3F_cjs.writeTrace(
2331
2331
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
2332
2332
  {
2333
2333
  logLevel: "all"
@@ -2425,7 +2425,7 @@ var getConfigEnv = () => {
2425
2425
  },
2426
2426
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
2427
2427
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
2428
- ) ? chunkISLA7CP2_cjs.getLogLevelLabel(
2428
+ ) ? chunkOZEUXY3F_cjs.getLogLevelLabel(
2429
2429
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
2430
2430
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
2431
2431
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
@@ -2792,9 +2792,9 @@ var setConfigEnv = (config2) => {
2792
2792
  process.env[`${prefix}LOG_LEVEL`] = String(config2.logLevel);
2793
2793
  process.env.LOG_LEVEL = String(config2.logLevel);
2794
2794
  process.env.NX_VERBOSE_LOGGING = String(
2795
- chunkISLA7CP2_cjs.getLogLevel(config2.logLevel) >= chunkISLA7CP2_cjs.LogLevel.DEBUG ? true : false
2795
+ chunkOZEUXY3F_cjs.getLogLevel(config2.logLevel) >= chunkOZEUXY3F_cjs.LogLevel.DEBUG ? true : false
2796
2796
  );
2797
- process.env.RUST_BACKTRACE = chunkISLA7CP2_cjs.getLogLevel(config2.logLevel) >= chunkISLA7CP2_cjs.LogLevel.DEBUG ? "full" : "none";
2797
+ process.env.RUST_BACKTRACE = chunkOZEUXY3F_cjs.getLogLevel(config2.logLevel) >= chunkOZEUXY3F_cjs.LogLevel.DEBUG ? "full" : "none";
2798
2798
  }
2799
2799
  if (config2.skipConfigLogging !== void 0) {
2800
2800
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -2939,7 +2939,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
2939
2939
  const configFile = await getConfigFile(_workspaceRoot);
2940
2940
  if (!configFile) {
2941
2941
  if (!skipLogs) {
2942
- chunkISLA7CP2_cjs.writeWarning(
2942
+ chunkOZEUXY3F_cjs.writeWarning(
2943
2943
  "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
2944
2944
  { logLevel: "all" }
2945
2945
  );
@@ -2970,7 +2970,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
2970
2970
  throw new Error(
2971
2971
  `Failed to parse Storm Workspace configuration${error?.message ? `: ${error.message}` : ""}
2972
2972
 
2973
- Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${chunkISLA7CP2_cjs.formatLogMessage(
2973
+ Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${chunkOZEUXY3F_cjs.formatLogMessage(
2974
2974
  configInput
2975
2975
  )}`,
2976
2976
  {
@@ -2997,9 +2997,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
2997
2997
  );
2998
2998
  setConfigEnv(config2);
2999
2999
  if (!skipLogs && !config2.skipConfigLogging) {
3000
- chunkISLA7CP2_cjs.writeTrace(
3000
+ chunkOZEUXY3F_cjs.writeTrace(
3001
3001
  `\u2699\uFE0F Using Storm Workspace configuration:
3002
- ${chunkISLA7CP2_cjs.formatLogMessage(config2)}`,
3002
+ ${chunkOZEUXY3F_cjs.formatLogMessage(config2)}`,
3003
3003
  config2
3004
3004
  );
3005
3005
  }
@@ -98,8 +98,8 @@ var CONSOLE_ICONS = {
98
98
  };
99
99
 
100
100
  // ../config-tools/src/logger/format-timestamp.ts
101
- var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
102
- return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
101
+ var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
102
+ return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
103
103
  };
104
104
 
105
105
  // ../config-tools/src/logger/get-log-level.ts
@@ -159,7 +159,12 @@ var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
159
159
  };
160
160
 
161
161
  // ../config-tools/src/logger/console.ts
162
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
162
+ var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
163
+ const {
164
+ chalk: _chalk = getChalk(),
165
+ fullDateTime = false,
166
+ hideDateTime = false
167
+ } = options;
163
168
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
164
169
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
165
170
  if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
@@ -170,9 +175,7 @@ var getLogFn = (logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
170
175
  return (message) => {
171
176
  console.error(
172
177
  `
173
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
174
- colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal
175
- )(
178
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
176
179
  `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
177
180
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
178
181
  `
@@ -183,9 +186,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
183
186
  return (message) => {
184
187
  console.error(
185
188
  `
186
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
187
- colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger
188
- )(
189
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
189
190
  `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
190
191
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
191
192
  `
@@ -196,9 +197,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
196
197
  return (message) => {
197
198
  console.warn(
198
199
  `
199
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
200
- colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning
201
- )(
200
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
202
201
  `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
203
202
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
204
203
  `
@@ -209,9 +208,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
209
208
  return (message) => {
210
209
  console.info(
211
210
  `
212
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
213
- colors.success ?? DEFAULT_COLOR_CONFIG.dark.success
214
- )(
211
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
215
212
  `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
216
213
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
217
214
  `
@@ -222,9 +219,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
222
219
  return (message) => {
223
220
  console.info(
224
221
  `
225
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
226
- colors.info ?? DEFAULT_COLOR_CONFIG.dark.info
227
- )(
222
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
228
223
  `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
229
224
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
230
225
  `
@@ -235,9 +230,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
235
230
  return (message) => {
236
231
  console.debug(
237
232
  `
238
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
239
- colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance
240
- )(
233
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
241
234
  `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
242
235
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
243
236
  `
@@ -248,9 +241,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
248
241
  return (message) => {
249
242
  console.debug(
250
243
  `
251
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
252
- colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug
253
- )(
244
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
254
245
  `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
255
246
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
256
247
  `
@@ -261,7 +252,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
261
252
  return (message) => {
262
253
  console.debug(
263
254
  `
264
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
255
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
265
256
  `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
266
257
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
267
258
  `
@@ -271,9 +262,7 @@ ${_chalk.gray(formatTimestamp())} ${_chalk.hex("#bbbbbb")(
271
262
  return (message) => {
272
263
  console.log(
273
264
  `
274
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(
275
- colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand
276
- )(
265
+ ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
277
266
  `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
278
267
  )}${_chalk.bold.whiteBright(formatLogMessage(message))}
279
268
  `
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
4
- var chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
4
+ var chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
5
5
 
6
6
  // src/hooks/pre-commit.ts
7
7
  async function preCommitHook(config, files) {
8
- chunkISLA7CP2_cjs.writeInfo("Running pre-commit hook...", config);
8
+ chunkOZEUXY3F_cjs.writeInfo("Running pre-commit hook...", config);
9
9
  chunkQCNDIFYQ_cjs.checkPackageVersion(files);
10
10
  if (chunkQCNDIFYQ_cjs.isPackageVersionChanged(files)) {
11
11
  throw new Error(
@@ -1,5 +1,5 @@
1
1
  import { run } from './chunk-JOPN56T4.js';
2
- import { writeInfo } from './chunk-VNHQ67ST.js';
2
+ import { writeInfo } from './chunk-DHMSMFL3.js';
3
3
 
4
4
  // src/hooks/prepare.ts
5
5
  async function prepareHook(config) {
@@ -2,11 +2,11 @@
2
2
 
3
3
  var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
4
4
  var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
5
- var chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
5
+ var chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
6
6
 
7
7
  // src/hooks/post-commit.ts
8
8
  async function postCommitHook(config, files) {
9
- chunkISLA7CP2_cjs.writeInfo("Running post-commit hook...", config);
9
+ chunkOZEUXY3F_cjs.writeInfo("Running post-commit hook...", config);
10
10
  chunkQCNDIFYQ_cjs.checkPackageVersion(files);
11
11
  try {
12
12
  chunkFJL2V56E_cjs.run(config, "git-lfs version");
@@ -2,11 +2,11 @@
2
2
 
3
3
  var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
4
4
  var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
5
- var chunkISLA7CP2_cjs = require('./chunk-ISLA7CP2.cjs');
5
+ var chunkOZEUXY3F_cjs = require('./chunk-OZEUXY3F.cjs');
6
6
 
7
7
  // src/hooks/post-checkout.ts
8
8
  async function postCheckoutHook(config, files) {
9
- chunkISLA7CP2_cjs.writeInfo("Running post-checkout hook...", config);
9
+ chunkOZEUXY3F_cjs.writeInfo("Running post-checkout hook...", config);
10
10
  chunkQCNDIFYQ_cjs.checkPackageVersion(files);
11
11
  try {
12
12
  chunkFJL2V56E_cjs.run(config, "git-lfs version");
@@ -1,5 +1,5 @@
1
1
  import { run } from './chunk-JOPN56T4.js';
2
- import { writeInfo } from './chunk-VNHQ67ST.js';
2
+ import { writeInfo } from './chunk-DHMSMFL3.js';
3
3
 
4
4
  // src/hooks/pre-install.ts
5
5
  async function preInstallHook(config) {