@storm-software/untyped 0.17.21 → 0.17.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/untyped.cjs +2 -2
- package/bin/untyped.js +2 -2
- package/dist/{chunk-RI4GEMA2.cjs → chunk-3TOTRSKS.cjs} +38 -38
- package/dist/{chunk-MHPQOZGM.js → chunk-5MN4HZ3U.js} +2 -2
- package/dist/{chunk-JOJN3ALY.js → chunk-6NLJJ5TZ.js} +2 -2
- package/dist/{chunk-MWPDX6VR.js → chunk-AUD2VUAW.js} +2 -2
- package/dist/{chunk-LAQUWSEM.js → chunk-DDVOX3FY.js} +5 -5
- package/dist/chunk-DK2CVNUK.cjs +6 -0
- package/dist/{chunk-DHHOPQTZ.cjs → chunk-ELOMUEGV.cjs} +6 -6
- package/dist/{chunk-IIZP6XJH.cjs → chunk-I7IR7VJQ.cjs} +2 -2
- package/dist/{chunk-MGT6UPUO.cjs → chunk-LRJS3SLI.cjs} +18 -18
- package/dist/{chunk-V7PLRRZ7.cjs → chunk-LXTGG4MP.cjs} +6 -6
- package/dist/{chunk-2WFW4WYE.cjs → chunk-NMHD4QQ7.cjs} +6 -6
- package/dist/{chunk-NAH7QFXN.js → chunk-PZOX24PA.js} +2 -2
- package/dist/{chunk-RROTXT66.js → chunk-RYUTIRYU.js} +1 -1
- package/dist/{chunk-NK6TRVQZ.js → chunk-SMM6T74L.js} +1 -1
- package/dist/generate.cjs +7 -7
- package/dist/generate.js +6 -6
- package/dist/index.cjs +9 -9
- package/dist/index.js +7 -7
- package/dist/utilities.cjs +2 -2
- package/dist/utilities.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-GT5BYQ5Q.cjs +0 -6
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
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/bin/untyped.cjs
CHANGED
|
@@ -32,10 +32,10 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
mod
|
|
33
33
|
));
|
|
34
34
|
|
|
35
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
35
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/cjs_shims.js
|
|
36
36
|
var getImportMetaUrl, importMetaUrl;
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
40
40
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
41
41
|
}
|
package/bin/untyped.js
CHANGED
|
@@ -38,9 +38,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
38
38
|
mod
|
|
39
39
|
));
|
|
40
40
|
|
|
41
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
41
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/esm_shims.js
|
|
42
42
|
var init_esm_shims = __esm({
|
|
43
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
43
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/esm_shims.js"() {
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkI7IR7VJQcjs = require('./chunk-I7IR7VJQ.cjs');
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
|
|
9
|
-
var require_color_name =
|
|
9
|
+
var require_color_name = _chunkI7IR7VJQcjs.__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
|
-
|
|
12
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
167
|
+
var require_conversions = _chunkI7IR7VJQcjs.__commonJS.call(void 0, {
|
|
168
168
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports, module) {
|
|
169
|
-
|
|
169
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
839
|
+
var require_route = _chunkI7IR7VJQcjs.__commonJS.call(void 0, {
|
|
840
840
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports, module) {
|
|
841
|
-
|
|
841
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
910
|
+
var require_color_convert = _chunkI7IR7VJQcjs.__commonJS.call(void 0, {
|
|
911
911
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports, module) {
|
|
912
|
-
|
|
912
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
972
|
+
var require_ansi_styles = _chunkI7IR7VJQcjs.__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
|
-
|
|
975
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
1115
|
+
var require_has_flag = _chunkI7IR7VJQcjs.__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
|
-
|
|
1118
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
1129
|
+
var require_supports_color = _chunkI7IR7VJQcjs.__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
|
-
|
|
1133
|
-
var os =
|
|
1134
|
-
var tty =
|
|
1132
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1133
|
+
var os = _chunkI7IR7VJQcjs.__require.call(void 0, "os");
|
|
1134
|
+
var tty = _chunkI7IR7VJQcjs.__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 = _chunkIIZP6XJHcjs.__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 =
|
|
1232
|
+
var require_util = _chunkI7IR7VJQcjs.__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
|
-
|
|
1235
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
1272
|
+
var require_templates = _chunkI7IR7VJQcjs.__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
|
-
|
|
1275
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__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 =
|
|
1387
|
+
var require_source = _chunkI7IR7VJQcjs.__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
|
-
|
|
1390
|
+
_chunkI7IR7VJQcjs.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 = _chunkIIZP6XJHcjs.__commonJS.call(void 0, {
|
|
|
1563
1563
|
});
|
|
1564
1564
|
|
|
1565
1565
|
// ../config-tools/src/logger/get-log-level.ts
|
|
1566
|
-
|
|
1566
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1567
1567
|
|
|
1568
1568
|
// ../config-tools/src/types.ts
|
|
1569
|
-
|
|
1569
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1570
1570
|
var LogLevel = {
|
|
1571
1571
|
SILENT: 0,
|
|
1572
1572
|
FATAL: 10,
|
|
@@ -1619,16 +1619,16 @@ var isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
|
1619
1619
|
};
|
|
1620
1620
|
|
|
1621
1621
|
// ../config-tools/src/logger/console.ts
|
|
1622
|
-
|
|
1622
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1623
1623
|
|
|
1624
1624
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
1625
|
-
|
|
1625
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1626
1626
|
|
|
1627
1627
|
// ../config/src/index.ts
|
|
1628
|
-
|
|
1628
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1629
1629
|
|
|
1630
1630
|
// ../config/src/constants.ts
|
|
1631
|
-
|
|
1631
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1632
1632
|
var STORM_DEFAULT_CONTACT = "https://stormsoftware.com/contact";
|
|
1633
1633
|
var STORM_DEFAULT_RELEASE_BANNER = "https://public.storm-cdn.com/brand-banner.png";
|
|
1634
1634
|
var STORM_DEFAULT_ACCOUNT_TWITTER = "StormSoftwareHQ";
|
|
@@ -1647,13 +1647,13 @@ If this sounds interesting, and you would like to help us in creating the next g
|
|
|
1647
1647
|
var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
|
|
1648
1648
|
|
|
1649
1649
|
// ../config/src/define-config.ts
|
|
1650
|
-
|
|
1650
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1651
1651
|
|
|
1652
1652
|
// ../config/src/schema.ts
|
|
1653
|
-
|
|
1653
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1654
1654
|
|
|
1655
1655
|
// ../../node_modules/.pnpm/zod@3.24.4/node_modules/zod/lib/index.mjs
|
|
1656
|
-
|
|
1656
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
1657
1657
|
var util;
|
|
1658
1658
|
(function(util2) {
|
|
1659
1659
|
util2.assertEqual = (val) => val;
|
|
@@ -5925,7 +5925,7 @@ var stormWorkspaceConfigSchema = z.object({
|
|
|
5925
5925
|
);
|
|
5926
5926
|
|
|
5927
5927
|
// ../config/src/types.ts
|
|
5928
|
-
|
|
5928
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
5929
5929
|
|
|
5930
5930
|
// ../config-tools/src/utilities/get-default-config.ts
|
|
5931
5931
|
var _fs = require('fs');
|
|
@@ -5961,8 +5961,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
5961
5961
|
};
|
|
5962
5962
|
|
|
5963
5963
|
// ../config-tools/src/logger/chalk.ts
|
|
5964
|
-
|
|
5965
|
-
var import_chalk =
|
|
5964
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
5965
|
+
var import_chalk = _chunkI7IR7VJQcjs.__toESM.call(void 0, require_source(), 1);
|
|
5966
5966
|
var chalkDefault = {
|
|
5967
5967
|
hex: (_) => (message) => message,
|
|
5968
5968
|
bgHex: (_) => ({
|
|
@@ -5991,10 +5991,10 @@ var getChalk = () => {
|
|
|
5991
5991
|
};
|
|
5992
5992
|
|
|
5993
5993
|
// ../config-tools/src/logger/console-icons.ts
|
|
5994
|
-
|
|
5994
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
5995
5995
|
|
|
5996
5996
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
5997
|
-
|
|
5997
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
5998
5998
|
function isUnicodeSupported() {
|
|
5999
5999
|
if (process.platform !== "win32") {
|
|
6000
6000
|
return process.env.TERM !== "linux";
|
|
@@ -6019,7 +6019,7 @@ var CONSOLE_ICONS = {
|
|
|
6019
6019
|
};
|
|
6020
6020
|
|
|
6021
6021
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
6022
|
-
|
|
6022
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
6023
6023
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
6024
6024
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
6025
6025
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SMM6T74L.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AUD2VUAW.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/json-schema.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SMM6T74L.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AUD2VUAW.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/dts.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -27,9 +27,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
mod
|
|
28
28
|
));
|
|
29
29
|
|
|
30
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
30
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/esm_shims.js
|
|
31
31
|
var init_esm_shims = __esm({
|
|
32
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
32
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
generateDeclarationFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6NLJJ5TZ.js";
|
|
4
4
|
import {
|
|
5
5
|
generateJsonSchemaFile
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5MN4HZ3U.js";
|
|
7
7
|
import {
|
|
8
8
|
generateMarkdownFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PZOX24PA.js";
|
|
10
10
|
import {
|
|
11
11
|
isVerbose,
|
|
12
12
|
writeError,
|
|
13
13
|
writeTrace
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SMM6T74L.js";
|
|
15
15
|
import {
|
|
16
16
|
init_esm_shims,
|
|
17
17
|
joinPaths
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AUD2VUAW.js";
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
21
|
init_esm_shims();
|
|
@@ -1,22 +1,22 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3TOTRSKScjs = require('./chunk-3TOTRSKS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkI7IR7VJQcjs = require('./chunk-I7IR7VJQ.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/json-schema.ts
|
|
11
|
-
|
|
11
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
function generateJsonSchemaFile(schema, file, config) {
|
|
14
14
|
try {
|
|
15
|
-
const jsonSchema =
|
|
16
|
-
|
|
15
|
+
const jsonSchema = _chunkI7IR7VJQcjs.getOutputFile.call(void 0, file, "json");
|
|
16
|
+
_chunk3TOTRSKScjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
|
|
17
17
|
return _promises.writeFile.call(void 0, jsonSchema, JSON.stringify(schema, null, 2));
|
|
18
18
|
} catch (error) {
|
|
19
|
-
|
|
19
|
+
_chunk3TOTRSKScjs.writeError.call(void 0,
|
|
20
20
|
`Error writing JSON schema file for ${file.name}
|
|
21
21
|
|
|
22
22
|
Error:
|
|
@@ -33,9 +33,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
33
33
|
mod
|
|
34
34
|
));
|
|
35
35
|
|
|
36
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
36
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var init_cjs_shims = __esm({
|
|
38
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
38
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=751a554d775c3572381af4e7e5fa22eeda6dd6856012fb1cf521d6806eb2dc74__eee9e0950d5de6bd0e6ebee65aaf68de/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
|
@@ -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
|
|
3
|
+
var _chunkNMHD4QQ7cjs = require('./chunk-NMHD4QQ7.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkELOMUEGVcjs = require('./chunk-ELOMUEGV.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkLXTGG4MPcjs = require('./chunk-LXTGG4MP.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk3TOTRSKScjs = require('./chunk-3TOTRSKS.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkI7IR7VJQcjs = require('./chunk-I7IR7VJQ.cjs');
|
|
19
19
|
|
|
20
20
|
// src/generate.ts
|
|
21
|
-
|
|
21
|
+
_chunkI7IR7VJQcjs.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
|
-
|
|
25
|
+
_chunk3TOTRSKScjs.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
|
-
|
|
45
|
-
`Generating files for schema file: ${
|
|
44
|
+
_chunk3TOTRSKScjs.writeTrace.call(void 0,
|
|
45
|
+
`Generating files for schema file: ${_chunkI7IR7VJQcjs.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,
|
|
50
|
+
schema = await _loader.loadSchema.call(void 0, _chunkI7IR7VJQcjs.joinPaths.call(void 0, file.parentPath, file.name), {
|
|
51
51
|
jiti: {
|
|
52
|
-
debug:
|
|
53
|
-
fsCache: config.skipCache ? false :
|
|
54
|
-
config.directories.cache ||
|
|
52
|
+
debug: _chunk3TOTRSKScjs.isVerbose.call(void 0, config.logLevel),
|
|
53
|
+
fsCache: config.skipCache ? false : _chunkI7IR7VJQcjs.joinPaths.call(void 0,
|
|
54
|
+
config.directories.cache || _chunkI7IR7VJQcjs.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
|
-
|
|
65
|
-
`Error while parsing schema file: ${
|
|
64
|
+
_chunk3TOTRSKScjs.writeError.call(void 0,
|
|
65
|
+
`Error while parsing schema file: ${_chunkI7IR7VJQcjs.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(
|
|
80
|
-
promises.push(
|
|
81
|
-
promises.push(
|
|
79
|
+
promises.push(_chunkNMHD4QQ7cjs.generateDeclarationFile.call(void 0, schema, file, config));
|
|
80
|
+
promises.push(_chunkLXTGG4MPcjs.generateMarkdownFile.call(void 0, schema, file, config));
|
|
81
|
+
promises.push(_chunkELOMUEGVcjs.generateJsonSchemaFile.call(void 0, schema, file, config));
|
|
82
82
|
return Promise.all(promises);
|
|
83
83
|
})
|
|
84
84
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3TOTRSKScjs = require('./chunk-3TOTRSKS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkI7IR7VJQcjs = require('./chunk-I7IR7VJQ.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/markdown.ts
|
|
11
|
-
|
|
11
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
function generateMarkdown(schema) {
|
|
14
14
|
return `
|
|
@@ -46,11 +46,11 @@ function generateMarkdownLevel(schema, title, level) {
|
|
|
46
46
|
}
|
|
47
47
|
function generateMarkdownFile(schema, file, config) {
|
|
48
48
|
try {
|
|
49
|
-
const declarations =
|
|
50
|
-
|
|
49
|
+
const declarations = _chunkI7IR7VJQcjs.getOutputFile.call(void 0, file, "md");
|
|
50
|
+
_chunk3TOTRSKScjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
|
|
51
51
|
return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema));
|
|
52
52
|
} catch (error) {
|
|
53
|
-
|
|
53
|
+
_chunk3TOTRSKScjs.writeError.call(void 0,
|
|
54
54
|
`Error writing markdown file for ${file.name}
|
|
55
55
|
|
|
56
56
|
Error:
|
|
@@ -1,14 +1,14 @@
|
|
|
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
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk3TOTRSKScjs = require('./chunk-3TOTRSKS.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkI7IR7VJQcjs = require('./chunk-I7IR7VJQ.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/dts.ts
|
|
11
|
-
|
|
11
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
var _untyped = require('untyped');
|
|
14
14
|
function generateDeclaration(schema) {
|
|
@@ -26,11 +26,11 @@ ${_untyped.generateTypes.call(void 0, schema, {
|
|
|
26
26
|
}
|
|
27
27
|
function generateDeclarationFile(schema, file, config) {
|
|
28
28
|
try {
|
|
29
|
-
const declarations =
|
|
30
|
-
|
|
29
|
+
const declarations = _chunkI7IR7VJQcjs.getOutputFile.call(void 0, file, "d.ts");
|
|
30
|
+
_chunk3TOTRSKScjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
|
|
31
31
|
return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema));
|
|
32
32
|
} catch (error) {
|
|
33
|
-
|
|
33
|
+
_chunk3TOTRSKScjs.writeError.call(void 0,
|
|
34
34
|
`Error writing declaration file for ${file.name}
|
|
35
35
|
|
|
36
36
|
Error:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SMM6T74L.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AUD2VUAW.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/markdown.ts
|
|
11
11
|
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
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
3
|
+
var _chunkLRJS3SLIcjs = require('./chunk-LRJS3SLI.cjs');
|
|
4
|
+
require('./chunk-NMHD4QQ7.cjs');
|
|
5
|
+
require('./chunk-ELOMUEGV.cjs');
|
|
6
|
+
require('./chunk-LXTGG4MP.cjs');
|
|
7
|
+
require('./chunk-3TOTRSKS.cjs');
|
|
8
|
+
require('./chunk-I7IR7VJQ.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getGenerateAction =
|
|
11
|
+
exports.getGenerateAction = _chunkLRJS3SLIcjs.getGenerateAction;
|
package/dist/generate.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DDVOX3FY.js";
|
|
4
|
+
import "./chunk-6NLJJ5TZ.js";
|
|
5
|
+
import "./chunk-5MN4HZ3U.js";
|
|
6
|
+
import "./chunk-PZOX24PA.js";
|
|
7
|
+
import "./chunk-SMM6T74L.js";
|
|
8
|
+
import "./chunk-AUD2VUAW.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
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var _chunkLRJS3SLIcjs = require('./chunk-LRJS3SLI.cjs');
|
|
4
|
+
require('./chunk-DK2CVNUK.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkNMHD4QQ7cjs = require('./chunk-NMHD4QQ7.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkELOMUEGVcjs = require('./chunk-ELOMUEGV.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunkLXTGG4MPcjs = require('./chunk-LXTGG4MP.cjs');
|
|
16
|
+
require('./chunk-3TOTRSKS.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkI7IR7VJQcjs = require('./chunk-I7IR7VJQ.cjs');
|
|
21
21
|
|
|
22
22
|
// src/index.ts
|
|
23
|
-
|
|
23
|
+
_chunkI7IR7VJQcjs.init_cjs_shims.call(void 0, );
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -29,4 +29,4 @@ _chunkIIZP6XJHcjs.init_cjs_shims.call(void 0, );
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.generateDeclaration =
|
|
32
|
+
exports.generateDeclaration = _chunkNMHD4QQ7cjs.generateDeclaration; exports.generateDeclarationFile = _chunkNMHD4QQ7cjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkELOMUEGVcjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkLXTGG4MPcjs.generateMarkdown; exports.generateMarkdownFile = _chunkLXTGG4MPcjs.generateMarkdownFile; exports.getGenerateAction = _chunkLRJS3SLIcjs.getGenerateAction; exports.getOutputFile = _chunkI7IR7VJQcjs.getOutputFile;
|
package/dist/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getGenerateAction
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-DDVOX3FY.js";
|
|
4
|
+
import "./chunk-RYUTIRYU.js";
|
|
5
5
|
import {
|
|
6
6
|
generateDeclaration,
|
|
7
7
|
generateDeclarationFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6NLJJ5TZ.js";
|
|
9
9
|
import {
|
|
10
10
|
generateJsonSchemaFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5MN4HZ3U.js";
|
|
12
12
|
import {
|
|
13
13
|
generateMarkdown,
|
|
14
14
|
generateMarkdownFile
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-PZOX24PA.js";
|
|
16
|
+
import "./chunk-SMM6T74L.js";
|
|
17
17
|
import {
|
|
18
18
|
getOutputFile,
|
|
19
19
|
init_esm_shims
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AUD2VUAW.js";
|
|
21
21
|
|
|
22
22
|
// src/index.ts
|
|
23
23
|
init_esm_shims();
|
package/dist/utilities.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkI7IR7VJQcjs = require('./chunk-I7IR7VJQ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.getOutputFile =
|
|
6
|
+
exports.getOutputFile = _chunkI7IR7VJQcjs.getOutputFile;
|
package/dist/utilities.js
CHANGED
package/package.json
CHANGED