@storm-software/untyped 0.24.21 → 0.24.23
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-ATLTFAT2.cjs → chunk-2SXVKHTE.cjs} +6 -6
- package/dist/{chunk-WCUJPKOG.js → chunk-52YQGWG7.js} +1 -1
- package/dist/{chunk-2D5WNRMD.js → chunk-53HDETMB.js} +2 -2
- package/dist/{chunk-A74PX7Z4.cjs → chunk-AARSGLX3.cjs} +10 -10
- package/dist/{chunk-FWSB3YHZ.js → chunk-AZBH2WKK.js} +1 -1
- package/dist/chunk-DOLMKXMC.cjs +6 -0
- package/dist/{chunk-ND6TEAH7.js → chunk-I7EKUGHU.js} +2 -2
- package/dist/{chunk-I37QMIDF.cjs → chunk-IBKL4TDU.cjs} +32 -32
- package/dist/{chunk-XO5ZRLXM.cjs → chunk-JO4FG4NQ.cjs} +33 -33
- package/dist/{chunk-SC5XMMRY.js → chunk-KXWP5A4Q.js} +2 -2
- package/dist/{chunk-O42JLOTJ.cjs → chunk-MQLLHZLA.cjs} +6 -6
- package/dist/{chunk-REI46MWR.js → chunk-MVKH3GOZ.js} +2 -2
- package/dist/{chunk-KT2W7AJU.js → chunk-OBMVQDS4.js} +5 -5
- package/dist/{chunk-BMZNNHFG.cjs → chunk-V6PBBEPG.cjs} +2 -2
- 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 +4 -4
- package/dist/chunk-ELF2OHD3.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__6a8e93685044df50fa91f86dbe373281/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__6a8e93685044df50fa91f86dbe373281/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__6a8e93685044df50fa91f86dbe373281/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__6a8e93685044df50fa91f86dbe373281/node_modules/tsup/assets/esm_shims.js"() {
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -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 _chunkIBKL4TDUcjs = require('./chunk-IBKL4TDU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkV6PBBEPGcjs = require('./chunk-V6PBBEPG.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/markdown.ts
|
|
11
|
-
|
|
11
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
function generateMarkdown(schema, generatedBy = "@storm-software/untyped") {
|
|
14
14
|
return `
|
|
@@ -46,11 +46,11 @@ function generateMarkdownLevel(schema, title, level) {
|
|
|
46
46
|
}
|
|
47
47
|
function generateMarkdownFile(schema, file, generatedBy = "@storm-software/untyped", config) {
|
|
48
48
|
try {
|
|
49
|
-
const declarations =
|
|
50
|
-
|
|
49
|
+
const declarations = _chunkV6PBBEPGcjs.getOutputFile.call(void 0, file, "md");
|
|
50
|
+
_chunkIBKL4TDUcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
|
|
51
51
|
return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema, generatedBy));
|
|
52
52
|
} catch (error) {
|
|
53
|
-
|
|
53
|
+
_chunkIBKL4TDUcjs.writeError.call(void 0,
|
|
54
54
|
`Error writing markdown file for ${file.name}
|
|
55
55
|
|
|
56
56
|
Error:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AZBH2WKK.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MVKH3GOZ.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/markdown.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkIBKL4TDUcjs = require('./chunk-IBKL4TDU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkV6PBBEPGcjs = require('./chunk-V6PBBEPG.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/dts.ts
|
|
11
|
-
|
|
11
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
12
12
|
var _promises = require('fs/promises');
|
|
13
13
|
|
|
14
14
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/index.mjs
|
|
15
|
-
|
|
15
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
16
16
|
|
|
17
17
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.BTwOq8Jl.mjs
|
|
18
|
-
|
|
18
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
19
19
|
|
|
20
20
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.Br_uXjZG.mjs
|
|
21
|
-
|
|
21
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
22
22
|
|
|
23
23
|
// ../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs
|
|
24
|
-
|
|
24
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
25
25
|
var NUMBER_CHAR_RE = /\d/;
|
|
26
26
|
var STR_SPLITTERS = ["-", "_", "/", "."];
|
|
27
27
|
function isUppercase(char = "") {
|
|
@@ -536,11 +536,11 @@ ${generateTypes(schema, {
|
|
|
536
536
|
}
|
|
537
537
|
function generateDeclarationFile(schema, file, generatedBy = "@storm-software/untyped", config) {
|
|
538
538
|
try {
|
|
539
|
-
const declarations =
|
|
540
|
-
|
|
539
|
+
const declarations = _chunkV6PBBEPGcjs.getOutputFile.call(void 0, file, "d.ts");
|
|
540
|
+
_chunkIBKL4TDUcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
|
|
541
541
|
return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema, generatedBy));
|
|
542
542
|
} catch (error) {
|
|
543
|
-
|
|
543
|
+
_chunkIBKL4TDUcjs.writeError.call(void 0,
|
|
544
544
|
`Error writing declaration file for ${file.name}
|
|
545
545
|
|
|
546
546
|
Error:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AZBH2WKK.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MVKH3GOZ.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/dts.ts
|
|
11
11
|
init_esm_shims();
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkV6PBBEPGcjs = require('./chunk-V6PBBEPG.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 = _chunkV6PBBEPGcjs.__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
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__commonJS.call(void 0, {
|
|
168
168
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/conversions.js"(exports, module) {
|
|
169
|
-
|
|
169
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__commonJS.call(void 0, {
|
|
840
840
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/route.js"(exports, module) {
|
|
841
|
-
|
|
841
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__commonJS.call(void 0, {
|
|
911
911
|
"../../node_modules/.pnpm/color-convert@2.0.1/node_modules/color-convert/index.js"(exports, module) {
|
|
912
|
-
|
|
912
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__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
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__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
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__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
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1133
|
+
var os = _chunkV6PBBEPGcjs.__require.call(void 0, "os");
|
|
1134
|
+
var tty = _chunkV6PBBEPGcjs.__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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__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
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__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
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__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 = _chunkV6PBBEPGcjs.__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
|
+
_chunkV6PBBEPGcjs.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 = _chunkBMZNNHFGcjs.__commonJS.call(void 0, {
|
|
|
1563
1563
|
});
|
|
1564
1564
|
|
|
1565
1565
|
// ../config-tools/src/logger/console.ts
|
|
1566
|
-
|
|
1566
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1567
1567
|
|
|
1568
1568
|
// ../config-tools/src/types.ts
|
|
1569
|
-
|
|
1569
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1570
1570
|
var LogLevel = {
|
|
1571
1571
|
SILENT: 0,
|
|
1572
1572
|
FATAL: 10,
|
|
@@ -1591,7 +1591,7 @@ var LogLevelLabel = {
|
|
|
1591
1591
|
};
|
|
1592
1592
|
|
|
1593
1593
|
// ../config-tools/src/utilities/colors.ts
|
|
1594
|
-
|
|
1594
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1595
1595
|
var DEFAULT_COLOR_CONFIG = {
|
|
1596
1596
|
light: {
|
|
1597
1597
|
background: "#fafafa",
|
|
@@ -1628,8 +1628,8 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
1628
1628
|
};
|
|
1629
1629
|
|
|
1630
1630
|
// ../config-tools/src/logger/chalk.ts
|
|
1631
|
-
|
|
1632
|
-
var import_chalk =
|
|
1631
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1632
|
+
var import_chalk = _chunkV6PBBEPGcjs.__toESM.call(void 0, require_source(), 1);
|
|
1633
1633
|
var chalkDefault = {
|
|
1634
1634
|
hex: (_) => (message) => message,
|
|
1635
1635
|
bgHex: (_) => ({
|
|
@@ -1662,10 +1662,10 @@ var getChalk = () => {
|
|
|
1662
1662
|
};
|
|
1663
1663
|
|
|
1664
1664
|
// ../config-tools/src/logger/console-icons.ts
|
|
1665
|
-
|
|
1665
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1666
1666
|
|
|
1667
1667
|
// ../config-tools/src/logger/is-unicode-supported.ts
|
|
1668
|
-
|
|
1668
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1669
1669
|
function isUnicodeSupported() {
|
|
1670
1670
|
if (process.platform !== "win32") {
|
|
1671
1671
|
return process.env.TERM !== "linux";
|
|
@@ -1690,13 +1690,13 @@ var CONSOLE_ICONS = {
|
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
1692
1692
|
// ../config-tools/src/logger/format-timestamp.ts
|
|
1693
|
-
|
|
1693
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1694
1694
|
var formatTimestamp = (date = /* @__PURE__ */ new Date()) => {
|
|
1695
1695
|
return `${date.toLocaleDateString()} ${date.toLocaleTimeString()}`;
|
|
1696
1696
|
};
|
|
1697
1697
|
|
|
1698
1698
|
// ../config-tools/src/logger/get-log-level.ts
|
|
1699
|
-
|
|
1699
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
1700
1700
|
var getLogLevel = (label) => {
|
|
1701
1701
|
switch (label) {
|
|
1702
1702
|
case "all":
|
|
@@ -5,31 +5,31 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkAARSGLX3cjs = require('./chunk-AARSGLX3.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkMQLLHZLAcjs = require('./chunk-MQLLHZLA.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk2SXVKHTEcjs = require('./chunk-2SXVKHTE.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkIBKL4TDUcjs = require('./chunk-IBKL4TDU.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkV6PBBEPGcjs = require('./chunk-V6PBBEPG.cjs');
|
|
23
23
|
|
|
24
24
|
// src/generate.ts
|
|
25
|
-
|
|
25
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
26
26
|
var _glob = require('glob');
|
|
27
27
|
|
|
28
28
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/loader.mjs
|
|
29
|
-
|
|
29
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
30
30
|
|
|
31
31
|
// ../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs
|
|
32
|
-
|
|
32
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
33
33
|
function isPlainObject(value) {
|
|
34
34
|
if (value === null || typeof value !== "object") {
|
|
35
35
|
return false;
|
|
@@ -101,7 +101,7 @@ var defuArrayFn = createDefu((object, key, currentValue) => {
|
|
|
101
101
|
var _jiti = require('jiti');
|
|
102
102
|
|
|
103
103
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/babel.mjs
|
|
104
|
-
|
|
104
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
105
105
|
function getDefaultExportFromCjs(x2) {
|
|
106
106
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
107
107
|
}
|
|
@@ -6700,7 +6700,7 @@ var babelPluginUntyped = function(api, options) {
|
|
|
6700
6700
|
if (p2.parent.type !== "ExportNamedDeclaration" && p2.parent.type !== "ExportDefaultDeclaration") {
|
|
6701
6701
|
return;
|
|
6702
6702
|
}
|
|
6703
|
-
const _getLines =
|
|
6703
|
+
const _getLines = _chunkAARSGLX3cjs.cachedFn.call(void 0, () => this.file.code.split("\n"));
|
|
6704
6704
|
const getCode = (loc) => {
|
|
6705
6705
|
if (!loc) {
|
|
6706
6706
|
return "";
|
|
@@ -6726,7 +6726,7 @@ var babelPluginUntyped = function(api, options) {
|
|
|
6726
6726
|
if (lparam.typeAnnotation) {
|
|
6727
6727
|
Object.assign(
|
|
6728
6728
|
arg,
|
|
6729
|
-
|
|
6729
|
+
_chunkAARSGLX3cjs.mergedTypes.call(void 0,
|
|
6730
6730
|
arg,
|
|
6731
6731
|
inferAnnotationType(lparam.typeAnnotation, getCode)
|
|
6732
6732
|
)
|
|
@@ -6735,7 +6735,7 @@ var babelPluginUntyped = function(api, options) {
|
|
|
6735
6735
|
if (param.type === "AssignmentPattern") {
|
|
6736
6736
|
Object.assign(
|
|
6737
6737
|
arg,
|
|
6738
|
-
|
|
6738
|
+
_chunkAARSGLX3cjs.mergedTypes.call(void 0, arg, inferArgType(param.right))
|
|
6739
6739
|
);
|
|
6740
6740
|
}
|
|
6741
6741
|
schema.args = schema.args || [];
|
|
@@ -6749,7 +6749,7 @@ var babelPluginUntyped = function(api, options) {
|
|
|
6749
6749
|
const { type } = _optionalChain([tag, 'access', _27 => _27.match, 'call', _28 => _28(/^@returns\s+{(?<type>[\S\s]+)}/), 'optionalAccess', _29 => _29.groups]) || {};
|
|
6750
6750
|
if (type) {
|
|
6751
6751
|
schema.returns = schema.returns || {};
|
|
6752
|
-
Object.assign(schema.returns,
|
|
6752
|
+
Object.assign(schema.returns, _chunkAARSGLX3cjs.getTypeDescriptor.call(void 0, type));
|
|
6753
6753
|
return false;
|
|
6754
6754
|
}
|
|
6755
6755
|
}
|
|
@@ -6758,7 +6758,7 @@ var babelPluginUntyped = function(api, options) {
|
|
|
6758
6758
|
if (type && param) {
|
|
6759
6759
|
const arg = _optionalChain([schema, 'access', _33 => _33.args, 'optionalAccess', _34 => _34.find, 'call', _35 => _35((arg2) => arg2.name === param)]);
|
|
6760
6760
|
if (arg) {
|
|
6761
|
-
Object.assign(arg,
|
|
6761
|
+
Object.assign(arg, _chunkAARSGLX3cjs.getTypeDescriptor.call(void 0, type));
|
|
6762
6762
|
return false;
|
|
6763
6763
|
}
|
|
6764
6764
|
}
|
|
@@ -6834,7 +6834,7 @@ function parseJSDocs(input) {
|
|
|
6834
6834
|
if (!type) {
|
|
6835
6835
|
continue;
|
|
6836
6836
|
}
|
|
6837
|
-
Object.assign(schema,
|
|
6837
|
+
Object.assign(schema, _chunkAARSGLX3cjs.getTypeDescriptor.call(void 0, type));
|
|
6838
6838
|
for (const typedef in typedefs) {
|
|
6839
6839
|
schema.markdownType = type;
|
|
6840
6840
|
if (schema.tsType) {
|
|
@@ -6894,20 +6894,20 @@ var AST_JSTYPE_MAP = {
|
|
|
6894
6894
|
};
|
|
6895
6895
|
function inferArgType(e2, getCode) {
|
|
6896
6896
|
if (AST_JSTYPE_MAP[e2.type]) {
|
|
6897
|
-
return
|
|
6897
|
+
return _chunkAARSGLX3cjs.getTypeDescriptor.call(void 0, AST_JSTYPE_MAP[e2.type]);
|
|
6898
6898
|
}
|
|
6899
6899
|
if (e2.type === "AssignmentExpression") {
|
|
6900
6900
|
return inferArgType(e2.right);
|
|
6901
6901
|
}
|
|
6902
6902
|
if (e2.type === "NewExpression" && e2.callee.type === "Identifier") {
|
|
6903
|
-
return
|
|
6903
|
+
return _chunkAARSGLX3cjs.getTypeDescriptor.call(void 0, e2.callee.name);
|
|
6904
6904
|
}
|
|
6905
6905
|
if (e2.type === "ArrayExpression" || e2.type === "TupleExpression") {
|
|
6906
6906
|
const itemTypes = e2.elements.filter((el) => r.isExpression(el)).flatMap((el) => inferArgType(el).type);
|
|
6907
6907
|
return {
|
|
6908
6908
|
type: "array",
|
|
6909
6909
|
items: {
|
|
6910
|
-
type:
|
|
6910
|
+
type: _chunkAARSGLX3cjs.normalizeTypes.call(void 0, itemTypes)
|
|
6911
6911
|
}
|
|
6912
6912
|
};
|
|
6913
6913
|
}
|
|
@@ -6930,10 +6930,10 @@ function inferTSType(tsType, getCode) {
|
|
|
6930
6930
|
items: inferTSType(tsType.typeParameters.params[0], getCode)
|
|
6931
6931
|
};
|
|
6932
6932
|
}
|
|
6933
|
-
return
|
|
6933
|
+
return _chunkAARSGLX3cjs.getTypeDescriptor.call(void 0, getCode(tsType.loc));
|
|
6934
6934
|
}
|
|
6935
6935
|
if (tsType.type === "TSUnionType") {
|
|
6936
|
-
return
|
|
6936
|
+
return _chunkAARSGLX3cjs.mergedTypes.call(void 0, ...tsType.types.map((t2) => inferTSType(t2, getCode)));
|
|
6937
6937
|
}
|
|
6938
6938
|
if (tsType.type === "TSArrayType") {
|
|
6939
6939
|
return {
|
|
@@ -6941,7 +6941,7 @@ function inferTSType(tsType, getCode) {
|
|
|
6941
6941
|
items: inferTSType(tsType.elementType, getCode)
|
|
6942
6942
|
};
|
|
6943
6943
|
}
|
|
6944
|
-
return
|
|
6944
|
+
return _chunkAARSGLX3cjs.getTypeDescriptor.call(void 0, getCode(tsType.loc));
|
|
6945
6945
|
}
|
|
6946
6946
|
|
|
6947
6947
|
// ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/loader.mjs
|
|
@@ -6962,7 +6962,7 @@ async function loadSchema(entryPath, options = {}) {
|
|
|
6962
6962
|
if (rawSchemaKeys.length === 1 && rawSchemaKeys[0] === "default") {
|
|
6963
6963
|
rawSchema = rawSchema.default;
|
|
6964
6964
|
}
|
|
6965
|
-
const schema = await
|
|
6965
|
+
const schema = await _chunkAARSGLX3cjs.resolveSchema.call(void 0, rawSchema, options.defaults, {
|
|
6966
6966
|
ignoreDefaults: options.ignoreDefaults
|
|
6967
6967
|
});
|
|
6968
6968
|
return schema;
|
|
@@ -6970,7 +6970,7 @@ async function loadSchema(entryPath, options = {}) {
|
|
|
6970
6970
|
|
|
6971
6971
|
// src/generate.ts
|
|
6972
6972
|
var getGenerateAction = (config) => async (options) => {
|
|
6973
|
-
|
|
6973
|
+
_chunkIBKL4TDUcjs.writeTrace.call(void 0,
|
|
6974
6974
|
`Running Storm Untyped with options: ${JSON.stringify(options)}`,
|
|
6975
6975
|
config
|
|
6976
6976
|
);
|
|
@@ -6989,16 +6989,16 @@ var getGenerateAction = (config) => async (options) => {
|
|
|
6989
6989
|
});
|
|
6990
6990
|
await Promise.all(
|
|
6991
6991
|
files.map(async (file) => {
|
|
6992
|
-
|
|
6993
|
-
`Generating files for schema file: ${
|
|
6992
|
+
_chunkIBKL4TDUcjs.writeTrace.call(void 0,
|
|
6993
|
+
`Generating files for schema file: ${_chunkV6PBBEPGcjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
|
|
6994
6994
|
config
|
|
6995
6995
|
);
|
|
6996
6996
|
let schema;
|
|
6997
6997
|
try {
|
|
6998
|
-
schema = await loadSchema(
|
|
6998
|
+
schema = await loadSchema(_chunkV6PBBEPGcjs.joinPaths.call(void 0, file.parentPath, file.name), {
|
|
6999
6999
|
jiti: {
|
|
7000
|
-
fsCache: config.skipCache ? false :
|
|
7001
|
-
config.directories.cache ||
|
|
7000
|
+
fsCache: config.skipCache ? false : _chunkV6PBBEPGcjs.joinPaths.call(void 0,
|
|
7001
|
+
config.directories.cache || _chunkV6PBBEPGcjs.joinPaths.call(void 0,
|
|
7002
7002
|
config.workspaceRoot,
|
|
7003
7003
|
"node_modules/.cache/storm"
|
|
7004
7004
|
),
|
|
@@ -7008,8 +7008,8 @@ var getGenerateAction = (config) => async (options) => {
|
|
|
7008
7008
|
}
|
|
7009
7009
|
});
|
|
7010
7010
|
} catch (error) {
|
|
7011
|
-
|
|
7012
|
-
`Error while parsing schema file: ${
|
|
7011
|
+
_chunkIBKL4TDUcjs.writeError.call(void 0,
|
|
7012
|
+
`Error while parsing schema file: ${_chunkV6PBBEPGcjs.joinPaths.call(void 0, file.parentPath, file.name)}
|
|
7013
7013
|
|
|
7014
7014
|
Error:
|
|
7015
7015
|
${_optionalChain([error, 'optionalAccess', _43 => _43.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _44 => _44.stack]) ? `
|
|
@@ -7024,12 +7024,12 @@ ${JSON.stringify(schema)}
|
|
|
7024
7024
|
}
|
|
7025
7025
|
const promises = [];
|
|
7026
7026
|
promises.push(
|
|
7027
|
-
|
|
7027
|
+
_chunkAARSGLX3cjs.generateDeclarationFile.call(void 0, schema, file, options.generatedBy, config)
|
|
7028
7028
|
);
|
|
7029
7029
|
promises.push(
|
|
7030
|
-
|
|
7030
|
+
_chunk2SXVKHTEcjs.generateMarkdownFile.call(void 0, schema, file, options.generatedBy, config)
|
|
7031
7031
|
);
|
|
7032
|
-
promises.push(
|
|
7032
|
+
promises.push(_chunkMQLLHZLAcjs.generateJsonSchemaFile.call(void 0, schema, file, config));
|
|
7033
7033
|
return Promise.all(promises);
|
|
7034
7034
|
})
|
|
7035
7035
|
);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeError,
|
|
3
3
|
writeTrace
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AZBH2WKK.js";
|
|
5
5
|
import {
|
|
6
6
|
getOutputFile,
|
|
7
7
|
init_esm_shims
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MVKH3GOZ.js";
|
|
9
9
|
|
|
10
10
|
// src/generators/json-schema.ts
|
|
11
11
|
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 _chunkIBKL4TDUcjs = require('./chunk-IBKL4TDU.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkV6PBBEPGcjs = require('./chunk-V6PBBEPG.cjs');
|
|
9
9
|
|
|
10
10
|
// src/generators/json-schema.ts
|
|
11
|
-
|
|
11
|
+
_chunkV6PBBEPGcjs.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 = _chunkV6PBBEPGcjs.getOutputFile.call(void 0, file, "json");
|
|
16
|
+
_chunkIBKL4TDUcjs.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
|
+
_chunkIBKL4TDUcjs.writeError.call(void 0,
|
|
20
20
|
`Error writing JSON schema file for ${file.name}
|
|
21
21
|
|
|
22
22
|
Error:
|
|
@@ -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__6a8e93685044df50fa91f86dbe373281/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__6a8e93685044df50fa91f86dbe373281/node_modules/tsup/assets/esm_shims.js"() {
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
|
|
@@ -5,21 +5,21 @@ import {
|
|
|
5
5
|
mergedTypes,
|
|
6
6
|
normalizeTypes,
|
|
7
7
|
resolveSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I7EKUGHU.js";
|
|
9
9
|
import {
|
|
10
10
|
generateJsonSchemaFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KXWP5A4Q.js";
|
|
12
12
|
import {
|
|
13
13
|
generateMarkdownFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-53HDETMB.js";
|
|
15
15
|
import {
|
|
16
16
|
writeError,
|
|
17
17
|
writeTrace
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AZBH2WKK.js";
|
|
19
19
|
import {
|
|
20
20
|
init_esm_shims,
|
|
21
21
|
joinPaths
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MVKH3GOZ.js";
|
|
23
23
|
|
|
24
24
|
// src/generate.ts
|
|
25
25
|
init_esm_shims();
|
|
@@ -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__6a8e93685044df50fa91f86dbe373281/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__6a8e93685044df50fa91f86dbe373281/node_modules/tsup/assets/cjs_shims.js"() {
|
|
39
39
|
}
|
|
40
40
|
});
|
|
41
41
|
|
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 _chunkJO4FG4NQcjs = require('./chunk-JO4FG4NQ.cjs');
|
|
4
|
+
require('./chunk-AARSGLX3.cjs');
|
|
5
|
+
require('./chunk-MQLLHZLA.cjs');
|
|
6
|
+
require('./chunk-2SXVKHTE.cjs');
|
|
7
|
+
require('./chunk-IBKL4TDU.cjs');
|
|
8
|
+
require('./chunk-V6PBBEPG.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
exports.getGenerateAction =
|
|
11
|
+
exports.getGenerateAction = _chunkJO4FG4NQcjs.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-OBMVQDS4.js";
|
|
4
|
+
import "./chunk-I7EKUGHU.js";
|
|
5
|
+
import "./chunk-KXWP5A4Q.js";
|
|
6
|
+
import "./chunk-53HDETMB.js";
|
|
7
|
+
import "./chunk-AZBH2WKK.js";
|
|
8
|
+
import "./chunk-MVKH3GOZ.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 _chunkJO4FG4NQcjs = require('./chunk-JO4FG4NQ.cjs');
|
|
4
|
+
require('./chunk-DOLMKXMC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkAARSGLX3cjs = require('./chunk-AARSGLX3.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkMQLLHZLAcjs = require('./chunk-MQLLHZLA.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
16
|
-
require('./chunk-
|
|
15
|
+
var _chunk2SXVKHTEcjs = require('./chunk-2SXVKHTE.cjs');
|
|
16
|
+
require('./chunk-IBKL4TDU.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkV6PBBEPGcjs = require('./chunk-V6PBBEPG.cjs');
|
|
21
21
|
|
|
22
22
|
// src/index.ts
|
|
23
|
-
|
|
23
|
+
_chunkV6PBBEPGcjs.init_cjs_shims.call(void 0, );
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
@@ -29,4 +29,4 @@ _chunkBMZNNHFGcjs.init_cjs_shims.call(void 0, );
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
exports.generateDeclaration =
|
|
32
|
+
exports.generateDeclaration = _chunkAARSGLX3cjs.generateDeclaration; exports.generateDeclarationFile = _chunkAARSGLX3cjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkMQLLHZLAcjs.generateJsonSchemaFile; exports.generateMarkdown = _chunk2SXVKHTEcjs.generateMarkdown; exports.generateMarkdownFile = _chunk2SXVKHTEcjs.generateMarkdownFile; exports.getGenerateAction = _chunkJO4FG4NQcjs.getGenerateAction; exports.getOutputFile = _chunkV6PBBEPGcjs.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-OBMVQDS4.js";
|
|
4
|
+
import "./chunk-52YQGWG7.js";
|
|
5
5
|
import {
|
|
6
6
|
generateDeclaration,
|
|
7
7
|
generateDeclarationFile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-I7EKUGHU.js";
|
|
9
9
|
import {
|
|
10
10
|
generateJsonSchemaFile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KXWP5A4Q.js";
|
|
12
12
|
import {
|
|
13
13
|
generateMarkdown,
|
|
14
14
|
generateMarkdownFile
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-53HDETMB.js";
|
|
16
|
+
import "./chunk-AZBH2WKK.js";
|
|
17
17
|
import {
|
|
18
18
|
getOutputFile,
|
|
19
19
|
init_esm_shims
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MVKH3GOZ.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 _chunkV6PBBEPGcjs = require('./chunk-V6PBBEPG.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
exports.getOutputFile =
|
|
6
|
+
exports.getOutputFile = _chunkV6PBBEPGcjs.getOutputFile;
|
package/dist/utilities.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/untyped",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `untyped` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -180,16 +180,16 @@
|
|
|
180
180
|
],
|
|
181
181
|
"dependencies": {
|
|
182
182
|
"commander": "^12.1.0",
|
|
183
|
-
"glob": "^11.0
|
|
183
|
+
"glob": "^11.1.0",
|
|
184
184
|
"jiti": "2.4.2",
|
|
185
185
|
"knitwork": "^1.3.0"
|
|
186
186
|
},
|
|
187
187
|
"devDependencies": {
|
|
188
|
-
"@types/node": "^
|
|
188
|
+
"@types/node": "^24.10.1",
|
|
189
189
|
"tsup": "8.4.0",
|
|
190
190
|
"untyped": "^2.0.0"
|
|
191
191
|
},
|
|
192
192
|
"publishConfig": { "access": "public" },
|
|
193
193
|
"sideEffects": false,
|
|
194
|
-
"gitHead": "
|
|
194
|
+
"gitHead": "75698cfda79931e4ad381d7fc05d1d2fb6d762b6"
|
|
195
195
|
}
|