@storm-software/untyped 0.17.7 → 0.17.9

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 (33) hide show
  1. package/README.md +1 -1
  2. package/bin/untyped.cjs +61 -19
  3. package/bin/untyped.js +61 -19
  4. package/dist/{chunk-N7OLMAZK.js → chunk-5SCGJXLE.js} +2 -2
  5. package/dist/{chunk-4GFXPGEQ.js → chunk-BDOMSMNF.js} +2 -2
  6. package/dist/{chunk-3VWRQEOF.cjs → chunk-CL5DUGIH.cjs} +6 -6
  7. package/dist/{chunk-WDYNO3M5.cjs → chunk-DZZDTX3L.cjs} +2 -2
  8. package/dist/chunk-JW4TDYDJ.cjs +6 -0
  9. package/dist/{chunk-HEWQ5KRS.cjs → chunk-LRMBRHN4.cjs} +6 -6
  10. package/dist/{chunk-OECQNTQ7.cjs → chunk-RR2H3NMV.cjs} +6 -6
  11. package/dist/{chunk-VJVLAVPV.js → chunk-TZ2NH3HZ.js} +8 -8
  12. package/dist/{chunk-K62G4BHH.js → chunk-U32PDV36.js} +2 -2
  13. package/dist/{chunk-QLZGAZC5.cjs → chunk-WBOGRNYV.cjs} +45 -45
  14. package/dist/{chunk-HHABLJEL.cjs → chunk-WM2POW42.cjs} +18 -18
  15. package/dist/{chunk-HNBDIWVI.js → chunk-XS7YTBLG.js} +2 -2
  16. package/dist/{chunk-T2FRLVP5.js → chunk-Y6U5MLYQ.js} +1 -1
  17. package/dist/{chunk-PVXOLNDJ.js → chunk-YHWFDGRO.js} +5 -5
  18. package/dist/generate.cjs +7 -7
  19. package/dist/generate.d.cts +1 -1
  20. package/dist/generate.d.ts +1 -1
  21. package/dist/generate.js +6 -6
  22. package/dist/index.cjs +9 -9
  23. package/dist/index.d.cts +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +7 -7
  26. package/dist/{types-B4jbZA4j.d.cts → types-BHig4IFV.d.cts} +11 -8
  27. package/dist/{types-B4jbZA4j.d.ts → types-BHig4IFV.d.ts} +11 -8
  28. package/dist/{types-D-xLCTdY.d.cts → types-BhUX0YVA.d.cts} +11 -8
  29. package/dist/{types-D-xLCTdY.d.ts → types-BhUX0YVA.d.ts} +11 -8
  30. package/dist/utilities.cjs +2 -2
  31. package/dist/utilities.js +1 -1
  32. package/package.json +1 -1
  33. package/dist/chunk-Y6P2DSX6.cjs +0 -6
@@ -3,13 +3,13 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
6
+ var _chunkDZZDTX3Lcjs = require('./chunk-DZZDTX3L.cjs');
7
7
 
8
8
  // ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
9
- var require_color_name = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
9
+ var require_color_name = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
10
10
  "../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js"(exports, module) {
11
11
  "use strict";
12
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
12
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
13
13
  module.exports = {
14
14
  "aliceblue": [240, 248, 255],
15
15
  "antiquewhite": [250, 235, 215],
@@ -164,9 +164,9 @@ var require_color_name = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
164
164
  });
165
165
 
166
166
  // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js
167
- var require_conversions = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
167
+ var require_conversions = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
168
168
  "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports, module) {
169
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
169
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
170
170
  var cssKeywords = require_color_name();
171
171
  var reverseKeywords = {};
172
172
  for (const key of Object.keys(cssKeywords)) {
@@ -836,9 +836,9 @@ var require_conversions = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
836
836
  });
837
837
 
838
838
  // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js
839
- var require_route = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
839
+ var require_route = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
840
840
  "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports, module) {
841
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
841
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
842
842
  var conversions = require_conversions();
843
843
  function buildGraph() {
844
844
  const graph = {};
@@ -907,9 +907,9 @@ var require_route = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
907
907
  });
908
908
 
909
909
  // ../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js
910
- var require_color_convert = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
910
+ var require_color_convert = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
911
911
  "../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports, module) {
912
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
912
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
913
913
  var conversions = require_conversions();
914
914
  var route = require_route();
915
915
  var convert = {};
@@ -969,10 +969,10 @@ var require_color_convert = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
969
969
  });
970
970
 
971
971
  // ../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js
972
- var require_ansi_styles = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
972
+ var require_ansi_styles = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
973
973
  "../../node_modules/.pnpm/ansi-styles@4.3.0/node_modules/ansi-styles/index.js"(exports, module) {
974
974
  "use strict";
975
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
975
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
976
976
  var wrapAnsi16 = (fn, offset) => (...args) => {
977
977
  const code = fn(...args);
978
978
  return `\x1B[${code + offset}m`;
@@ -1112,10 +1112,10 @@ var require_ansi_styles = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1112
1112
  });
1113
1113
 
1114
1114
  // ../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js
1115
- var require_has_flag = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1115
+ var require_has_flag = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
1116
1116
  "../../node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"(exports, module) {
1117
1117
  "use strict";
1118
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1118
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1119
1119
  module.exports = (flag, argv = process.argv) => {
1120
1120
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
1121
1121
  const position = argv.indexOf(prefix + flag);
@@ -1126,12 +1126,12 @@ var require_has_flag = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1126
1126
  });
1127
1127
 
1128
1128
  // ../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js
1129
- var require_supports_color = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1129
+ var require_supports_color = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
1130
1130
  "../../node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js"(exports, module) {
1131
1131
  "use strict";
1132
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1133
- var os = _chunkWDYNO3M5cjs.__require.call(void 0, "os");
1134
- var tty = _chunkWDYNO3M5cjs.__require.call(void 0, "tty");
1132
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1133
+ var os = _chunkDZZDTX3Lcjs.__require.call(void 0, "os");
1134
+ var tty = _chunkDZZDTX3Lcjs.__require.call(void 0, "tty");
1135
1135
  var hasFlag = require_has_flag();
1136
1136
  var { env } = process;
1137
1137
  var forceColor;
@@ -1229,10 +1229,10 @@ var require_supports_color = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1229
1229
  });
1230
1230
 
1231
1231
  // ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js
1232
- var require_util = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1232
+ var require_util = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
1233
1233
  "../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/util.js"(exports, module) {
1234
1234
  "use strict";
1235
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1235
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1236
1236
  var stringReplaceAll = (string, substring, replacer) => {
1237
1237
  let index = string.indexOf(substring);
1238
1238
  if (index === -1) {
@@ -1269,10 +1269,10 @@ var require_util = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1269
1269
  });
1270
1270
 
1271
1271
  // ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js
1272
- var require_templates = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1272
+ var require_templates = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
1273
1273
  "../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/templates.js"(exports, module) {
1274
1274
  "use strict";
1275
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1275
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1276
1276
  var TEMPLATE_REGEX = /(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi;
1277
1277
  var STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
1278
1278
  var STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
@@ -1384,10 +1384,10 @@ var require_templates = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1384
1384
  });
1385
1385
 
1386
1386
  // ../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js
1387
- var require_source = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1387
+ var require_source = _chunkDZZDTX3Lcjs.__commonJS.call(void 0, {
1388
1388
  "../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/source/index.js"(exports, module) {
1389
1389
  "use strict";
1390
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1390
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1391
1391
  var ansiStyles = require_ansi_styles();
1392
1392
  var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color();
1393
1393
  var {
@@ -1563,10 +1563,10 @@ var require_source = _chunkWDYNO3M5cjs.__commonJS.call(void 0, {
1563
1563
  });
1564
1564
 
1565
1565
  // ../config-tools/src/logger/get-log-level.ts
1566
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1566
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1567
1567
 
1568
1568
  // ../config-tools/src/types.ts
1569
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1569
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1570
1570
  var LogLevel = {
1571
1571
  SILENT: 0,
1572
1572
  FATAL: 10,
@@ -1619,20 +1619,17 @@ var isVerbose = (label = LogLevelLabel.SILENT) => {
1619
1619
  };
1620
1620
 
1621
1621
  // ../config-tools/src/logger/console.ts
1622
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1622
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1623
1623
 
1624
1624
  // ../config-tools/src/utilities/get-default-config.ts
1625
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1625
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1626
1626
 
1627
1627
  // ../config/src/index.ts
1628
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1628
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1629
1629
 
1630
1630
  // ../config/src/constants.ts
1631
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1632
- var STORM_DEFAULT_DOCS = "https://docs.stormsoftware.com";
1633
- var STORM_DEFAULT_HOMEPAGE = "https://stormsoftware.com";
1631
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1634
1632
  var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
1635
- var STORM_DEFAULT_LICENSING = "https://license.stormsoftware.com";
1636
1633
  var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
1637
1634
  var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
1638
1635
  var STORM_DEFAULT_ACCOUNT_DISCORD = "https://discord.gg/MQ6YVzakM5";
@@ -1650,13 +1647,13 @@ If this sounds interesting, and you would like to help us in creating the next g
1650
1647
  var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
1651
1648
 
1652
1649
  // ../config/src/define-config.ts
1653
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1650
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1654
1651
 
1655
1652
  // ../config/src/schema.ts
1656
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1653
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1657
1654
 
1658
1655
  // ../../node_modules/.pnpm/zod@3.24.4/node_modules/zod/lib/index.mjs
1659
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
1656
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
1660
1657
  var util;
1661
1658
  (function(util2) {
1662
1659
  util2.assertEqual = (val) => val;
@@ -5872,10 +5869,13 @@ var stormWorkspaceConfigSchema = z.object({
5872
5869
  organization: z.string().trim().default("storm-software").describe("The organization of the workspace"),
5873
5870
  repository: z.string().trim().optional().describe("The repo URL of the workspace (i.e. GitHub)"),
5874
5871
  license: z.string().trim().default("Apache-2.0").describe("The license type of the package"),
5875
- homepage: z.string().trim().url().default(STORM_DEFAULT_HOMEPAGE).describe("The homepage of the workspace"),
5876
- docs: z.string().trim().url().default(STORM_DEFAULT_DOCS).describe("The base documentation site for the workspace"),
5877
- licensing: z.string().trim().url().default(STORM_DEFAULT_LICENSING).describe("The base licensing site for the workspace"),
5878
- contact: z.string().trim().url().default(STORM_DEFAULT_CONTACT).describe("The base contact site for the workspace"),
5872
+ homepage: z.string().trim().url().optional().describe("The homepage of the workspace"),
5873
+ docs: z.string().trim().url().optional().describe("The documentation site for the workspace"),
5874
+ licensing: z.string().trim().url().optional().describe("The licensing site for the workspace"),
5875
+ contact: z.string().trim().url().optional().describe("The contact site for the workspace"),
5876
+ support: z.string().trim().url().optional().describe(
5877
+ "The support site for the workspace. If not provided, this is defaulted to the `contact` config value"
5878
+ ),
5879
5879
  branch: z.string().trim().default("main").describe("The branch of the workspace"),
5880
5880
  preid: z.string().optional().describe("A tag specifying the version pre-release identifier"),
5881
5881
  owner: z.string().trim().default("@storm-software/admin").describe("The owner of the package"),
@@ -5924,7 +5924,7 @@ var stormWorkspaceConfigSchema = z.object({
5924
5924
  );
5925
5925
 
5926
5926
  // ../config/src/types.ts
5927
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5927
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
5928
5928
 
5929
5929
  // ../config-tools/src/utilities/get-default-config.ts
5930
5930
  var _fs = require('fs');
@@ -5960,8 +5960,8 @@ var DEFAULT_COLOR_CONFIG = {
5960
5960
  };
5961
5961
 
5962
5962
  // ../config-tools/src/logger/chalk.ts
5963
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5964
- var import_chalk = _chunkWDYNO3M5cjs.__toESM.call(void 0, require_source(), 1);
5963
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
5964
+ var import_chalk = _chunkDZZDTX3Lcjs.__toESM.call(void 0, require_source(), 1);
5965
5965
  var chalkDefault = {
5966
5966
  hex: (_) => (message) => message,
5967
5967
  bgHex: (_) => ({
@@ -5990,10 +5990,10 @@ var getChalk = () => {
5990
5990
  };
5991
5991
 
5992
5992
  // ../config-tools/src/logger/console-icons.ts
5993
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5993
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
5994
5994
 
5995
5995
  // ../config-tools/src/logger/is-unicode-supported.ts
5996
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
5996
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
5997
5997
  function isUnicodeSupported() {
5998
5998
  if (process.platform !== "win32") {
5999
5999
  return process.env.TERM !== "linux";
@@ -6018,7 +6018,7 @@ var CONSOLE_ICONS = {
6018
6018
  };
6019
6019
 
6020
6020
  // ../config-tools/src/logger/format-timestamp.ts
6021
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
6021
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
6022
6022
  var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
6023
6023
  return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
6024
6024
  };
@@ -1,28 +1,28 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk3VWRQEOFcjs = require('./chunk-3VWRQEOF.cjs');
3
+ var _chunkCL5DUGIHcjs = require('./chunk-CL5DUGIH.cjs');
4
4
 
5
5
 
6
- var _chunkHEWQ5KRScjs = require('./chunk-HEWQ5KRS.cjs');
6
+ var _chunkLRMBRHN4cjs = require('./chunk-LRMBRHN4.cjs');
7
7
 
8
8
 
9
- var _chunkOECQNTQ7cjs = require('./chunk-OECQNTQ7.cjs');
9
+ var _chunkRR2H3NMVcjs = require('./chunk-RR2H3NMV.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkQLZGAZC5cjs = require('./chunk-QLZGAZC5.cjs');
14
+ var _chunkWBOGRNYVcjs = require('./chunk-WBOGRNYV.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
18
+ var _chunkDZZDTX3Lcjs = require('./chunk-DZZDTX3L.cjs');
19
19
 
20
20
  // src/generate.ts
21
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
21
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
22
22
  var _glob = require('glob');
23
23
  var _loader = require('untyped/loader');
24
24
  var getGenerateAction = (config) => async (options) => {
25
- _chunkQLZGAZC5cjs.writeTrace.call(void 0,
25
+ _chunkWBOGRNYVcjs.writeTrace.call(void 0,
26
26
  `Running Storm Untyped with options: ${JSON.stringify(options)}`,
27
27
  config
28
28
  );
@@ -41,17 +41,17 @@ var getGenerateAction = (config) => async (options) => {
41
41
  });
42
42
  await Promise.all(
43
43
  files.map(async (file) => {
44
- _chunkQLZGAZC5cjs.writeTrace.call(void 0,
45
- `Generating files for schema file: ${_chunkWDYNO3M5cjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
44
+ _chunkWBOGRNYVcjs.writeTrace.call(void 0,
45
+ `Generating files for schema file: ${_chunkDZZDTX3Lcjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
46
46
  config
47
47
  );
48
48
  let schema;
49
49
  try {
50
- schema = await _loader.loadSchema.call(void 0, _chunkWDYNO3M5cjs.joinPaths.call(void 0, file.parentPath, file.name), {
50
+ schema = await _loader.loadSchema.call(void 0, _chunkDZZDTX3Lcjs.joinPaths.call(void 0, file.parentPath, file.name), {
51
51
  jiti: {
52
- debug: _chunkQLZGAZC5cjs.isVerbose.call(void 0, config.logLevel),
53
- fsCache: config.skipCache ? false : _chunkWDYNO3M5cjs.joinPaths.call(void 0,
54
- config.directories.cache || _chunkWDYNO3M5cjs.joinPaths.call(void 0,
52
+ debug: _chunkWBOGRNYVcjs.isVerbose.call(void 0, config.logLevel),
53
+ fsCache: config.skipCache ? false : _chunkDZZDTX3Lcjs.joinPaths.call(void 0,
54
+ config.directories.cache || _chunkDZZDTX3Lcjs.joinPaths.call(void 0,
55
55
  config.workspaceRoot,
56
56
  "node_modules/.cache/storm"
57
57
  ),
@@ -61,8 +61,8 @@ var getGenerateAction = (config) => async (options) => {
61
61
  }
62
62
  });
63
63
  } catch (error) {
64
- _chunkQLZGAZC5cjs.writeError.call(void 0,
65
- `Error while parsing schema file: ${_chunkWDYNO3M5cjs.joinPaths.call(void 0, file.parentPath, file.name)}
64
+ _chunkWBOGRNYVcjs.writeError.call(void 0,
65
+ `Error while parsing schema file: ${_chunkDZZDTX3Lcjs.joinPaths.call(void 0, file.parentPath, file.name)}
66
66
 
67
67
  Error:
68
68
  ${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
@@ -76,9 +76,9 @@ ${JSON.stringify(schema)}
76
76
  throw error;
77
77
  }
78
78
  const promises = [];
79
- promises.push(_chunk3VWRQEOFcjs.generateDeclarationFile.call(void 0, schema, file, config));
80
- promises.push(_chunkOECQNTQ7cjs.generateMarkdownFile.call(void 0, schema, file, config));
81
- promises.push(_chunkHEWQ5KRScjs.generateJsonSchemaFile.call(void 0, schema, file, config));
79
+ promises.push(_chunkCL5DUGIHcjs.generateDeclarationFile.call(void 0, schema, file, config));
80
+ promises.push(_chunkRR2H3NMVcjs.generateMarkdownFile.call(void 0, schema, file, config));
81
+ promises.push(_chunkLRMBRHN4cjs.generateJsonSchemaFile.call(void 0, schema, file, config));
82
82
  return Promise.all(promises);
83
83
  })
84
84
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-VJVLAVPV.js";
4
+ } from "./chunk-TZ2NH3HZ.js";
5
5
  import {
6
6
  getOutputFile,
7
7
  init_esm_shims
8
- } from "./chunk-4GFXPGEQ.js";
8
+ } from "./chunk-BDOMSMNF.js";
9
9
 
10
10
  // src/generators/json-schema.ts
11
11
  init_esm_shims();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-4GFXPGEQ.js";
3
+ } from "./chunk-BDOMSMNF.js";
4
4
 
5
5
  // src/generators/index.ts
6
6
  init_esm_shims();
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  generateDeclarationFile
3
- } from "./chunk-N7OLMAZK.js";
3
+ } from "./chunk-5SCGJXLE.js";
4
4
  import {
5
5
  generateJsonSchemaFile
6
- } from "./chunk-HNBDIWVI.js";
6
+ } from "./chunk-XS7YTBLG.js";
7
7
  import {
8
8
  generateMarkdownFile
9
- } from "./chunk-K62G4BHH.js";
9
+ } from "./chunk-U32PDV36.js";
10
10
  import {
11
11
  isVerbose,
12
12
  writeError,
13
13
  writeTrace
14
- } from "./chunk-VJVLAVPV.js";
14
+ } from "./chunk-TZ2NH3HZ.js";
15
15
  import {
16
16
  init_esm_shims,
17
17
  joinPaths
18
- } from "./chunk-4GFXPGEQ.js";
18
+ } from "./chunk-BDOMSMNF.js";
19
19
 
20
20
  // src/generate.ts
21
21
  init_esm_shims();
package/dist/generate.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkHHABLJELcjs = require('./chunk-HHABLJEL.cjs');
4
- require('./chunk-3VWRQEOF.cjs');
5
- require('./chunk-HEWQ5KRS.cjs');
6
- require('./chunk-OECQNTQ7.cjs');
7
- require('./chunk-QLZGAZC5.cjs');
8
- require('./chunk-WDYNO3M5.cjs');
3
+ var _chunkWM2POW42cjs = require('./chunk-WM2POW42.cjs');
4
+ require('./chunk-CL5DUGIH.cjs');
5
+ require('./chunk-LRMBRHN4.cjs');
6
+ require('./chunk-RR2H3NMV.cjs');
7
+ require('./chunk-WBOGRNYV.cjs');
8
+ require('./chunk-DZZDTX3L.cjs');
9
9
 
10
10
 
11
- exports.getGenerateAction = _chunkHHABLJELcjs.getGenerateAction;
11
+ exports.getGenerateAction = _chunkWM2POW42cjs.getGenerateAction;
@@ -1,4 +1,4 @@
1
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.cjs';
1
+ import { S as StormWorkspaceConfig } from './types-BHig4IFV.cjs';
2
2
  import 'zod';
3
3
 
4
4
  declare const getGenerateAction: (config: StormWorkspaceConfig) => (options: {
@@ -1,4 +1,4 @@
1
- import { S as StormWorkspaceConfig } from './types-B4jbZA4j.js';
1
+ import { S as StormWorkspaceConfig } from './types-BHig4IFV.js';
2
2
  import 'zod';
3
3
 
4
4
  declare const getGenerateAction: (config: StormWorkspaceConfig) => (options: {
package/dist/generate.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-PVXOLNDJ.js";
4
- import "./chunk-N7OLMAZK.js";
5
- import "./chunk-HNBDIWVI.js";
6
- import "./chunk-K62G4BHH.js";
7
- import "./chunk-VJVLAVPV.js";
8
- import "./chunk-4GFXPGEQ.js";
3
+ } from "./chunk-YHWFDGRO.js";
4
+ import "./chunk-5SCGJXLE.js";
5
+ import "./chunk-XS7YTBLG.js";
6
+ import "./chunk-U32PDV36.js";
7
+ import "./chunk-TZ2NH3HZ.js";
8
+ import "./chunk-BDOMSMNF.js";
9
9
  export {
10
10
  getGenerateAction
11
11
  };
package/dist/index.cjs CHANGED
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkHHABLJELcjs = require('./chunk-HHABLJEL.cjs');
4
- require('./chunk-Y6P2DSX6.cjs');
3
+ var _chunkWM2POW42cjs = require('./chunk-WM2POW42.cjs');
4
+ require('./chunk-JW4TDYDJ.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunk3VWRQEOFcjs = require('./chunk-3VWRQEOF.cjs');
8
+ var _chunkCL5DUGIHcjs = require('./chunk-CL5DUGIH.cjs');
9
9
 
10
10
 
11
- var _chunkHEWQ5KRScjs = require('./chunk-HEWQ5KRS.cjs');
11
+ var _chunkLRMBRHN4cjs = require('./chunk-LRMBRHN4.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkOECQNTQ7cjs = require('./chunk-OECQNTQ7.cjs');
16
- require('./chunk-QLZGAZC5.cjs');
15
+ var _chunkRR2H3NMVcjs = require('./chunk-RR2H3NMV.cjs');
16
+ require('./chunk-WBOGRNYV.cjs');
17
17
 
18
18
 
19
19
 
20
- var _chunkWDYNO3M5cjs = require('./chunk-WDYNO3M5.cjs');
20
+ var _chunkDZZDTX3Lcjs = require('./chunk-DZZDTX3L.cjs');
21
21
 
22
22
  // src/index.ts
23
- _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
23
+ _chunkDZZDTX3Lcjs.init_cjs_shims.call(void 0, );
24
24
 
25
25
 
26
26
 
@@ -29,4 +29,4 @@ _chunkWDYNO3M5cjs.init_cjs_shims.call(void 0, );
29
29
 
30
30
 
31
31
 
32
- exports.generateDeclaration = _chunk3VWRQEOFcjs.generateDeclaration; exports.generateDeclarationFile = _chunk3VWRQEOFcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkHEWQ5KRScjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkOECQNTQ7cjs.generateMarkdown; exports.generateMarkdownFile = _chunkOECQNTQ7cjs.generateMarkdownFile; exports.getGenerateAction = _chunkHHABLJELcjs.getGenerateAction; exports.getOutputFile = _chunkWDYNO3M5cjs.getOutputFile;
32
+ exports.generateDeclaration = _chunkCL5DUGIHcjs.generateDeclaration; exports.generateDeclarationFile = _chunkCL5DUGIHcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkLRMBRHN4cjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkRR2H3NMVcjs.generateMarkdown; exports.generateMarkdownFile = _chunkRR2H3NMVcjs.generateMarkdownFile; exports.getGenerateAction = _chunkWM2POW42cjs.getGenerateAction; exports.getOutputFile = _chunkDZZDTX3Lcjs.getOutputFile;
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ export { generateDeclaration, generateDeclarationFile } from './generators/dts.c
3
3
  export { generateJsonSchemaFile } from './generators/json-schema.cjs';
4
4
  export { generateMarkdown, generateMarkdownFile } from './generators/markdown.cjs';
5
5
  export { getOutputFile } from './utilities.cjs';
6
- import './types-B4jbZA4j.cjs';
6
+ import './types-BHig4IFV.cjs';
7
7
  import 'zod';
8
8
  import 'glob';
9
9
  import 'untyped';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { generateDeclaration, generateDeclarationFile } from './generators/dts.j
3
3
  export { generateJsonSchemaFile } from './generators/json-schema.js';
4
4
  export { generateMarkdown, generateMarkdownFile } from './generators/markdown.js';
5
5
  export { getOutputFile } from './utilities.js';
6
- import './types-B4jbZA4j.js';
6
+ import './types-BHig4IFV.js';
7
7
  import 'zod';
8
8
  import 'glob';
9
9
  import 'untyped';
package/dist/index.js CHANGED
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-PVXOLNDJ.js";
4
- import "./chunk-T2FRLVP5.js";
3
+ } from "./chunk-YHWFDGRO.js";
4
+ import "./chunk-Y6U5MLYQ.js";
5
5
  import {
6
6
  generateDeclaration,
7
7
  generateDeclarationFile
8
- } from "./chunk-N7OLMAZK.js";
8
+ } from "./chunk-5SCGJXLE.js";
9
9
  import {
10
10
  generateJsonSchemaFile
11
- } from "./chunk-HNBDIWVI.js";
11
+ } from "./chunk-XS7YTBLG.js";
12
12
  import {
13
13
  generateMarkdown,
14
14
  generateMarkdownFile
15
- } from "./chunk-K62G4BHH.js";
16
- import "./chunk-VJVLAVPV.js";
15
+ } from "./chunk-U32PDV36.js";
16
+ import "./chunk-TZ2NH3HZ.js";
17
17
  import {
18
18
  getOutputFile,
19
19
  init_esm_shims
20
- } from "./chunk-4GFXPGEQ.js";
20
+ } from "./chunk-BDOMSMNF.js";
21
21
 
22
22
  // src/index.ts
23
23
  init_esm_shims();
@@ -11,10 +11,11 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
11
11
  organization: z.ZodDefault<z.ZodString>;
12
12
  repository: z.ZodOptional<z.ZodString>;
13
13
  license: z.ZodDefault<z.ZodString>;
14
- homepage: z.ZodDefault<z.ZodString>;
15
- docs: z.ZodDefault<z.ZodString>;
16
- licensing: z.ZodDefault<z.ZodString>;
17
- contact: z.ZodDefault<z.ZodString>;
14
+ homepage: z.ZodOptional<z.ZodString>;
15
+ docs: z.ZodOptional<z.ZodString>;
16
+ licensing: z.ZodOptional<z.ZodString>;
17
+ contact: z.ZodOptional<z.ZodString>;
18
+ support: z.ZodOptional<z.ZodString>;
18
19
  branch: z.ZodDefault<z.ZodString>;
19
20
  preid: z.ZodOptional<z.ZodString>;
20
21
  owner: z.ZodDefault<z.ZodString>;
@@ -843,10 +844,6 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
843
844
  }, "strip", z.ZodTypeAny, {
844
845
  organization: string;
845
846
  license: string;
846
- homepage: string;
847
- docs: string;
848
- licensing: string;
849
- contact: string;
850
847
  branch: string;
851
848
  owner: string;
852
849
  bot: {
@@ -1047,6 +1044,11 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1047
1044
  name?: string | undefined;
1048
1045
  namespace?: string | undefined;
1049
1046
  repository?: string | undefined;
1047
+ homepage?: string | undefined;
1048
+ docs?: string | undefined;
1049
+ licensing?: string | undefined;
1050
+ contact?: string | undefined;
1051
+ support?: string | undefined;
1050
1052
  preid?: string | undefined;
1051
1053
  skipConfigLogging?: boolean | undefined;
1052
1054
  }, {
@@ -1238,6 +1240,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1238
1240
  docs?: string | undefined;
1239
1241
  licensing?: string | undefined;
1240
1242
  contact?: string | undefined;
1243
+ support?: string | undefined;
1241
1244
  branch?: string | undefined;
1242
1245
  preid?: string | undefined;
1243
1246
  owner?: string | undefined;
@@ -11,10 +11,11 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
11
11
  organization: z.ZodDefault<z.ZodString>;
12
12
  repository: z.ZodOptional<z.ZodString>;
13
13
  license: z.ZodDefault<z.ZodString>;
14
- homepage: z.ZodDefault<z.ZodString>;
15
- docs: z.ZodDefault<z.ZodString>;
16
- licensing: z.ZodDefault<z.ZodString>;
17
- contact: z.ZodDefault<z.ZodString>;
14
+ homepage: z.ZodOptional<z.ZodString>;
15
+ docs: z.ZodOptional<z.ZodString>;
16
+ licensing: z.ZodOptional<z.ZodString>;
17
+ contact: z.ZodOptional<z.ZodString>;
18
+ support: z.ZodOptional<z.ZodString>;
18
19
  branch: z.ZodDefault<z.ZodString>;
19
20
  preid: z.ZodOptional<z.ZodString>;
20
21
  owner: z.ZodDefault<z.ZodString>;
@@ -843,10 +844,6 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
843
844
  }, "strip", z.ZodTypeAny, {
844
845
  organization: string;
845
846
  license: string;
846
- homepage: string;
847
- docs: string;
848
- licensing: string;
849
- contact: string;
850
847
  branch: string;
851
848
  owner: string;
852
849
  bot: {
@@ -1047,6 +1044,11 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1047
1044
  name?: string | undefined;
1048
1045
  namespace?: string | undefined;
1049
1046
  repository?: string | undefined;
1047
+ homepage?: string | undefined;
1048
+ docs?: string | undefined;
1049
+ licensing?: string | undefined;
1050
+ contact?: string | undefined;
1051
+ support?: string | undefined;
1050
1052
  preid?: string | undefined;
1051
1053
  skipConfigLogging?: boolean | undefined;
1052
1054
  }, {
@@ -1238,6 +1240,7 @@ declare const stormWorkspaceConfigSchema: z.ZodObject<{
1238
1240
  docs?: string | undefined;
1239
1241
  licensing?: string | undefined;
1240
1242
  contact?: string | undefined;
1243
+ support?: string | undefined;
1241
1244
  branch?: string | undefined;
1242
1245
  preid?: string | undefined;
1243
1246
  owner?: string | undefined;