@storm-software/git-tools 2.131.75 → 2.131.77

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 (54) hide show
  1. package/README.md +7 -7
  2. package/bin/{chunk-GOHR7F5T.js → chunk-3NXGC5ST.js} +3 -3
  3. package/bin/{chunk-GOHR7F5T.js.map → chunk-3NXGC5ST.js.map} +1 -1
  4. package/bin/{chunk-JSI5AO4T.cjs → chunk-4FQ44OAT.cjs} +4 -4
  5. package/bin/{chunk-JSI5AO4T.cjs.map → chunk-4FQ44OAT.cjs.map} +1 -1
  6. package/bin/{chunk-MURFL6BB.js → chunk-4ZNUGFUK.js} +3 -3
  7. package/bin/{chunk-MURFL6BB.js.map → chunk-4ZNUGFUK.js.map} +1 -1
  8. package/bin/{chunk-HUNBUYVC.cjs → chunk-6G73LSPC.cjs} +4 -4
  9. package/bin/{chunk-HUNBUYVC.cjs.map → chunk-6G73LSPC.cjs.map} +1 -1
  10. package/bin/{chunk-L4IDLWWW.js → chunk-7NZOOZ4Y.js} +3 -3
  11. package/bin/{chunk-L4IDLWWW.js.map → chunk-7NZOOZ4Y.js.map} +1 -1
  12. package/bin/{chunk-WO432SEZ.cjs → chunk-DYZLP2KW.cjs} +6 -6
  13. package/bin/{chunk-WO432SEZ.cjs.map → chunk-DYZLP2KW.cjs.map} +1 -1
  14. package/bin/{chunk-5YEEPJM2.cjs → chunk-EOUDKHXD.cjs} +3 -3
  15. package/bin/{chunk-5YEEPJM2.cjs.map → chunk-EOUDKHXD.cjs.map} +1 -1
  16. package/bin/{chunk-IHYUNB2B.js → chunk-G6BAFKYK.js} +3 -3
  17. package/bin/{chunk-IHYUNB2B.js.map → chunk-G6BAFKYK.js.map} +1 -1
  18. package/bin/{chunk-W34H3XG2.js → chunk-HHHCNXKG.js} +3 -3
  19. package/bin/{chunk-W34H3XG2.js.map → chunk-HHHCNXKG.js.map} +1 -1
  20. package/bin/{chunk-B7J7QYQE.cjs → chunk-J4XLLB7C.cjs} +4 -4
  21. package/bin/{chunk-B7J7QYQE.cjs.map → chunk-J4XLLB7C.cjs.map} +1 -1
  22. package/bin/{chunk-5ATBB4TN.cjs → chunk-MEXEBGMK.cjs} +4 -4
  23. package/bin/{chunk-5ATBB4TN.cjs.map → chunk-MEXEBGMK.cjs.map} +1 -1
  24. package/bin/{chunk-KW4FEIVT.js → chunk-PNNIWPDQ.js} +3 -3
  25. package/bin/{chunk-KW4FEIVT.js.map → chunk-PNNIWPDQ.js.map} +1 -1
  26. package/bin/{chunk-RENIENIJ.js → chunk-RTCFD7IE.js} +3 -3
  27. package/bin/{chunk-RENIENIJ.js.map → chunk-RTCFD7IE.js.map} +1 -1
  28. package/bin/{chunk-JTWC65QP.cjs → chunk-SGNASXPC.cjs} +5 -5
  29. package/bin/{chunk-JTWC65QP.cjs.map → chunk-SGNASXPC.cjs.map} +1 -1
  30. package/bin/{chunk-5IKION45.cjs → chunk-UDTVAYLD.cjs} +4 -4
  31. package/bin/{chunk-5IKION45.cjs.map → chunk-UDTVAYLD.cjs.map} +1 -1
  32. package/bin/{chunk-LTBMRLM6.js → chunk-VWM473G5.js} +3 -3
  33. package/bin/{chunk-LTBMRLM6.js.map → chunk-VWM473G5.js.map} +1 -1
  34. package/bin/git.cjs +155 -155
  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/readme/templates/README.footer.md +3 -3
  53. package/dist/readme/templates/README.header.md +3 -3
  54. package/package.json +7 -7
package/README.md CHANGED
@@ -5,9 +5,9 @@
5
5
 
6
6
  <div align="center">
7
7
  <picture>
8
- <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-dark.gif">
9
- <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x640-light.gif">
10
- <img src="https://public.storm-cdn.com/storm-software/banner-1280x640-dark.gif" width="100%" alt="Storm Software" />
8
+ <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/media/banner-1280x640-dark.gif">
9
+ <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/media/banner-1280x640-light.gif">
10
+ <img src="https://public.storm-cdn.com/storm-software/media/banner-1280x640-dark.gif" width="100%" alt="Storm Software" />
11
11
  </picture>
12
12
  </div>
13
13
  <br />
@@ -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.131.73-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.131.75-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 -->
@@ -242,9 +242,9 @@ specification. Contributions of any kind welcome!
242
242
 
243
243
  <div align="center">
244
244
  <picture>
245
- <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-dark.webp">
246
- <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/banner-1280x320-light.webp">
247
- <img src="https://public.storm-cdn.com/storm-software/banner-1280x320-dark.webp" width="100%" alt="Storm Software" />
245
+ <source media="(prefers-color-scheme: dark)" srcset="https://public.storm-cdn.com/storm-software/media/banner-1280x320-dark.webp">
246
+ <source media="(prefers-color-scheme: light)" srcset="https://public.storm-cdn.com/storm-software/media/banner-1280x320-light.webp">
247
+ <img src="https://public.storm-cdn.com/storm-software/media/banner-1280x320-dark.webp" width="100%" alt="Storm Software" />
248
248
  </picture>
249
249
  </div>
250
250
  <br />
@@ -1,5 +1,5 @@
1
1
  import { checkPackageVersion } from './chunk-HBLWPOJV.js';
2
- import { writeInfo, writeSuccess } from './chunk-MURFL6BB.js';
2
+ import { writeInfo, writeSuccess } from './chunk-4ZNUGFUK.js';
3
3
  import fs from 'node:fs';
4
4
  import { readFile } from 'node:fs/promises';
5
5
  import path from 'node:path';
@@ -48,5 +48,5 @@ async function prePushHook(config, files) {
48
48
  }
49
49
 
50
50
  export { prePushHook };
51
- //# sourceMappingURL=chunk-GOHR7F5T.js.map
52
- //# sourceMappingURL=chunk-GOHR7F5T.js.map
51
+ //# sourceMappingURL=chunk-3NXGC5ST.js.map
52
+ //# sourceMappingURL=chunk-3NXGC5ST.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/hooks/pre-push.ts"],"names":[],"mappings":";;;;;;AASA,eAAsB,WAAA,CACpB,QACA,KAAA,EACA;AACA,EAAA,SAAA,CAAU,4BAA4B,MAAM,CAAA;AAC5C,EAAA,mBAAA,CAAoB,KAAK,CAAA;AAEzB,EAAA,SAAA,CAAU,iFAAuC,MAAM,CAAA;AAEvD,EAAA,MAAM,SAAS,EAAC;AAChB,EAAA,IACE,EAAA,CAAG,WAAW,IAAA,CAAK,IAAA,CAAK,OAAO,aAAA,IAAiB,IAAA,EAAM,mBAAmB,CAAC,CAAA,EAC1E;AACA,IAAA,MAAA,CAAO,IAAA;AAAA,MACL;AAAA,KACF;AAAA,EACF;AACA,EAAA,IAAI,EAAA,CAAG,WAAW,IAAA,CAAK,IAAA,CAAK,OAAO,aAAA,IAAiB,IAAA,EAAM,WAAW,CAAC,CAAA,EAAG;AACvE,IAAA,MAAA,CAAO,IAAA;AAAA,MACL;AAAA,KACF;AAAA,EACF;AAEA,EAAA,IAAI;AACF,IAAA,MAAM,UAAU,MAAM,QAAA;AAAA,MACpB,IAAA,CAAK,IAAA,CAAK,MAAA,CAAO,aAAA,IAAiB,MAAM,gBAAgB,CAAA;AAAA,MACxD;AAAA,QACE,QAAA,EAAU;AAAA;AACZ,KACF;AACA,IAAA,IAAI,OAAA,EAAS,KAAA,CAAM,eAAe,CAAA,EAAG;AACnC,MAAA,MAAA,CAAO,IAAA;AAAA,QACL;AAAA,OACF;AAAA,IACF;AACA,IAAA,IAAI,OAAA,EAAS,KAAA,CAAM,uBAAuB,CAAA,EAAG;AAC3C,MAAA,MAAA,CAAO,IAAA;AAAA,QACL;AAAA,OACF;AAAA,IACF;AAAA,EACF,CAAA,CAAA,MAAQ;AACN,IAAA,MAAA,CAAO,KAAK,uDAAuD,CAAA;AAAA,EACrE;AAEA,EAAA,IAAI,MAAA,CAAO,SAAS,CAAA,EAAG;AACrB,IAAA,MAAM,IAAI,KAAA;AAAA,MACR,sCAAA,GAAyC,MAAA,CAAO,IAAA,CAAK,IAAI;AAAA,KAC3D;AAAA,EACF;AAEA,EAAA,YAAA,CAAa,sCAAiC,MAAM,CAAA;AAetD","file":"chunk-GOHR7F5T.js","sourcesContent":["#!/usr/bin/env node\n\nimport { StormWorkspaceConfig } from \"@storm-software/config\";\nimport { writeInfo, writeSuccess } from \"@storm-software/config-tools\";\nimport fs from \"node:fs\";\nimport { readFile } from \"node:fs/promises\";\nimport path from \"node:path\";\nimport { checkPackageVersion } from \"../utilities/check-package-version\";\n\nexport async function prePushHook(\n config: StormWorkspaceConfig,\n files: string[]\n) {\n writeInfo(\"Running pre-push hook...\", config);\n checkPackageVersion(files);\n\n writeInfo(\"🔒🔒🔒 Validating lock files 🔒🔒🔒\", config);\n\n const errors = [] as string[];\n if (\n fs.existsSync(path.join(config.workspaceRoot ?? \"./\", \"package-lock.json\"))\n ) {\n errors.push(\n 'Invalid occurrence of \"package-lock.json\" file. Please remove it and use only \"pnpm-lock.yaml\"'\n );\n }\n if (fs.existsSync(path.join(config.workspaceRoot ?? \"./\", \"yarn.lock\"))) {\n errors.push(\n 'Invalid occurrence of \"yarn.lock\" file. Please remove it and use only \"pnpm-lock.yaml\"'\n );\n }\n\n try {\n const content = await readFile(\n path.join(config.workspaceRoot ?? \"./\", \"pnpm-lock.yaml\"),\n {\n encoding: \"utf8\"\n }\n );\n if (content?.match(/localhost:487/)) {\n errors.push(\n 'The \"pnpm-lock.yaml\" has reference to local repository (\"localhost:4873\"). Please use ensure you disable local registry before running \"pnpm i\"'\n );\n }\n if (content?.match(/resolution: \\{tarball/)) {\n errors.push(\n 'The \"pnpm-lock.yaml\" has reference to tarball package. Please use npm registry only'\n );\n }\n } catch {\n errors.push('The \"pnpm-lock.yaml\" does not exist or cannot be read');\n }\n\n if (errors.length > 0) {\n throw new Error(\n \"❌ Lock file validation failed\" + \"\\n\" + errors.join(\"\\n\")\n );\n }\n\n writeSuccess(\"✔ Lock file is valid for push\", config);\n\n // run(config, \"git lfs pre-push origin\");\n\n // try {\n // run(config, \"git-lfs version\");\n // } catch (error) {\n // throw new Error(\n // `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.\\nError: ${\n // (error as Error)?.message\n // }`\n // );\n // }\n\n // run(config, \"git lfs pre-push origin\");\n}\n"]}
1
+ {"version":3,"sources":["../../src/hooks/pre-push.ts"],"names":[],"mappings":";;;;;;AASA,eAAsB,WAAA,CACpB,QACA,KAAA,EACA;AACA,EAAA,SAAA,CAAU,4BAA4B,MAAM,CAAA;AAC5C,EAAA,mBAAA,CAAoB,KAAK,CAAA;AAEzB,EAAA,SAAA,CAAU,iFAAuC,MAAM,CAAA;AAEvD,EAAA,MAAM,SAAS,EAAC;AAChB,EAAA,IACE,EAAA,CAAG,WAAW,IAAA,CAAK,IAAA,CAAK,OAAO,aAAA,IAAiB,IAAA,EAAM,mBAAmB,CAAC,CAAA,EAC1E;AACA,IAAA,MAAA,CAAO,IAAA;AAAA,MACL;AAAA,KACF;AAAA,EACF;AACA,EAAA,IAAI,EAAA,CAAG,WAAW,IAAA,CAAK,IAAA,CAAK,OAAO,aAAA,IAAiB,IAAA,EAAM,WAAW,CAAC,CAAA,EAAG;AACvE,IAAA,MAAA,CAAO,IAAA;AAAA,MACL;AAAA,KACF;AAAA,EACF;AAEA,EAAA,IAAI;AACF,IAAA,MAAM,UAAU,MAAM,QAAA;AAAA,MACpB,IAAA,CAAK,IAAA,CAAK,MAAA,CAAO,aAAA,IAAiB,MAAM,gBAAgB,CAAA;AAAA,MACxD;AAAA,QACE,QAAA,EAAU;AAAA;AACZ,KACF;AACA,IAAA,IAAI,OAAA,EAAS,KAAA,CAAM,eAAe,CAAA,EAAG;AACnC,MAAA,MAAA,CAAO,IAAA;AAAA,QACL;AAAA,OACF;AAAA,IACF;AACA,IAAA,IAAI,OAAA,EAAS,KAAA,CAAM,uBAAuB,CAAA,EAAG;AAC3C,MAAA,MAAA,CAAO,IAAA;AAAA,QACL;AAAA,OACF;AAAA,IACF;AAAA,EACF,CAAA,CAAA,MAAQ;AACN,IAAA,MAAA,CAAO,KAAK,uDAAuD,CAAA;AAAA,EACrE;AAEA,EAAA,IAAI,MAAA,CAAO,SAAS,CAAA,EAAG;AACrB,IAAA,MAAM,IAAI,KAAA;AAAA,MACR,sCAAA,GAAyC,MAAA,CAAO,IAAA,CAAK,IAAI;AAAA,KAC3D;AAAA,EACF;AAEA,EAAA,YAAA,CAAa,sCAAiC,MAAM,CAAA;AAetD","file":"chunk-3NXGC5ST.js","sourcesContent":["#!/usr/bin/env node\n\nimport { StormWorkspaceConfig } from \"@storm-software/config\";\nimport { writeInfo, writeSuccess } from \"@storm-software/config-tools\";\nimport fs from \"node:fs\";\nimport { readFile } from \"node:fs/promises\";\nimport path from \"node:path\";\nimport { checkPackageVersion } from \"../utilities/check-package-version\";\n\nexport async function prePushHook(\n config: StormWorkspaceConfig,\n files: string[]\n) {\n writeInfo(\"Running pre-push hook...\", config);\n checkPackageVersion(files);\n\n writeInfo(\"🔒🔒🔒 Validating lock files 🔒🔒🔒\", config);\n\n const errors = [] as string[];\n if (\n fs.existsSync(path.join(config.workspaceRoot ?? \"./\", \"package-lock.json\"))\n ) {\n errors.push(\n 'Invalid occurrence of \"package-lock.json\" file. Please remove it and use only \"pnpm-lock.yaml\"'\n );\n }\n if (fs.existsSync(path.join(config.workspaceRoot ?? \"./\", \"yarn.lock\"))) {\n errors.push(\n 'Invalid occurrence of \"yarn.lock\" file. Please remove it and use only \"pnpm-lock.yaml\"'\n );\n }\n\n try {\n const content = await readFile(\n path.join(config.workspaceRoot ?? \"./\", \"pnpm-lock.yaml\"),\n {\n encoding: \"utf8\"\n }\n );\n if (content?.match(/localhost:487/)) {\n errors.push(\n 'The \"pnpm-lock.yaml\" has reference to local repository (\"localhost:4873\"). Please use ensure you disable local registry before running \"pnpm i\"'\n );\n }\n if (content?.match(/resolution: \\{tarball/)) {\n errors.push(\n 'The \"pnpm-lock.yaml\" has reference to tarball package. Please use npm registry only'\n );\n }\n } catch {\n errors.push('The \"pnpm-lock.yaml\" does not exist or cannot be read');\n }\n\n if (errors.length > 0) {\n throw new Error(\n \"❌ Lock file validation failed\" + \"\\n\" + errors.join(\"\\n\")\n );\n }\n\n writeSuccess(\"✔ Lock file is valid for push\", config);\n\n // run(config, \"git lfs pre-push origin\");\n\n // try {\n // run(config, \"git-lfs version\");\n // } catch (error) {\n // throw new Error(\n // `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.\\nError: ${\n // (error as Error)?.message\n // }`\n // );\n // }\n\n // run(config, \"git lfs pre-push origin\");\n}\n"]}
@@ -2,11 +2,11 @@
2
2
 
3
3
  var chunkYHZNDNCW_cjs = require('./chunk-YHZNDNCW.cjs');
4
4
  var chunkMTAYUS7E_cjs = require('./chunk-MTAYUS7E.cjs');
5
- var chunk5YEEPJM2_cjs = require('./chunk-5YEEPJM2.cjs');
5
+ var chunkEOUDKHXD_cjs = require('./chunk-EOUDKHXD.cjs');
6
6
 
7
7
  // src/hooks/post-commit.ts
8
8
  async function postCommitHook(config, files) {
9
- chunk5YEEPJM2_cjs.writeInfo("Running post-commit hook...", config);
9
+ chunkEOUDKHXD_cjs.writeInfo("Running post-commit hook...", config);
10
10
  chunkYHZNDNCW_cjs.checkPackageVersion(files);
11
11
  try {
12
12
  chunkMTAYUS7E_cjs.run(config, "git-lfs version");
@@ -20,5 +20,5 @@ Error: ${error?.message}`
20
20
  }
21
21
 
22
22
  exports.postCommitHook = postCommitHook;
23
- //# sourceMappingURL=chunk-JSI5AO4T.cjs.map
24
- //# sourceMappingURL=chunk-JSI5AO4T.cjs.map
23
+ //# sourceMappingURL=chunk-4FQ44OAT.cjs.map
24
+ //# sourceMappingURL=chunk-4FQ44OAT.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/hooks/post-commit.ts"],"names":["writeInfo","checkPackageVersion","run"],"mappings":";;;;;;;AAMA,eAAsB,cAAA,CACpB,QACA,KAAA,EACA;AACA,EAAAA,2BAAA,CAAU,+BAA+B,MAAM,CAAA;AAC/C,EAAAC,qCAAA,CAAoB,KAAK,CAAA;AAEzB,EAAA,IAAI;AACF,IAAAC,qBAAA,CAAI,QAAQ,iBAAiB,CAAA;AAAA,EAC/B,SAAS,KAAA,EAAO;AACd,IAAA,MAAM,IAAI,KAAA;AAAA,MACR,CAAA;AAAA,OAAA,EACG,OAAiB,OACpB,CAAA;AAAA,KACF;AAAA,EACF;AAEA,EAAAA,qBAAA,CAAI,QAAQ,qBAAqB,CAAA;AACnC","file":"chunk-JSI5AO4T.cjs","sourcesContent":["#!/usr/bin/env node\n\nimport { StormWorkspaceConfig } from \"@storm-software/config\";\nimport { run, writeInfo } from \"@storm-software/config-tools\";\nimport { checkPackageVersion } from \"../utilities/check-package-version\";\n\nexport async function postCommitHook(\n config: StormWorkspaceConfig,\n files: string[]\n) {\n writeInfo(\"Running post-commit hook...\", config);\n checkPackageVersion(files);\n\n try {\n run(config, \"git-lfs version\");\n } catch (error) {\n throw new Error(\n `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.\\nError: ${\n (error as Error)?.message\n }`\n );\n }\n\n run(config, \"git lfs post-commit\");\n}\n"]}
1
+ {"version":3,"sources":["../../src/hooks/post-commit.ts"],"names":["writeInfo","checkPackageVersion","run"],"mappings":";;;;;;;AAMA,eAAsB,cAAA,CACpB,QACA,KAAA,EACA;AACA,EAAAA,2BAAA,CAAU,+BAA+B,MAAM,CAAA;AAC/C,EAAAC,qCAAA,CAAoB,KAAK,CAAA;AAEzB,EAAA,IAAI;AACF,IAAAC,qBAAA,CAAI,QAAQ,iBAAiB,CAAA;AAAA,EAC/B,SAAS,KAAA,EAAO;AACd,IAAA,MAAM,IAAI,KAAA;AAAA,MACR,CAAA;AAAA,OAAA,EACG,OAAiB,OACpB,CAAA;AAAA,KACF;AAAA,EACF;AAEA,EAAAA,qBAAA,CAAI,QAAQ,qBAAqB,CAAA;AACnC","file":"chunk-4FQ44OAT.cjs","sourcesContent":["#!/usr/bin/env node\n\nimport { StormWorkspaceConfig } from \"@storm-software/config\";\nimport { run, writeInfo } from \"@storm-software/config-tools\";\nimport { checkPackageVersion } from \"../utilities/check-package-version\";\n\nexport async function postCommitHook(\n config: StormWorkspaceConfig,\n files: string[]\n) {\n writeInfo(\"Running post-commit hook...\", config);\n checkPackageVersion(files);\n\n try {\n run(config, \"git-lfs version\");\n } catch (error) {\n throw new Error(\n `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.\\nError: ${\n (error as Error)?.message\n }`\n );\n }\n\n run(config, \"git lfs post-commit\");\n}\n"]}
@@ -1854,7 +1854,7 @@ var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
1854
1854
  var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
1855
1855
  var STORM_DEFAULT_LICENSING = "https://stormsoftware.com/license";
1856
1856
  var STORM_DEFAULT_LICENSE = "Apache-2.0";
1857
- var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
1857
+ var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/storm-software/media/banner-1280x320.gif";
1858
1858
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
1859
1859
  var STORM_DEFAULT_BANNER_ALT = "The workspace's banner image";
1860
1860
 
@@ -3547,5 +3547,5 @@ function getWorkspaceConfig(skipLogs = true, options = {}) {
3547
3547
  }
3548
3548
 
3549
3549
  export { STORM_DEFAULT_RELEASE_BANNER, __require, brandIcon, defu, exitWithError, exitWithSuccess, findWorkspaceRootSafe, formatLogMessage, getConfig, getWorkspaceConfig, handleProcess, isVerbose, joinPaths, writeDebug, writeFatal, writeInfo, writeSuccess, writeTrace, writeWarning };
3550
- //# sourceMappingURL=chunk-MURFL6BB.js.map
3551
- //# sourceMappingURL=chunk-MURFL6BB.js.map
3550
+ //# sourceMappingURL=chunk-4ZNUGFUK.js.map
3551
+ //# sourceMappingURL=chunk-4ZNUGFUK.js.map