@storm-software/git-tools 2.128.2 → 2.129.1

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.
package/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-2.128.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-2.128.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
4
+ var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
5
+ var chunkSIFTTG22_cjs = require('./chunk-SIFTTG22.cjs');
6
+
7
+ // src/hooks/post-checkout.ts
8
+ async function postCheckoutHook(config, files) {
9
+ chunkSIFTTG22_cjs.writeInfo("Running post-checkout hook...", config);
10
+ chunkQCNDIFYQ_cjs.checkPackageVersion(files);
11
+ try {
12
+ chunkFJL2V56E_cjs.run(config, "git-lfs version");
13
+ } catch (error) {
14
+ throw new Error(
15
+ `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
16
+ Error: ${error?.message}`
17
+ );
18
+ }
19
+ chunkFJL2V56E_cjs.run(config, "git lfs post-checkout");
20
+ }
21
+
22
+ exports.postCheckoutHook = postCheckoutHook;
@@ -0,0 +1,20 @@
1
+ import { run } from './chunk-JOPN56T4.js';
2
+ import { checkPackageVersion } from './chunk-HMHOHK22.js';
3
+ import { writeInfo } from './chunk-X7F62ZNF.js';
4
+
5
+ // src/hooks/post-merge.ts
6
+ async function postMergeHook(config, files) {
7
+ writeInfo("Running post-merge hook...", config);
8
+ checkPackageVersion(files);
9
+ try {
10
+ run(config, "git-lfs version");
11
+ } catch (error) {
12
+ throw new Error(
13
+ `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.
14
+ Error: ${error?.message}`
15
+ );
16
+ }
17
+ run(config, "git lfs post-merge");
18
+ }
19
+
20
+ export { postMergeHook };
@@ -0,0 +1,20 @@
1
+ import { run } from './chunk-JOPN56T4.js';
2
+ import { checkPackageVersion } from './chunk-HMHOHK22.js';
3
+ import { writeInfo } from './chunk-X7F62ZNF.js';
4
+
5
+ // src/hooks/post-checkout.ts
6
+ async function postCheckoutHook(config, files) {
7
+ writeInfo("Running post-checkout hook...", config);
8
+ checkPackageVersion(files);
9
+ try {
10
+ run(config, "git-lfs version");
11
+ } catch (error) {
12
+ throw new Error(
13
+ `This repository is configured for Git LFS but 'git-lfs' was not found on your path. If you no longer wish to use Git LFS, remove this hook by deleting .git/hooks/post-checkout.
14
+ Error: ${error?.message}`
15
+ );
16
+ }
17
+ run(config, "git lfs post-checkout");
18
+ }
19
+
20
+ export { postCheckoutHook };
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
4
+ var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
5
+ var chunkSIFTTG22_cjs = require('./chunk-SIFTTG22.cjs');
6
+
7
+ // src/hooks/post-merge.ts
8
+ async function postMergeHook(config, files) {
9
+ chunkSIFTTG22_cjs.writeInfo("Running post-merge hook...", config);
10
+ chunkQCNDIFYQ_cjs.checkPackageVersion(files);
11
+ try {
12
+ chunkFJL2V56E_cjs.run(config, "git-lfs version");
13
+ } catch (error) {
14
+ throw new Error(
15
+ `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.
16
+ Error: ${error?.message}`
17
+ );
18
+ }
19
+ chunkFJL2V56E_cjs.run(config, "git lfs post-merge");
20
+ }
21
+
22
+ exports.postMergeHook = postMergeHook;
@@ -0,0 +1,22 @@
1
+ 'use strict';
2
+
3
+ var chunkFJL2V56E_cjs = require('./chunk-FJL2V56E.cjs');
4
+ var chunkQCNDIFYQ_cjs = require('./chunk-QCNDIFYQ.cjs');
5
+ var chunkSIFTTG22_cjs = require('./chunk-SIFTTG22.cjs');
6
+
7
+ // src/hooks/post-commit.ts
8
+ async function postCommitHook(config, files) {
9
+ chunkSIFTTG22_cjs.writeInfo("Running post-commit hook...", config);
10
+ chunkQCNDIFYQ_cjs.checkPackageVersion(files);
11
+ try {
12
+ chunkFJL2V56E_cjs.run(config, "git-lfs version");
13
+ } catch (error) {
14
+ throw new Error(
15
+ `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.
16
+ Error: ${error?.message}`
17
+ );
18
+ }
19
+ chunkFJL2V56E_cjs.run(config, "git lfs post-commit");
20
+ }
21
+
22
+ exports.postCommitHook = postCommitHook;
@@ -0,0 +1,20 @@
1
+ import { run } from './chunk-JOPN56T4.js';
2
+ import { checkPackageVersion } from './chunk-HMHOHK22.js';
3
+ import { writeInfo } from './chunk-X7F62ZNF.js';
4
+
5
+ // src/hooks/post-commit.ts
6
+ async function postCommitHook(config, files) {
7
+ writeInfo("Running post-commit hook...", config);
8
+ checkPackageVersion(files);
9
+ try {
10
+ run(config, "git-lfs version");
11
+ } catch (error) {
12
+ throw new Error(
13
+ `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.
14
+ Error: ${error?.message}`
15
+ );
16
+ }
17
+ run(config, "git lfs post-commit");
18
+ }
19
+
20
+ export { postCommitHook };
package/dist/index.cjs CHANGED
@@ -6,15 +6,15 @@ require('./chunk-CT6VGZZS.cjs');
6
6
  require('./chunk-4VPJA7YJ.cjs');
7
7
  var chunkYBAE6I5L_cjs = require('./chunk-YBAE6I5L.cjs');
8
8
  require('./chunk-ENL3GCXS.cjs');
9
+ var chunkF2HQMRJH_cjs = require('./chunk-F2HQMRJH.cjs');
9
10
  var chunkGTOCMU46_cjs = require('./chunk-GTOCMU46.cjs');
10
11
  var chunkDMVL4OYZ_cjs = require('./chunk-DMVL4OYZ.cjs');
11
- var chunkLSTKPCAN_cjs = require('./chunk-LSTKPCAN.cjs');
12
- var chunkZ4CPTYLS_cjs = require('./chunk-Z4CPTYLS.cjs');
13
- var chunk5DVCH44C_cjs = require('./chunk-5DVCH44C.cjs');
12
+ var chunk473ZAPVD_cjs = require('./chunk-473ZAPVD.cjs');
13
+ var chunkRYLCGHHN_cjs = require('./chunk-RYLCGHHN.cjs');
14
+ var chunkNLDN4WKT_cjs = require('./chunk-NLDN4WKT.cjs');
15
+ require('./chunk-FJL2V56E.cjs');
14
16
  var chunkBUQYMEBK_cjs = require('./chunk-BUQYMEBK.cjs');
15
17
  require('./chunk-QCNDIFYQ.cjs');
16
- var chunkF2HQMRJH_cjs = require('./chunk-F2HQMRJH.cjs');
17
- require('./chunk-FJL2V56E.cjs');
18
18
  require('./chunk-SIFTTG22.cjs');
19
19
 
20
20
 
@@ -55,6 +55,10 @@ Object.defineProperty(exports, "DEFAULT_COMMIT_PROMPT_MESSAGES", {
55
55
  enumerable: true,
56
56
  get: function () { return chunkYBAE6I5L_cjs.DEFAULT_COMMIT_PROMPT_MESSAGES; }
57
57
  });
58
+ Object.defineProperty(exports, "preInstallHook", {
59
+ enumerable: true,
60
+ get: function () { return chunkF2HQMRJH_cjs.preInstallHook; }
61
+ });
58
62
  Object.defineProperty(exports, "prePushHook", {
59
63
  enumerable: true,
60
64
  get: function () { return chunkGTOCMU46_cjs.prePushHook; }
@@ -65,21 +69,17 @@ Object.defineProperty(exports, "prepareHook", {
65
69
  });
66
70
  Object.defineProperty(exports, "postCheckoutHook", {
67
71
  enumerable: true,
68
- get: function () { return chunkLSTKPCAN_cjs.postCheckoutHook; }
72
+ get: function () { return chunk473ZAPVD_cjs.postCheckoutHook; }
69
73
  });
70
74
  Object.defineProperty(exports, "postCommitHook", {
71
75
  enumerable: true,
72
- get: function () { return chunkZ4CPTYLS_cjs.postCommitHook; }
76
+ get: function () { return chunkRYLCGHHN_cjs.postCommitHook; }
73
77
  });
74
78
  Object.defineProperty(exports, "postMergeHook", {
75
79
  enumerable: true,
76
- get: function () { return chunk5DVCH44C_cjs.postMergeHook; }
80
+ get: function () { return chunkNLDN4WKT_cjs.postMergeHook; }
77
81
  });
78
82
  Object.defineProperty(exports, "preCommitHook", {
79
83
  enumerable: true,
80
84
  get: function () { return chunkBUQYMEBK_cjs.preCommitHook; }
81
85
  });
82
- Object.defineProperty(exports, "preInstallHook", {
83
- enumerable: true,
84
- get: function () { return chunkF2HQMRJH_cjs.preInstallHook; }
85
- });
package/dist/index.js CHANGED
@@ -4,13 +4,13 @@ import './chunk-WCAKLYL2.js';
4
4
  import './chunk-3GGWHKRP.js';
5
5
  export { DEFAULT_COMMIT_PROMPT_MESSAGES } from './chunk-5XU2KBM6.js';
6
6
  import './chunk-Q47SPRY7.js';
7
+ export { preInstallHook } from './chunk-2NF67ZEY.js';
7
8
  export { prePushHook } from './chunk-RK75BACO.js';
8
9
  export { prepareHook } from './chunk-YUE6ZNKC.js';
9
- export { postCheckoutHook } from './chunk-UQMGLURT.js';
10
- export { postCommitHook } from './chunk-ZKDVZXHI.js';
11
- export { postMergeHook } from './chunk-AU2RMJUK.js';
10
+ export { postCheckoutHook } from './chunk-LBYPNRMH.js';
11
+ export { postCommitHook } from './chunk-YLIHBZL7.js';
12
+ export { postMergeHook } from './chunk-DC6I5TL7.js';
13
+ import './chunk-JOPN56T4.js';
12
14
  export { preCommitHook } from './chunk-C6MBULOZ.js';
13
15
  import './chunk-HMHOHK22.js';
14
- export { preInstallHook } from './chunk-2NF67ZEY.js';
15
- import './chunk-JOPN56T4.js';
16
16
  import './chunk-X7F62ZNF.js';
@@ -59,3 +59,23 @@ pre-commit:
59
59
  glob: "**/*"
60
60
  run: pnpm exec prettier --write --ignore-unknown --no-error-on-unmatched-pattern --config="node_modules/@storm-software/prettier/exclude-packagejson.json" --ignore-path="node_modules/@storm-software/prettier/.prettierignore-exclude-packagejson" --cache --cache-location="node_modules/.cache/prettier/workspace.cache" {files} && git update-index
61
61
  stage_fixed: true
62
+ treefmt:
63
+ files: git diff --name-only HEAD @{push}
64
+ glob: "**/*"
65
+ run: treefmt {files} --config-file node_modules/@storm-software/linting-tools/treefmt/config.toml --allow-missing-formatter && git update-index
66
+ stage_fixed: true
67
+ taplo:
68
+ files: git diff --name-only HEAD @{push}
69
+ glob: "**/*.toml"
70
+ run: taplo format --config node_modules/@storm-software/linting-tools/taplo/config.toml --force --cache-path node_modules/.cache/taplo {files} && git update-index
71
+ stage_fixed: true
72
+ yamllint:
73
+ files: git diff --name-only HEAD @{push}
74
+ glob: "**/*.{yml,yaml}"
75
+ run: yamllint format --config node_modules/@storm-software/linting-tools/yamllint/config.yaml {files} && git update-index
76
+ stage_fixed: true
77
+ ls-lint:
78
+ files: git diff --name-only HEAD @{push}
79
+ glob: "**/*.{ts,js,d.ts,rs}"
80
+ run: ls-lint --config node_modules/@storm-software/linting-tools/ls-lint/config.yml {files} && git update-index
81
+ stage_fixed: true
@@ -10,7 +10,6 @@ colors: true
10
10
  no_tty: false
11
11
  min_version: "1.5.0"
12
12
  extends:
13
- - ./minimal.yml
14
13
  - ./recommended.yml
15
14
 
16
15
  pre-commit:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/git-tools",
3
- "version": "2.128.2",
3
+ "version": "2.129.1",
4
4
  "private": false,
5
5
  "description": "Tools for managing Git repositories within a Nx workspace.",
6
6
  "keywords": [
@@ -190,8 +190,8 @@
190
190
  "@inquirer/prompts": "^8.3.2",
191
191
  "@nx/devkit": "^22.5.4",
192
192
  "@nx/js": "22.5.1",
193
- "@storm-software/config": "^1.135.36",
194
- "@storm-software/config-tools": "^1.189.35",
193
+ "@storm-software/config": "^1.135.38",
194
+ "@storm-software/config-tools": "^1.189.37",
195
195
  "@textlint/ast-node-types": "14.4.2",
196
196
  "@textlint/markdown-to-ast": "14.4.2",
197
197
  "anchor-markdown-header": "0.7.0",
@@ -200,7 +200,7 @@
200
200
  "chalk": "^4.1.2",
201
201
  "chalk-template": "1.1.0",
202
202
  "conventional-changelog-conventionalcommits": "^9.3.0",
203
- "conventional-changelog-storm-software": "^0.3.116",
203
+ "conventional-changelog-storm-software": "^0.3.118",
204
204
  "htmlparser2": "10.0.0",
205
205
  "jsonc-parser": "3.2.1",
206
206
  "nx": "22.5.1",
@@ -225,5 +225,5 @@
225
225
  "packageManager": "pnpm@10.3.0",
226
226
  "engines": { "node": ">=22.4.0", "pnpm": ">=10.3.0" },
227
227
  "publishConfig": { "access": "public" },
228
- "gitHead": "5319d9f85f8a4aa266d7453333d34de6e982847c"
228
+ "gitHead": "4dcb20a512c5bd2d858bc376e5d93f2d6cffa58f"
229
229
  }