@storm-software/git-tools 2.124.68 → 2.124.69

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 (47) hide show
  1. package/bin/{chunk-GU6JHGME.cjs → chunk-2JUV6SZN.cjs} +96 -563
  2. package/bin/chunk-2JUV6SZN.cjs.map +1 -0
  3. package/bin/{chunk-SAG2FKFE.js → chunk-FD6LP4AO.js} +96 -563
  4. package/bin/chunk-FD6LP4AO.js.map +1 -0
  5. package/bin/git.cjs +82 -80
  6. package/bin/git.cjs.map +1 -1
  7. package/bin/git.js +3 -1
  8. package/bin/git.js.map +1 -1
  9. package/bin/post-checkout.cjs +9 -9
  10. package/bin/post-checkout.js +1 -1
  11. package/bin/post-commit.cjs +9 -9
  12. package/bin/post-commit.js +1 -1
  13. package/bin/post-merge.cjs +9 -9
  14. package/bin/post-merge.js +1 -1
  15. package/bin/pre-commit.cjs +9 -9
  16. package/bin/pre-commit.js +1 -1
  17. package/bin/pre-install.cjs +9 -9
  18. package/bin/pre-install.js +1 -1
  19. package/bin/pre-push.cjs +13 -13
  20. package/bin/pre-push.js +1 -1
  21. package/bin/prepare.cjs +7 -7
  22. package/bin/prepare.js +1 -1
  23. package/bin/version-warning.cjs +5 -5
  24. package/bin/version-warning.js +1 -1
  25. package/dist/{chunk-56CSIOQW.cjs → chunk-EMYFDYKP.cjs} +95 -557
  26. package/dist/{chunk-JEIQJXD6.js → chunk-VVJA5N2W.js} +95 -557
  27. package/dist/commit/minimal.cjs +0 -1
  28. package/dist/commit/minimal.js +0 -1
  29. package/dist/commit/monorepo.cjs +0 -1
  30. package/dist/commit/monorepo.js +0 -1
  31. package/dist/commitlint/minimal.cjs +0 -1
  32. package/dist/commitlint/minimal.js +0 -1
  33. package/dist/commitlint/monorepo.cjs +0 -1
  34. package/dist/commitlint/monorepo.js +0 -1
  35. package/dist/index.cjs +8 -9
  36. package/dist/index.js +1 -2
  37. package/dist/release/config.cjs +8 -9
  38. package/dist/release/config.d.cts +1 -0
  39. package/dist/release/config.d.ts +1 -0
  40. package/dist/release/config.js +1 -2
  41. package/dist/types.cjs +0 -1
  42. package/dist/types.js +0 -1
  43. package/package.json +12 -12
  44. package/bin/chunk-GU6JHGME.cjs.map +0 -1
  45. package/bin/chunk-SAG2FKFE.js.map +0 -1
  46. package/dist/chunk-75ZPJI57.cjs +0 -9
  47. package/dist/chunk-MLKGABMK.js +0 -7
@@ -1,6 +1,5 @@
1
1
  import { DEFAULT_MONOREPO_COMMIT_QUESTIONS } from './chunk-JCEVFJCA.js';
2
2
  import { DEFAULT_COMMIT_TYPES } from './chunk-3GGWHKRP.js';
3
- import { __export } from './chunk-MLKGABMK.js';
4
3
  import defu from 'defu';
5
4
  import { loadConfig } from 'c12';
6
5
  import 'date-fns/formatDistanceToNow';
@@ -600,92 +599,12 @@ function config(newConfig) {
600
599
  return globalConfig;
601
600
  }
602
601
 
603
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/util.js
604
- var util_exports = {};
605
- __export(util_exports, {
606
- BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
607
- Class: () => Class,
608
- NUMBER_FORMAT_RANGES: () => NUMBER_FORMAT_RANGES,
609
- aborted: () => aborted,
610
- allowsEval: () => allowsEval,
611
- assert: () => assert,
612
- assertEqual: () => assertEqual,
613
- assertIs: () => assertIs,
614
- assertNever: () => assertNever,
615
- assertNotEqual: () => assertNotEqual,
616
- assignProp: () => assignProp,
617
- base64ToUint8Array: () => base64ToUint8Array,
618
- base64urlToUint8Array: () => base64urlToUint8Array,
619
- cached: () => cached,
620
- captureStackTrace: () => captureStackTrace,
621
- cleanEnum: () => cleanEnum,
622
- cleanRegex: () => cleanRegex,
623
- clone: () => clone,
624
- cloneDef: () => cloneDef,
625
- createTransparentProxy: () => createTransparentProxy,
626
- defineLazy: () => defineLazy,
627
- esc: () => esc,
628
- escapeRegex: () => escapeRegex,
629
- extend: () => extend,
630
- finalizeIssue: () => finalizeIssue,
631
- floatSafeRemainder: () => floatSafeRemainder,
632
- getElementAtPath: () => getElementAtPath,
633
- getEnumValues: () => getEnumValues,
634
- getLengthableOrigin: () => getLengthableOrigin,
635
- getParsedType: () => getParsedType,
636
- getSizableOrigin: () => getSizableOrigin,
637
- hexToUint8Array: () => hexToUint8Array,
638
- isObject: () => isObject,
639
- isPlainObject: () => isPlainObject,
640
- issue: () => issue,
641
- joinValues: () => joinValues,
642
- jsonStringifyReplacer: () => jsonStringifyReplacer,
643
- merge: () => merge,
644
- mergeDefs: () => mergeDefs,
645
- normalizeParams: () => normalizeParams,
646
- nullish: () => nullish,
647
- numKeys: () => numKeys,
648
- objectClone: () => objectClone,
649
- omit: () => omit2,
650
- optionalKeys: () => optionalKeys,
651
- partial: () => partial,
652
- pick: () => pick,
653
- prefixIssues: () => prefixIssues,
654
- primitiveTypes: () => primitiveTypes,
655
- promiseAllObject: () => promiseAllObject,
656
- propertyKeyTypes: () => propertyKeyTypes,
657
- randomString: () => randomString,
658
- required: () => required,
659
- safeExtend: () => safeExtend,
660
- shallowClone: () => shallowClone,
661
- slugify: () => slugify,
662
- stringifyPrimitive: () => stringifyPrimitive,
663
- uint8ArrayToBase64: () => uint8ArrayToBase64,
664
- uint8ArrayToBase64url: () => uint8ArrayToBase64url,
665
- uint8ArrayToHex: () => uint8ArrayToHex,
666
- unwrapMessage: () => unwrapMessage
667
- });
668
- function assertEqual(val) {
669
- return val;
670
- }
671
- function assertNotEqual(val) {
672
- return val;
673
- }
674
- function assertIs(_arg) {
675
- }
676
- function assertNever(_x) {
677
- throw new Error("Unexpected value in exhaustive check");
678
- }
679
- function assert(_) {
680
- }
602
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/util.js
681
603
  function getEnumValues(entries) {
682
604
  const numericValues = Object.values(entries).filter((v) => typeof v === "number");
683
605
  const values = Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
684
606
  return values;
685
607
  }
686
- function joinValues(array2, separator = "|") {
687
- return array2.map((val) => stringifyPrimitive(val)).join(separator);
688
- }
689
608
  function jsonStringifyReplacer(_, value) {
690
609
  if (typeof value === "bigint")
691
610
  return value.toString();
@@ -710,21 +629,6 @@ function cleanRegex(source) {
710
629
  const end = source.endsWith("$") ? source.length - 1 : source.length;
711
630
  return source.slice(start, end);
712
631
  }
713
- function floatSafeRemainder(val, step) {
714
- const valDecCount = (val.toString().split(".")[1] || "").length;
715
- const stepString = step.toString();
716
- let stepDecCount = (stepString.split(".")[1] || "").length;
717
- if (stepDecCount === 0 && /\d?e-\d?/.test(stepString)) {
718
- const match = stepString.match(/\d?e-(\d?)/);
719
- if (match?.[1]) {
720
- stepDecCount = Number.parseInt(match[1]);
721
- }
722
- }
723
- const decCount = valDecCount > stepDecCount ? valDecCount : stepDecCount;
724
- const valInt = Number.parseInt(val.toFixed(decCount).replace(".", ""));
725
- const stepInt = Number.parseInt(step.toFixed(decCount).replace(".", ""));
726
- return valInt % stepInt / 10 ** decCount;
727
- }
728
632
  var EVALUATING = Symbol("evaluating");
729
633
  function defineLazy(object2, key, getter) {
730
634
  let value = void 0;
@@ -748,75 +652,11 @@ function defineLazy(object2, key, getter) {
748
652
  configurable: true
749
653
  });
750
654
  }
751
- function objectClone(obj) {
752
- return Object.create(Object.getPrototypeOf(obj), Object.getOwnPropertyDescriptors(obj));
753
- }
754
- function assignProp(target, prop, value) {
755
- Object.defineProperty(target, prop, {
756
- value,
757
- writable: true,
758
- enumerable: true,
759
- configurable: true
760
- });
761
- }
762
- function mergeDefs(...defs) {
763
- const mergedDescriptors = {};
764
- for (const def of defs) {
765
- const descriptors = Object.getOwnPropertyDescriptors(def);
766
- Object.assign(mergedDescriptors, descriptors);
767
- }
768
- return Object.defineProperties({}, mergedDescriptors);
769
- }
770
- function cloneDef(schema) {
771
- return mergeDefs(schema._zod.def);
772
- }
773
- function getElementAtPath(obj, path) {
774
- if (!path)
775
- return obj;
776
- return path.reduce((acc, key) => acc?.[key], obj);
777
- }
778
- function promiseAllObject(promisesObj) {
779
- const keys = Object.keys(promisesObj);
780
- const promises = keys.map((key) => promisesObj[key]);
781
- return Promise.all(promises).then((results) => {
782
- const resolvedObj = {};
783
- for (let i = 0; i < keys.length; i++) {
784
- resolvedObj[keys[i]] = results[i];
785
- }
786
- return resolvedObj;
787
- });
788
- }
789
- function randomString(length = 10) {
790
- const chars = "abcdefghijklmnopqrstuvwxyz";
791
- let str = "";
792
- for (let i = 0; i < length; i++) {
793
- str += chars[Math.floor(Math.random() * chars.length)];
794
- }
795
- return str;
796
- }
797
- function esc(str) {
798
- return JSON.stringify(str);
799
- }
800
- function slugify(input) {
801
- return input.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
802
- }
803
655
  var captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
804
656
  };
805
657
  function isObject(data) {
806
658
  return typeof data === "object" && data !== null && !Array.isArray(data);
807
659
  }
808
- var allowsEval = cached(() => {
809
- if (typeof navigator !== "undefined" && navigator?.userAgent?.includes("Cloudflare")) {
810
- return false;
811
- }
812
- try {
813
- const F = Function;
814
- new F("");
815
- return true;
816
- } catch (_) {
817
- return false;
818
- }
819
- });
820
660
  function isPlainObject(o) {
821
661
  if (isObject(o) === false)
822
662
  return false;
@@ -840,61 +680,7 @@ function shallowClone(o) {
840
680
  return [...o];
841
681
  return o;
842
682
  }
843
- function numKeys(data) {
844
- let keyCount = 0;
845
- for (const key in data) {
846
- if (Object.prototype.hasOwnProperty.call(data, key)) {
847
- keyCount++;
848
- }
849
- }
850
- return keyCount;
851
- }
852
- var getParsedType = (data) => {
853
- const t = typeof data;
854
- switch (t) {
855
- case "undefined":
856
- return "undefined";
857
- case "string":
858
- return "string";
859
- case "number":
860
- return Number.isNaN(data) ? "nan" : "number";
861
- case "boolean":
862
- return "boolean";
863
- case "function":
864
- return "function";
865
- case "bigint":
866
- return "bigint";
867
- case "symbol":
868
- return "symbol";
869
- case "object":
870
- if (Array.isArray(data)) {
871
- return "array";
872
- }
873
- if (data === null) {
874
- return "null";
875
- }
876
- if (data.then && typeof data.then === "function" && data.catch && typeof data.catch === "function") {
877
- return "promise";
878
- }
879
- if (typeof Map !== "undefined" && data instanceof Map) {
880
- return "map";
881
- }
882
- if (typeof Set !== "undefined" && data instanceof Set) {
883
- return "set";
884
- }
885
- if (typeof Date !== "undefined" && data instanceof Date) {
886
- return "date";
887
- }
888
- if (typeof File !== "undefined" && data instanceof File) {
889
- return "file";
890
- }
891
- return "object";
892
- default:
893
- throw new Error(`Unknown data type: ${t}`);
894
- }
895
- };
896
683
  var propertyKeyTypes = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
897
- var primitiveTypes = /* @__PURE__ */ new Set(["string", "number", "bigint", "boolean", "symbol", "undefined"]);
898
684
  function escapeRegex(str) {
899
685
  return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
900
686
  }
@@ -905,230 +691,13 @@ function clone(inst, def, params) {
905
691
  return cl;
906
692
  }
907
693
  function normalizeParams(_params) {
908
- const params = _params;
909
- if (!params)
910
- return {};
911
- if (typeof params === "string")
912
- return { error: () => params };
913
- if (params?.message !== void 0) {
914
- if (params?.error !== void 0)
915
- throw new Error("Cannot specify both `message` and `error` params");
916
- params.error = params.message;
917
- }
918
- delete params.message;
919
- if (typeof params.error === "string")
920
- return { ...params, error: () => params.error };
921
- return params;
922
- }
923
- function createTransparentProxy(getter) {
924
- let target;
925
- return new Proxy({}, {
926
- get(_, prop, receiver) {
927
- target ?? (target = getter());
928
- return Reflect.get(target, prop, receiver);
929
- },
930
- set(_, prop, value, receiver) {
931
- target ?? (target = getter());
932
- return Reflect.set(target, prop, value, receiver);
933
- },
934
- has(_, prop) {
935
- target ?? (target = getter());
936
- return Reflect.has(target, prop);
937
- },
938
- deleteProperty(_, prop) {
939
- target ?? (target = getter());
940
- return Reflect.deleteProperty(target, prop);
941
- },
942
- ownKeys(_) {
943
- target ?? (target = getter());
944
- return Reflect.ownKeys(target);
945
- },
946
- getOwnPropertyDescriptor(_, prop) {
947
- target ?? (target = getter());
948
- return Reflect.getOwnPropertyDescriptor(target, prop);
949
- },
950
- defineProperty(_, prop, descriptor) {
951
- target ?? (target = getter());
952
- return Reflect.defineProperty(target, prop, descriptor);
953
- }
954
- });
955
- }
956
- function stringifyPrimitive(value) {
957
- if (typeof value === "bigint")
958
- return value.toString() + "n";
959
- if (typeof value === "string")
960
- return `"${value}"`;
961
- return `${value}`;
694
+ return {};
962
695
  }
963
696
  function optionalKeys(shape) {
964
697
  return Object.keys(shape).filter((k) => {
965
698
  return shape[k]._zod.optin === "optional" && shape[k]._zod.optout === "optional";
966
699
  });
967
700
  }
968
- var NUMBER_FORMAT_RANGES = {
969
- safeint: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER],
970
- int32: [-2147483648, 2147483647],
971
- uint32: [0, 4294967295],
972
- float32: [-34028234663852886e22, 34028234663852886e22],
973
- float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
974
- };
975
- var BIGINT_FORMAT_RANGES = {
976
- int64: [/* @__PURE__ */ BigInt("-9223372036854775808"), /* @__PURE__ */ BigInt("9223372036854775807")],
977
- uint64: [/* @__PURE__ */ BigInt(0), /* @__PURE__ */ BigInt("18446744073709551615")]
978
- };
979
- function pick(schema, mask) {
980
- const currDef = schema._zod.def;
981
- const def = mergeDefs(schema._zod.def, {
982
- get shape() {
983
- const newShape = {};
984
- for (const key in mask) {
985
- if (!(key in currDef.shape)) {
986
- throw new Error(`Unrecognized key: "${key}"`);
987
- }
988
- if (!mask[key])
989
- continue;
990
- newShape[key] = currDef.shape[key];
991
- }
992
- assignProp(this, "shape", newShape);
993
- return newShape;
994
- },
995
- checks: []
996
- });
997
- return clone(schema, def);
998
- }
999
- function omit2(schema, mask) {
1000
- const currDef = schema._zod.def;
1001
- const def = mergeDefs(schema._zod.def, {
1002
- get shape() {
1003
- const newShape = { ...schema._zod.def.shape };
1004
- for (const key in mask) {
1005
- if (!(key in currDef.shape)) {
1006
- throw new Error(`Unrecognized key: "${key}"`);
1007
- }
1008
- if (!mask[key])
1009
- continue;
1010
- delete newShape[key];
1011
- }
1012
- assignProp(this, "shape", newShape);
1013
- return newShape;
1014
- },
1015
- checks: []
1016
- });
1017
- return clone(schema, def);
1018
- }
1019
- function extend(schema, shape) {
1020
- if (!isPlainObject(shape)) {
1021
- throw new Error("Invalid input to extend: expected a plain object");
1022
- }
1023
- const checks = schema._zod.def.checks;
1024
- const hasChecks = checks && checks.length > 0;
1025
- if (hasChecks) {
1026
- throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");
1027
- }
1028
- const def = mergeDefs(schema._zod.def, {
1029
- get shape() {
1030
- const _shape = { ...schema._zod.def.shape, ...shape };
1031
- assignProp(this, "shape", _shape);
1032
- return _shape;
1033
- },
1034
- checks: []
1035
- });
1036
- return clone(schema, def);
1037
- }
1038
- function safeExtend(schema, shape) {
1039
- if (!isPlainObject(shape)) {
1040
- throw new Error("Invalid input to safeExtend: expected a plain object");
1041
- }
1042
- const def = {
1043
- ...schema._zod.def,
1044
- get shape() {
1045
- const _shape = { ...schema._zod.def.shape, ...shape };
1046
- assignProp(this, "shape", _shape);
1047
- return _shape;
1048
- },
1049
- checks: schema._zod.def.checks
1050
- };
1051
- return clone(schema, def);
1052
- }
1053
- function merge(a, b) {
1054
- const def = mergeDefs(a._zod.def, {
1055
- get shape() {
1056
- const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
1057
- assignProp(this, "shape", _shape);
1058
- return _shape;
1059
- },
1060
- get catchall() {
1061
- return b._zod.def.catchall;
1062
- },
1063
- checks: []
1064
- // delete existing checks
1065
- });
1066
- return clone(a, def);
1067
- }
1068
- function partial(Class2, schema, mask) {
1069
- const def = mergeDefs(schema._zod.def, {
1070
- get shape() {
1071
- const oldShape = schema._zod.def.shape;
1072
- const shape = { ...oldShape };
1073
- if (mask) {
1074
- for (const key in mask) {
1075
- if (!(key in oldShape)) {
1076
- throw new Error(`Unrecognized key: "${key}"`);
1077
- }
1078
- if (!mask[key])
1079
- continue;
1080
- shape[key] = Class2 ? new Class2({
1081
- type: "optional",
1082
- innerType: oldShape[key]
1083
- }) : oldShape[key];
1084
- }
1085
- } else {
1086
- for (const key in oldShape) {
1087
- shape[key] = Class2 ? new Class2({
1088
- type: "optional",
1089
- innerType: oldShape[key]
1090
- }) : oldShape[key];
1091
- }
1092
- }
1093
- assignProp(this, "shape", shape);
1094
- return shape;
1095
- },
1096
- checks: []
1097
- });
1098
- return clone(schema, def);
1099
- }
1100
- function required(Class2, schema, mask) {
1101
- const def = mergeDefs(schema._zod.def, {
1102
- get shape() {
1103
- const oldShape = schema._zod.def.shape;
1104
- const shape = { ...oldShape };
1105
- if (mask) {
1106
- for (const key in mask) {
1107
- if (!(key in shape)) {
1108
- throw new Error(`Unrecognized key: "${key}"`);
1109
- }
1110
- if (!mask[key])
1111
- continue;
1112
- shape[key] = new Class2({
1113
- type: "nonoptional",
1114
- innerType: oldShape[key]
1115
- });
1116
- }
1117
- } else {
1118
- for (const key in oldShape) {
1119
- shape[key] = new Class2({
1120
- type: "nonoptional",
1121
- innerType: oldShape[key]
1122
- });
1123
- }
1124
- }
1125
- assignProp(this, "shape", shape);
1126
- return shape;
1127
- },
1128
- checks: []
1129
- });
1130
- return clone(schema, def);
1131
- }
1132
701
  function aborted(x, startIndex = 0) {
1133
702
  if (x.aborted === true)
1134
703
  return true;
@@ -1163,15 +732,6 @@ function finalizeIssue(iss, ctx, config2) {
1163
732
  }
1164
733
  return full;
1165
734
  }
1166
- function getSizableOrigin(input) {
1167
- if (input instanceof Set)
1168
- return "set";
1169
- if (input instanceof Map)
1170
- return "map";
1171
- if (input instanceof File)
1172
- return "file";
1173
- return "unknown";
1174
- }
1175
735
  function getLengthableOrigin(input) {
1176
736
  if (Array.isArray(input))
1177
737
  return "array";
@@ -1179,66 +739,8 @@ function getLengthableOrigin(input) {
1179
739
  return "string";
1180
740
  return "unknown";
1181
741
  }
1182
- function issue(...args) {
1183
- const [iss, input, inst] = args;
1184
- if (typeof iss === "string") {
1185
- return {
1186
- message: iss,
1187
- code: "custom",
1188
- input,
1189
- inst
1190
- };
1191
- }
1192
- return { ...iss };
1193
- }
1194
- function cleanEnum(obj) {
1195
- return Object.entries(obj).filter(([k, _]) => {
1196
- return Number.isNaN(Number.parseInt(k, 10));
1197
- }).map((el) => el[1]);
1198
- }
1199
- function base64ToUint8Array(base642) {
1200
- const binaryString = atob(base642);
1201
- const bytes = new Uint8Array(binaryString.length);
1202
- for (let i = 0; i < binaryString.length; i++) {
1203
- bytes[i] = binaryString.charCodeAt(i);
1204
- }
1205
- return bytes;
1206
- }
1207
- function uint8ArrayToBase64(bytes) {
1208
- let binaryString = "";
1209
- for (let i = 0; i < bytes.length; i++) {
1210
- binaryString += String.fromCharCode(bytes[i]);
1211
- }
1212
- return btoa(binaryString);
1213
- }
1214
- function base64urlToUint8Array(base64url2) {
1215
- const base642 = base64url2.replace(/-/g, "+").replace(/_/g, "/");
1216
- const padding = "=".repeat((4 - base642.length % 4) % 4);
1217
- return base64ToUint8Array(base642 + padding);
1218
- }
1219
- function uint8ArrayToBase64url(bytes) {
1220
- return uint8ArrayToBase64(bytes).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "");
1221
- }
1222
- function hexToUint8Array(hex) {
1223
- const cleanHex = hex.replace(/^0x/, "");
1224
- if (cleanHex.length % 2 !== 0) {
1225
- throw new Error("Invalid hex string length");
1226
- }
1227
- const bytes = new Uint8Array(cleanHex.length / 2);
1228
- for (let i = 0; i < cleanHex.length; i += 2) {
1229
- bytes[i / 2] = Number.parseInt(cleanHex.slice(i, i + 2), 16);
1230
- }
1231
- return bytes;
1232
- }
1233
- function uint8ArrayToHex(bytes) {
1234
- return Array.from(bytes).map((b) => b.toString(16).padStart(2, "0")).join("");
1235
- }
1236
- var Class = class {
1237
- constructor(..._args) {
1238
- }
1239
- };
1240
742
 
1241
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/errors.js
743
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/errors.js
1242
744
  var initializer = (inst, def) => {
1243
745
  inst.name = "$ZodError";
1244
746
  Object.defineProperty(inst, "_zod", {
@@ -1258,7 +760,7 @@ var initializer = (inst, def) => {
1258
760
  var $ZodError = $constructor("$ZodError", initializer);
1259
761
  var $ZodRealError = $constructor("$ZodError", initializer, { Parent: Error });
1260
762
 
1261
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/parse.js
763
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/parse.js
1262
764
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
1263
765
  const ctx = _ctx ? Object.assign(_ctx, { async: false }) : { async: false };
1264
766
  const result = schema._zod.run({ value, issues: [] }, ctx);
@@ -1313,9 +815,10 @@ var string = (params) => {
1313
815
  const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
1314
816
  return new RegExp(`^${regex}$`);
1315
817
  };
818
+ var number = /^-?\d+(?:\.\d+)?$/;
1316
819
  var boolean = /^(?:true|false)$/i;
1317
820
 
1318
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/checks.js
821
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/checks.js
1319
822
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
1320
823
  var _a2;
1321
824
  inst._zod ?? (inst._zod = {});
@@ -1407,14 +910,14 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
1407
910
  };
1408
911
  });
1409
912
 
1410
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/versions.js
913
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/versions.js
1411
914
  var version = {
1412
915
  major: 4,
1413
- minor: 2,
1414
- patch: 1
916
+ minor: 3,
917
+ patch: 6
1415
918
  };
1416
919
 
1417
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/schemas.js
920
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/schemas.js
1418
921
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
1419
922
  var _a2;
1420
923
  inst ?? (inst = {});
@@ -1511,7 +1014,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
1511
1014
  return runChecks(result, checks, ctx);
1512
1015
  };
1513
1016
  }
1514
- inst["~standard"] = {
1017
+ defineLazy(inst, "~standard", () => ({
1515
1018
  validate: (value) => {
1516
1019
  try {
1517
1020
  const r = safeParse(inst, value);
@@ -1522,7 +1025,7 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
1522
1025
  },
1523
1026
  vendor: "zod",
1524
1027
  version: 1
1525
- };
1028
+ }));
1526
1029
  });
1527
1030
  var $ZodString = /* @__PURE__ */ $constructor("$ZodString", (inst, def) => {
1528
1031
  $ZodType.init(inst, def);
@@ -1663,8 +1166,11 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
1663
1166
  return payload;
1664
1167
  };
1665
1168
  });
1666
- function handlePropertyResult(result, final, key, input) {
1169
+ function handlePropertyResult(result, final, key, input, isOptionalOut) {
1667
1170
  if (result.issues.length) {
1171
+ if (isOptionalOut && !(key in input)) {
1172
+ return;
1173
+ }
1668
1174
  final.issues.push(...prefixIssues(key, result.issues));
1669
1175
  }
1670
1176
  if (result.value === void 0) {
@@ -1696,6 +1202,7 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
1696
1202
  const keySet = def.keySet;
1697
1203
  const _catchall = def.catchall._zod;
1698
1204
  const t = _catchall.def.type;
1205
+ const isOptionalOut = _catchall.optout === "optional";
1699
1206
  for (const key in input) {
1700
1207
  if (keySet.has(key))
1701
1208
  continue;
@@ -1705,9 +1212,9 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
1705
1212
  }
1706
1213
  const r = _catchall.run({ value: input[key], issues: [] }, ctx);
1707
1214
  if (r instanceof Promise) {
1708
- proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input)));
1215
+ proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
1709
1216
  } else {
1710
- handlePropertyResult(r, payload, key, input);
1217
+ handlePropertyResult(r, payload, key, input, isOptionalOut);
1711
1218
  }
1712
1219
  }
1713
1220
  if (unrecognized.length) {
@@ -1773,11 +1280,12 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
1773
1280
  const shape = value.shape;
1774
1281
  for (const key of value.keys) {
1775
1282
  const el = shape[key];
1283
+ const isOptionalOut = el._zod.optout === "optional";
1776
1284
  const r = el._zod.run({ value: input[key], issues: [] }, ctx);
1777
1285
  if (r instanceof Promise) {
1778
- proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input)));
1286
+ proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input, isOptionalOut)));
1779
1287
  } else {
1780
- handlePropertyResult(r, payload, key, input);
1288
+ handlePropertyResult(r, payload, key, input, isOptionalOut);
1781
1289
  }
1782
1290
  }
1783
1291
  if (!catchall) {
@@ -1909,10 +1417,20 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
1909
1417
  for (const key of Reflect.ownKeys(input)) {
1910
1418
  if (key === "__proto__")
1911
1419
  continue;
1912
- const keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
1420
+ let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
1913
1421
  if (keyResult instanceof Promise) {
1914
1422
  throw new Error("Async schemas not supported in object keys currently");
1915
1423
  }
1424
+ const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length;
1425
+ if (checkNumericKey) {
1426
+ const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
1427
+ if (retryResult instanceof Promise) {
1428
+ throw new Error("Async schemas not supported in object keys currently");
1429
+ }
1430
+ if (retryResult.issues.length === 0) {
1431
+ keyResult = retryResult;
1432
+ }
1433
+ }
1916
1434
  if (keyResult.issues.length) {
1917
1435
  if (def.mode === "loose") {
1918
1436
  payload.value[key] = input[key];
@@ -2065,7 +1583,7 @@ function handleDefaultResult(payload, def) {
2065
1583
  return payload;
2066
1584
  }
2067
1585
 
2068
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/registries.js
1586
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/registries.js
2069
1587
  var _a;
2070
1588
  var $ZodRegistry = class {
2071
1589
  constructor() {
@@ -2076,9 +1594,6 @@ var $ZodRegistry = class {
2076
1594
  const meta2 = _meta[0];
2077
1595
  this._map.set(schema, meta2);
2078
1596
  if (meta2 && typeof meta2 === "object" && "id" in meta2) {
2079
- if (this._idmap.has(meta2.id)) {
2080
- throw new Error(`ID ${meta2.id} already exists in the registry`);
2081
- }
2082
1597
  this._idmap.set(meta2.id, schema);
2083
1598
  }
2084
1599
  return this;
@@ -2115,62 +1630,71 @@ function registry() {
2115
1630
  }
2116
1631
  (_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
2117
1632
 
2118
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/core/api.js
2119
- function _string(Class2, params) {
2120
- return new Class2({
1633
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/core/api.js
1634
+ // @__NO_SIDE_EFFECTS__
1635
+ function _string(Class, params) {
1636
+ return new Class({
2121
1637
  type: "string",
2122
- ...normalizeParams(params)
1638
+ ...normalizeParams()
2123
1639
  });
2124
1640
  }
2125
- function _url(Class2, params) {
2126
- return new Class2({
1641
+ // @__NO_SIDE_EFFECTS__
1642
+ function _url(Class, params) {
1643
+ return new Class({
2127
1644
  type: "string",
2128
1645
  format: "url",
2129
1646
  check: "string_format",
2130
1647
  abort: false,
2131
- ...normalizeParams(params)
1648
+ ...normalizeParams()
2132
1649
  });
2133
1650
  }
2134
- function _boolean(Class2, params) {
2135
- return new Class2({
1651
+ // @__NO_SIDE_EFFECTS__
1652
+ function _boolean(Class, params) {
1653
+ return new Class({
2136
1654
  type: "boolean",
2137
- ...normalizeParams(params)
1655
+ ...normalizeParams()
2138
1656
  });
2139
1657
  }
2140
- function _any(Class2) {
2141
- return new Class2({
1658
+ // @__NO_SIDE_EFFECTS__
1659
+ function _any(Class) {
1660
+ return new Class({
2142
1661
  type: "any"
2143
1662
  });
2144
1663
  }
1664
+ // @__NO_SIDE_EFFECTS__
2145
1665
  function _length(length, params) {
2146
1666
  return new $ZodCheckLengthEquals({
2147
1667
  check: "length_equals",
2148
- ...normalizeParams(params),
1668
+ ...normalizeParams(),
2149
1669
  length
2150
1670
  });
2151
1671
  }
1672
+ // @__NO_SIDE_EFFECTS__
2152
1673
  function _regex(pattern, params) {
2153
1674
  return new $ZodCheckRegex({
2154
1675
  check: "string_format",
2155
1676
  format: "regex",
2156
- ...normalizeParams(params),
1677
+ ...normalizeParams(),
2157
1678
  pattern
2158
1679
  });
2159
1680
  }
1681
+ // @__NO_SIDE_EFFECTS__
2160
1682
  function _overwrite(tx) {
2161
1683
  return new $ZodCheckOverwrite({
2162
1684
  check: "overwrite",
2163
1685
  tx
2164
1686
  });
2165
1687
  }
1688
+ // @__NO_SIDE_EFFECTS__
2166
1689
  function _trim() {
2167
- return _overwrite((input) => input.trim());
1690
+ return /* @__PURE__ */ _overwrite((input) => input.trim());
2168
1691
  }
1692
+ // @__NO_SIDE_EFFECTS__
2169
1693
  function _toLowerCase() {
2170
- return _overwrite((input) => input.toLowerCase());
1694
+ return /* @__PURE__ */ _overwrite((input) => input.toLowerCase());
2171
1695
  }
2172
1696
 
2173
- // ../../node_modules/.pnpm/zod@4.2.1/node_modules/zod/v4/mini/schemas.js
1697
+ // ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/mini/schemas.js
2174
1698
  var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
2175
1699
  if (!inst._zod)
2176
1700
  throw new Error("Uninitialized schema in ZodMiniType.");
@@ -2182,30 +1706,30 @@ var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
2182
1706
  inst.parseAsync = async (data, params) => parseAsync(inst, data, params, { callee: inst.parseAsync });
2183
1707
  inst.safeParseAsync = async (data, params) => safeParseAsync(inst, data, params);
2184
1708
  inst.check = (...checks) => {
2185
- return inst.clone(
2186
- {
2187
- ...def,
2188
- checks: [
2189
- ...def.checks ?? [],
2190
- ...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
2191
- ]
2192
- }
2193
- // { parent: true }
2194
- );
1709
+ return inst.clone({
1710
+ ...def,
1711
+ checks: [
1712
+ ...def.checks ?? [],
1713
+ ...checks.map((ch) => typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch)
1714
+ ]
1715
+ }, { parent: true });
2195
1716
  };
1717
+ inst.with = inst.check;
2196
1718
  inst.clone = (_def, params) => clone(inst, _def, params);
2197
1719
  inst.brand = () => inst;
2198
1720
  inst.register = ((reg, meta2) => {
2199
1721
  reg.add(inst, meta2);
2200
1722
  return inst;
2201
1723
  });
1724
+ inst.apply = (fn) => fn(inst);
2202
1725
  });
2203
1726
  var ZodMiniString = /* @__PURE__ */ $constructor("ZodMiniString", (inst, def) => {
2204
1727
  $ZodString.init(inst, def);
2205
1728
  ZodMiniType.init(inst, def);
2206
1729
  });
1730
+ // @__NO_SIDE_EFFECTS__
2207
1731
  function string2(params) {
2208
- return _string(ZodMiniString, params);
1732
+ return _string(ZodMiniString);
2209
1733
  }
2210
1734
  var ZodMiniStringFormat = /* @__PURE__ */ $constructor("ZodMiniStringFormat", (inst, def) => {
2211
1735
  $ZodStringFormat.init(inst, def);
@@ -2215,20 +1739,23 @@ var ZodMiniURL = /* @__PURE__ */ $constructor("ZodMiniURL", (inst, def) => {
2215
1739
  $ZodURL.init(inst, def);
2216
1740
  ZodMiniStringFormat.init(inst, def);
2217
1741
  });
1742
+ // @__NO_SIDE_EFFECTS__
2218
1743
  function url(params) {
2219
- return _url(ZodMiniURL, params);
1744
+ return _url(ZodMiniURL);
2220
1745
  }
2221
1746
  var ZodMiniBoolean = /* @__PURE__ */ $constructor("ZodMiniBoolean", (inst, def) => {
2222
1747
  $ZodBoolean.init(inst, def);
2223
1748
  ZodMiniType.init(inst, def);
2224
1749
  });
1750
+ // @__NO_SIDE_EFFECTS__
2225
1751
  function boolean2(params) {
2226
- return _boolean(ZodMiniBoolean, params);
1752
+ return _boolean(ZodMiniBoolean);
2227
1753
  }
2228
1754
  var ZodMiniAny = /* @__PURE__ */ $constructor("ZodMiniAny", (inst, def) => {
2229
1755
  $ZodAny.init(inst, def);
2230
1756
  ZodMiniType.init(inst, def);
2231
1757
  });
1758
+ // @__NO_SIDE_EFFECTS__
2232
1759
  function any() {
2233
1760
  return _any(ZodMiniAny);
2234
1761
  }
@@ -2236,23 +1763,25 @@ var ZodMiniArray = /* @__PURE__ */ $constructor("ZodMiniArray", (inst, def) => {
2236
1763
  $ZodArray.init(inst, def);
2237
1764
  ZodMiniType.init(inst, def);
2238
1765
  });
1766
+ // @__NO_SIDE_EFFECTS__
2239
1767
  function array(element, params) {
2240
1768
  return new ZodMiniArray({
2241
1769
  type: "array",
2242
1770
  element,
2243
- ...util_exports.normalizeParams(params)
1771
+ ...normalizeParams()
2244
1772
  });
2245
1773
  }
2246
1774
  var ZodMiniObject = /* @__PURE__ */ $constructor("ZodMiniObject", (inst, def) => {
2247
1775
  $ZodObject.init(inst, def);
2248
1776
  ZodMiniType.init(inst, def);
2249
- util_exports.defineLazy(inst, "shape", () => def.shape);
1777
+ defineLazy(inst, "shape", () => def.shape);
2250
1778
  });
1779
+ // @__NO_SIDE_EFFECTS__
2251
1780
  function object(shape, params) {
2252
1781
  const def = {
2253
1782
  type: "object",
2254
1783
  shape: shape ?? {},
2255
- ...util_exports.normalizeParams(params)
1784
+ ...normalizeParams()
2256
1785
  };
2257
1786
  return new ZodMiniObject(def);
2258
1787
  }
@@ -2260,23 +1789,25 @@ var ZodMiniUnion = /* @__PURE__ */ $constructor("ZodMiniUnion", (inst, def) => {
2260
1789
  $ZodUnion.init(inst, def);
2261
1790
  ZodMiniType.init(inst, def);
2262
1791
  });
1792
+ // @__NO_SIDE_EFFECTS__
2263
1793
  function union(options, params) {
2264
1794
  return new ZodMiniUnion({
2265
1795
  type: "union",
2266
1796
  options,
2267
- ...util_exports.normalizeParams(params)
1797
+ ...normalizeParams()
2268
1798
  });
2269
1799
  }
2270
1800
  var ZodMiniRecord = /* @__PURE__ */ $constructor("ZodMiniRecord", (inst, def) => {
2271
1801
  $ZodRecord.init(inst, def);
2272
1802
  ZodMiniType.init(inst, def);
2273
1803
  });
1804
+ // @__NO_SIDE_EFFECTS__
2274
1805
  function record(keyType, valueType, params) {
2275
1806
  return new ZodMiniRecord({
2276
1807
  type: "record",
2277
1808
  keyType,
2278
1809
  valueType,
2279
- ...util_exports.normalizeParams(params)
1810
+ ...normalizeParams()
2280
1811
  });
2281
1812
  }
2282
1813
  var ZodMiniEnum = /* @__PURE__ */ $constructor("ZodMiniEnum", (inst, def) => {
@@ -2284,29 +1815,32 @@ var ZodMiniEnum = /* @__PURE__ */ $constructor("ZodMiniEnum", (inst, def) => {
2284
1815
  ZodMiniType.init(inst, def);
2285
1816
  inst.options = Object.values(def.entries);
2286
1817
  });
1818
+ // @__NO_SIDE_EFFECTS__
2287
1819
  function _enum(values, params) {
2288
1820
  const entries = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
2289
1821
  return new ZodMiniEnum({
2290
1822
  type: "enum",
2291
1823
  entries,
2292
- ...util_exports.normalizeParams(params)
1824
+ ...normalizeParams()
2293
1825
  });
2294
1826
  }
2295
1827
  var ZodMiniLiteral = /* @__PURE__ */ $constructor("ZodMiniLiteral", (inst, def) => {
2296
1828
  $ZodLiteral.init(inst, def);
2297
1829
  ZodMiniType.init(inst, def);
2298
1830
  });
1831
+ // @__NO_SIDE_EFFECTS__
2299
1832
  function literal(value, params) {
2300
1833
  return new ZodMiniLiteral({
2301
1834
  type: "literal",
2302
1835
  values: Array.isArray(value) ? value : [value],
2303
- ...util_exports.normalizeParams(params)
1836
+ ...normalizeParams()
2304
1837
  });
2305
1838
  }
2306
1839
  var ZodMiniOptional = /* @__PURE__ */ $constructor("ZodMiniOptional", (inst, def) => {
2307
1840
  $ZodOptional.init(inst, def);
2308
1841
  ZodMiniType.init(inst, def);
2309
1842
  });
1843
+ // @__NO_SIDE_EFFECTS__
2310
1844
  function optional(innerType) {
2311
1845
  return new ZodMiniOptional({
2312
1846
  type: "optional",
@@ -2317,6 +1851,7 @@ var ZodMiniNullable = /* @__PURE__ */ $constructor("ZodMiniNullable", (inst, def
2317
1851
  $ZodNullable.init(inst, def);
2318
1852
  ZodMiniType.init(inst, def);
2319
1853
  });
1854
+ // @__NO_SIDE_EFFECTS__
2320
1855
  function nullable(innerType) {
2321
1856
  return new ZodMiniNullable({
2322
1857
  type: "nullable",
@@ -2327,12 +1862,13 @@ var ZodMiniDefault = /* @__PURE__ */ $constructor("ZodMiniDefault", (inst, def)
2327
1862
  $ZodDefault.init(inst, def);
2328
1863
  ZodMiniType.init(inst, def);
2329
1864
  });
1865
+ // @__NO_SIDE_EFFECTS__
2330
1866
  function _default(innerType, defaultValue) {
2331
1867
  return new ZodMiniDefault({
2332
1868
  type: "default",
2333
1869
  innerType,
2334
1870
  get defaultValue() {
2335
- return typeof defaultValue === "function" ? defaultValue() : util_exports.shallowClone(defaultValue);
1871
+ return typeof defaultValue === "function" ? defaultValue() : shallowClone(defaultValue);
2336
1872
  }
2337
1873
  });
2338
1874
  }
@@ -4001,6 +3537,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer {
4001
3537
  }
4002
3538
  if (this.isVersionPlans) {
4003
3539
  this.conventionalCommitsConfig = {
3540
+ useCommitScope: this.workspaceConfig?.variant === "monorepo",
4004
3541
  types: {
4005
3542
  feat: DEFAULT_CONVENTIONAL_COMMITS_CONFIG.types.feat,
4006
3543
  fix: DEFAULT_CONVENTIONAL_COMMITS_CONFIG.types.fix
@@ -4157,6 +3694,7 @@ var StormChangelogRenderer = class extends DefaultChangelogRenderer {
4157
3694
 
4158
3695
  // src/release/config.ts
4159
3696
  var DEFAULT_CONVENTIONAL_COMMITS_CONFIG2 = {
3697
+ useCommitScope: true,
4160
3698
  questions: DEFAULT_MONOREPO_COMMIT_QUESTIONS,
4161
3699
  types: DEFAULT_COMMIT_TYPES
4162
3700
  };