@storm-software/untyped 0.24.107 → 0.24.109

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
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.24.105-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)
30
+ [![Version](https://img.shields.io/badge/version-0.24.107-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)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
package/bin/untyped.cjs CHANGED
@@ -106,7 +106,7 @@ var fatalColorSchema = z.optional(colorSchema);
106
106
  schemaRegistry.add(fatalColorSchema, {
107
107
  description: "The fatal color of the workspace"
108
108
  });
109
- var performanceColorSchema = z._default(colorSchema, "#00ff00");
109
+ var performanceColorSchema = z._default(colorSchema, "#80fd74");
110
110
  schemaRegistry.add(performanceColorSchema, {
111
111
  description: "The performance color of the workspace"
112
112
  });
@@ -662,7 +662,7 @@ var DEFAULT_COLOR_CONFIG = {
662
662
  warning: "#e3b341",
663
663
  danger: "#D8314A",
664
664
  fatal: "#51070f",
665
- performance: "#83ff83",
665
+ performance: "#13c302",
666
666
  link: "#3fa6ff",
667
667
  positive: "#22c55e",
668
668
  negative: "#dc2626",
@@ -680,7 +680,7 @@ var DEFAULT_COLOR_CONFIG = {
680
680
  warning: "#f3d371",
681
681
  danger: "#D8314A",
682
682
  fatal: "#a40e26",
683
- performance: "#00ff00",
683
+ performance: "#80fd74",
684
684
  link: "#3fa6ff",
685
685
  positive: "#22c55e",
686
686
  negative: "#dc2626",
package/bin/untyped.js CHANGED
@@ -84,7 +84,7 @@ var fatalColorSchema = z.optional(colorSchema);
84
84
  schemaRegistry.add(fatalColorSchema, {
85
85
  description: "The fatal color of the workspace"
86
86
  });
87
- var performanceColorSchema = z._default(colorSchema, "#00ff00");
87
+ var performanceColorSchema = z._default(colorSchema, "#80fd74");
88
88
  schemaRegistry.add(performanceColorSchema, {
89
89
  description: "The performance color of the workspace"
90
90
  });
@@ -640,7 +640,7 @@ var DEFAULT_COLOR_CONFIG = {
640
640
  warning: "#e3b341",
641
641
  danger: "#D8314A",
642
642
  fatal: "#51070f",
643
- performance: "#83ff83",
643
+ performance: "#13c302",
644
644
  link: "#3fa6ff",
645
645
  positive: "#22c55e",
646
646
  negative: "#dc2626",
@@ -658,7 +658,7 @@ var DEFAULT_COLOR_CONFIG = {
658
658
  warning: "#f3d371",
659
659
  danger: "#D8314A",
660
660
  fatal: "#a40e26",
661
- performance: "#00ff00",
661
+ performance: "#80fd74",
662
662
  link: "#3fa6ff",
663
663
  positive: "#22c55e",
664
664
  negative: "#dc2626",
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-DUDDS5LM.js";
4
+ } from "./chunk-RFQVKOZZ.js";
5
5
  import {
6
6
  getOutputFile
7
7
  } from "./chunk-NTN5YK5X.js";
@@ -1,7 +1,7 @@
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 _chunkVCP73ILFcjs = require('./chunk-VCP73ILF.cjs');
4
+ var _chunkQIOIKJ3Pcjs = require('./chunk-QIOIKJ3P.cjs');
5
5
 
6
6
 
7
7
  var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
@@ -45,10 +45,10 @@ function generateMarkdownLevel(schema, title, level) {
45
45
  function generateMarkdownFile(schema, file, generatedBy = "@storm-software/untyped", config) {
46
46
  try {
47
47
  const declarations = _chunk4G3IU22Jcjs.getOutputFile.call(void 0, file, "md");
48
- _chunkVCP73ILFcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
48
+ _chunkQIOIKJ3Pcjs.writeTrace.call(void 0, `Writing type markdown file ${declarations}`, config);
49
49
  return _promises.writeFile.call(void 0, declarations, generateMarkdown(schema, generatedBy));
50
50
  } catch (error) {
51
- _chunkVCP73ILFcjs.writeError.call(void 0,
51
+ _chunkQIOIKJ3Pcjs.writeError.call(void 0,
52
52
  `Error writing markdown file for ${file.name}
53
53
 
54
54
  Error:
@@ -5,17 +5,17 @@ import {
5
5
  mergedTypes,
6
6
  normalizeTypes,
7
7
  resolveSchema
8
- } from "./chunk-7AWI3XBJ.js";
8
+ } from "./chunk-ABFPY6JS.js";
9
9
  import {
10
10
  generateJsonSchemaFile
11
- } from "./chunk-UFKRSZMR.js";
11
+ } from "./chunk-FY574UY5.js";
12
12
  import {
13
13
  generateMarkdownFile
14
- } from "./chunk-XWER2WHY.js";
14
+ } from "./chunk-2QXYKXJH.js";
15
15
  import {
16
16
  writeError,
17
17
  writeTrace
18
- } from "./chunk-DUDDS5LM.js";
18
+ } from "./chunk-RFQVKOZZ.js";
19
19
  import {
20
20
  joinPaths
21
21
  } from "./chunk-NTN5YK5X.js";
@@ -1,7 +1,7 @@
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 _chunkVCP73ILFcjs = require('./chunk-VCP73ILF.cjs');
4
+ var _chunkQIOIKJ3Pcjs = require('./chunk-QIOIKJ3P.cjs');
5
5
 
6
6
 
7
7
  var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
@@ -471,10 +471,10 @@ ${generateTypes(schema, {
471
471
  function generateDeclarationFile(schema, file, generatedBy = "@storm-software/untyped", config) {
472
472
  try {
473
473
  const declarations = _chunk4G3IU22Jcjs.getOutputFile.call(void 0, file, "d.ts");
474
- _chunkVCP73ILFcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
474
+ _chunkQIOIKJ3Pcjs.writeTrace.call(void 0, `Writing type declaration file ${declarations}`, config);
475
475
  return _promises.writeFile.call(void 0, declarations, generateDeclaration(schema, generatedBy));
476
476
  } catch (error) {
477
- _chunkVCP73ILFcjs.writeError.call(void 0,
477
+ _chunkQIOIKJ3Pcjs.writeError.call(void 0,
478
478
  `Error writing declaration file for ${file.name}
479
479
 
480
480
  Error:
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-DUDDS5LM.js";
4
+ } from "./chunk-RFQVKOZZ.js";
5
5
  import {
6
6
  getOutputFile
7
7
  } from "./chunk-NTN5YK5X.js";
@@ -5,17 +5,17 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkN63SWX5Jcjs = require('./chunk-N63SWX5J.cjs');
8
+ var _chunk73YXHPUUcjs = require('./chunk-73YXHPUU.cjs');
9
9
 
10
10
 
11
- var _chunkHA3HZCDIcjs = require('./chunk-HA3HZCDI.cjs');
11
+ var _chunkEX3ITOQ3cjs = require('./chunk-EX3ITOQ3.cjs');
12
12
 
13
13
 
14
- var _chunkLJWAQIM6cjs = require('./chunk-LJWAQIM6.cjs');
14
+ var _chunk2RPXNOIRcjs = require('./chunk-2RPXNOIR.cjs');
15
15
 
16
16
 
17
17
 
18
- var _chunkVCP73ILFcjs = require('./chunk-VCP73ILF.cjs');
18
+ var _chunkQIOIKJ3Pcjs = require('./chunk-QIOIKJ3P.cjs');
19
19
 
20
20
 
21
21
  var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
@@ -6627,7 +6627,7 @@ var babelPluginUntyped = function(api, options) {
6627
6627
  if (p2.parent.type !== "ExportNamedDeclaration" && p2.parent.type !== "ExportDefaultDeclaration") {
6628
6628
  return;
6629
6629
  }
6630
- const _getLines = _chunkN63SWX5Jcjs.cachedFn.call(void 0, () => this.file.code.split("\n"));
6630
+ const _getLines = _chunk73YXHPUUcjs.cachedFn.call(void 0, () => this.file.code.split("\n"));
6631
6631
  const getCode = (loc) => {
6632
6632
  if (!loc) {
6633
6633
  return "";
@@ -6653,7 +6653,7 @@ var babelPluginUntyped = function(api, options) {
6653
6653
  if (lparam.typeAnnotation) {
6654
6654
  Object.assign(
6655
6655
  arg,
6656
- _chunkN63SWX5Jcjs.mergedTypes.call(void 0,
6656
+ _chunk73YXHPUUcjs.mergedTypes.call(void 0,
6657
6657
  arg,
6658
6658
  inferAnnotationType(lparam.typeAnnotation, getCode)
6659
6659
  )
@@ -6662,7 +6662,7 @@ var babelPluginUntyped = function(api, options) {
6662
6662
  if (param.type === "AssignmentPattern") {
6663
6663
  Object.assign(
6664
6664
  arg,
6665
- _chunkN63SWX5Jcjs.mergedTypes.call(void 0, arg, inferArgType(param.right))
6665
+ _chunk73YXHPUUcjs.mergedTypes.call(void 0, arg, inferArgType(param.right))
6666
6666
  );
6667
6667
  }
6668
6668
  schema.args = schema.args || [];
@@ -6676,7 +6676,7 @@ var babelPluginUntyped = function(api, options) {
6676
6676
  const { type } = _optionalChain([tag, 'access', _27 => _27.match, 'call', _28 => _28(/^@returns\s+{(?<type>[\S\s]+)}/), 'optionalAccess', _29 => _29.groups]) || {};
6677
6677
  if (type) {
6678
6678
  schema.returns = schema.returns || {};
6679
- Object.assign(schema.returns, _chunkN63SWX5Jcjs.getTypeDescriptor.call(void 0, type));
6679
+ Object.assign(schema.returns, _chunk73YXHPUUcjs.getTypeDescriptor.call(void 0, type));
6680
6680
  return false;
6681
6681
  }
6682
6682
  }
@@ -6685,7 +6685,7 @@ var babelPluginUntyped = function(api, options) {
6685
6685
  if (type && param) {
6686
6686
  const arg = _optionalChain([schema, 'access', _33 => _33.args, 'optionalAccess', _34 => _34.find, 'call', _35 => _35((arg2) => arg2.name === param)]);
6687
6687
  if (arg) {
6688
- Object.assign(arg, _chunkN63SWX5Jcjs.getTypeDescriptor.call(void 0, type));
6688
+ Object.assign(arg, _chunk73YXHPUUcjs.getTypeDescriptor.call(void 0, type));
6689
6689
  return false;
6690
6690
  }
6691
6691
  }
@@ -6761,7 +6761,7 @@ function parseJSDocs(input) {
6761
6761
  if (!type) {
6762
6762
  continue;
6763
6763
  }
6764
- Object.assign(schema, _chunkN63SWX5Jcjs.getTypeDescriptor.call(void 0, type));
6764
+ Object.assign(schema, _chunk73YXHPUUcjs.getTypeDescriptor.call(void 0, type));
6765
6765
  for (const typedef in typedefs) {
6766
6766
  schema.markdownType = type;
6767
6767
  if (schema.tsType) {
@@ -6821,20 +6821,20 @@ var AST_JSTYPE_MAP = {
6821
6821
  };
6822
6822
  function inferArgType(e2, getCode) {
6823
6823
  if (AST_JSTYPE_MAP[e2.type]) {
6824
- return _chunkN63SWX5Jcjs.getTypeDescriptor.call(void 0, AST_JSTYPE_MAP[e2.type]);
6824
+ return _chunk73YXHPUUcjs.getTypeDescriptor.call(void 0, AST_JSTYPE_MAP[e2.type]);
6825
6825
  }
6826
6826
  if (e2.type === "AssignmentExpression") {
6827
6827
  return inferArgType(e2.right);
6828
6828
  }
6829
6829
  if (e2.type === "NewExpression" && e2.callee.type === "Identifier") {
6830
- return _chunkN63SWX5Jcjs.getTypeDescriptor.call(void 0, e2.callee.name);
6830
+ return _chunk73YXHPUUcjs.getTypeDescriptor.call(void 0, e2.callee.name);
6831
6831
  }
6832
6832
  if (e2.type === "ArrayExpression" || e2.type === "TupleExpression") {
6833
6833
  const itemTypes = e2.elements.filter((el) => r.isExpression(el)).flatMap((el) => inferArgType(el).type);
6834
6834
  return {
6835
6835
  type: "array",
6836
6836
  items: {
6837
- type: _chunkN63SWX5Jcjs.normalizeTypes.call(void 0, itemTypes)
6837
+ type: _chunk73YXHPUUcjs.normalizeTypes.call(void 0, itemTypes)
6838
6838
  }
6839
6839
  };
6840
6840
  }
@@ -6857,10 +6857,10 @@ function inferTSType(tsType, getCode) {
6857
6857
  items: inferTSType(tsType.typeParameters.params[0], getCode)
6858
6858
  };
6859
6859
  }
6860
- return _chunkN63SWX5Jcjs.getTypeDescriptor.call(void 0, getCode(tsType.loc));
6860
+ return _chunk73YXHPUUcjs.getTypeDescriptor.call(void 0, getCode(tsType.loc));
6861
6861
  }
6862
6862
  if (tsType.type === "TSUnionType") {
6863
- return _chunkN63SWX5Jcjs.mergedTypes.call(void 0, ...tsType.types.map((t2) => inferTSType(t2, getCode)));
6863
+ return _chunk73YXHPUUcjs.mergedTypes.call(void 0, ...tsType.types.map((t2) => inferTSType(t2, getCode)));
6864
6864
  }
6865
6865
  if (tsType.type === "TSArrayType") {
6866
6866
  return {
@@ -6868,7 +6868,7 @@ function inferTSType(tsType, getCode) {
6868
6868
  items: inferTSType(tsType.elementType, getCode)
6869
6869
  };
6870
6870
  }
6871
- return _chunkN63SWX5Jcjs.getTypeDescriptor.call(void 0, getCode(tsType.loc));
6871
+ return _chunk73YXHPUUcjs.getTypeDescriptor.call(void 0, getCode(tsType.loc));
6872
6872
  }
6873
6873
 
6874
6874
  // ../../node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/loader.mjs
@@ -6890,7 +6890,7 @@ async function loadSchema(entryPath, options = {}) {
6890
6890
  if (rawSchemaKeys.length === 1 && rawSchemaKeys[0] === "default") {
6891
6891
  rawSchema = rawSchema.default;
6892
6892
  }
6893
- const schema = await _chunkN63SWX5Jcjs.resolveSchema.call(void 0, rawSchema, options.defaults, {
6893
+ const schema = await _chunk73YXHPUUcjs.resolveSchema.call(void 0, rawSchema, options.defaults, {
6894
6894
  ignoreDefaults: options.ignoreDefaults
6895
6895
  });
6896
6896
  return schema;
@@ -6898,7 +6898,7 @@ async function loadSchema(entryPath, options = {}) {
6898
6898
 
6899
6899
  // src/generate.ts
6900
6900
  var getGenerateAction = (config) => async (options) => {
6901
- _chunkVCP73ILFcjs.writeTrace.call(void 0,
6901
+ _chunkQIOIKJ3Pcjs.writeTrace.call(void 0,
6902
6902
  `Running Storm Untyped with options: ${JSON.stringify(options)}`,
6903
6903
  config
6904
6904
  );
@@ -6917,7 +6917,7 @@ var getGenerateAction = (config) => async (options) => {
6917
6917
  });
6918
6918
  await Promise.all(
6919
6919
  files.map(async (file) => {
6920
- _chunkVCP73ILFcjs.writeTrace.call(void 0,
6920
+ _chunkQIOIKJ3Pcjs.writeTrace.call(void 0,
6921
6921
  `Generating files for schema file: ${_chunk4G3IU22Jcjs.joinPaths.call(void 0, file.parentPath, file.name)}`,
6922
6922
  config
6923
6923
  );
@@ -6936,7 +6936,7 @@ var getGenerateAction = (config) => async (options) => {
6936
6936
  }
6937
6937
  });
6938
6938
  } catch (error) {
6939
- _chunkVCP73ILFcjs.writeError.call(void 0,
6939
+ _chunkQIOIKJ3Pcjs.writeError.call(void 0,
6940
6940
  `Error while parsing schema file: ${_chunk4G3IU22Jcjs.joinPaths.call(void 0, file.parentPath, file.name)}
6941
6941
 
6942
6942
  Error:
@@ -6952,12 +6952,12 @@ ${JSON.stringify(schema)}
6952
6952
  }
6953
6953
  const promises = [];
6954
6954
  promises.push(
6955
- _chunkN63SWX5Jcjs.generateDeclarationFile.call(void 0, schema, file, options.generatedBy, config)
6955
+ _chunk73YXHPUUcjs.generateDeclarationFile.call(void 0, schema, file, options.generatedBy, config)
6956
6956
  );
6957
6957
  promises.push(
6958
- _chunkLJWAQIM6cjs.generateMarkdownFile.call(void 0, schema, file, options.generatedBy, config)
6958
+ _chunk2RPXNOIRcjs.generateMarkdownFile.call(void 0, schema, file, options.generatedBy, config)
6959
6959
  );
6960
- promises.push(_chunkHA3HZCDIcjs.generateJsonSchemaFile.call(void 0, schema, file, config));
6960
+ promises.push(_chunkEX3ITOQ3cjs.generateJsonSchemaFile.call(void 0, schema, file, config));
6961
6961
  return Promise.all(promises);
6962
6962
  })
6963
6963
  );
@@ -1,7 +1,7 @@
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 _chunkVCP73ILFcjs = require('./chunk-VCP73ILF.cjs');
4
+ var _chunkQIOIKJ3Pcjs = require('./chunk-QIOIKJ3P.cjs');
5
5
 
6
6
 
7
7
  var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
@@ -11,10 +11,10 @@ var _promises = require('fs/promises');
11
11
  function generateJsonSchemaFile(schema, file, config) {
12
12
  try {
13
13
  const jsonSchema = _chunk4G3IU22Jcjs.getOutputFile.call(void 0, file, "json");
14
- _chunkVCP73ILFcjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
14
+ _chunkQIOIKJ3Pcjs.writeTrace.call(void 0, `Writing JSON schema file ${jsonSchema}`, config);
15
15
  return _promises.writeFile.call(void 0, jsonSchema, JSON.stringify(schema, null, 2));
16
16
  } catch (error) {
17
- _chunkVCP73ILFcjs.writeError.call(void 0,
17
+ _chunkQIOIKJ3Pcjs.writeError.call(void 0,
18
18
  `Error writing JSON schema file for ${file.name}
19
19
 
20
20
  Error:
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  writeError,
3
3
  writeTrace
4
- } from "./chunk-DUDDS5LM.js";
4
+ } from "./chunk-RFQVKOZZ.js";
5
5
  import {
6
6
  getOutputFile
7
7
  } from "./chunk-NTN5YK5X.js";
@@ -41,7 +41,7 @@ var DEFAULT_COLOR_CONFIG = {
41
41
  warning: "#e3b341",
42
42
  danger: "#D8314A",
43
43
  fatal: "#51070f",
44
- performance: "#83ff83",
44
+ performance: "#13c302",
45
45
  link: "#3fa6ff",
46
46
  positive: "#22c55e",
47
47
  negative: "#dc2626",
@@ -59,7 +59,7 @@ var DEFAULT_COLOR_CONFIG = {
59
59
  warning: "#f3d371",
60
60
  danger: "#D8314A",
61
61
  fatal: "#a40e26",
62
- performance: "#00ff00",
62
+ performance: "#80fd74",
63
63
  link: "#3fa6ff",
64
64
  positive: "#22c55e",
65
65
  negative: "#dc2626",
@@ -41,7 +41,7 @@ var DEFAULT_COLOR_CONFIG = {
41
41
  warning: "#e3b341",
42
42
  danger: "#D8314A",
43
43
  fatal: "#51070f",
44
- performance: "#83ff83",
44
+ performance: "#13c302",
45
45
  link: "#3fa6ff",
46
46
  positive: "#22c55e",
47
47
  negative: "#dc2626",
@@ -59,7 +59,7 @@ var DEFAULT_COLOR_CONFIG = {
59
59
  warning: "#f3d371",
60
60
  danger: "#D8314A",
61
61
  fatal: "#a40e26",
62
- performance: "#00ff00",
62
+ performance: "#80fd74",
63
63
  link: "#3fa6ff",
64
64
  positive: "#22c55e",
65
65
  negative: "#dc2626",
package/dist/generate.cjs CHANGED
@@ -1,11 +1,11 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5T6HUPTEcjs = require('./chunk-5T6HUPTE.cjs');
4
- require('./chunk-N63SWX5J.cjs');
5
- require('./chunk-HA3HZCDI.cjs');
6
- require('./chunk-LJWAQIM6.cjs');
7
- require('./chunk-VCP73ILF.cjs');
3
+ var _chunkDWXQWSAFcjs = require('./chunk-DWXQWSAF.cjs');
4
+ require('./chunk-73YXHPUU.cjs');
5
+ require('./chunk-EX3ITOQ3.cjs');
6
+ require('./chunk-2RPXNOIR.cjs');
7
+ require('./chunk-QIOIKJ3P.cjs');
8
8
  require('./chunk-4G3IU22J.cjs');
9
9
 
10
10
 
11
- exports.getGenerateAction = _chunk5T6HUPTEcjs.getGenerateAction;
11
+ exports.getGenerateAction = _chunkDWXQWSAFcjs.getGenerateAction;
package/dist/generate.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-XUC5XCFP.js";
4
- import "./chunk-7AWI3XBJ.js";
5
- import "./chunk-UFKRSZMR.js";
6
- import "./chunk-XWER2WHY.js";
7
- import "./chunk-DUDDS5LM.js";
3
+ } from "./chunk-42BW2V75.js";
4
+ import "./chunk-ABFPY6JS.js";
5
+ import "./chunk-FY574UY5.js";
6
+ import "./chunk-2QXYKXJH.js";
7
+ import "./chunk-RFQVKOZZ.js";
8
8
  import "./chunk-NTN5YK5X.js";
9
9
  export {
10
10
  getGenerateAction
package/dist/index.cjs CHANGED
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk5T6HUPTEcjs = require('./chunk-5T6HUPTE.cjs');
3
+ var _chunkDWXQWSAFcjs = require('./chunk-DWXQWSAF.cjs');
4
4
  require('./chunk-TQVHFPJA.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkN63SWX5Jcjs = require('./chunk-N63SWX5J.cjs');
8
+ var _chunk73YXHPUUcjs = require('./chunk-73YXHPUU.cjs');
9
9
 
10
10
 
11
- var _chunkHA3HZCDIcjs = require('./chunk-HA3HZCDI.cjs');
11
+ var _chunkEX3ITOQ3cjs = require('./chunk-EX3ITOQ3.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkLJWAQIM6cjs = require('./chunk-LJWAQIM6.cjs');
16
- require('./chunk-VCP73ILF.cjs');
15
+ var _chunk2RPXNOIRcjs = require('./chunk-2RPXNOIR.cjs');
16
+ require('./chunk-QIOIKJ3P.cjs');
17
17
 
18
18
 
19
19
  var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
@@ -25,4 +25,4 @@ var _chunk4G3IU22Jcjs = require('./chunk-4G3IU22J.cjs');
25
25
 
26
26
 
27
27
 
28
- exports.generateDeclaration = _chunkN63SWX5Jcjs.generateDeclaration; exports.generateDeclarationFile = _chunkN63SWX5Jcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkHA3HZCDIcjs.generateJsonSchemaFile; exports.generateMarkdown = _chunkLJWAQIM6cjs.generateMarkdown; exports.generateMarkdownFile = _chunkLJWAQIM6cjs.generateMarkdownFile; exports.getGenerateAction = _chunk5T6HUPTEcjs.getGenerateAction; exports.getOutputFile = _chunk4G3IU22Jcjs.getOutputFile;
28
+ exports.generateDeclaration = _chunk73YXHPUUcjs.generateDeclaration; exports.generateDeclarationFile = _chunk73YXHPUUcjs.generateDeclarationFile; exports.generateJsonSchemaFile = _chunkEX3ITOQ3cjs.generateJsonSchemaFile; exports.generateMarkdown = _chunk2RPXNOIRcjs.generateMarkdown; exports.generateMarkdownFile = _chunk2RPXNOIRcjs.generateMarkdownFile; exports.getGenerateAction = _chunkDWXQWSAFcjs.getGenerateAction; exports.getOutputFile = _chunk4G3IU22Jcjs.getOutputFile;
package/dist/index.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  getGenerateAction
3
- } from "./chunk-XUC5XCFP.js";
3
+ } from "./chunk-42BW2V75.js";
4
4
  import "./chunk-BY5UJMXQ.js";
5
5
  import {
6
6
  generateDeclaration,
7
7
  generateDeclarationFile
8
- } from "./chunk-7AWI3XBJ.js";
8
+ } from "./chunk-ABFPY6JS.js";
9
9
  import {
10
10
  generateJsonSchemaFile
11
- } from "./chunk-UFKRSZMR.js";
11
+ } from "./chunk-FY574UY5.js";
12
12
  import {
13
13
  generateMarkdown,
14
14
  generateMarkdownFile
15
- } from "./chunk-XWER2WHY.js";
16
- import "./chunk-DUDDS5LM.js";
15
+ } from "./chunk-2QXYKXJH.js";
16
+ import "./chunk-RFQVKOZZ.js";
17
17
  import {
18
18
  getOutputFile
19
19
  } from "./chunk-NTN5YK5X.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/untyped",
3
- "version": "0.24.107",
3
+ "version": "0.24.109",
4
4
  "type": "module",
5
5
  "description": "A package containing `untyped` utilities for building Storm Software libraries and applications",
6
6
  "repository": {
@@ -179,7 +179,7 @@
179
179
  "sullivanpj"
180
180
  ],
181
181
  "dependencies": {
182
- "@storm-software/config-tools": "^1.189.44",
182
+ "@storm-software/config-tools": "^1.189.46",
183
183
  "commander": "^12.1.0",
184
184
  "glob": "^11.1.0",
185
185
  "jiti": "2.4.2",
@@ -192,5 +192,5 @@
192
192
  },
193
193
  "publishConfig": { "access": "public" },
194
194
  "sideEffects": false,
195
- "gitHead": "ed36f57127eb837729d25ba284863ce5ad76b5ca"
195
+ "gitHead": "f8c95293185f34b92585cb3cc1006d71a4c00395"
196
196
  }
@@ -1,243 +0,0 @@
1
- import * as z$1 from 'zod';
2
- import * as z from 'zod/mini';
3
-
4
- /**
5
- * Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
6
- */
7
- declare const workspaceConfigSchema: z.ZodMiniObject<{
8
- $schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
9
- extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
10
- name: z.ZodMiniString<string>;
11
- variant: z.ZodMiniDefault<z.ZodMiniEnum<{
12
- minimal: "minimal";
13
- monorepo: "monorepo";
14
- }>>;
15
- namespace: z.ZodMiniString<string>;
16
- organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
17
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
18
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
19
- logo: z.ZodMiniOptional<z.ZodMiniURL>;
20
- icon: z.ZodMiniOptional<z.ZodMiniURL>;
21
- url: z.ZodMiniOptional<z.ZodMiniURL>;
22
- }, z.core.$strip>, z.ZodMiniString<string>]>;
23
- repository: z.ZodMiniString<string>;
24
- license: z.ZodMiniDefault<z.ZodMiniString<string>>;
25
- homepage: z.ZodMiniOptional<z.ZodMiniURL>;
26
- docs: z.ZodMiniOptional<z.ZodMiniURL>;
27
- portal: z.ZodMiniOptional<z.ZodMiniURL>;
28
- licensing: z.ZodMiniOptional<z.ZodMiniURL>;
29
- contact: z.ZodMiniOptional<z.ZodMiniURL>;
30
- support: z.ZodMiniOptional<z.ZodMiniURL>;
31
- branch: z.ZodMiniDefault<z.ZodMiniString<string>>;
32
- preid: z.ZodMiniOptional<z.ZodMiniString<string>>;
33
- owner: z.ZodMiniOptional<z.ZodMiniString<string>>;
34
- bot: z.ZodMiniObject<{
35
- name: z.ZodMiniString<string>;
36
- email: z.ZodMiniString<string>;
37
- }, z.core.$strip>;
38
- release: z.ZodMiniObject<{
39
- banner: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
40
- url: z.ZodMiniOptional<z.ZodMiniString<string>>;
41
- alt: z.ZodMiniDefault<z.ZodMiniString<string>>;
42
- }, z.core.$strip>, z.ZodMiniString<string>]>;
43
- header: z.ZodMiniOptional<z.ZodMiniString<string>>;
44
- footer: z.ZodMiniOptional<z.ZodMiniString<string>>;
45
- }, z.core.$strip>;
46
- socials: z.ZodMiniObject<{
47
- twitter: z.ZodMiniOptional<z.ZodMiniString<string>>;
48
- discord: z.ZodMiniOptional<z.ZodMiniString<string>>;
49
- telegram: z.ZodMiniOptional<z.ZodMiniString<string>>;
50
- slack: z.ZodMiniOptional<z.ZodMiniString<string>>;
51
- medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
52
- github: z.ZodMiniOptional<z.ZodMiniString<string>>;
53
- }, z.core.$strip>;
54
- error: z.ZodMiniObject<{
55
- codesFile: z.ZodMiniDefault<z.ZodMiniString<string>>;
56
- url: z.ZodMiniOptional<z.ZodMiniURL>;
57
- }, z.core.$strip>;
58
- mode: z.ZodMiniDefault<z.ZodMiniEnum<{
59
- development: "development";
60
- test: "test";
61
- production: "production";
62
- }>>;
63
- workspaceRoot: z.ZodMiniString<string>;
64
- skipCache: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
65
- directories: z.ZodMiniObject<{
66
- cache: z.ZodMiniOptional<z.ZodMiniString<string>>;
67
- data: z.ZodMiniOptional<z.ZodMiniString<string>>;
68
- config: z.ZodMiniOptional<z.ZodMiniString<string>>;
69
- temp: z.ZodMiniOptional<z.ZodMiniString<string>>;
70
- log: z.ZodMiniOptional<z.ZodMiniString<string>>;
71
- build: z.ZodMiniDefault<z.ZodMiniString<string>>;
72
- }, z.core.$strip>;
73
- packageManager: z.ZodMiniDefault<z.ZodMiniEnum<{
74
- npm: "npm";
75
- yarn: "yarn";
76
- pnpm: "pnpm";
77
- bun: "bun";
78
- }>>;
79
- timezone: z.ZodMiniDefault<z.ZodMiniString<string>>;
80
- locale: z.ZodMiniDefault<z.ZodMiniString<string>>;
81
- logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
82
- success: "success";
83
- info: "info";
84
- debug: "debug";
85
- fatal: "fatal";
86
- performance: "performance";
87
- silent: "silent";
88
- error: "error";
89
- warn: "warn";
90
- trace: "trace";
91
- all: "all";
92
- }>>;
93
- skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
94
- registry: z.ZodMiniDefault<z.ZodMiniObject<{
95
- github: z.ZodMiniOptional<z.ZodMiniURL>;
96
- npm: z.ZodMiniOptional<z.ZodMiniURL>;
97
- cargo: z.ZodMiniOptional<z.ZodMiniURL>;
98
- cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
99
- container: z.ZodMiniOptional<z.ZodMiniURL>;
100
- }, z.core.$strip>>;
101
- configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
102
- colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
103
- dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
104
- light: z.ZodMiniDefault<z.ZodMiniString<string>>;
105
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
106
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
107
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
108
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
109
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
110
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
111
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
112
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
113
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
114
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
115
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
116
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
117
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
118
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
119
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
120
- }, z.core.$strip>, z.ZodMiniObject<{
121
- dark: z.ZodMiniObject<{
122
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
123
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
124
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
125
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
126
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
127
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
128
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
129
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
130
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
131
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
132
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
133
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
134
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
135
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
136
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
137
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
138
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
139
- }, z.core.$strip>;
140
- light: z.ZodMiniObject<{
141
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
142
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
143
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
144
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
145
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
146
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
147
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
148
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
149
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
150
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
151
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
152
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
153
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
154
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
155
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
156
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
157
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
158
- }, z.core.$strip>;
159
- }, z.core.$strip>]>, z.ZodMiniRecord<z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"base">, z.ZodMiniString<string>]>, z.ZodMiniString<string>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
160
- dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
161
- light: z.ZodMiniDefault<z.ZodMiniString<string>>;
162
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
163
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
164
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
165
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
166
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
167
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
168
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
169
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
170
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
171
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
172
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
173
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
174
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
175
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
176
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
177
- }, z.core.$strip>, z.ZodMiniObject<{
178
- dark: z.ZodMiniObject<{
179
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
180
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
181
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
182
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
183
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
184
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
185
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
186
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
187
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
188
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
189
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
190
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
191
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
192
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
193
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
194
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
195
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
196
- }, z.core.$strip>;
197
- light: z.ZodMiniObject<{
198
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
199
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
200
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
201
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
202
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
203
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
204
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
205
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
206
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
207
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
208
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
209
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
210
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
211
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
212
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
213
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
214
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
215
- }, z.core.$strip>;
216
- }, z.core.$strip>]>>]>;
217
- extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
218
- }, z.core.$strip>;
219
-
220
- type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
221
- /**
222
- * The Storm workspace's configuration object
223
- *
224
- * @remarks
225
- * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
226
- *
227
- * @deprecated
228
- * This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
229
- */
230
- type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
231
- extensions: (TStormWorkspaceConfig["extensions"] & {
232
- [extensionName in TExtensionName]: TExtensionConfig;
233
- }) | NonNullable<Record<string, any>>;
234
- };
235
- /**
236
- * The Storm workspace's configuration object
237
- *
238
- * @remarks
239
- * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
240
- */
241
- type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
242
-
243
- export type { StormWorkspaceConfig as S };
@@ -1,243 +0,0 @@
1
- import * as z$1 from 'zod';
2
- import * as z from 'zod/mini';
3
-
4
- /**
5
- * Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
6
- */
7
- declare const workspaceConfigSchema: z.ZodMiniObject<{
8
- $schema: z.ZodMiniDefault<z.ZodMiniString<string>>;
9
- extends: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniString<string>>]>>;
10
- name: z.ZodMiniString<string>;
11
- variant: z.ZodMiniDefault<z.ZodMiniEnum<{
12
- minimal: "minimal";
13
- monorepo: "monorepo";
14
- }>>;
15
- namespace: z.ZodMiniString<string>;
16
- organization: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
17
- name: z.ZodMiniOptional<z.ZodMiniString<string>>;
18
- description: z.ZodMiniOptional<z.ZodMiniString<string>>;
19
- logo: z.ZodMiniOptional<z.ZodMiniURL>;
20
- icon: z.ZodMiniOptional<z.ZodMiniURL>;
21
- url: z.ZodMiniOptional<z.ZodMiniURL>;
22
- }, z.core.$strip>, z.ZodMiniString<string>]>;
23
- repository: z.ZodMiniString<string>;
24
- license: z.ZodMiniDefault<z.ZodMiniString<string>>;
25
- homepage: z.ZodMiniOptional<z.ZodMiniURL>;
26
- docs: z.ZodMiniOptional<z.ZodMiniURL>;
27
- portal: z.ZodMiniOptional<z.ZodMiniURL>;
28
- licensing: z.ZodMiniOptional<z.ZodMiniURL>;
29
- contact: z.ZodMiniOptional<z.ZodMiniURL>;
30
- support: z.ZodMiniOptional<z.ZodMiniURL>;
31
- branch: z.ZodMiniDefault<z.ZodMiniString<string>>;
32
- preid: z.ZodMiniOptional<z.ZodMiniString<string>>;
33
- owner: z.ZodMiniOptional<z.ZodMiniString<string>>;
34
- bot: z.ZodMiniObject<{
35
- name: z.ZodMiniString<string>;
36
- email: z.ZodMiniString<string>;
37
- }, z.core.$strip>;
38
- release: z.ZodMiniObject<{
39
- banner: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
40
- url: z.ZodMiniOptional<z.ZodMiniString<string>>;
41
- alt: z.ZodMiniDefault<z.ZodMiniString<string>>;
42
- }, z.core.$strip>, z.ZodMiniString<string>]>;
43
- header: z.ZodMiniOptional<z.ZodMiniString<string>>;
44
- footer: z.ZodMiniOptional<z.ZodMiniString<string>>;
45
- }, z.core.$strip>;
46
- socials: z.ZodMiniObject<{
47
- twitter: z.ZodMiniOptional<z.ZodMiniString<string>>;
48
- discord: z.ZodMiniOptional<z.ZodMiniString<string>>;
49
- telegram: z.ZodMiniOptional<z.ZodMiniString<string>>;
50
- slack: z.ZodMiniOptional<z.ZodMiniString<string>>;
51
- medium: z.ZodMiniOptional<z.ZodMiniString<string>>;
52
- github: z.ZodMiniOptional<z.ZodMiniString<string>>;
53
- }, z.core.$strip>;
54
- error: z.ZodMiniObject<{
55
- codesFile: z.ZodMiniDefault<z.ZodMiniString<string>>;
56
- url: z.ZodMiniOptional<z.ZodMiniURL>;
57
- }, z.core.$strip>;
58
- mode: z.ZodMiniDefault<z.ZodMiniEnum<{
59
- development: "development";
60
- test: "test";
61
- production: "production";
62
- }>>;
63
- workspaceRoot: z.ZodMiniString<string>;
64
- skipCache: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
65
- directories: z.ZodMiniObject<{
66
- cache: z.ZodMiniOptional<z.ZodMiniString<string>>;
67
- data: z.ZodMiniOptional<z.ZodMiniString<string>>;
68
- config: z.ZodMiniOptional<z.ZodMiniString<string>>;
69
- temp: z.ZodMiniOptional<z.ZodMiniString<string>>;
70
- log: z.ZodMiniOptional<z.ZodMiniString<string>>;
71
- build: z.ZodMiniDefault<z.ZodMiniString<string>>;
72
- }, z.core.$strip>;
73
- packageManager: z.ZodMiniDefault<z.ZodMiniEnum<{
74
- npm: "npm";
75
- yarn: "yarn";
76
- pnpm: "pnpm";
77
- bun: "bun";
78
- }>>;
79
- timezone: z.ZodMiniDefault<z.ZodMiniString<string>>;
80
- locale: z.ZodMiniDefault<z.ZodMiniString<string>>;
81
- logLevel: z.ZodMiniDefault<z.ZodMiniEnum<{
82
- success: "success";
83
- info: "info";
84
- debug: "debug";
85
- fatal: "fatal";
86
- performance: "performance";
87
- silent: "silent";
88
- error: "error";
89
- warn: "warn";
90
- trace: "trace";
91
- all: "all";
92
- }>>;
93
- skipConfigLogging: z.ZodMiniDefault<z.ZodMiniBoolean<boolean>>;
94
- registry: z.ZodMiniDefault<z.ZodMiniObject<{
95
- github: z.ZodMiniOptional<z.ZodMiniURL>;
96
- npm: z.ZodMiniOptional<z.ZodMiniURL>;
97
- cargo: z.ZodMiniOptional<z.ZodMiniURL>;
98
- cyclone: z.ZodMiniOptional<z.ZodMiniURL>;
99
- container: z.ZodMiniOptional<z.ZodMiniURL>;
100
- }, z.core.$strip>>;
101
- configFile: z.ZodMiniDefault<z.ZodMiniNullable<z.ZodMiniString<string>>>;
102
- colors: z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniObject<{
103
- dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
104
- light: z.ZodMiniDefault<z.ZodMiniString<string>>;
105
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
106
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
107
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
108
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
109
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
110
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
111
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
112
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
113
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
114
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
115
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
116
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
117
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
118
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
119
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
120
- }, z.core.$strip>, z.ZodMiniObject<{
121
- dark: z.ZodMiniObject<{
122
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
123
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
124
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
125
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
126
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
127
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
128
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
129
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
130
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
131
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
132
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
133
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
134
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
135
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
136
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
137
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
138
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
139
- }, z.core.$strip>;
140
- light: z.ZodMiniObject<{
141
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
142
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
143
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
144
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
145
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
146
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
147
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
148
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
149
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
150
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
151
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
152
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
153
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
154
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
155
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
156
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
157
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
158
- }, z.core.$strip>;
159
- }, z.core.$strip>]>, z.ZodMiniRecord<z.ZodMiniUnion<readonly [z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"base">, z.ZodMiniString<string>]>, z.ZodMiniString<string>]>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
160
- dark: z.ZodMiniDefault<z.ZodMiniString<string>>;
161
- light: z.ZodMiniDefault<z.ZodMiniString<string>>;
162
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
163
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
164
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
165
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
166
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
167
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
168
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
169
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
170
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
171
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
172
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
173
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
174
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
175
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
176
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
177
- }, z.core.$strip>, z.ZodMiniObject<{
178
- dark: z.ZodMiniObject<{
179
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
180
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
181
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
182
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
183
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
184
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
185
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
186
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
187
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
188
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
189
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
190
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
191
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
192
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
193
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
194
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
195
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
196
- }, z.core.$strip>;
197
- light: z.ZodMiniObject<{
198
- foreground: z.ZodMiniDefault<z.ZodMiniString<string>>;
199
- background: z.ZodMiniDefault<z.ZodMiniString<string>>;
200
- brand: z.ZodMiniDefault<z.ZodMiniString<string>>;
201
- alternate: z.ZodMiniOptional<z.ZodMiniString<string>>;
202
- accent: z.ZodMiniOptional<z.ZodMiniString<string>>;
203
- link: z.ZodMiniDefault<z.ZodMiniString<string>>;
204
- help: z.ZodMiniDefault<z.ZodMiniString<string>>;
205
- success: z.ZodMiniDefault<z.ZodMiniString<string>>;
206
- info: z.ZodMiniDefault<z.ZodMiniString<string>>;
207
- debug: z.ZodMiniDefault<z.ZodMiniString<string>>;
208
- warning: z.ZodMiniDefault<z.ZodMiniString<string>>;
209
- danger: z.ZodMiniDefault<z.ZodMiniString<string>>;
210
- fatal: z.ZodMiniOptional<z.ZodMiniString<string>>;
211
- performance: z.ZodMiniDefault<z.ZodMiniString<string>>;
212
- positive: z.ZodMiniDefault<z.ZodMiniString<string>>;
213
- negative: z.ZodMiniDefault<z.ZodMiniString<string>>;
214
- gradient: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
215
- }, z.core.$strip>;
216
- }, z.core.$strip>]>>]>;
217
- extensions: z.ZodMiniDefault<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniAny>>;
218
- }, z.core.$strip>;
219
-
220
- type TStormWorkspaceConfig = z$1.infer<typeof workspaceConfigSchema>;
221
- /**
222
- * The Storm workspace's configuration object
223
- *
224
- * @remarks
225
- * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
226
- *
227
- * @deprecated
228
- * This type is deprecated and will be removed in the next major version. Use {@link StormWorkspaceConfig} instead.
229
- */
230
- type StormConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = TStormWorkspaceConfig & {
231
- extensions: (TStormWorkspaceConfig["extensions"] & {
232
- [extensionName in TExtensionName]: TExtensionConfig;
233
- }) | NonNullable<Record<string, any>>;
234
- };
235
- /**
236
- * The Storm workspace's configuration object
237
- *
238
- * @remarks
239
- * This type is used to define the configuration object for the entire Storm workspace/monorepo. The value is extracted from the `storm-workspace.json` file in the workspace root and the currently configuration environment variables. The value can be obtained by calling `getWorkspaceConfig()` in `@storm-software/config-tools`.
240
- */
241
- type StormWorkspaceConfig<TExtensionName extends keyof TStormWorkspaceConfig["extensions"] = keyof TStormWorkspaceConfig["extensions"], TExtensionConfig extends TStormWorkspaceConfig["extensions"][TExtensionName] = TStormWorkspaceConfig["extensions"][TExtensionName]> = StormConfig<TExtensionName, TExtensionConfig>;
242
-
243
- export type { StormWorkspaceConfig as S };