@storm-software/git-tools 2.89.19 → 2.89.21

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 (69) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-YMPZZ63R.js → chunk-2I5IZB7I.js} +1 -1
  3. package/bin/{chunk-WOZSAFMN.cjs → chunk-4EXZWKXK.cjs} +138 -138
  4. package/bin/{chunk-SDAFIVIF.cjs → chunk-4GTGG7FG.cjs} +11 -11
  5. package/bin/{chunk-UAKVQGZU.cjs → chunk-7FWXX5NN.cjs} +3 -3
  6. package/bin/{chunk-JHLNALI2.js → chunk-7JKZEVN7.js} +7 -7
  7. package/bin/{chunk-MUULUJFG.js → chunk-CZZS5O6X.js} +1 -1
  8. package/bin/{chunk-NHO7HSOE.cjs → chunk-D7E6FHYG.cjs} +32 -32
  9. package/bin/{chunk-43ATVBTN.cjs → chunk-EE6YDWP4.cjs} +44 -44
  10. package/bin/{chunk-EM6PLOYY.cjs → chunk-EVP6BIDZ.cjs} +7 -3
  11. package/bin/{chunk-JMRHG3KS.cjs → chunk-F6YMONH3.cjs} +233 -392
  12. package/bin/{chunk-5ZJZTDLU.js → chunk-FHVPOT6G.js} +1441 -1276
  13. package/bin/{chunk-BXSXKKIZ.cjs → chunk-P2UJ7X76.cjs} +4 -4
  14. package/bin/{chunk-GAD5S6RI.js → chunk-P7LQIJOK.js} +2 -2
  15. package/bin/{chunk-4NALH4AO.js → chunk-PRYU3CEH.js} +2 -2
  16. package/bin/{chunk-3QBEWJXQ.js → chunk-S3A47QIS.js} +2 -2
  17. package/bin/{chunk-4MENWQJO.js → chunk-TYQRCC7E.js} +2 -2
  18. package/bin/{chunk-427CJVMZ.js → chunk-UZIBTESG.js} +1 -1
  19. package/bin/{chunk-TJ5BVZGX.js → chunk-V65N3PBL.js} +2 -2
  20. package/bin/{chunk-C34WMFNS.cjs → chunk-VOJH3O6K.cjs} +40 -40
  21. package/bin/{chunk-6L7OVDLD.cjs → chunk-W4EY6QRJ.cjs} +393 -393
  22. package/bin/{chunk-WS6FE5KD.cjs → chunk-WFAIEAPC.cjs} +3642 -3477
  23. package/bin/{chunk-BNZUDAPR.js → chunk-ZEYLUM4B.js} +94 -253
  24. package/bin/dist-EX76TC3D.js +17570 -0
  25. package/bin/dist-MDJEMGZH.cjs +17584 -0
  26. package/bin/{esm-ADC7HY7G.cjs → esm-SEHCMT4E.cjs} +46 -46
  27. package/bin/{esm-PISMAGAM.js → esm-UXKHSPHY.js} +1 -1
  28. package/bin/git.cjs +4316 -4073
  29. package/bin/git.js +404 -161
  30. package/bin/json5-E6MR7H4J.cjs +10 -0
  31. package/bin/json5-HE6DANEW.js +10 -0
  32. package/bin/jsonc-CWW22DWU.cjs +15 -0
  33. package/bin/{jsonc-CHJ3SQ64.js → jsonc-TLFMS47G.js} +3 -3
  34. package/bin/{multipart-parser-QOE3NE7W.js → multipart-parser-KCGB6E6J.js} +4 -4
  35. package/bin/{multipart-parser-CN3QNGEE.cjs → multipart-parser-S4YB5ALJ.cjs} +13 -13
  36. package/bin/post-checkout.cjs +22 -22
  37. package/bin/post-checkout.js +10 -10
  38. package/bin/post-commit.cjs +22 -22
  39. package/bin/post-commit.js +10 -10
  40. package/bin/post-merge.cjs +22 -22
  41. package/bin/post-merge.js +10 -10
  42. package/bin/pre-commit.cjs +20 -20
  43. package/bin/pre-commit.js +9 -9
  44. package/bin/pre-install.cjs +19 -19
  45. package/bin/pre-install.js +9 -9
  46. package/bin/pre-push.cjs +27 -27
  47. package/bin/pre-push.js +10 -10
  48. package/bin/prepare.cjs +17 -17
  49. package/bin/prepare.js +9 -9
  50. package/bin/toml-PO23EX2W.js +10 -0
  51. package/bin/toml-TV5QPP5J.cjs +10 -0
  52. package/bin/version-warning.cjs +15 -15
  53. package/bin/version-warning.js +9 -9
  54. package/bin/yaml-NB7XNCSN.js +10 -0
  55. package/bin/yaml-WOAAZHQN.cjs +10 -0
  56. package/package.json +1 -1
  57. package/bin/chunk-EDTRL3GR.cjs +0 -259
  58. package/bin/chunk-K7RQNYFN.js +0 -259
  59. package/bin/dist-GN3JYRFA.js +0 -17570
  60. package/bin/dist-ZUU4T6MR.cjs +0 -17571
  61. package/bin/execa-45OZD4HI.js +0 -2174
  62. package/bin/execa-E3LSHKN4.cjs +0 -2174
  63. package/bin/json5-MEVIN4CB.cjs +0 -10
  64. package/bin/json5-VNZS6NRW.js +0 -10
  65. package/bin/jsonc-Q2LSC5PJ.cjs +0 -15
  66. package/bin/toml-24JQBPT6.cjs +0 -10
  67. package/bin/toml-5RFTLUCR.js +0 -10
  68. package/bin/yaml-76CIIR2C.cjs +0 -10
  69. package/bin/yaml-MEEY2W2C.js +0 -10
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-YMPZZ63R.js";
4
+ } from "./chunk-2I5IZB7I.js";
5
5
  import {
6
6
  exitWithError,
7
7
  exitWithSuccess,
@@ -9,16 +9,16 @@ import {
9
9
  handleProcess,
10
10
  writeFatal,
11
11
  writeInfo
12
- } from "./chunk-5ZJZTDLU.js";
13
- import "./chunk-BNZUDAPR.js";
14
- import "./chunk-4NALH4AO.js";
15
- import "./chunk-3QBEWJXQ.js";
16
- import "./chunk-GAD5S6RI.js";
17
- import "./chunk-4MENWQJO.js";
18
- import "./chunk-MUULUJFG.js";
12
+ } from "./chunk-FHVPOT6G.js";
13
+ import "./chunk-ZEYLUM4B.js";
14
+ import "./chunk-PRYU3CEH.js";
15
+ import "./chunk-S3A47QIS.js";
16
+ import "./chunk-P7LQIJOK.js";
17
+ import "./chunk-TYQRCC7E.js";
18
+ import "./chunk-CZZS5O6X.js";
19
19
  import {
20
20
  init_esm_shims
21
- } from "./chunk-TJ5BVZGX.js";
21
+ } from "./chunk-V65N3PBL.js";
22
22
 
23
23
  // bin/pre-install.ts
24
24
  init_esm_shims();
package/bin/pre-push.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict"; function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
3
3
 
4
- var _chunkBXSXKKIZcjs = require('./chunk-BXSXKKIZ.cjs');
4
+ var _chunkP2UJ7X76cjs = require('./chunk-P2UJ7X76.cjs');
5
5
 
6
6
 
7
- var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
7
+ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
8
8
 
9
9
 
10
10
 
@@ -14,29 +14,29 @@ var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkWS6FE5KDcjs = require('./chunk-WS6FE5KD.cjs');
18
- require('./chunk-JMRHG3KS.cjs');
19
- require('./chunk-NHO7HSOE.cjs');
20
- require('./chunk-WOZSAFMN.cjs');
21
- require('./chunk-C34WMFNS.cjs');
22
- require('./chunk-43ATVBTN.cjs');
23
- require('./chunk-SDAFIVIF.cjs');
17
+ var _chunkWFAIEAPCcjs = require('./chunk-WFAIEAPC.cjs');
18
+ require('./chunk-F6YMONH3.cjs');
19
+ require('./chunk-D7E6FHYG.cjs');
20
+ require('./chunk-4EXZWKXK.cjs');
21
+ require('./chunk-VOJH3O6K.cjs');
22
+ require('./chunk-EE6YDWP4.cjs');
23
+ require('./chunk-4GTGG7FG.cjs');
24
24
 
25
25
 
26
- var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
26
+ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
27
27
 
28
28
  // bin/pre-push.ts
29
- _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
29
+ _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
30
30
  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 _chunkWS6FE5KDcjs.getConfig.call(void 0, );
34
+ const config = await _chunkWFAIEAPCcjs.getConfig.call(void 0, );
35
35
  try {
36
- _chunkWS6FE5KDcjs.handleProcess.call(void 0, config);
37
- _chunkWS6FE5KDcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
38
- _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
39
- _chunkWS6FE5KDcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
36
+ _chunkWFAIEAPCcjs.handleProcess.call(void 0, config);
37
+ _chunkWFAIEAPCcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
38
+ _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
39
+ _chunkWFAIEAPCcjs.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
- _chunkWS6FE5KDcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
61
+ _chunkWFAIEAPCcjs.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
- _chunkWS6FE5KDcjs.exitWithError.call(void 0, config);
65
+ _chunkWFAIEAPCcjs.exitWithError.call(void 0, config);
66
66
  }
67
- _chunkWS6FE5KDcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
68
- _chunkUAKVQGZUcjs.run.call(void 0, config, "git lfs pre-push origin");
67
+ _chunkWFAIEAPCcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
68
+ _chunk7FWXX5NNcjs.run.call(void 0, config, "git lfs pre-push origin");
69
69
  try {
70
- _chunkUAKVQGZUcjs.run.call(void 0, config, "git-lfs version");
70
+ _chunk7FWXX5NNcjs.run.call(void 0, config, "git-lfs version");
71
71
  } catch (error) {
72
- _chunkWS6FE5KDcjs.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
+ _chunkWFAIEAPCcjs.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
- _chunkWS6FE5KDcjs.exitWithError.call(void 0, config);
74
+ _chunkWFAIEAPCcjs.exitWithError.call(void 0, config);
75
75
  }
76
- _chunkUAKVQGZUcjs.run.call(void 0, config, "git lfs pre-push origin");
77
- _chunkWS6FE5KDcjs.exitWithSuccess.call(void 0, config);
76
+ _chunk7FWXX5NNcjs.run.call(void 0, config, "git lfs pre-push origin");
77
+ _chunkWFAIEAPCcjs.exitWithSuccess.call(void 0, config);
78
78
  } catch (error) {
79
- _chunkWS6FE5KDcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
- _chunkWS6FE5KDcjs.exitWithError.call(void 0, config);
79
+ _chunkWFAIEAPCcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
+ _chunkWFAIEAPCcjs.exitWithError.call(void 0, config);
81
81
  process.exit(1);
82
82
  }
83
83
  })();
package/bin/pre-push.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  checkPackageVersion
4
- } from "./chunk-427CJVMZ.js";
4
+ } from "./chunk-UZIBTESG.js";
5
5
  import {
6
6
  run
7
- } from "./chunk-YMPZZ63R.js";
7
+ } from "./chunk-2I5IZB7I.js";
8
8
  import {
9
9
  exitWithError,
10
10
  exitWithSuccess,
@@ -14,16 +14,16 @@ import {
14
14
  writeFatal,
15
15
  writeInfo,
16
16
  writeSuccess
17
- } from "./chunk-5ZJZTDLU.js";
18
- import "./chunk-BNZUDAPR.js";
19
- import "./chunk-4NALH4AO.js";
20
- import "./chunk-3QBEWJXQ.js";
21
- import "./chunk-GAD5S6RI.js";
22
- import "./chunk-4MENWQJO.js";
23
- import "./chunk-MUULUJFG.js";
17
+ } from "./chunk-FHVPOT6G.js";
18
+ import "./chunk-ZEYLUM4B.js";
19
+ import "./chunk-PRYU3CEH.js";
20
+ import "./chunk-S3A47QIS.js";
21
+ import "./chunk-P7LQIJOK.js";
22
+ import "./chunk-TYQRCC7E.js";
23
+ import "./chunk-CZZS5O6X.js";
24
24
  import {
25
25
  init_esm_shims
26
- } from "./chunk-TJ5BVZGX.js";
26
+ } from "./chunk-V65N3PBL.js";
27
27
 
28
28
  // bin/pre-push.ts
29
29
  init_esm_shims();
package/bin/prepare.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
 
4
- var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
4
+ var _chunk7FWXX5NNcjs = require('./chunk-7FWXX5NN.cjs');
5
5
 
6
6
 
7
7
 
@@ -9,31 +9,31 @@ var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunkWS6FE5KDcjs = require('./chunk-WS6FE5KD.cjs');
13
- require('./chunk-JMRHG3KS.cjs');
14
- require('./chunk-NHO7HSOE.cjs');
15
- require('./chunk-WOZSAFMN.cjs');
16
- require('./chunk-C34WMFNS.cjs');
17
- require('./chunk-43ATVBTN.cjs');
18
- require('./chunk-SDAFIVIF.cjs');
12
+ var _chunkWFAIEAPCcjs = require('./chunk-WFAIEAPC.cjs');
13
+ require('./chunk-F6YMONH3.cjs');
14
+ require('./chunk-D7E6FHYG.cjs');
15
+ require('./chunk-4EXZWKXK.cjs');
16
+ require('./chunk-VOJH3O6K.cjs');
17
+ require('./chunk-EE6YDWP4.cjs');
18
+ require('./chunk-4GTGG7FG.cjs');
19
19
 
20
20
 
21
- var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
21
+ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
22
22
 
23
23
  // bin/prepare.ts
24
- _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
24
+ _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunkWS6FE5KDcjs.getConfig.call(void 0, );
26
+ const config = await _chunkWFAIEAPCcjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkWS6FE5KDcjs.handleProcess.call(void 0, config);
29
- _chunkWS6FE5KDcjs.writeInfo.call(void 0, "Running prepare hook...", config);
28
+ _chunkWFAIEAPCcjs.handleProcess.call(void 0, config);
29
+ _chunkWFAIEAPCcjs.writeInfo.call(void 0, "Running prepare hook...", config);
30
30
  if (!process.env.CI && !process.env.STORM_CI) {
31
- _chunkUAKVQGZUcjs.run.call(void 0, config, "lefthook install");
31
+ _chunk7FWXX5NNcjs.run.call(void 0, config, "lefthook install");
32
32
  }
33
- _chunkWS6FE5KDcjs.exitWithSuccess.call(void 0, config);
33
+ _chunkWFAIEAPCcjs.exitWithSuccess.call(void 0, config);
34
34
  } catch (error) {
35
- _chunkWS6FE5KDcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
- _chunkWS6FE5KDcjs.exitWithError.call(void 0, config);
35
+ _chunkWFAIEAPCcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
+ _chunkWFAIEAPCcjs.exitWithError.call(void 0, config);
37
37
  process.exit(1);
38
38
  }
39
39
  })();
package/bin/prepare.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-YMPZZ63R.js";
4
+ } from "./chunk-2I5IZB7I.js";
5
5
  import {
6
6
  exitWithError,
7
7
  exitWithSuccess,
@@ -9,16 +9,16 @@ import {
9
9
  handleProcess,
10
10
  writeFatal,
11
11
  writeInfo
12
- } from "./chunk-5ZJZTDLU.js";
13
- import "./chunk-BNZUDAPR.js";
14
- import "./chunk-4NALH4AO.js";
15
- import "./chunk-3QBEWJXQ.js";
16
- import "./chunk-GAD5S6RI.js";
17
- import "./chunk-4MENWQJO.js";
18
- import "./chunk-MUULUJFG.js";
12
+ } from "./chunk-FHVPOT6G.js";
13
+ import "./chunk-ZEYLUM4B.js";
14
+ import "./chunk-PRYU3CEH.js";
15
+ import "./chunk-S3A47QIS.js";
16
+ import "./chunk-P7LQIJOK.js";
17
+ import "./chunk-TYQRCC7E.js";
18
+ import "./chunk-CZZS5O6X.js";
19
19
  import {
20
20
  init_esm_shims
21
- } from "./chunk-TJ5BVZGX.js";
21
+ } from "./chunk-V65N3PBL.js";
22
22
 
23
23
  // bin/prepare.ts
24
24
  init_esm_shims();
@@ -0,0 +1,10 @@
1
+ import {
2
+ ae,
3
+ ue
4
+ } from "./chunk-P7LQIJOK.js";
5
+ import "./chunk-CZZS5O6X.js";
6
+ import "./chunk-V65N3PBL.js";
7
+ export {
8
+ ae as parseTOML,
9
+ ue as stringifyTOML
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkVOJH3O6Kcjs = require('./chunk-VOJH3O6K.cjs');
5
+ require('./chunk-4GTGG7FG.cjs');
6
+ require('./chunk-EVP6BIDZ.cjs');
7
+
8
+
9
+
10
+ exports.parseTOML = _chunkVOJH3O6Kcjs.ae; exports.stringifyTOML = _chunkVOJH3O6Kcjs.ue;
@@ -1,33 +1,33 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
3
 
4
- var _chunkBXSXKKIZcjs = require('./chunk-BXSXKKIZ.cjs');
4
+ var _chunkP2UJ7X76cjs = require('./chunk-P2UJ7X76.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkWS6FE5KDcjs = require('./chunk-WS6FE5KD.cjs');
11
- require('./chunk-JMRHG3KS.cjs');
12
- require('./chunk-NHO7HSOE.cjs');
13
- require('./chunk-WOZSAFMN.cjs');
14
- require('./chunk-C34WMFNS.cjs');
15
- require('./chunk-43ATVBTN.cjs');
16
- require('./chunk-SDAFIVIF.cjs');
10
+ var _chunkWFAIEAPCcjs = require('./chunk-WFAIEAPC.cjs');
11
+ require('./chunk-F6YMONH3.cjs');
12
+ require('./chunk-D7E6FHYG.cjs');
13
+ require('./chunk-4EXZWKXK.cjs');
14
+ require('./chunk-VOJH3O6K.cjs');
15
+ require('./chunk-EE6YDWP4.cjs');
16
+ require('./chunk-4GTGG7FG.cjs');
17
17
 
18
18
 
19
- var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
19
+ var _chunkEVP6BIDZcjs = require('./chunk-EVP6BIDZ.cjs');
20
20
 
21
21
  // bin/version-warning.ts
22
- _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
22
+ _chunkEVP6BIDZcjs.init_cjs_shims.call(void 0, );
23
23
  void (async () => {
24
- const config = await _chunkWS6FE5KDcjs.getConfig.call(void 0, );
24
+ const config = await _chunkWFAIEAPCcjs.getConfig.call(void 0, );
25
25
  try {
26
- _chunkWS6FE5KDcjs.handleProcess.call(void 0, config);
27
- _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
26
+ _chunkWFAIEAPCcjs.handleProcess.call(void 0, config);
27
+ _chunkP2UJ7X76cjs.checkPackageVersion.call(void 0, process.argv.slice(1));
28
28
  } catch (error) {
29
- _chunkWS6FE5KDcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
- _chunkWS6FE5KDcjs.exitWithError.call(void 0, config);
29
+ _chunkWFAIEAPCcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
+ _chunkWFAIEAPCcjs.exitWithError.call(void 0, config);
31
31
  process.exit(1);
32
32
  }
33
33
  })();
@@ -1,22 +1,22 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  checkPackageVersion
4
- } from "./chunk-427CJVMZ.js";
4
+ } from "./chunk-UZIBTESG.js";
5
5
  import {
6
6
  exitWithError,
7
7
  getConfig,
8
8
  handleProcess,
9
9
  writeFatal
10
- } from "./chunk-5ZJZTDLU.js";
11
- import "./chunk-BNZUDAPR.js";
12
- import "./chunk-4NALH4AO.js";
13
- import "./chunk-3QBEWJXQ.js";
14
- import "./chunk-GAD5S6RI.js";
15
- import "./chunk-4MENWQJO.js";
16
- import "./chunk-MUULUJFG.js";
10
+ } from "./chunk-FHVPOT6G.js";
11
+ import "./chunk-ZEYLUM4B.js";
12
+ import "./chunk-PRYU3CEH.js";
13
+ import "./chunk-S3A47QIS.js";
14
+ import "./chunk-P7LQIJOK.js";
15
+ import "./chunk-TYQRCC7E.js";
16
+ import "./chunk-CZZS5O6X.js";
17
17
  import {
18
18
  init_esm_shims
19
- } from "./chunk-TJ5BVZGX.js";
19
+ } from "./chunk-V65N3PBL.js";
20
20
 
21
21
  // bin/version-warning.ts
22
22
  init_esm_shims();
@@ -0,0 +1,10 @@
1
+ import {
2
+ Ar,
3
+ vr
4
+ } from "./chunk-S3A47QIS.js";
5
+ import "./chunk-CZZS5O6X.js";
6
+ import "./chunk-V65N3PBL.js";
7
+ export {
8
+ Ar as parseYAML,
9
+ vr as stringifyYAML
10
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunk4EXZWKXKcjs = require('./chunk-4EXZWKXK.cjs');
5
+ require('./chunk-4GTGG7FG.cjs');
6
+ require('./chunk-EVP6BIDZ.cjs');
7
+
8
+
9
+
10
+ exports.parseYAML = _chunk4EXZWKXKcjs.Ar; exports.stringifyYAML = _chunk4EXZWKXKcjs.vr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.89.19",
3
+ "version": "2.89.21",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {
@@ -1,259 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
-
3
-
4
- var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
5
-
6
- // ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
7
- _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
8
-
9
- // ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/signals.js
10
- _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
11
- var signals = [];
12
- signals.push("SIGHUP", "SIGINT", "SIGTERM");
13
- if (process.platform !== "win32") {
14
- signals.push("SIGALRM", "SIGABRT", "SIGVTALRM", "SIGXCPU", "SIGXFSZ", "SIGUSR2", "SIGTRAP", "SIGSYS", "SIGQUIT", "SIGIOT");
15
- }
16
- if (process.platform === "linux") {
17
- signals.push("SIGIO", "SIGPOLL", "SIGPWR", "SIGSTKFLT");
18
- }
19
-
20
- // ../../node_modules/.pnpm/signal-exit@4.1.0/node_modules/signal-exit/dist/mjs/index.js
21
- var processOk = /* @__PURE__ */ _chunkEM6PLOYYcjs.__name.call(void 0, (process3) => !!process3 && typeof process3 === "object" && typeof process3.removeListener === "function" && typeof process3.emit === "function" && typeof process3.reallyExit === "function" && typeof process3.listeners === "function" && typeof process3.kill === "function" && typeof process3.pid === "number" && typeof process3.on === "function", "processOk");
22
- var kExitEmitter = Symbol.for("signal-exit emitter");
23
- var global = globalThis;
24
- var ObjectDefineProperty = Object.defineProperty.bind(Object);
25
- var Emitter = (_class = class Emitter2 {
26
- static {
27
- _chunkEM6PLOYYcjs.__name.call(void 0, this, "Emitter");
28
- }
29
- __init() {this.emitted = {
30
- afterExit: false,
31
- exit: false
32
- }}
33
- __init2() {this.listeners = {
34
- afterExit: [],
35
- exit: []
36
- }}
37
- __init3() {this.count = 0}
38
- __init4() {this.id = Math.random()}
39
- constructor() {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);
40
- if (global[kExitEmitter]) {
41
- return global[kExitEmitter];
42
- }
43
- ObjectDefineProperty(global, kExitEmitter, {
44
- value: this,
45
- writable: false,
46
- enumerable: false,
47
- configurable: false
48
- });
49
- }
50
- on(ev, fn) {
51
- this.listeners[ev].push(fn);
52
- }
53
- removeListener(ev, fn) {
54
- const list = this.listeners[ev];
55
- const i = list.indexOf(fn);
56
- if (i === -1) {
57
- return;
58
- }
59
- if (i === 0 && list.length === 1) {
60
- list.length = 0;
61
- } else {
62
- list.splice(i, 1);
63
- }
64
- }
65
- emit(ev, code, signal) {
66
- if (this.emitted[ev]) {
67
- return false;
68
- }
69
- this.emitted[ev] = true;
70
- let ret = false;
71
- for (const fn of this.listeners[ev]) {
72
- ret = fn(code, signal) === true || ret;
73
- }
74
- if (ev === "exit") {
75
- ret = this.emit("afterExit", code, signal) || ret;
76
- }
77
- return ret;
78
- }
79
- }, _class);
80
- var SignalExitBase = class SignalExitBase2 {
81
- static {
82
- _chunkEM6PLOYYcjs.__name.call(void 0, this, "SignalExitBase");
83
- }
84
- };
85
- var signalExitWrap = /* @__PURE__ */ _chunkEM6PLOYYcjs.__name.call(void 0, (handler) => {
86
- return {
87
- onExit(cb, opts) {
88
- return handler.onExit(cb, opts);
89
- },
90
- load() {
91
- return handler.load();
92
- },
93
- unload() {
94
- return handler.unload();
95
- }
96
- };
97
- }, "signalExitWrap");
98
- var SignalExitFallback = class SignalExitFallback2 extends SignalExitBase {
99
- static {
100
- _chunkEM6PLOYYcjs.__name.call(void 0, this, "SignalExitFallback");
101
- }
102
- onExit() {
103
- return () => {
104
- };
105
- }
106
- load() {
107
- }
108
- unload() {
109
- }
110
- };
111
- var SignalExit = class SignalExit2 extends SignalExitBase {
112
- static {
113
- _chunkEM6PLOYYcjs.__name.call(void 0, this, "SignalExit");
114
- }
115
- // "SIGHUP" throws an `ENOSYS` error on Windows,
116
- // so use a supported signal instead
117
- /* c8 ignore start */
118
- #hupSig = process2.platform === "win32" ? "SIGINT" : "SIGHUP";
119
- /* c8 ignore stop */
120
- #emitter = new Emitter();
121
- #process;
122
- #originalProcessEmit;
123
- #originalProcessReallyExit;
124
- #sigListeners = {};
125
- #loaded = false;
126
- constructor(process3) {
127
- super();
128
- this.#process = process3;
129
- this.#sigListeners = {};
130
- for (const sig of signals) {
131
- this.#sigListeners[sig] = () => {
132
- const listeners = this.#process.listeners(sig);
133
- let { count } = this.#emitter;
134
- const p = process3;
135
- if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
136
- count += p.__signal_exit_emitter__.count;
137
- }
138
- if (listeners.length === count) {
139
- this.unload();
140
- const ret = this.#emitter.emit("exit", null, sig);
141
- const s = sig === "SIGHUP" ? this.#hupSig : sig;
142
- if (!ret) process3.kill(process3.pid, s);
143
- }
144
- };
145
- }
146
- this.#originalProcessReallyExit = process3.reallyExit;
147
- this.#originalProcessEmit = process3.emit;
148
- }
149
- onExit(cb, opts) {
150
- if (!processOk(this.#process)) {
151
- return () => {
152
- };
153
- }
154
- if (this.#loaded === false) {
155
- this.load();
156
- }
157
- const ev = _optionalChain([opts, 'optionalAccess', _2 => _2.alwaysLast]) ? "afterExit" : "exit";
158
- this.#emitter.on(ev, cb);
159
- return () => {
160
- this.#emitter.removeListener(ev, cb);
161
- if (this.#emitter.listeners["exit"].length === 0 && this.#emitter.listeners["afterExit"].length === 0) {
162
- this.unload();
163
- }
164
- };
165
- }
166
- load() {
167
- if (this.#loaded) {
168
- return;
169
- }
170
- this.#loaded = true;
171
- this.#emitter.count += 1;
172
- for (const sig of signals) {
173
- try {
174
- const fn = this.#sigListeners[sig];
175
- if (fn) this.#process.on(sig, fn);
176
- } catch (_) {
177
- }
178
- }
179
- this.#process.emit = (ev, ...a) => {
180
- return this.#processEmit(ev, ...a);
181
- };
182
- this.#process.reallyExit = (code) => {
183
- return this.#processReallyExit(code);
184
- };
185
- }
186
- unload() {
187
- if (!this.#loaded) {
188
- return;
189
- }
190
- this.#loaded = false;
191
- signals.forEach((sig) => {
192
- const listener = this.#sigListeners[sig];
193
- if (!listener) {
194
- throw new Error("Listener not defined for signal: " + sig);
195
- }
196
- try {
197
- this.#process.removeListener(sig, listener);
198
- } catch (_) {
199
- }
200
- });
201
- this.#process.emit = this.#originalProcessEmit;
202
- this.#process.reallyExit = this.#originalProcessReallyExit;
203
- this.#emitter.count -= 1;
204
- }
205
- #processReallyExit(code) {
206
- if (!processOk(this.#process)) {
207
- return 0;
208
- }
209
- this.#process.exitCode = code || 0;
210
- this.#emitter.emit("exit", this.#process.exitCode, null);
211
- return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
212
- }
213
- #processEmit(ev, ...args) {
214
- const og = this.#originalProcessEmit;
215
- if (ev === "exit" && processOk(this.#process)) {
216
- if (typeof args[0] === "number") {
217
- this.#process.exitCode = args[0];
218
- }
219
- const ret = og.call(this.#process, ev, ...args);
220
- this.#emitter.emit("exit", this.#process.exitCode, null);
221
- return ret;
222
- } else {
223
- return og.call(this.#process, ev, ...args);
224
- }
225
- }
226
- };
227
- var process2 = globalThis.process;
228
- var {
229
- /**
230
- * Called when the process is exiting, whether via signal, explicit
231
- * exit, or running out of stuff to do.
232
- *
233
- * If the global process object is not suitable for instrumentation,
234
- * then this will be a no-op.
235
- *
236
- * Returns a function that may be used to unload signal-exit.
237
- */
238
- onExit,
239
- /**
240
- * Load the listeners. Likely you never need to call this, unless
241
- * doing a rather deep integration with signal-exit functionality.
242
- * Mostly exposed for the benefit of testing.
243
- *
244
- * @internal
245
- */
246
- load,
247
- /**
248
- * Unload the listeners. Likely you never need to call this, unless
249
- * doing a rather deep integration with signal-exit functionality.
250
- * Mostly exposed for the benefit of testing.
251
- *
252
- * @internal
253
- */
254
- unload
255
- } = signalExitWrap(processOk(process2) ? new SignalExit(process2) : new SignalExitFallback());
256
-
257
-
258
-
259
- exports.onExit = onExit;