@storm-software/workspace-tools 1.264.22 → 1.264.24

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.
Files changed (149) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-TFNKD3A2.js → chunk-26KLH7BI.js} +4 -4
  4. package/dist/{chunk-Q6PB2D4O.mjs → chunk-32XQSY3C.mjs} +2 -2
  5. package/dist/{chunk-4UTIWEDA.mjs → chunk-4LIIIWIV.mjs} +1 -1
  6. package/dist/{chunk-EEMX5TF7.js → chunk-5DQCVP4N.js} +5 -5
  7. package/dist/{chunk-5QWEZQFR.mjs → chunk-7P2LGXFI.mjs} +1 -1
  8. package/dist/{chunk-I44JBB55.js → chunk-7YVMI4XM.js} +2 -2
  9. package/dist/{chunk-IRPD2M2I.js → chunk-ACBRXFBB.js} +2 -2
  10. package/dist/{chunk-PUW5GKBJ.mjs → chunk-AVC6Y5IR.mjs} +1 -1
  11. package/dist/{chunk-IRSGGDCX.mjs → chunk-CD3W3HIC.mjs} +2 -2
  12. package/dist/{chunk-CEK44GFG.mjs → chunk-CIHS3V6E.mjs} +1 -1
  13. package/dist/{chunk-W25HMODD.js → chunk-DNYOACHD.js} +11 -11
  14. package/dist/{chunk-VGWC25SX.js → chunk-E4TBRQDJ.js} +2 -2
  15. package/dist/{chunk-7A34G3TI.mjs → chunk-FCGFBNCJ.mjs} +1 -1
  16. package/dist/{chunk-WCGJHQTH.mjs → chunk-GGSDFI6U.mjs} +2 -2
  17. package/dist/{chunk-KFT2TAHE.js → chunk-IPBHTVKW.js} +2 -2
  18. package/dist/{chunk-TYTLMYMZ.mjs → chunk-IQQERPIV.mjs} +1 -1
  19. package/dist/{chunk-ASBO74YM.js → chunk-JCJHSN67.js} +5 -5
  20. package/dist/{chunk-NW4PIBL2.mjs → chunk-JWFYDYKI.mjs} +1 -1
  21. package/dist/{chunk-K5XDKCHY.mjs → chunk-KQMGKHXU.mjs} +4 -4
  22. package/dist/{chunk-DYKPDBZQ.js → chunk-LRLMU4QV.js} +2 -2
  23. package/dist/{chunk-FQSPQRIB.mjs → chunk-MMPXE2KD.mjs} +1 -1
  24. package/dist/{chunk-YCDNXKRB.js → chunk-N4STCLGJ.js} +9 -9
  25. package/dist/{chunk-AUU7AFJV.mjs → chunk-NODM27UV.mjs} +27 -11
  26. package/dist/{chunk-SWKSEHJV.js → chunk-NQ4W3N7O.js} +15 -15
  27. package/dist/{chunk-IVNDY2FE.js → chunk-P6PFHXHQ.js} +20 -20
  28. package/dist/{chunk-5OWPWITA.mjs → chunk-P7UUSOFW.mjs} +1 -1
  29. package/dist/{chunk-AWUOBB3R.mjs → chunk-PHVGSPP3.mjs} +1 -1
  30. package/dist/{chunk-DJJEQUOE.js → chunk-QPJ4XTDX.js} +2 -2
  31. package/dist/{chunk-SPRQWSBE.js → chunk-SKMT7WD5.js} +27 -11
  32. package/dist/{chunk-KFDASQGA.js → chunk-T42YSSIT.js} +64 -60
  33. package/dist/{chunk-5M3R4RLA.mjs → chunk-UMFP6PYU.mjs} +1 -1
  34. package/dist/{chunk-IFB5HNMT.js → chunk-USJX4BPD.js} +2 -2
  35. package/dist/{chunk-MHZ6V7XS.mjs → chunk-VTRSAQHO.mjs} +1 -1
  36. package/dist/{chunk-L56XXV3B.mjs → chunk-YDDVJHQ4.mjs} +15 -11
  37. package/dist/{chunk-3MWOC5X7.js → chunk-Z2GBHTLH.js} +2 -2
  38. package/dist/{chunk-P5WJDR64.js → chunk-ZGMV4YJL.js} +2 -2
  39. package/dist/{executor-CqRyjFhC.d.mts → executor-21QQWs8J.d.ts} +2 -2
  40. package/dist/{executor-BSdK3i-c.d.ts → executor-BD4gkr4O.d.ts} +2 -2
  41. package/dist/{executor-BHZDUmGV.d.ts → executor-BYcX7bg8.d.mts} +2 -2
  42. package/dist/{executor-Ba3sXm2v.d.ts → executor-BvnlpAbd.d.ts} +2 -2
  43. package/dist/{executor-D8PlrGW7.d.mts → executor-CLYItx2J.d.ts} +2 -2
  44. package/dist/{executor-aaNF3iYy.d.mts → executor-CsTGaThv.d.mts} +2 -2
  45. package/dist/{executor-BeYtFLmD.d.mts → executor-DpaKJJUo.d.mts} +2 -2
  46. package/dist/{executor-C5FcAd29.d.ts → executor-FYb5cygt.d.mts} +2 -2
  47. package/dist/executors.d.mts +5 -5
  48. package/dist/executors.d.ts +5 -5
  49. package/dist/executors.js +14 -14
  50. package/dist/executors.mjs +16 -16
  51. package/dist/{generator-C8vM6WVl.d.ts → generator-BMY6LGPc.d.ts} +1 -1
  52. package/dist/{generator-ieAZPSV9.d.ts → generator-BPz6wkk9.d.mts} +3 -3
  53. package/dist/{generator-BN20pTlZ.d.mts → generator-BXJFXwbk.d.ts} +3 -3
  54. package/dist/{generator-CDWEbKl9.d.ts → generator-Bw4on8nq.d.mts} +3 -3
  55. package/dist/{generator-D1KDMMWv.d.ts → generator-D3Kl6o6G.d.mts} +3 -3
  56. package/dist/{generator-CDFD9683.d.mts → generator-D4IATDWn.d.ts} +3 -3
  57. package/dist/{generator-CO80PAYg.d.mts → generator-DPRJ4mde.d.ts} +3 -3
  58. package/dist/{generator-C77-chd9.d.mts → generator-EapPsEII.d.ts} +3 -3
  59. package/dist/{generator-CPOA4iOa.d.mts → generator-UGJuBE-5.d.ts} +2 -2
  60. package/dist/{generator-CwtaXN68.d.mts → generator-UekCwik8.d.mts} +1 -1
  61. package/dist/{generator-DHaTv11N.d.ts → generator-_OZvHhIS.d.mts} +2 -2
  62. package/dist/{generator-PWtPKnX3.d.ts → generator-gUQuyamW.d.mts} +3 -3
  63. package/dist/generators.d.mts +8 -8
  64. package/dist/generators.d.ts +8 -8
  65. package/dist/generators.js +10 -10
  66. package/dist/generators.mjs +12 -12
  67. package/dist/index.d.mts +12 -12
  68. package/dist/index.d.ts +12 -12
  69. package/dist/index.js +22 -22
  70. package/dist/index.mjs +27 -27
  71. package/dist/src/base/base-executor.d.mts +3 -3
  72. package/dist/src/base/base-executor.d.ts +3 -3
  73. package/dist/src/base/base-executor.js +3 -3
  74. package/dist/src/base/base-executor.mjs +2 -2
  75. package/dist/src/base/base-generator.d.mts +3 -3
  76. package/dist/src/base/base-generator.d.ts +3 -3
  77. package/dist/src/base/base-generator.js +3 -3
  78. package/dist/src/base/base-generator.mjs +2 -2
  79. package/dist/src/base/index.d.mts +4 -4
  80. package/dist/src/base/index.d.ts +4 -4
  81. package/dist/src/base/index.js +4 -4
  82. package/dist/src/base/index.mjs +3 -3
  83. package/dist/src/executors/cargo-build/executor.js +4 -4
  84. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  85. package/dist/src/executors/cargo-check/executor.js +4 -4
  86. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  87. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  88. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  89. package/dist/src/executors/cargo-doc/executor.js +4 -4
  90. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  91. package/dist/src/executors/cargo-format/executor.js +4 -4
  92. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  93. package/dist/src/executors/clean-package/executor.d.mts +2 -2
  94. package/dist/src/executors/clean-package/executor.d.ts +2 -2
  95. package/dist/src/executors/clean-package/executor.js +5 -5
  96. package/dist/src/executors/clean-package/executor.mjs +2 -2
  97. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  98. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  99. package/dist/src/executors/esbuild/executor.js +4 -4
  100. package/dist/src/executors/esbuild/executor.mjs +3 -3
  101. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  102. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  103. package/dist/src/executors/size-limit/executor.js +4 -4
  104. package/dist/src/executors/size-limit/executor.mjs +3 -3
  105. package/dist/src/executors/typia/executor.d.mts +2 -2
  106. package/dist/src/executors/typia/executor.d.ts +2 -2
  107. package/dist/src/executors/typia/executor.js +4 -4
  108. package/dist/src/executors/typia/executor.mjs +3 -3
  109. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  110. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  111. package/dist/src/executors/unbuild/executor.js +4 -4
  112. package/dist/src/executors/unbuild/executor.mjs +3 -3
  113. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  114. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  115. package/dist/src/generators/browser-library/generator.js +4 -4
  116. package/dist/src/generators/browser-library/generator.mjs +3 -3
  117. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  118. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  119. package/dist/src/generators/config-schema/generator.js +4 -4
  120. package/dist/src/generators/config-schema/generator.mjs +3 -3
  121. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  122. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  123. package/dist/src/generators/neutral-library/generator.js +4 -4
  124. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  125. package/dist/src/generators/node-library/generator.d.mts +3 -3
  126. package/dist/src/generators/node-library/generator.d.ts +3 -3
  127. package/dist/src/generators/node-library/generator.js +4 -4
  128. package/dist/src/generators/node-library/generator.mjs +3 -3
  129. package/dist/src/generators/preset/generator.d.mts +3 -3
  130. package/dist/src/generators/preset/generator.d.ts +3 -3
  131. package/dist/src/generators/preset/generator.js +4 -4
  132. package/dist/src/generators/preset/generator.mjs +3 -3
  133. package/dist/src/generators/release-version/generator.d.mts +2 -2
  134. package/dist/src/generators/release-version/generator.d.ts +2 -2
  135. package/dist/src/generators/release-version/generator.js +3 -3
  136. package/dist/src/generators/release-version/generator.mjs +2 -2
  137. package/dist/src/types.d.mts +2 -2
  138. package/dist/src/types.d.ts +2 -2
  139. package/dist/src/utils/apply-workspace-tokens.d.mts +2 -2
  140. package/dist/src/utils/apply-workspace-tokens.d.ts +2 -2
  141. package/dist/src/utils/index.d.mts +2 -2
  142. package/dist/src/utils/index.d.ts +2 -2
  143. package/dist/src/utils/project-tags.d.mts +2 -2
  144. package/dist/src/utils/project-tags.d.ts +2 -2
  145. package/dist/{types-DdLUCAjP.d.ts → types-C3URiht7.d.mts} +41 -7
  146. package/dist/{types-DdLUCAjP.d.mts → types-C3URiht7.d.ts} +41 -7
  147. package/dist/{types-DAkcs-RD.d.mts → types-CUnUfpKk.d.ts} +4 -4
  148. package/dist/{types-BhjX7nv_.d.ts → types-dNjhGseA.d.mts} +4 -4
  149. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.264.24](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.264.24) (2025-04-04)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **monorepo:** Regenerate README markdown files
10
+ ([30c679ec1](https://github.com/storm-software/storm-ops/commit/30c679ec1))
11
+ - **monorepo:** Ensure consistency between workspace dependencies
12
+ ([e635640da](https://github.com/storm-software/storm-ops/commit/e635640da))
13
+
14
+ ## [1.264.23](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.264.23) (2025-04-02)
15
+
16
+ ### Miscellaneous
17
+
18
+ - **workspace-tools:** Update all references to `StormConfig` to point to
19
+ `StormWorkspaceConfig`
20
+ ([c769b40dd](https://github.com/storm-software/storm-ops/commit/c769b40dd))
21
+
5
22
  ## [1.264.22](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.264.22) (2025-03-18)
6
23
 
7
24
  ### Miscellaneous
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-1.264.21-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-1.264.23-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 -->
@@ -1,9 +1,9 @@
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
- var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
3
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
4
4
 
5
5
 
6
- var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
6
+ var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
7
7
 
8
8
 
9
9
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkSPRQWSBEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkSKMT7WD5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-5QWEZQFR.mjs";
3
+ } from "./chunk-7P2LGXFI.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-AUU7AFJV.mjs";
6
+ } from "./chunk-NODM27UV.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-ATIBREWM.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-AUU7AFJV.mjs";
14
+ } from "./chunk-NODM27UV.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
17
  } from "./chunk-FR3YQN55.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
3
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
4
4
 
5
5
 
6
- var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
6
+ var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunkSPRQWSBEjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunkSPRQWSBEjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -12,7 +12,7 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-AUU7AFJV.mjs";
15
+ } from "./chunk-NODM27UV.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
18
  } from "./chunk-FR3YQN55.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
7
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoClippyExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
18
- var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
18
+ var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkSWKSEHJVjs = require('./chunk-SWKSEHJV.js');
10
+ var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.js');
11
11
 
12
12
 
13
13
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -52,7 +52,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
52
52
  return null;
53
53
  }
54
54
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
55
- var generator_default = _chunkSWKSEHJVjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
56
56
  hooks: {
57
57
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
58
58
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-4UTIWEDA.mjs";
7
+ } from "./chunk-4LIIIWIV.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-5QWEZQFR.mjs";
3
+ } from "./chunk-7P2LGXFI.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-AUU7AFJV.mjs";
6
+ } from "./chunk-NODM27UV.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-5QWEZQFR.mjs";
7
+ } from "./chunk-7P2LGXFI.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
16
+ var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -244,16 +244,16 @@ var _version = require('nx/src/command-line/release/version');
244
244
  var _utils = require('nx/src/tasks-runner/utils');
245
245
  var _semver3 = require('semver');
246
246
  async function releaseVersionGeneratorFn(tree, options, config) {
247
- _chunkSPRQWSBEjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
247
+ _chunkSKMT7WD5js.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
248
248
 
249
249
  `, config);
250
- const stopwatch = _chunkSPRQWSBEjs.getStopwatch.call(void 0, "Storm Release Version generator");
250
+ const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, "Storm Release Version generator");
251
251
  try {
252
252
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
253
- _chunkSPRQWSBEjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
253
+ _chunkSKMT7WD5js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
254
254
  - workspaceRoot: ${workspaceRoot}`, config);
255
- config = await _chunkSPRQWSBEjs.getConfig.call(void 0, workspaceRoot);
256
- _chunkSPRQWSBEjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
255
+ config = await _chunkSKMT7WD5js.getConfig.call(void 0, workspaceRoot);
256
+ _chunkSKMT7WD5js.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
257
257
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
258
258
  const versionData = {};
259
259
  if (options.specifier) {
@@ -304,9 +304,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
304
304
  }
305
305
  const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
306
306
  const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
307
- _chunkSPRQWSBEjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
307
+ _chunkSKMT7WD5js.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
308
308
  }, "log");
309
- _chunkSPRQWSBEjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
309
+ _chunkSKMT7WD5js.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
310
310
  let packageName;
311
311
  let currentVersionFromDisk;
312
312
  if (tree.exists(packageJsonPath)) {
@@ -580,7 +580,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
580
580
  }
581
581
  }
582
582
  await _devkit.formatFiles.call(void 0, tree);
583
- _chunkSPRQWSBEjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
583
+ _chunkSKMT7WD5js.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
584
584
  `, config);
585
585
  return {
586
586
  data: versionData,
@@ -614,8 +614,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
614
614
  }, "callback")
615
615
  };
616
616
  } catch (error) {
617
- _chunkSPRQWSBEjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
618
- _chunkSPRQWSBEjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
617
+ _chunkSKMT7WD5js.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
618
+ _chunkSKMT7WD5js.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
619
619
  - Details: ${error.message}
620
620
  - Stacktrace: ${error.stack}`, config);
621
621
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
7
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
18
- var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-5QWEZQFR.mjs";
7
+ } from "./chunk-7P2LGXFI.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-5QWEZQFR.mjs";
3
+ } from "./chunk-7P2LGXFI.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-AUU7AFJV.mjs";
6
+ } from "./chunk-NODM27UV.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunkSWKSEHJVjs = require('./chunk-SWKSEHJV.js');
7
+ var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -73,7 +73,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
73
73
  return null;
74
74
  }
75
75
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
76
- var generator_default = _chunkSWKSEHJVjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
76
+ var generator_default = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
77
77
  hooks: {
78
78
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
79
79
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-5QWEZQFR.mjs";
7
+ } from "./chunk-7P2LGXFI.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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
- var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
3
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
4
4
 
5
5
 
6
- var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
6
+ var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunkSPRQWSBEjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunkSPRQWSBEjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-4UTIWEDA.mjs";
10
+ } from "./chunk-4LIIIWIV.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-ATIBREWM.mjs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-4UTIWEDA.mjs";
3
+ } from "./chunk-4LIIIWIV.mjs";
4
4
  import {
5
- StormConfigSchema,
5
+ stormWorkspaceConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-AUU7AFJV.mjs";
9
+ } from "./chunk-NODM27UV.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-FR3YQN55.mjs";
@@ -20,7 +20,7 @@ import { zodToJsonSchema } from "zod-to-json-schema";
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
21
  writeInfo("\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
22
  writeTrace(`Determining the Storm Workspace Configuration JSON Schema...`, config);
23
- const jsonSchema = zodToJsonSchema(StormConfigSchema, {
23
+ const jsonSchema = zodToJsonSchema(stormWorkspaceConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
26
  writeTrace(jsonSchema, config);
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkIVNDY2FEjs = require('./chunk-IVNDY2FE.js');
7
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
18
- var executor_default = _chunkIVNDY2FEjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-YZLAY7R4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-4UTIWEDA.mjs";
7
+ } from "./chunk-4LIIIWIV.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-ATIBREWM.mjs";
@@ -1,12 +1,12 @@
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
- var _chunkSWKSEHJVjs = require('./chunk-SWKSEHJV.js');
3
+ var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkSPRQWSBEjs = require('./chunk-SPRQWSBE.js');
9
+ var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
10
10
 
11
11
 
12
12
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zodtojsonschema = require('zod-to-json-schema');
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkSPRQWSBEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
- _chunkSPRQWSBEjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkSPRQWSBEjs.StormConfigSchema, {
21
+ _chunkSKMT7WD5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
+ _chunkSKMT7WD5js.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkSKMT7WD5js.stormWorkspaceConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunkSPRQWSBEjs.writeTrace.call(void 0, jsonSchema, config);
26
+ _chunkSKMT7WD5js.writeTrace.call(void 0, jsonSchema, config);
27
27
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunkSPRQWSBEjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
28
+ _chunkSKMT7WD5js.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
29
29
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
30
30
  spaces: 2
31
31
  });
32
32
  await _devkit.formatFiles.call(void 0, tree);
33
- _chunkSPRQWSBEjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkSKMT7WD5js.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
34
34
  return {
35
35
  success: true
36
36
  };
37
37
  }
38
38
  _chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
39
- var generator_default = _chunkSWKSEHJVjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
40
40
  hooks: {
41
41
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
42
42
  options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
@@ -142,7 +142,11 @@ var WorkspaceDirectoryConfigSchema = z.object({
142
142
  log: z.string().trim().optional().describe("The directory used to store the environment's temp files"),
143
143
  build: z.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
144
144
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
145
- var StormConfigSchema = z.object({
145
+ var errorConfigSchema = z.object({
146
+ codesFile: z.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
147
+ url: z.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
148
+ }).describe("The workspace's error config used during the error process");
149
+ var stormWorkspaceConfigSchema = z.object({
146
150
  $schema: z.string().trim().default("https://cdn.jsdelivr.net/npm/@storm-software/config/schemas/storm-workspace.schema.json").optional().nullish().describe("The URL to the JSON schema file that describes the Storm configuration file"),
147
151
  extends: ExtendsSchema.optional(),
148
152
  name: z.string().trim().toLowerCase().optional().describe("The name of the service/package/scope using this configuration"),
@@ -160,6 +164,7 @@ var StormConfigSchema = z.object({
160
164
  bot: WorkspaceBotConfigSchema,
161
165
  release: WorkspaceReleaseConfigSchema,
162
166
  account: WorkspaceAccountConfigSchema,
167
+ error: errorConfigSchema,
163
168
  mode: z.enum([
164
169
  "development",
165
170
  "staging",
@@ -310,7 +315,10 @@ var getDefaultConfig = /* @__PURE__ */ __name(async (root) => {
310
315
  license,
311
316
  homepage,
312
317
  docs: `${homepage || STORM_DEFAULT_HOMEPAGE}/docs`,
313
- licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`
318
+ licensing: `${homepage || STORM_DEFAULT_HOMEPAGE}/license`,
319
+ error: {
320
+ url: `${homepage || STORM_DEFAULT_HOMEPAGE}/errors`
321
+ }
314
322
  };
315
323
  }, "getDefaultConfig");
316
324
 
@@ -624,6 +632,10 @@ var getConfigEnv = /* @__PURE__ */ __name(() => {
624
632
  header: process.env[`${prefix}RELEASE_HEADER`] || void 0,
625
633
  footer: process.env[`${prefix}RELEASE_FOOTER`] || void 0
626
634
  },
635
+ error: {
636
+ codesFile: process.env[`${prefix}ERROR_CODES_FILE`] || void 0,
637
+ url: process.env[`${prefix}ERROR_URL`] || void 0
638
+ },
627
639
  account: {
628
640
  twitter: process.env[`${prefix}ACCOUNT_TWITTER`] || void 0,
629
641
  discord: process.env[`${prefix}ACCOUNT_DISCORD`] || void 0,
@@ -797,6 +809,10 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
797
809
  process.env[`${prefix}BOT_NAME`] = config.bot.name;
798
810
  process.env[`${prefix}BOT_EMAIL`] = config.bot.email;
799
811
  }
812
+ if (config.error) {
813
+ process.env[`${prefix}ERROR_CODES_FILE`] = config.error.codesFile;
814
+ process.env[`${prefix}ERROR_URL`] = config.error.url;
815
+ }
800
816
  if (config.release) {
801
817
  process.env[`${prefix}RELEASE_BANNER`] = config.release.banner;
802
818
  process.env[`${prefix}RELEASE_HEADER`] = config.release.header;
@@ -927,7 +943,7 @@ var setConfigEnv = /* @__PURE__ */ __name((config) => {
927
943
  process.env[`${prefix}REGISTRY_CYCLONE`] = String(config.registry.cyclone);
928
944
  }
929
945
  if (config.registry.container) {
930
- process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.cyclone);
946
+ process.env[`${prefix}REGISTRY_CONTAINER`] = String(config.registry.container);
931
947
  }
932
948
  }
933
949
  if (config.logLevel) {
@@ -1047,7 +1063,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ __name((prefix, config) => {
1047
1063
  // ../config-tools/src/create-storm-config.ts
1048
1064
  var _extension_cache = /* @__PURE__ */ new WeakMap();
1049
1065
  var _static_cache = void 0;
1050
- var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false) => {
1066
+ var createStormWorkspaceConfig = /* @__PURE__ */ __name(async (extensionName, schema, workspaceRoot, skipLogs = false) => {
1051
1067
  let result;
1052
1068
  if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 8e3) {
1053
1069
  let _workspaceRoot = workspaceRoot;
@@ -1062,7 +1078,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
1062
1078
  logLevel: "all"
1063
1079
  });
1064
1080
  }
1065
- result = await StormConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
1081
+ result = await stormWorkspaceConfigSchema.parseAsync(defu2(configEnv, configFile, defaultConfig));
1066
1082
  result.workspaceRoot ??= _workspaceRoot;
1067
1083
  } else {
1068
1084
  result = _static_cache.data;
@@ -1078,7 +1094,7 @@ var createStormConfig = /* @__PURE__ */ __name(async (extensionName, schema, wor
1078
1094
  data: result
1079
1095
  };
1080
1096
  return result;
1081
- }, "createStormConfig");
1097
+ }, "createStormWorkspaceConfig");
1082
1098
  var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
1083
1099
  const extension_cache_key = {
1084
1100
  extensionName
@@ -1093,23 +1109,23 @@ var createConfigExtension = /* @__PURE__ */ __name((extensionName, schema) => {
1093
1109
  _extension_cache.set(extension_cache_key, extension);
1094
1110
  return extension;
1095
1111
  }, "createConfigExtension");
1096
- var loadStormConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
1097
- const config = await createStormConfig(void 0, void 0, workspaceRoot, skipLogs);
1112
+ var loadStormWorkspaceConfig = /* @__PURE__ */ __name(async (workspaceRoot, skipLogs = false) => {
1113
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
1098
1114
  setConfigEnv(config);
1099
1115
  if (!skipLogs && !config.skipConfigLogging) {
1100
1116
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
1101
1117
  ${formatLogMessage(config)}`, config);
1102
1118
  }
1103
1119
  return config;
1104
- }, "loadStormConfig");
1120
+ }, "loadStormWorkspaceConfig");
1105
1121
 
1106
1122
  // ../config-tools/src/get-config.ts
1107
1123
  var getConfig = /* @__PURE__ */ __name((workspaceRoot, skipLogs = false) => {
1108
- return loadStormConfig(workspaceRoot, skipLogs);
1124
+ return loadStormWorkspaceConfig(workspaceRoot, skipLogs);
1109
1125
  }, "getConfig");
1110
1126
 
1111
1127
  export {
1112
- StormConfigSchema,
1128
+ stormWorkspaceConfigSchema,
1113
1129
  isVerbose,
1114
1130
  writeFatal,
1115
1131
  writeError,