@storm-software/git-tools 2.88.5 → 2.88.7

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.
@@ -13,7 +13,7 @@ var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkUJOC6MGUcjs = require('./chunk-UJOC6MGU.cjs');
16
+ var _chunkYCWJSTYZcjs = require('./chunk-YCWJSTYZ.cjs');
17
17
  require('./chunk-JMRHG3KS.cjs');
18
18
  require('./chunk-NHO7HSOE.cjs');
19
19
  require('./chunk-WOZSAFMN.cjs');
@@ -27,23 +27,23 @@ var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
27
27
  // bin/post-commit.ts
28
28
  _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkUJOC6MGUcjs.getConfig.call(void 0, );
30
+ const config = await _chunkYCWJSTYZcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkUJOC6MGUcjs.handleProcess.call(void 0, config);
33
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
32
+ _chunkYCWJSTYZcjs.handleProcess.call(void 0, config);
33
+ _chunkYCWJSTYZcjs.writeInfo.call(void 0, "Running post-commit hook...", config);
34
34
  _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkUJOC6MGUcjs.writeError.call(void 0, `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.
38
+ _chunkYCWJSTYZcjs.writeError.call(void 0, `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-commit.
39
39
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
40
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
40
+ _chunkYCWJSTYZcjs.exitWithError.call(void 0, config);
41
41
  }
42
42
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git lfs post-commit");
43
- _chunkUJOC6MGUcjs.exitWithSuccess.call(void 0, config);
43
+ _chunkYCWJSTYZcjs.exitWithSuccess.call(void 0, config);
44
44
  } catch (error) {
45
- _chunkUJOC6MGUcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
45
+ _chunkYCWJSTYZcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
+ _chunkYCWJSTYZcjs.exitWithError.call(void 0, config);
47
47
  process.exit(1);
48
48
  }
49
49
  })();
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-PLNZHR5C.js";
16
+ } from "./chunk-VXNE6LTE.js";
17
17
  import "./chunk-BNZUDAPR.js";
18
18
  import "./chunk-4NALH4AO.js";
19
19
  import "./chunk-3QBEWJXQ.js";
@@ -13,7 +13,7 @@ var _chunkUAKVQGZUcjs = require('./chunk-UAKVQGZU.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkUJOC6MGUcjs = require('./chunk-UJOC6MGU.cjs');
16
+ var _chunkYCWJSTYZcjs = require('./chunk-YCWJSTYZ.cjs');
17
17
  require('./chunk-JMRHG3KS.cjs');
18
18
  require('./chunk-NHO7HSOE.cjs');
19
19
  require('./chunk-WOZSAFMN.cjs');
@@ -27,23 +27,23 @@ var _chunkEM6PLOYYcjs = require('./chunk-EM6PLOYY.cjs');
27
27
  // bin/post-merge.ts
28
28
  _chunkEM6PLOYYcjs.init_cjs_shims.call(void 0, );
29
29
  void (async () => {
30
- const config = await _chunkUJOC6MGUcjs.getConfig.call(void 0, );
30
+ const config = await _chunkYCWJSTYZcjs.getConfig.call(void 0, );
31
31
  try {
32
- _chunkUJOC6MGUcjs.handleProcess.call(void 0, config);
33
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
32
+ _chunkYCWJSTYZcjs.handleProcess.call(void 0, config);
33
+ _chunkYCWJSTYZcjs.writeInfo.call(void 0, "Running post-merge hook...", config);
34
34
  _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, _optionalChain([process, 'access', _ => _.argv, 'optionalAccess', _2 => _2.slice, 'call', _3 => _3(1)]));
35
35
  try {
36
36
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git-lfs version");
37
37
  } catch (error) {
38
- _chunkUJOC6MGUcjs.writeError.call(void 0, `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
38
+ _chunkYCWJSTYZcjs.writeError.call(void 0, `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-merge.
39
39
  Error: ${_optionalChain([error, 'optionalAccess', _4 => _4.message])}`, config);
40
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
40
+ _chunkYCWJSTYZcjs.exitWithError.call(void 0, config);
41
41
  }
42
42
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git lfs post-merge");
43
- _chunkUJOC6MGUcjs.exitWithSuccess.call(void 0, config);
43
+ _chunkYCWJSTYZcjs.exitWithSuccess.call(void 0, config);
44
44
  } catch (error) {
45
- _chunkUJOC6MGUcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
45
+ _chunkYCWJSTYZcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
46
+ _chunkYCWJSTYZcjs.exitWithError.call(void 0, config);
47
47
  process.exit(1);
48
48
  }
49
49
  })();
package/bin/post-merge.js CHANGED
@@ -13,7 +13,7 @@ import {
13
13
  writeError,
14
14
  writeFatal,
15
15
  writeInfo
16
- } from "./chunk-PLNZHR5C.js";
16
+ } from "./chunk-VXNE6LTE.js";
17
17
  import "./chunk-BNZUDAPR.js";
18
18
  import "./chunk-4NALH4AO.js";
19
19
  import "./chunk-3QBEWJXQ.js";
@@ -11,7 +11,7 @@ var _chunkBXSXKKIZcjs = require('./chunk-BXSXKKIZ.cjs');
11
11
 
12
12
 
13
13
 
14
- var _chunkUJOC6MGUcjs = require('./chunk-UJOC6MGU.cjs');
14
+ var _chunkYCWJSTYZcjs = require('./chunk-YCWJSTYZ.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 _chunkUJOC6MGUcjs.getConfig.call(void 0, );
28
+ const config = await _chunkYCWJSTYZcjs.getConfig.call(void 0, );
29
29
  try {
30
- _chunkUJOC6MGUcjs.handleProcess.call(void 0, config);
31
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "Running pre-commit hook...", config);
30
+ _chunkYCWJSTYZcjs.handleProcess.call(void 0, config);
31
+ _chunkYCWJSTYZcjs.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
- _chunkUJOC6MGUcjs.writeError.call(void 0, "Please regenerate the package lock file before committing...", config);
35
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
34
+ _chunkYCWJSTYZcjs.writeError.call(void 0, "Please regenerate the package lock file before committing...", config);
35
+ _chunkYCWJSTYZcjs.exitWithError.call(void 0, config);
36
36
  }
37
- _chunkUJOC6MGUcjs.exitWithSuccess.call(void 0, config);
37
+ _chunkYCWJSTYZcjs.exitWithSuccess.call(void 0, config);
38
38
  } catch (error) {
39
- _chunkUJOC6MGUcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
40
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
39
+ _chunkYCWJSTYZcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
40
+ _chunkYCWJSTYZcjs.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-PLNZHR5C.js";
14
+ } from "./chunk-VXNE6LTE.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 _chunkUJOC6MGUcjs = require('./chunk-UJOC6MGU.cjs');
12
+ var _chunkYCWJSTYZcjs = require('./chunk-YCWJSTYZ.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 _chunkUJOC6MGUcjs.getConfig.call(void 0, );
26
+ const config = await _chunkYCWJSTYZcjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkUJOC6MGUcjs.handleProcess.call(void 0, config);
29
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
28
+ _chunkYCWJSTYZcjs.handleProcess.call(void 0, config);
29
+ _chunkYCWJSTYZcjs.writeInfo.call(void 0, "Running pre-install hook...", config);
30
30
  if (Boolean(process.env.CI) || Boolean(process.env.STORM_CI)) {
31
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
- _chunkUJOC6MGUcjs.exitWithSuccess.call(void 0, config);
31
+ _chunkYCWJSTYZcjs.writeInfo.call(void 0, "Skipping pre-install for CI process...", config);
32
+ _chunkYCWJSTYZcjs.exitWithSuccess.call(void 0, config);
33
33
  }
34
34
  _chunkUAKVQGZUcjs.run.call(void 0, config, "npx -y only-allow pnpm");
35
- _chunkUJOC6MGUcjs.exitWithSuccess.call(void 0, config);
35
+ _chunkYCWJSTYZcjs.exitWithSuccess.call(void 0, config);
36
36
  } catch (error) {
37
- _chunkUJOC6MGUcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
38
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
37
+ _chunkYCWJSTYZcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
38
+ _chunkYCWJSTYZcjs.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-PLNZHR5C.js";
12
+ } from "./chunk-VXNE6LTE.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 _chunkUJOC6MGUcjs = require('./chunk-UJOC6MGU.cjs');
17
+ var _chunkYCWJSTYZcjs = require('./chunk-YCWJSTYZ.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 _chunkUJOC6MGUcjs.getConfig.call(void 0, );
34
+ const config = await _chunkYCWJSTYZcjs.getConfig.call(void 0, );
35
35
  try {
36
- _chunkUJOC6MGUcjs.handleProcess.call(void 0, config);
37
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "Running pre-push hook...", config);
36
+ _chunkYCWJSTYZcjs.handleProcess.call(void 0, config);
37
+ _chunkYCWJSTYZcjs.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
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "\u{1F512}\u{1F512}\u{1F512} Validating lock files \u{1F512}\u{1F512}\u{1F512}\n", config);
39
+ _chunkYCWJSTYZcjs.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
- _chunkUJOC6MGUcjs.writeError.call(void 0, "\u274C Lock file validation failed", config);
61
+ _chunkYCWJSTYZcjs.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
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
65
+ _chunkYCWJSTYZcjs.exitWithError.call(void 0, config);
66
66
  }
67
- _chunkUJOC6MGUcjs.writeSuccess.call(void 0, "Lock file is valid \u2705", config);
67
+ _chunkYCWJSTYZcjs.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
- _chunkUJOC6MGUcjs.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
+ _chunkYCWJSTYZcjs.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
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
74
+ _chunkYCWJSTYZcjs.exitWithError.call(void 0, config);
75
75
  }
76
76
  _chunkUAKVQGZUcjs.run.call(void 0, config, "git lfs pre-push origin");
77
- _chunkUJOC6MGUcjs.exitWithSuccess.call(void 0, config);
77
+ _chunkYCWJSTYZcjs.exitWithSuccess.call(void 0, config);
78
78
  } catch (error) {
79
- _chunkUJOC6MGUcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
79
+ _chunkYCWJSTYZcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
80
+ _chunkYCWJSTYZcjs.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-PLNZHR5C.js";
17
+ } from "./chunk-VXNE6LTE.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 _chunkUJOC6MGUcjs = require('./chunk-UJOC6MGU.cjs');
12
+ var _chunkYCWJSTYZcjs = require('./chunk-YCWJSTYZ.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 _chunkUJOC6MGUcjs.getConfig.call(void 0, );
26
+ const config = await _chunkYCWJSTYZcjs.getConfig.call(void 0, );
27
27
  try {
28
- _chunkUJOC6MGUcjs.handleProcess.call(void 0, config);
29
- _chunkUJOC6MGUcjs.writeInfo.call(void 0, "Running prepare hook...", config);
28
+ _chunkYCWJSTYZcjs.handleProcess.call(void 0, config);
29
+ _chunkYCWJSTYZcjs.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
- _chunkUJOC6MGUcjs.exitWithSuccess.call(void 0, config);
33
+ _chunkYCWJSTYZcjs.exitWithSuccess.call(void 0, config);
34
34
  } catch (error) {
35
- _chunkUJOC6MGUcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
35
+ _chunkYCWJSTYZcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
36
+ _chunkYCWJSTYZcjs.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-PLNZHR5C.js";
12
+ } from "./chunk-VXNE6LTE.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 _chunkUJOC6MGUcjs = require('./chunk-UJOC6MGU.cjs');
10
+ var _chunkYCWJSTYZcjs = require('./chunk-YCWJSTYZ.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 _chunkUJOC6MGUcjs.getConfig.call(void 0, );
24
+ const config = await _chunkYCWJSTYZcjs.getConfig.call(void 0, );
25
25
  try {
26
- _chunkUJOC6MGUcjs.handleProcess.call(void 0, config);
26
+ _chunkYCWJSTYZcjs.handleProcess.call(void 0, config);
27
27
  _chunkBXSXKKIZcjs.checkPackageVersion.call(void 0, process.argv.slice(1));
28
28
  } catch (error) {
29
- _chunkUJOC6MGUcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
- _chunkUJOC6MGUcjs.exitWithError.call(void 0, config);
29
+ _chunkYCWJSTYZcjs.writeFatal.call(void 0, `A fatal error occurred while running the program: ${error.message}`, config);
30
+ _chunkYCWJSTYZcjs.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-PLNZHR5C.js";
10
+ } from "./chunk-VXNE6LTE.js";
11
11
  import "./chunk-BNZUDAPR.js";
12
12
  import "./chunk-4NALH4AO.js";
13
13
  import "./chunk-3QBEWJXQ.js";
@@ -1,6 +1,6 @@
1
1
  import { CommitConfig } from '../types.cjs';
2
+ import '@nx/devkit';
2
3
  import 'nx/src/config/nx-json';
3
- import 'nx/src/devkit-exports';
4
4
 
5
5
  declare const DEFAULT_COMMIT_CONFIG: CommitConfig;
6
6
 
@@ -1,6 +1,6 @@
1
1
  import { CommitConfig } from '../types.js';
2
+ import '@nx/devkit';
2
3
  import 'nx/src/config/nx-json';
3
- import 'nx/src/devkit-exports';
4
4
 
5
5
  declare const DEFAULT_COMMIT_CONFIG: CommitConfig;
6
6
 
@@ -0,0 +1,125 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+ var _chunkMIBBWD5Tcjs = require('../chunk-MIBBWD5T.cjs');
5
+
6
+ // src/commitlint/config.ts
7
+ var DEFAULT_COMMIT_RULES = {
8
+ "body-leading-blank": [
9
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Warning,
10
+ "always"
11
+ ],
12
+ "body-max-length": [
13
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
14
+ "always",
15
+ 600
16
+ ],
17
+ "footer-leading-blank": [
18
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Warning,
19
+ "always"
20
+ ],
21
+ "footer-max-line-length": [
22
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
23
+ "always",
24
+ 150
25
+ ],
26
+ "header-max-length": [
27
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
28
+ "always",
29
+ 150
30
+ ],
31
+ "header-trim": [
32
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
33
+ "always"
34
+ ],
35
+ "subject-case": [
36
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
37
+ "always",
38
+ [
39
+ "sentence-case"
40
+ ]
41
+ ],
42
+ "subject-empty": [
43
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
44
+ "never"
45
+ ],
46
+ "subject-full-stop": [
47
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
48
+ "never",
49
+ "."
50
+ ],
51
+ "subject-max-length": [
52
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
53
+ "always",
54
+ 150
55
+ ],
56
+ "subject-min-length": [
57
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
58
+ "always",
59
+ 3
60
+ ],
61
+ "type-case": [
62
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
63
+ "always",
64
+ "kebab-case"
65
+ ],
66
+ "type-empty": [
67
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
68
+ "never"
69
+ ],
70
+ "type-enum": [
71
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
72
+ "always",
73
+ Object.keys(_chunkMIBBWD5Tcjs.DEFAULT_COMMIT_TYPES)
74
+ ],
75
+ "type-max-length": [
76
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
77
+ "always",
78
+ 20
79
+ ],
80
+ "type-min-length": [
81
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
82
+ "always",
83
+ 3
84
+ ],
85
+ "scope-case": [
86
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
87
+ "always",
88
+ [
89
+ "kebab-case"
90
+ ]
91
+ ],
92
+ "scope-empty": [
93
+ _chunkMIBBWD5Tcjs.RuleConfigSeverity.Error,
94
+ "never"
95
+ ]
96
+ };
97
+ var DEFAULT_COMMITLINT_CONFIG = {
98
+ rules: DEFAULT_COMMIT_RULES,
99
+ helpUrl: "https://stormsoftware.com/ops/commitlint",
100
+ parserOpts: {
101
+ headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
102
+ breakingHeaderPattern: /^(\w*)(?:\((.*)\))?!: (.*)$/,
103
+ headerCorrespondence: [
104
+ "type",
105
+ "scope",
106
+ "subject"
107
+ ],
108
+ noteKeywords: [
109
+ "BREAKING CHANGE",
110
+ "BREAKING-CHANGE"
111
+ ],
112
+ revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
113
+ revertCorrespondence: [
114
+ "header",
115
+ "hash"
116
+ ],
117
+ issuePrefixes: [
118
+ "#"
119
+ ]
120
+ }
121
+ };
122
+
123
+
124
+
125
+ exports.DEFAULT_COMMITLINT_CONFIG = DEFAULT_COMMITLINT_CONFIG; exports.DEFAULT_COMMIT_RULES = DEFAULT_COMMIT_RULES;
@@ -0,0 +1,21 @@
1
+ import { DefaultCommitRulesEnum } from '../types.cjs';
2
+ import '@nx/devkit';
3
+ import 'nx/src/config/nx-json';
4
+
5
+ declare const DEFAULT_COMMIT_RULES: DefaultCommitRulesEnum;
6
+ declare const DEFAULT_COMMITLINT_CONFIG: {
7
+ rules: DefaultCommitRulesEnum;
8
+ helpUrl: string;
9
+ parserOpts: {
10
+ headerPattern: RegExp;
11
+ breakingHeaderPattern: RegExp;
12
+ headerCorrespondence: string[];
13
+ noteKeywords: string[];
14
+ revertPattern: RegExp;
15
+ revertCorrespondence: string[];
16
+ issuePrefixes: string[];
17
+ };
18
+ };
19
+ type CommitLintOptions = typeof DEFAULT_COMMITLINT_CONFIG;
20
+
21
+ export { type CommitLintOptions, DEFAULT_COMMITLINT_CONFIG, DEFAULT_COMMIT_RULES };
@@ -0,0 +1,21 @@
1
+ import { DefaultCommitRulesEnum } from '../types.js';
2
+ import '@nx/devkit';
3
+ import 'nx/src/config/nx-json';
4
+
5
+ declare const DEFAULT_COMMIT_RULES: DefaultCommitRulesEnum;
6
+ declare const DEFAULT_COMMITLINT_CONFIG: {
7
+ rules: DefaultCommitRulesEnum;
8
+ helpUrl: string;
9
+ parserOpts: {
10
+ headerPattern: RegExp;
11
+ breakingHeaderPattern: RegExp;
12
+ headerCorrespondence: string[];
13
+ noteKeywords: string[];
14
+ revertPattern: RegExp;
15
+ revertCorrespondence: string[];
16
+ issuePrefixes: string[];
17
+ };
18
+ };
19
+ type CommitLintOptions = typeof DEFAULT_COMMITLINT_CONFIG;
20
+
21
+ export { type CommitLintOptions, DEFAULT_COMMITLINT_CONFIG, DEFAULT_COMMIT_RULES };
@@ -0,0 +1,125 @@
1
+ import {
2
+ DEFAULT_COMMIT_TYPES,
3
+ RuleConfigSeverity
4
+ } from "../chunk-6EYTSWXU.js";
5
+
6
+ // src/commitlint/config.ts
7
+ var DEFAULT_COMMIT_RULES = {
8
+ "body-leading-blank": [
9
+ RuleConfigSeverity.Warning,
10
+ "always"
11
+ ],
12
+ "body-max-length": [
13
+ RuleConfigSeverity.Error,
14
+ "always",
15
+ 600
16
+ ],
17
+ "footer-leading-blank": [
18
+ RuleConfigSeverity.Warning,
19
+ "always"
20
+ ],
21
+ "footer-max-line-length": [
22
+ RuleConfigSeverity.Error,
23
+ "always",
24
+ 150
25
+ ],
26
+ "header-max-length": [
27
+ RuleConfigSeverity.Error,
28
+ "always",
29
+ 150
30
+ ],
31
+ "header-trim": [
32
+ RuleConfigSeverity.Error,
33
+ "always"
34
+ ],
35
+ "subject-case": [
36
+ RuleConfigSeverity.Error,
37
+ "always",
38
+ [
39
+ "sentence-case"
40
+ ]
41
+ ],
42
+ "subject-empty": [
43
+ RuleConfigSeverity.Error,
44
+ "never"
45
+ ],
46
+ "subject-full-stop": [
47
+ RuleConfigSeverity.Error,
48
+ "never",
49
+ "."
50
+ ],
51
+ "subject-max-length": [
52
+ RuleConfigSeverity.Error,
53
+ "always",
54
+ 150
55
+ ],
56
+ "subject-min-length": [
57
+ RuleConfigSeverity.Error,
58
+ "always",
59
+ 3
60
+ ],
61
+ "type-case": [
62
+ RuleConfigSeverity.Error,
63
+ "always",
64
+ "kebab-case"
65
+ ],
66
+ "type-empty": [
67
+ RuleConfigSeverity.Error,
68
+ "never"
69
+ ],
70
+ "type-enum": [
71
+ RuleConfigSeverity.Error,
72
+ "always",
73
+ Object.keys(DEFAULT_COMMIT_TYPES)
74
+ ],
75
+ "type-max-length": [
76
+ RuleConfigSeverity.Error,
77
+ "always",
78
+ 20
79
+ ],
80
+ "type-min-length": [
81
+ RuleConfigSeverity.Error,
82
+ "always",
83
+ 3
84
+ ],
85
+ "scope-case": [
86
+ RuleConfigSeverity.Error,
87
+ "always",
88
+ [
89
+ "kebab-case"
90
+ ]
91
+ ],
92
+ "scope-empty": [
93
+ RuleConfigSeverity.Error,
94
+ "never"
95
+ ]
96
+ };
97
+ var DEFAULT_COMMITLINT_CONFIG = {
98
+ rules: DEFAULT_COMMIT_RULES,
99
+ helpUrl: "https://stormsoftware.com/ops/commitlint",
100
+ parserOpts: {
101
+ headerPattern: /^(\w*)(?:\((.*)\))?!?: (.*)$/,
102
+ breakingHeaderPattern: /^(\w*)(?:\((.*)\))?!: (.*)$/,
103
+ headerCorrespondence: [
104
+ "type",
105
+ "scope",
106
+ "subject"
107
+ ],
108
+ noteKeywords: [
109
+ "BREAKING CHANGE",
110
+ "BREAKING-CHANGE"
111
+ ],
112
+ revertPattern: /^(?:Revert|revert:)\s"?([\s\S]+?)"?\s*This reverts commit (\w*)\./i,
113
+ revertCorrespondence: [
114
+ "header",
115
+ "hash"
116
+ ],
117
+ issuePrefixes: [
118
+ "#"
119
+ ]
120
+ }
121
+ };
122
+ export {
123
+ DEFAULT_COMMITLINT_CONFIG,
124
+ DEFAULT_COMMIT_RULES
125
+ };