@storm-software/git-tools 2.89.15 → 2.89.16

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.
@@ -11,7 +11,7 @@ var _chunkBXSXKKIZcjs = require('./chunk-BXSXKKIZ.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunk6LPSSJ6Acjs = require('./chunk-6LPSSJ6A.cjs');
14
+ var _chunkDEGLIS62cjs = require('./chunk-DEGLIS62.cjs');
15
15
  require('./chunk-JMRHG3KS.cjs');
16
16
  require('./chunk-NHO7HSOE.cjs');
17
17
  require('./chunk-WOZSAFMN.cjs');
@@ -25,19 +25,19 @@ var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
25
25
  // bin/pre-commit.ts
26
26
  _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
27
27
  void (async () => {
28
- const config = await _chunk6LPSSJ6Acjs.getConfig.call(void 0, );
28
+ const config = await _chunkDEGLIS62cjs.getConfig.call(void 0, );
29
29
  try {
30
- _chunk6LPSSJ6Acjs.handleProcess.call(void 0, config);
31
- _chunk6LPSSJ6Acjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
30
+ _chunkDEGLIS62cjs.handleProcess.call(void 0, config);
31
+ _chunkDEGLIS62cjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
32
32
  _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
33
33
  if (_chunkBXSXKKIZcjs.isPackageVersionChanged.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]))) {
34
- _chunk6LPSSJ6Acjs.writeError.call(void 0, "Please regenerate the package lock file before committing...", config);
35
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
34
+ _chunkDEGLIS62cjs.writeError.call(void 0, "Please regenerate the package lock file before committing...", config);
35
+ _chunkDEGLIS62cjs.exitWithError.call(void 0, config);
36
36
  }
37
- _chunk6LPSSJ6Acjs.exitWithSuccess.call(void 0, config);
37
+ _chunkDEGLIS62cjs.exitWithSuccess.call(void 0, config);
38
38
  } catch (error) {
39
- _chunk6LPSSJ6Acjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
40
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
39
+ _chunkDEGLIS62cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
40
+ _chunkDEGLIS62cjs.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-4NEXKJH5.js";
14
+ } from "./chunk-OLYGBFVX.js";
15
15
  import "./chunk-BNZUDAPR.js";
16
16
  import "./chunk-4NALH4AO.js";
17
17
  import "./chunk-3QBEWJXQ.js";
@@ -9,7 +9,7 @@ var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunk6LPSSJ6Acjs = require('./chunk-6LPSSJ6A.cjs');
12
+ var _chunkDEGLIS62cjs = require('./chunk-DEGLIS62.cjs');
13
13
  require('./chunk-JMRHG3KS.cjs');
14
14
  require('./chunk-NHO7HSOE.cjs');
15
15
  require('./chunk-WOZSAFMN.cjs');
@@ -23,19 +23,19 @@ var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
23
23
  // bin/pre-install.ts
24
24
  _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunk6LPSSJ6Acjs.getConfig.call(void 0, );
26
+ const config = await _chunkDEGLIS62cjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunk6LPSSJ6Acjs.handleProcess.call(void 0, config);
29
- _chunk6LPSSJ6Acjs.writeInfo.call(void 0, "Running pre-install hook...", config);
28
+ _chunkDEGLIS62cjs.handleProcess.call(void 0, config);
29
+ _chunkDEGLIS62cjs.writeInfo.call(void 0, "Running pre-install hook...", config);
30
30
  if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
31
- _chunk6LPSSJ6Acjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
- _chunk6LPSSJ6Acjs.exitWithSuccess.call(void 0, config);
31
+ _chunkDEGLIS62cjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
+ _chunkDEGLIS62cjs.exitWithSuccess.call(void 0, config);
33
33
  }
34
34
  _chunkUAKVQGZUcjs.run.call(void 0, config, "npx -y only-allow pnpm");
35
- _chunk6LPSSJ6Acjs.exitWithSuccess.call(void 0, config);
35
+ _chunkDEGLIS62cjs.exitWithSuccess.call(void 0, config);
36
36
  } catch (error) {
37
- _chunk6LPSSJ6Acjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
38
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
37
+ _chunkDEGLIS62cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
38
+ _chunkDEGLIS62cjs.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-4NEXKJH5.js";
12
+ } from "./chunk-OLYGBFVX.js";
13
13
  import "./chunk-BNZUDAPR.js";
14
14
  import "./chunk-4NALH4AO.js";
15
15
  import "./chunk-3QBEWJXQ.js";
package/bin/pre-push.cjs CHANGED
@@ -14,7 +14,7 @@ var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunk6LPSSJ6Acjs = require('./chunk-6LPSSJ6A.cjs');
17
+ var _chunkDEGLIS62cjs = require('./chunk-DEGLIS62.cjs');
18
18
  require('./chunk-JMRHG3KS.cjs');
19
19
  require('./chunk-NHO7HSOE.cjs');
20
20
  require('./chunk-WOZSAFMN.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 _chunk6LPSSJ6Acjs.getConfig.call(void 0, );
34
+ const config = await _chunkDEGLIS62cjs.getConfig.call(void 0, );
35
35
  try {
36
- _chunk6LPSSJ6Acjs.handleProcess.call(void 0, config);
37
- _chunk6LPSSJ6Acjs.writeInfo.call(void 0, "Running pre-push hook...", config);
36
+ _chunkDEGLIS62cjs.handleProcess.call(void 0, config);
37
+ _chunkDEGLIS62cjs.writeInfo.call(void 0, "Running pre-push hook...", config);
38
38
  _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
39
- _chunk6LPSSJ6Acjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
39
+ _chunkDEGLIS62cjs.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
- _chunk6LPSSJ6Acjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
61
+ _chunkDEGLIS62cjs.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
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
65
+ _chunkDEGLIS62cjs.exitWithError.call(void 0, config);
66
66
  }
67
- _chunk6LPSSJ6Acjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
67
+ _chunkDEGLIS62cjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
68
68
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git lfs pre-push origin");
69
69
  try {
70
70
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git-lfs version");
71
71
  } catch (error) {
72
- _chunk6LPSSJ6Acjs.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
+ _chunkDEGLIS62cjs.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
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
74
+ _chunkDEGLIS62cjs.exitWithError.call(void 0, config);
75
75
  }
76
76
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git lfs pre-push origin");
77
- _chunk6LPSSJ6Acjs.exitWithSuccess.call(void 0, config);
77
+ _chunkDEGLIS62cjs.exitWithSuccess.call(void 0, config);
78
78
  } catch (error) {
79
- _chunk6LPSSJ6Acjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
79
+ _chunkDEGLIS62cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
+ _chunkDEGLIS62cjs.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-4NEXKJH5.js";
17
+ } from "./chunk-OLYGBFVX.js";
18
18
  import "./chunk-BNZUDAPR.js";
19
19
  import "./chunk-4NALH4AO.js";
20
20
  import "./chunk-3QBEWJXQ.js";
package/bin/prepare.cjs CHANGED
@@ -9,7 +9,7 @@ var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
9
9
 
10
10
 
11
11
 
12
- var _chunk6LPSSJ6Acjs = require('./chunk-6LPSSJ6A.cjs');
12
+ var _chunkDEGLIS62cjs = require('./chunk-DEGLIS62.cjs');
13
13
  require('./chunk-JMRHG3KS.cjs');
14
14
  require('./chunk-NHO7HSOE.cjs');
15
15
  require('./chunk-WOZSAFMN.cjs');
@@ -23,17 +23,17 @@ var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
23
23
  // bin/prepare.ts
24
24
  _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
25
25
  void (async () => {
26
- const config = await _chunk6LPSSJ6Acjs.getConfig.call(void 0, );
26
+ const config = await _chunkDEGLIS62cjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunk6LPSSJ6Acjs.handleProcess.call(void 0, config);
29
- _chunk6LPSSJ6Acjs.writeInfo.call(void 0, "Running prepare hook...", config);
28
+ _chunkDEGLIS62cjs.handleProcess.call(void 0, config);
29
+ _chunkDEGLIS62cjs.writeInfo.call(void 0, "Running prepare hook...", config);
30
30
  if (!process.env.CI && !process.env.STORM_CI) {
31
31
  _chunkUAKVQGZUcjs.run.call(void 0, config, "lefthook install");
32
32
  }
33
- _chunk6LPSSJ6Acjs.exitWithSuccess.call(void 0, config);
33
+ _chunkDEGLIS62cjs.exitWithSuccess.call(void 0, config);
34
34
  } catch (error) {
35
- _chunk6LPSSJ6Acjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
35
+ _chunkDEGLIS62cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
+ _chunkDEGLIS62cjs.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-4NEXKJH5.js";
12
+ } from "./chunk-OLYGBFVX.js";
13
13
  import "./chunk-BNZUDAPR.js";
14
14
  import "./chunk-4NALH4AO.js";
15
15
  import "./chunk-3QBEWJXQ.js";
@@ -7,7 +7,7 @@ var _chunkBXSXKKIZcjs = require('./chunk-BXSXKKIZ.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunk6LPSSJ6Acjs = require('./chunk-6LPSSJ6A.cjs');
10
+ var _chunkDEGLIS62cjs = require('./chunk-DEGLIS62.cjs');
11
11
  require('./chunk-JMRHG3KS.cjs');
12
12
  require('./chunk-NHO7HSOE.cjs');
13
13
  require('./chunk-WOZSAFMN.cjs');
@@ -21,13 +21,13 @@ var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
21
21
  // bin/version-warning.ts
22
22
  _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
23
23
  void (async () => {
24
- const config = await _chunk6LPSSJ6Acjs.getConfig.call(void 0, );
24
+ const config = await _chunkDEGLIS62cjs.getConfig.call(void 0, );
25
25
  try {
26
- _chunk6LPSSJ6Acjs.handleProcess.call(void 0, config);
26
+ _chunkDEGLIS62cjs.handleProcess.call(void 0, config);
27
27
  _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
28
28
  } catch (error) {
29
- _chunk6LPSSJ6Acjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
- _chunk6LPSSJ6Acjs.exitWithError.call(void 0, config);
29
+ _chunkDEGLIS62cjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
+ _chunkDEGLIS62cjs.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-4NEXKJH5.js";
10
+ } from "./chunk-OLYGBFVX.js";
11
11
  import "./chunk-BNZUDAPR.js";
12
12
  import "./chunk-4NALH4AO.js";
13
13
  import "./chunk-3QBEWJXQ.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.89.15",
3
+ "version": "2.89.16",
4
4
  "type": "module",
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "repository": {