@storm-software/untyped 0.11.49 → 0.11.51
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 -2
- package/bin/untyped.cjs +2 -2
- package/bin/untyped.js +2 -2
- package/dist/{chunk-TRFHWNJ7.js → chunk-2YHOMBRO.js} +1 -1
- package/dist/{chunk-5JSH3CQ6.cjs → chunk-74J4BS74.cjs} +7 -7
- package/dist/{chunk-FIKVQGO5.js → chunk-7CX637IL.js} +2 -2
- package/dist/{chunk-UMSEZKY5.cjs → chunk-AOVMSQH6.cjs} +203 -203
- package/dist/{chunk-ZGIJ3DV3.js → chunk-BH3LXQIJ.js} +2 -2
- package/dist/{chunk-KBHK5M3D.js → chunk-CTT4CRYF.js} +2 -2
- package/dist/{chunk-PRHQACAG.js → chunk-EX33CPLU.js} +5 -5
- package/dist/chunk-KBAPA467.cjs +6 -0
- package/dist/{chunk-RARSEWDT.cjs → chunk-L6IODYGU.cjs} +16 -16
- package/dist/{chunk-VZKL3HRK.js → chunk-PK4QMXEW.js} +2 -2
- package/dist/{chunk-CR5UG4DN.js → chunk-RBPVVHVW.js} +1 -1
- package/dist/{chunk-5JO5W5T2.cjs → chunk-UFQOD5IZ.cjs} +2 -2
- package/dist/{chunk-4JP5ELXT.cjs → chunk-UTTBYVZ4.cjs} +9 -9
- package/dist/{chunk-XBFCUEO6.cjs → chunk-VBYJDZGU.cjs} +8 -8
- 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-SDFMHNYV.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 -->
|
|
@@ -40,7 +40,6 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
40
40
|
|
|
41
41
|
<!-- START doctoc -->
|
|
42
42
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
43
|
-
|
|
44
43
|
## Table of Contents
|
|
45
44
|
|
|
46
45
|
- [Storm ESBuild Package](#storm-esbuild-package)
|
package/bin/untyped.cjs
CHANGED
|
@@ -33,10 +33,10 @@ 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=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/cjs_shims.js
|
|
37
37
|
var getImportMetaUrl, importMetaUrl;
|
|
38
38
|
var init_cjs_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/cjs_shims.js"() {
|
|
40
40
|
getImportMetaUrl = /* @__PURE__ */ __name(() => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href, "getImportMetaUrl");
|
|
41
41
|
importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
|
|
42
42
|
}
|
package/bin/untyped.js
CHANGED
|
@@ -39,9 +39,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
39
39
|
mod
|
|
40
40
|
));
|
|
41
41
|
|
|
42
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
42
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/esm_shims.js
|
|
43
43
|
var init_esm_shims = __esm({
|
|
44
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
44
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/esm_shims.js"() {
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -1,23 +1,23 @@
|
|
|
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 _chunkAOVMSQH6cjs = require('./chunk-AOVMSQH6.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkUFQOD5IZcjs = require('./chunk-UFQOD5IZ.cjs');
|
|
10
10
|
|
|
11
11
|
// src/generators/json-schema.ts
|
|
12
|
-
|
|
12
|
+
_chunkUFQOD5IZcjs.init_cjs_shims.call(void 0, );
|
|
13
13
|
var _promises = require('fs/promises');
|
|
14
14
|
function generateJsonSchemaFile(schema, file, config) {
|
|
15
15
|
try {
|
|
16
|
-
const jsonSchema =
|
|
17
|
-
|
|
16
|
+
const jsonSchema = _chunkUFQOD5IZcjs.getOutputFile.call(void 0, file, "json");
|
|
17
|
+
_chunkAOVMSQH6cjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
|
|
18
18
|
return _promises.writeFile.call(void 0, jsonSchema, JSON.stringify(schema, null, 2));
|
|
19
19
|
} catch (error) {
|
|
20
|
-
|
|
20
|
+
_chunkAOVMSQH6cjs.writeError.call(void 0, `Error writing JSON schema file for ${file.name}
|
|
21
21
|
|
|
22
22
|
Error:
|
|
23
23
|
${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
|
|
@@ -29,7 +29,7 @@ ${JSON.stringify(schema)}
|
|
|
29
29
|
throw error;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
_chunkUFQOD5IZcjs.__name.call(void 0, generateJsonSchemaFile, "generateJsonSchemaFile");
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
@@ -34,9 +34,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
34
34
|
mod
|
|
35
35
|
));
|
|
36
36
|
|
|
37
|
-
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
37
|
+
// ../../node_modules/.pnpm/tsup@8.4.0_patch_hash=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/esm_shims.js
|
|
38
38
|
var init_esm_shims = __esm({
|
|
39
|
-
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=
|
|
39
|
+
"../../node_modules/.pnpm/tsup@8.4.0_patch_hash=d6d235bacb1b52781b6422127cf8179bf4fa7087e1b44c74b6d276e3935d9a55__7a3232d6d9fb61feedaa124fde7a8801/node_modules/tsup/assets/esm_shims.js"() {
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
|