@storm-software/git-tools 2.123.16 → 2.124.0

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 (84) hide show
  1. package/README.md +1 -1
  2. package/bin/{chunk-SWXHQXUT.cjs → chunk-AU5PZKTN.cjs} +2 -0
  3. package/bin/chunk-AU5PZKTN.cjs.map +1 -0
  4. package/bin/{chunk-G3JMIIRF.cjs → chunk-EHPPIARR.cjs} +12 -17
  5. package/bin/chunk-EHPPIARR.cjs.map +1 -0
  6. package/bin/{chunk-L64XVBGM.cjs → chunk-FH5OSXAJ.cjs} +2 -0
  7. package/bin/chunk-FH5OSXAJ.cjs.map +1 -0
  8. package/bin/{chunk-S5PS23TL.js → chunk-G3YPGVPS.js} +2 -0
  9. package/bin/chunk-G3YPGVPS.js.map +1 -0
  10. package/bin/{chunk-AMSZ7DVW.js → chunk-Q3DQKTOI.js} +2 -0
  11. package/bin/chunk-Q3DQKTOI.js.map +1 -0
  12. package/bin/{chunk-K3LWFM6S.js → chunk-VBJB46HW.js} +13 -17
  13. package/bin/chunk-VBJB46HW.js.map +1 -0
  14. package/bin/git.cjs +941 -1500
  15. package/bin/git.cjs.map +1 -0
  16. package/bin/git.js +887 -1447
  17. package/bin/git.js.map +1 -0
  18. package/bin/post-checkout.cjs +16 -14
  19. package/bin/post-checkout.cjs.map +1 -0
  20. package/bin/post-checkout.js +5 -3
  21. package/bin/post-checkout.js.map +1 -0
  22. package/bin/post-commit.cjs +16 -14
  23. package/bin/post-commit.cjs.map +1 -0
  24. package/bin/post-commit.js +5 -3
  25. package/bin/post-commit.js.map +1 -0
  26. package/bin/post-merge.cjs +16 -14
  27. package/bin/post-merge.cjs.map +1 -0
  28. package/bin/post-merge.js +5 -3
  29. package/bin/post-merge.js.map +1 -0
  30. package/bin/pre-commit.cjs +14 -12
  31. package/bin/pre-commit.cjs.map +1 -0
  32. package/bin/pre-commit.js +4 -2
  33. package/bin/pre-commit.js.map +1 -0
  34. package/bin/pre-install.cjs +13 -11
  35. package/bin/pre-install.cjs.map +1 -0
  36. package/bin/pre-install.js +4 -2
  37. package/bin/pre-install.js.map +1 -0
  38. package/bin/pre-push.cjs +21 -19
  39. package/bin/pre-push.cjs.map +1 -0
  40. package/bin/pre-push.js +5 -3
  41. package/bin/pre-push.js.map +1 -0
  42. package/bin/prepare.cjs +11 -9
  43. package/bin/prepare.cjs.map +1 -0
  44. package/bin/prepare.js +4 -2
  45. package/bin/prepare.js.map +1 -0
  46. package/bin/version-warning.cjs +9 -7
  47. package/bin/version-warning.cjs.map +1 -0
  48. package/bin/version-warning.js +4 -2
  49. package/bin/version-warning.js.map +1 -0
  50. package/dist/chunk-3GGWHKRP.js +3 -6
  51. package/dist/chunk-4VPJA7YJ.cjs +9 -9
  52. package/dist/chunk-5XU2KBM6.js +1 -3
  53. package/dist/chunk-F7OO6L26.cjs +11 -16
  54. package/dist/chunk-JCEVFJCA.js +4 -14
  55. package/dist/chunk-KZRVQ5RZ.js +3 -11
  56. package/dist/chunk-M4QURF2M.cjs +2454 -0
  57. package/dist/chunk-NY53WLGC.cjs +16 -23
  58. package/dist/chunk-RJCCG4TV.js +2420 -0
  59. package/dist/chunk-YBAE6I5L.cjs +3 -3
  60. package/dist/commit/minimal.cjs +11 -3
  61. package/dist/commit/minimal.js +3 -10
  62. package/dist/commit/monorepo.cjs +11 -3
  63. package/dist/commit/monorepo.d.cts +1 -0
  64. package/dist/commit/monorepo.d.ts +1 -0
  65. package/dist/commit/monorepo.js +4 -11
  66. package/dist/commitlint/minimal.cjs +4 -5
  67. package/dist/commitlint/minimal.js +3 -6
  68. package/dist/commitlint/monorepo.cjs +4 -5
  69. package/dist/commitlint/monorepo.js +3 -6
  70. package/dist/index.cjs +40 -14
  71. package/dist/index.d.cts +4 -3
  72. package/dist/index.d.ts +4 -3
  73. package/dist/index.js +5 -20
  74. package/dist/release/config.cjs +30 -6
  75. package/dist/release/config.d.cts +33 -243
  76. package/dist/release/config.d.ts +33 -243
  77. package/dist/release/config.js +5 -14
  78. package/dist/types.cjs +7 -3
  79. package/dist/types.d.cts +91 -94
  80. package/dist/types.d.ts +91 -94
  81. package/dist/types.js +1 -6
  82. package/package.json +12 -12
  83. package/dist/chunk-GOKUSEH3.cjs +0 -77
  84. package/dist/chunk-YCEUZFMU.js +0 -77
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-2.123.14-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)
24
+ [![Version](https://img.shields.io/badge/version-2.123.17-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)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -18,3 +18,5 @@ var checkPackageVersion = (fields) => {
18
18
 
19
19
  exports.checkPackageVersion = checkPackageVersion;
20
20
  exports.isPackageVersionChanged = isPackageVersionChanged;
21
+ //# sourceMappingURL=chunk-AU5PZKTN.cjs.map
22
+ //# sourceMappingURL=chunk-AU5PZKTN.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utilities/check-package-version.ts"],"names":[],"mappings":";;;AAAO,IAAM,uBAAA,GAA0B,YACrC,MAAA,EAAQ,IAAA;AAAA,EACN,CAAA,GAAA,KACE,IAAI,QAAA,CAAS,mBAAmB,KAChC,GAAA,CAAI,QAAA,CAAS,WAAW,CAAA,IACxB,GAAA,CAAI,QAAA,CAAS,gBAAgB,CAAA,IAC7B,GAAA,CAAI,QAAA,CAAS,gBAAgB,CAAA,IAC7B,GAAA,CAAI,SAAS,eAAe,CAAA,IAC5B,GAAA,CAAI,QAAA,CAAS,WAAW;AAC5B;AAEK,IAAM,sBAAsB,CAAA,MAAA,KAAU;AAC3C,EAAA,IAAI,uBAAA,CAAwB,MAAM,CAAA,EAAG;AACnC,IAAA,OAAA,CAAQ,IAAA;AAAA,MACN;AAAA,QACE,qHAAA;AAAA,QACA,qHAAA;AAAA,QACA;AAAA,OACF,CAAE,KAAK,IAAI;AAAA,KACb;AAAA,EACF;AACF","file":"chunk-AU5PZKTN.cjs","sourcesContent":["export const isPackageVersionChanged = fields =>\n fields?.some(\n arg =>\n arg.includes(\"package-lock.json\") ||\n arg.includes(\"yarn.lock\") ||\n arg.includes(\"pnpm-lock.json\") ||\n arg.includes(\"pnpm-lock.yaml\") ||\n arg.includes(\"pnpm-lock.yml\") ||\n arg.includes(\"bun.lockb\")\n );\n\nexport const checkPackageVersion = fields => {\n if (isPackageVersionChanged(fields)) {\n console.warn(\n [\n \"⚠️ ----------------------------------------------------------------------------------------- ⚠️\",\n \"⚠️ The pnpm-lock file changed! Please run `pnpm i` to ensure your packages are up to date. ⚠️\",\n \"⚠️ ----------------------------------------------------------------------------------------- ⚠️\"\n ].join(\"\\n\")\n );\n }\n};\n"]}
@@ -11,12 +11,6 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
11
11
  var chalk__default = /*#__PURE__*/_interopDefault(chalk);
12
12
 
13
13
  var __defProp = Object.defineProperty;
14
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
15
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
16
- }) : x)(function(x) {
17
- if (typeof require !== "undefined") return require.apply(this, arguments);
18
- throw Error('Dynamic require of "' + x + '" is not supported');
19
- });
20
14
  var __export = (target, all) => {
21
15
  for (var name in all)
22
16
  __defProp(target, name, { get: all[name], enumerable: true });
@@ -377,7 +371,7 @@ function config(newConfig) {
377
371
  return globalConfig;
378
372
  }
379
373
 
380
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/util.js
374
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/util.js
381
375
  var util_exports = {};
382
376
  __export(util_exports, {
383
377
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -1009,7 +1003,7 @@ var Class = class {
1009
1003
  }
1010
1004
  };
1011
1005
 
1012
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/errors.js
1006
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/errors.js
1013
1007
  var initializer = (inst, def) => {
1014
1008
  inst.name = "$ZodError";
1015
1009
  Object.defineProperty(inst, "_zod", {
@@ -1029,7 +1023,7 @@ var initializer = (inst, def) => {
1029
1023
  var $ZodError = $constructor("$ZodError", initializer);
1030
1024
  var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
1031
1025
 
1032
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/parse.js
1026
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/parse.js
1033
1027
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
1034
1028
  const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
1035
1029
  const result = schema._zod.run({ value, issues: [] }, ctx);
@@ -1081,7 +1075,7 @@ var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
1081
1075
  };
1082
1076
  var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
1083
1077
 
1084
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/regexes.js
1078
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/regexes.js
1085
1079
  var hostname = /^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/;
1086
1080
  var string = (params) => {
1087
1081
  const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
@@ -1089,7 +1083,7 @@ var string = (params) => {
1089
1083
  };
1090
1084
  var boolean = /^(?:true|false)$/i;
1091
1085
 
1092
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/checks.js
1086
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/checks.js
1093
1087
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
1094
1088
  var _a;
1095
1089
  inst._zod ?? (inst._zod = {});
@@ -1181,14 +1175,14 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
1181
1175
  };
1182
1176
  });
1183
1177
 
1184
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/versions.js
1178
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/versions.js
1185
1179
  var version = {
1186
1180
  major: 4,
1187
1181
  minor: 1,
1188
- patch: 11
1182
+ patch: 12
1189
1183
  };
1190
1184
 
1191
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/schemas.js
1185
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/schemas.js
1192
1186
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
1193
1187
  var _a;
1194
1188
  inst ?? (inst = {});
@@ -1879,7 +1873,7 @@ function registry() {
1879
1873
  return new $ZodRegistry();
1880
1874
  }
1881
1875
 
1882
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/core/api.js
1876
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/core/api.js
1883
1877
  function _string(Class2, params) {
1884
1878
  return new Class2({
1885
1879
  type: "string",
@@ -1934,7 +1928,7 @@ function _toLowerCase() {
1934
1928
  return _overwrite((input) => input.toLowerCase());
1935
1929
  }
1936
1930
 
1937
- // ../../node_modules/.pnpm/zod@4.1.11/node_modules/zod/v4/mini/schemas.js
1931
+ // ../../node_modules/.pnpm/zod@4.1.12/node_modules/zod/v4/mini/schemas.js
1938
1932
  var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
1939
1933
  if (!inst._zod)
1940
1934
  throw new Error("Uninitialized schema in ZodMiniType.");
@@ -3765,7 +3759,6 @@ function getWorkspaceConfig(skipLogs = true, options = {}) {
3765
3759
  }
3766
3760
 
3767
3761
  exports.STORM_DEFAULT_RELEASE_BANNER = STORM_DEFAULT_RELEASE_BANNER;
3768
- exports.__require = __require;
3769
3762
  exports.defu = defu;
3770
3763
  exports.exitWithError = exitWithError;
3771
3764
  exports.exitWithSuccess = exitWithSuccess;
@@ -3782,3 +3775,5 @@ exports.writeInfo = writeInfo;
3782
3775
  exports.writeSuccess = writeSuccess;
3783
3776
  exports.writeTrace = writeTrace;
3784
3777
  exports.writeWarning = writeWarning;
3778
+ //# sourceMappingURL=chunk-EHPPIARR.cjs.map
3779
+ //# sourceMappingURL=chunk-EHPPIARR.cjs.map