@storm-software/untyped 0.11.35 → 0.11.36

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 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
- [![Version](https://img.shields.io/badge/version-0.11.34-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-0.11.35-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
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.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/cjs_shims.js
36
+ // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/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.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/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.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/esm_shims.js
42
+ // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/node_modules/tsup/assets/esm_shims.js
43
43
  var init_esm_shims = __esm({
44
- "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/esm_shims.js"() {
44
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/node_modules/tsup/assets/esm_shims.js"() {
45
45
  }
46
46
  });
47
47
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  init_esm_shims
3
- } from "./chunk-JK4J2QCZ.js";
3
+ } from "./chunk-O7O5S5LI.js";
4
4
 
5
5
  // src/generators/index.ts
6
6
  init_esm_shims();
@@ -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.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/cjs_shims.js
37
+ // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/node_modules/tsup/assets/cjs_shims.js
38
38
  var init_cjs_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/cjs_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/node_modules/tsup/assets/cjs_shims.js"() {
40
40
  }
41
41
  });
42
42
 
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-7LZCJIZM.js";
4
+ } from "./chunk-LUNJMXLX.js";
5
5
  import {
6
6
  __name,
7
7
  getOutputFile,
8
8
  init_esm_shims
9
- } from "./chunk-JK4J2QCZ.js";
9
+ } from "./chunk-O7O5S5LI.js";
10
10
 
11
11
  // src/generators/dts.ts
12
12
  init_esm_shims();
@@ -1,15 +1,15 @@
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 _chunkO6KDZNSHcjs = require('./chunk-O6KDZNSH.cjs');
4
+ var _chunkZOZQJMGXcjs = require('./chunk-ZOZQJMGX.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkIOAPOECLcjs = require('./chunk-IOAPOECL.cjs');
9
+ var _chunk7TXAQOXFcjs = require('./chunk-7TXAQOXF.cjs');
10
10
 
11
11
  // src/generators/markdown.ts
12
- _chunkIOAPOECLcjs.init_cjs_shims.call(void 0, );
12
+ _chunk7TXAQOXFcjs.init_cjs_shims.call(void 0, );
13
13
  var _promises = require('fs/promises');
14
14
  function generateMarkdown(schema) {
15
15
  return `
@@ -20,7 +20,7 @@ ${generateMarkdownLevel(schema, schema.title || "", "#").join("\n")}
20
20
 
21
21
  `;
22
22
  }
23
- _chunkIOAPOECLcjs.__name.call(void 0, generateMarkdown, "generateMarkdown");
23
+ _chunk7TXAQOXFcjs.__name.call(void 0, generateMarkdown, "generateMarkdown");
24
24
  function generateMarkdownLevel(schema, title, level) {
25
25
  const lines = [];
26
26
  lines.push(`${level} ${title}`);
@@ -44,14 +44,14 @@ function generateMarkdownLevel(schema, title, level) {
44
44
  }
45
45
  return lines;
46
46
  }
47
- _chunkIOAPOECLcjs.__name.call(void 0, generateMarkdownLevel, "generateMarkdownLevel");
47
+ _chunk7TXAQOXFcjs.__name.call(void 0, generateMarkdownLevel, "generateMarkdownLevel");
48
48
  function generateMarkdownFile(schema, file, config) {
49
49
  try {
50
- const declarations = _chunkIOAPOECLcjs.getOutputFile.call(void 0, file, "md");
51
- _chunkO6KDZNSHcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
50
+ const declarations = _chunk7TXAQOXFcjs.getOutputFile.call(void 0, file, "md");
51
+ _chunkZOZQJMGXcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
52
52
  return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema));
53
53
  } catch (error) {
54
- _chunkO6KDZNSHcjs.writeError.call(void 0, `Error writing markdown file for ${file.name}
54
+ _chunkZOZQJMGXcjs.writeError.call(void 0, `Error writing markdown file for ${file.name}
55
55
 
56
56
  Error:
57
57
  ${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
@@ -63,7 +63,7 @@ ${JSON.stringify(schema)}
63
63
  throw error;
64
64
  }
65
65
  }
66
- _chunkIOAPOECLcjs.__name.call(void 0, generateMarkdownFile, "generateMarkdownFile");
66
+ _chunk7TXAQOXFcjs.__name.call(void 0, generateMarkdownFile, "generateMarkdownFile");
67
67
 
68
68
 
69
69
 
@@ -1,15 +1,15 @@
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 _chunkO6KDZNSHcjs = require('./chunk-O6KDZNSH.cjs');
4
+ var _chunkZOZQJMGXcjs = require('./chunk-ZOZQJMGX.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkIOAPOECLcjs = require('./chunk-IOAPOECL.cjs');
9
+ var _chunk7TXAQOXFcjs = require('./chunk-7TXAQOXF.cjs');
10
10
 
11
11
  // src/generators/dts.ts
12
- _chunkIOAPOECLcjs.init_cjs_shims.call(void 0, );
12
+ _chunk7TXAQOXFcjs.init_cjs_shims.call(void 0, );
13
13
  var _promises = require('fs/promises');
14
14
  var _untyped = require('untyped');
15
15
  function generateDeclaration(schema) {
@@ -25,14 +25,14 @@ ${_untyped.generateTypes.call(void 0, schema, {
25
25
 
26
26
  `;
27
27
  }
28
- _chunkIOAPOECLcjs.__name.call(void 0, generateDeclaration, "generateDeclaration");
28
+ _chunk7TXAQOXFcjs.__name.call(void 0, generateDeclaration, "generateDeclaration");
29
29
  function generateDeclarationFile(schema, file, config) {
30
30
  try {
31
- const declarations = _chunkIOAPOECLcjs.getOutputFile.call(void 0, file, "d.ts");
32
- _chunkO6KDZNSHcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
31
+ const declarations = _chunk7TXAQOXFcjs.getOutputFile.call(void 0, file, "d.ts");
32
+ _chunkZOZQJMGXcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
33
33
  return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema));
34
34
  } catch (error) {
35
- _chunkO6KDZNSHcjs.writeError.call(void 0, `Error writing declaration file for ${file.name}
35
+ _chunkZOZQJMGXcjs.writeError.call(void 0, `Error writing declaration file for ${file.name}
36
36
 
37
37
  Error:
38
38
  ${_optionalChain([error, 'optionalAccess', _4 => _4.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _5 => _5.stack]) ? `
@@ -44,7 +44,7 @@ ${JSON.stringify(schema)}
44
44
  throw error;
45
45
  }
46
46
  }
47
- _chunkIOAPOECLcjs.__name.call(void 0, generateDeclarationFile, "generateDeclarationFile");
47
+ _chunk7TXAQOXFcjs.__name.call(void 0, generateDeclarationFile, "generateDeclarationFile");
48
48
 
49
49
 
50
50
 
@@ -4,7 +4,7 @@ import {
4
4
  __require,
5
5
  __toESM,
6
6
  init_esm_shims
7
- } from "./chunk-JK4J2QCZ.js";
7
+ } from "./chunk-O7O5S5LI.js";
8
8
 
9
9
  // ../../node_modules/.pnpm/color-name@1.1.4/node_modules/color-name/index.js
10
10
  var require_color_name = __commonJS({
@@ -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.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/esm_shims.js
37
+ // ../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/node_modules/tsup/assets/esm_shims.js
38
38
  var init_esm_shims = __esm({
39
- "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_56071ef113ee7f3930228bd32ef6f539/node_modules/tsup/assets/esm_shims.js"() {
39
+ "../../node_modules/.pnpm/tsup@8.4.0_@microsoft+api-extractor@7.52.3_@types+node@22.14.0__@swc+core@1.7.26_@swc+h_1f0f2af312616e61530d7e6463ffcaf7/node_modules/tsup/assets/esm_shims.js"() {
40
40
  }
41
41
  });
42
42
 
@@ -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 _chunkO6KDZNSHcjs = require('./chunk-O6KDZNSH.cjs');
4
+ var _chunkZOZQJMGXcjs = require('./chunk-ZOZQJMGX.cjs');
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkIOAPOECLcjs = require('./chunk-IOAPOECL.cjs');
9
+ var _chunk7TXAQOXFcjs = require('./chunk-7TXAQOXF.cjs');
10
10
 
11
11
  // src/generators/json-schema.ts
12
- _chunkIOAPOECLcjs.init_cjs_shims.call(void 0, );
12
+ _chunk7TXAQOXFcjs.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 = _chunkIOAPOECLcjs.getOutputFile.call(void 0, file, "json");
17
- _chunkO6KDZNSHcjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
16
+ const jsonSchema = _chunk7TXAQOXFcjs.getOutputFile.call(void 0, file, "json");
17
+ _chunkZOZQJMGXcjs.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
- _chunkO6KDZNSHcjs.writeError.call(void 0, `Error writing JSON schema file for ${file.name}
20
+ _chunkZOZQJMGXcjs.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
- _chunkIOAPOECLcjs.__name.call(void 0, generateJsonSchemaFile, "generateJsonSchemaFile");
32
+ _chunk7TXAQOXFcjs.__name.call(void 0, generateJsonSchemaFile, "generateJsonSchemaFile");
33
33
 
34
34
 
35
35
 
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  generateDeclarationFile
3
- } from "./chunk-L5JB3MEI.js";
3
+ } from "./chunk-ESFYU7GX.js";
4
4
  import {
5
5
  generateJsonSchemaFile
6
- } from "./chunk-SWC6E4WU.js";
6
+ } from "./chunk-YQYE6QIA.js";
7
7
  import {
8
8
  generateMarkdownFile
9
- } from "./chunk-UHOYK4GS.js";
9
+ } from "./chunk-TODHDZRX.js";
10
10
  import {
11
11
  isVerbose,
12
12
  writeError,
13
13
  writeTrace
14
- } from "./chunk-7LZCJIZM.js";
14
+ } from "./chunk-LUNJMXLX.js";
15
15
  import {
16
16
  __name,
17
17
  init_esm_shims,
18
18
  joinPaths
19
- } from "./chunk-JK4J2QCZ.js";
19
+ } from "./chunk-O7O5S5LI.js";
20
20
 
21
21
  // src/generate.ts
22
22
  init_esm_shims();
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-7LZCJIZM.js";
4
+ } from "./chunk-LUNJMXLX.js";
5
5
  import {
6
6
  __name,
7
7
  getOutputFile,
8
8
  init_esm_shims
9
- } from "./chunk-JK4J2QCZ.js";
9
+ } from "./chunk-O7O5S5LI.js";
10
10
 
11
11
  // src/generators/markdown.ts
12
12
  init_esm_shims();
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ var _chunk7TXAQOXFcjs = require('./chunk-7TXAQOXF.cjs');
4
+
5
+ // src/generators/index.ts
6
+ _chunk7TXAQOXFcjs.init_cjs_shims.call(void 0, );
@@ -1,29 +1,29 @@
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 _chunkWUEMI2VVcjs = require('./chunk-WUEMI2VV.cjs');
3
+ var _chunkLQBJHVC6cjs = require('./chunk-LQBJHVC6.cjs');
4
4
 
5
5
 
6
- var _chunkF5AAJ342cjs = require('./chunk-F5AAJ342.cjs');
6
+ var _chunkOYXQXP6Lcjs = require('./chunk-OYXQXP6L.cjs');
7
7
 
8
8
 
9
- var _chunk2RWO3NZ3cjs = require('./chunk-2RWO3NZ3.cjs');
9
+ var _chunkFMFUXMHEcjs = require('./chunk-FMFUXMHE.cjs');
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkO6KDZNSHcjs = require('./chunk-O6KDZNSH.cjs');
14
+ var _chunkZOZQJMGXcjs = require('./chunk-ZOZQJMGX.cjs');
15
15
 
16
16
 
17
17
 
18
18
 
19
- var _chunkIOAPOECLcjs = require('./chunk-IOAPOECL.cjs');
19
+ var _chunk7TXAQOXFcjs = require('./chunk-7TXAQOXF.cjs');
20
20
 
21
21
  // src/generate.ts
22
- _chunkIOAPOECLcjs.init_cjs_shims.call(void 0, );
22
+ _chunk7TXAQOXFcjs.init_cjs_shims.call(void 0, );
23
23
  var _glob = require('glob');
24
24
  var _loader = require('untyped/loader');
25
- var getGenerateAction = /* @__PURE__ */ _chunkIOAPOECLcjs.__name.call(void 0, (config) => async (options) => {
26
- _chunkO6KDZNSHcjs.writeTrace.call(void 0, `Running Storm Untyped with options: ${JSON.stringify(options)}`, config);
25
+ var getGenerateAction = /* @__PURE__ */ _chunk7TXAQOXFcjs.__name.call(void 0, (config) => async (options) => {
26
+ _chunkZOZQJMGXcjs.writeTrace.call(void 0, `Running Storm Untyped with options: ${JSON.stringify(options)}`, config);
27
27
  const files = await _glob.glob.call(void 0, options.entry || "**/{untyped.ts,*.untyped.ts}", {
28
28
  ignore: [
29
29
  "**/{*.stories.tsx,*.stories.ts,*.spec.tsx,*.spec.ts}",
@@ -38,18 +38,18 @@ var getGenerateAction = /* @__PURE__ */ _chunkIOAPOECLcjs.__name.call(void 0, (c
38
38
  cwd: config.workspaceRoot
39
39
  });
40
40
  await Promise.all(files.map(async (file) => {
41
- _chunkO6KDZNSHcjs.writeTrace.call(void 0, `Generating files for schema file: ${_chunkIOAPOECLcjs.joinPaths.call(void 0, file.parentPath, file.name)}`, config);
41
+ _chunkZOZQJMGXcjs.writeTrace.call(void 0, `Generating files for schema file: ${_chunk7TXAQOXFcjs.joinPaths.call(void 0, file.parentPath, file.name)}`, config);
42
42
  let schema;
43
43
  try {
44
- schema = await _loader.loadSchema.call(void 0, _chunkIOAPOECLcjs.joinPaths.call(void 0, file.parentPath, file.name), {
44
+ schema = await _loader.loadSchema.call(void 0, _chunk7TXAQOXFcjs.joinPaths.call(void 0, file.parentPath, file.name), {
45
45
  jiti: {
46
- debug: _chunkO6KDZNSHcjs.isVerbose.call(void 0, config.logLevel),
47
- fsCache: config.skipCache ? false : _chunkIOAPOECLcjs.joinPaths.call(void 0, config.directories.cache || _chunkIOAPOECLcjs.joinPaths.call(void 0, config.workspaceRoot, "node_modules/.cache/storm"), "jiti"),
46
+ debug: _chunkZOZQJMGXcjs.isVerbose.call(void 0, config.logLevel),
47
+ fsCache: config.skipCache ? false : _chunk7TXAQOXFcjs.joinPaths.call(void 0, config.directories.cache || _chunk7TXAQOXFcjs.joinPaths.call(void 0, config.workspaceRoot, "node_modules/.cache/storm"), "jiti"),
48
48
  interopDefault: true
49
49
  }
50
50
  });
51
51
  } catch (error) {
52
- _chunkO6KDZNSHcjs.writeError.call(void 0, `Error while parsing schema file: ${_chunkIOAPOECLcjs.joinPaths.call(void 0, file.parentPath, file.name)}
52
+ _chunkZOZQJMGXcjs.writeError.call(void 0, `Error while parsing schema file: ${_chunk7TXAQOXFcjs.joinPaths.call(void 0, file.parentPath, file.name)}
53
53
 
54
54
  Error:
55
55
  ${_optionalChain([error, 'optionalAccess', _ => _.message]) ? error.message : JSON.stringify(error)}${_optionalChain([error, 'optionalAccess', _2 => _2.stack]) ? `
@@ -61,9 +61,9 @@ ${JSON.stringify(schema)}
61
61
  throw error;
62
62
  }
63
63
  const promises = [];
64
- promises.push(_chunkWUEMI2VVcjs.generateDeclarationFile.call(void 0, schema, file, config));
65
- promises.push(_chunk2RWO3NZ3cjs.generateMarkdownFile.call(void 0, schema, file, config));
66
- promises.push(_chunkF5AAJ342cjs.generateJsonSchemaFile.call(void 0, schema, file, config));
64
+ promises.push(_chunkLQBJHVC6cjs.generateDeclarationFile.call(void 0, schema, file, config));
65
+ promises.push(_chunkFMFUXMHEcjs.generateMarkdownFile.call(void 0, schema, file, config));
66
+ promises.push(_chunkOYXQXP6Lcjs.generateJsonSchemaFile.call(void 0, schema, file, config));
67
67
  return Promise.all(promises);
68
68
  }));
69
69
  }, "getGenerateAction");
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-7LZCJIZM.js";
4
+ } from "./chunk-LUNJMXLX.js";
5
5
  import {
6
6
  __name,
7
7
  getOutputFile,
8
8
  init_esm_shims
9
- } from "./chunk-JK4J2QCZ.js";
9
+ } from "./chunk-O7O5S5LI.js";
10
10
 
11
11
  // src/generators/json-schema.ts
12
12
  init_esm_shims();