@storm-software/workspace-tools 1.265.11 → 1.265.13

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 (83) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-HJJQBLPE.mjs → chunk-3XSWT4CQ.mjs} +1 -1
  4. package/dist/{chunk-W3FTMIWS.mjs → chunk-4MQBPVNM.mjs} +1 -1
  5. package/dist/{chunk-TUR5X2Q7.mjs → chunk-4RI5TAZ5.mjs} +6 -4
  6. package/dist/{chunk-ACBRXFBB.js → chunk-4ZWQHDDR.js} +2 -2
  7. package/dist/{chunk-YACFAWJM.mjs → chunk-5TLQHBOJ.mjs} +1 -1
  8. package/dist/{chunk-5AHZZD5J.mjs → chunk-7KECHDTY.mjs} +2 -2
  9. package/dist/{chunk-Z2GBHTLH.js → chunk-7NJYHKD4.js} +2 -2
  10. package/dist/{chunk-QPJ4XTDX.js → chunk-ALY3T5YO.js} +2 -2
  11. package/dist/{chunk-IPBHTVKW.js → chunk-BBQYSGHD.js} +2 -2
  12. package/dist/{chunk-7YVMI4XM.js → chunk-BHPRU5VN.js} +2 -2
  13. package/dist/{chunk-LZDXRICA.mjs → chunk-BRDK3UGW.mjs} +2 -2
  14. package/dist/{chunk-SKMT7WD5.js → chunk-G25NYDN4.js} +2 -1
  15. package/dist/{chunk-VBOKKAOD.mjs → chunk-GH7NKN7I.mjs} +1 -1
  16. package/dist/{chunk-RFABPIJ3.mjs → chunk-ILLL3MMC.mjs} +1 -1
  17. package/dist/{chunk-USJX4BPD.js → chunk-ILRTPPJ4.js} +2 -2
  18. package/dist/{chunk-E4TBRQDJ.js → chunk-KJ5COMK2.js} +2 -2
  19. package/dist/{chunk-NQ4W3N7O.js → chunk-KN4FIRQI.js} +15 -15
  20. package/dist/{chunk-JCJHSN67.js → chunk-METCIMBV.js} +5 -5
  21. package/dist/{chunk-ULRO7HCM.mjs → chunk-OENTXUOU.mjs} +1 -1
  22. package/dist/{chunk-DULEYWGQ.mjs → chunk-P3KSR3SR.mjs} +1 -1
  23. package/dist/{chunk-UQEEPGEO.mjs → chunk-QGEPDAWP.mjs} +2 -2
  24. package/dist/{chunk-IMWV4UTQ.mjs → chunk-QMOP57NZ.mjs} +1 -1
  25. package/dist/{chunk-KJHGZG7Z.mjs → chunk-QT4C74CG.mjs} +1 -1
  26. package/dist/{chunk-LRLMU4QV.js → chunk-R2JUE5UD.js} +2 -2
  27. package/dist/{chunk-6EJZJ2CM.mjs → chunk-SIIOJLU5.mjs} +2 -2
  28. package/dist/{chunk-J3GIYYNX.mjs → chunk-UYN4J6AU.mjs} +2 -1
  29. package/dist/{chunk-4OACOTBI.js → chunk-VKKE7EW4.js} +4 -4
  30. package/dist/{chunk-BDL4HXCW.mjs → chunk-WBKZ3KUQ.mjs} +1 -1
  31. package/dist/{chunk-PRBD72QY.mjs → chunk-XWHWMA27.mjs} +1 -1
  32. package/dist/{chunk-5DQCVP4N.js → chunk-XXFGRTIR.js} +5 -5
  33. package/dist/{chunk-TMLFRH4N.mjs → chunk-YEIFMXCK.mjs} +1 -1
  34. package/dist/{chunk-DNYOACHD.js → chunk-YUI473HN.js} +11 -11
  35. package/dist/{chunk-BIZKO6I7.js → chunk-Z5ADLA6I.js} +39 -37
  36. package/dist/{chunk-P6PFHXHQ.js → chunk-ZHCAJSHG.js} +20 -20
  37. package/dist/{chunk-ZGMV4YJL.js → chunk-ZNX5CSRD.js} +2 -2
  38. package/dist/{chunk-N4STCLGJ.js → chunk-ZXO3ZJZW.js} +9 -9
  39. package/dist/executors.js +14 -14
  40. package/dist/executors.mjs +17 -17
  41. package/dist/generators.js +9 -9
  42. package/dist/generators.mjs +8 -8
  43. package/dist/index.js +21 -21
  44. package/dist/index.mjs +24 -24
  45. package/dist/src/base/base-executor.js +3 -3
  46. package/dist/src/base/base-executor.mjs +2 -2
  47. package/dist/src/base/base-generator.js +3 -3
  48. package/dist/src/base/base-generator.mjs +2 -2
  49. package/dist/src/base/index.js +4 -4
  50. package/dist/src/base/index.mjs +3 -3
  51. package/dist/src/executors/cargo-build/executor.js +4 -4
  52. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  53. package/dist/src/executors/cargo-check/executor.js +4 -4
  54. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  55. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  56. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  57. package/dist/src/executors/cargo-doc/executor.js +4 -4
  58. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-format/executor.js +4 -4
  60. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  61. package/dist/src/executors/clean-package/executor.js +5 -5
  62. package/dist/src/executors/clean-package/executor.mjs +2 -2
  63. package/dist/src/executors/esbuild/executor.js +4 -4
  64. package/dist/src/executors/esbuild/executor.mjs +3 -3
  65. package/dist/src/executors/size-limit/executor.js +4 -4
  66. package/dist/src/executors/size-limit/executor.mjs +3 -3
  67. package/dist/src/executors/typia/executor.js +4 -4
  68. package/dist/src/executors/typia/executor.mjs +3 -3
  69. package/dist/src/executors/unbuild/executor.js +4 -4
  70. package/dist/src/executors/unbuild/executor.mjs +3 -3
  71. package/dist/src/generators/browser-library/generator.js +4 -4
  72. package/dist/src/generators/browser-library/generator.mjs +3 -3
  73. package/dist/src/generators/config-schema/generator.js +4 -4
  74. package/dist/src/generators/config-schema/generator.mjs +3 -3
  75. package/dist/src/generators/neutral-library/generator.js +4 -4
  76. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  77. package/dist/src/generators/node-library/generator.js +4 -4
  78. package/dist/src/generators/node-library/generator.mjs +3 -3
  79. package/dist/src/generators/preset/generator.js +4 -4
  80. package/dist/src/generators/preset/generator.mjs +3 -3
  81. package/dist/src/generators/release-version/generator.js +3 -3
  82. package/dist/src/generators/release-version/generator.mjs +2 -2
  83. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.265.13](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.265.13) (2025-04-13)
6
+
7
+ ### Miscellaneous
8
+
9
+ - **workspace-tools:** Bundle `defu` dependency package
10
+ ([fb9057403](https://github.com/storm-software/storm-ops/commit/fb9057403))
11
+
12
+ ## [1.265.12](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.265.12) (2025-04-10)
13
+
14
+ ### Miscellaneous
15
+
16
+ - **monorepo:** Regenerate README markdown files
17
+ ([82c74e006](https://github.com/storm-software/storm-ops/commit/82c74e006))
18
+
5
19
  ## [1.265.11](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.265.11) (2025-04-09)
6
20
 
7
21
  ### 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.265.9-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.265.12-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 -->
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KEPMD5HG.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-PRBD72QY.mjs";
7
+ } from "./chunk-XWHWMA27.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-Y4D6KHJP.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-J3GIYYNX.mjs";
14
+ } from "./chunk-UYN4J6AU.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
17
  } from "./chunk-44ZYZKMX.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-PRBD72QY.mjs";
3
+ } from "./chunk-XWHWMA27.mjs";
4
4
  import {
5
5
  formatLogMessage,
6
6
  getConfig,
@@ -13,7 +13,7 @@ import {
13
13
  writeSuccess,
14
14
  writeTrace,
15
15
  writeWarning
16
- } from "./chunk-J3GIYYNX.mjs";
16
+ } from "./chunk-UYN4J6AU.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-44ZYZKMX.mjs";
@@ -916,8 +916,10 @@ var getEntryPoints = /* @__PURE__ */ __name(async (config, projectRoot, sourceRo
916
916
  return ret;
917
917
  }, []));
918
918
  } else {
919
- writeDebug(`Trying to add entry point ${entryPoint}"`, config);
920
- if (!paths.some((p) => p.in === entryPoint.in)) {
919
+ writeDebug(`Adding ESBuild entry point
920
+ - Input: ${entryPoint.in}
921
+ - Output: ${entryPoint.out}`, config);
922
+ if (!paths.some((p) => p.out === entryPoint.out)) {
921
923
  paths.push(entryPoint);
922
924
  }
923
925
  }
@@ -7,7 +7,7 @@ var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.js');
10
+ var _chunkKN4FIRQIjs = require('./chunk-KN4FIRQI.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 = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
55
+ var generator_default = _chunkKN4FIRQIjs.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";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-W3FTMIWS.mjs";
10
+ } from "./chunk-4MQBPVNM.mjs";
11
11
  import {
12
12
  joinPaths
13
13
  } from "./chunk-XB3SJ7YU.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-PRBD72QY.mjs";
3
+ } from "./chunk-XWHWMA27.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-J3GIYYNX.mjs";
6
+ } from "./chunk-UYN4J6AU.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-Y4D6KHJP.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
7
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -20,7 +20,7 @@ async function cargoDocExecutor(options, context) {
20
20
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
21
21
  }
22
22
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
23
- var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
+ var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
24
24
  skipReadingConfig: false,
25
25
  hooks: {
26
26
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
7
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoFormatExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
18
- var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.js');
7
+ var _chunkKN4FIRQIjs = require('./chunk-KN4FIRQI.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 = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
76
+ var generator_default = _chunkKN4FIRQIjs.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 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
7
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.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 = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
18
+ var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-PRBD72QY.mjs";
3
+ } from "./chunk-XWHWMA27.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-J3GIYYNX.mjs";
6
+ } from "./chunk-UYN4J6AU.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-Y4D6KHJP.mjs";
@@ -32,6 +32,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
32
32
 
33
33
  If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
34
34
  `;
35
+ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
35
36
 
36
37
  // ../config/src/schema.ts
37
38
  var DarkColorSchema = _zod2.default.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
@@ -143,7 +144,7 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
143
144
  build: _zod2.default.string().trim().default("dist").describe("The directory used to store the workspace's distributable files after a build (relative to the workspace root)")
144
145
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
145
146
  var errorConfigSchema = _zod2.default.object({
146
- codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_RELEASE_BANNER).describe("The path to the workspace's error codes JSON file"),
147
+ codesFile: _zod2.default.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
147
148
  url: _zod2.default.string().trim().url().optional().describe("A URL to a page that looks up the workspace's error messages given a specific error code")
148
149
  }).describe("The workspace's error config used during the error process");
149
150
  var stormWorkspaceConfigSchema = _zod2.default.object({
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-3JZIYQVE.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-W3FTMIWS.mjs";
7
+ } from "./chunk-4MQBPVNM.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-XB3SJ7YU.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KEPMD5HG.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-PRBD72QY.mjs";
7
+ } from "./chunk-XWHWMA27.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-Y4D6KHJP.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.js');
7
+ var _chunkKN4FIRQIjs = require('./chunk-KN4FIRQI.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -229,7 +229,7 @@ async function presetGeneratorFn(tree, options) {
229
229
  return null;
230
230
  }
231
231
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
232
- var generator_default = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
232
+ var generator_default = _chunkKN4FIRQIjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
233
233
 
234
234
 
235
235
 
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
7
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.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 = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -11,7 +11,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
14
+ var _chunkG25NYDN4js = require('./chunk-G25NYDN4.js');
15
15
 
16
16
 
17
17
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkG25NYDN4js.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkSKMT7WD5js.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkG25NYDN4js.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkSKMT7WD5js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkG25NYDN4js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkSKMT7WD5js.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkG25NYDN4js.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkSKMT7WD5js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkG25NYDN4js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkSKMT7WD5js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkG25NYDN4js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkSKMT7WD5js.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkG25NYDN4js.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
46
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunkUALZJZUKjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkSKMT7WD5js.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkG25NYDN4js.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkSKMT7WD5js.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkG25NYDN4js.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunkSKMT7WD5js.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkG25NYDN4js.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkSKMT7WD5js.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkG25NYDN4js.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkSKMT7WD5js.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkG25NYDN4js.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkSKMT7WD5js.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkSKMT7WD5js.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkG25NYDN4js.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkG25NYDN4js.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -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 _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
3
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
4
4
 
5
5
 
6
- var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
6
+ var _chunkG25NYDN4js = require('./chunk-G25NYDN4.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
- _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkG25NYDN4js.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
- _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkG25NYDN4js.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 = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkZHCAJSHGjs.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) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KEPMD5HG.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-PRBD72QY.mjs";
7
+ } from "./chunk-XWHWMA27.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-Y4D6KHJP.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KEPMD5HG.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-PRBD72QY.mjs";
7
+ } from "./chunk-XWHWMA27.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-Y4D6KHJP.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-PRBD72QY.mjs";
3
+ } from "./chunk-XWHWMA27.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-J3GIYYNX.mjs";
6
+ } from "./chunk-UYN4J6AU.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-XB3SJ7YU.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-W3FTMIWS.mjs";
7
+ } from "./chunk-4MQBPVNM.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-J3GIYYNX.mjs";
16
+ } from "./chunk-UYN4J6AU.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-44ZYZKMX.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
7
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.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 = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkZHCAJSHGjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-W3FTMIWS.mjs";
3
+ } from "./chunk-4MQBPVNM.mjs";
4
4
  import {
5
5
  stormWorkspaceConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-J3GIYYNX.mjs";
9
+ } from "./chunk-UYN4J6AU.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-44ZYZKMX.mjs";
@@ -32,6 +32,7 @@ Join us on [Discord](${STORM_DEFAULT_ACCOUNT_DISCORD}) to chat with the team, re
32
32
 
33
33
  If this sounds interesting, and you would like to help us in creating the next generation of development tools, please reach out on our [website](${STORM_DEFAULT_CONTACT}) or join our [Slack](${STORM_DEFAULT_ACCOUNT_SLACK}) channel!
34
34
  `;
35
+ var STORM_DEFAULT_ERROR_CODES_FILE = "tools/errors/codes.json";
35
36
 
36
37
  // ../config/src/schema.ts
37
38
  var DarkColorSchema = z.string().trim().toLowerCase().regex(/^#([0-9a-f]{3}){1,2}$/i).length(7).default("#1d1e22").describe("The dark background color of the workspace");
@@ -143,7 +144,7 @@ var WorkspaceDirectoryConfigSchema = z.object({
143
144
  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
145
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
145
146
  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
+ codesFile: z.string().trim().default(STORM_DEFAULT_ERROR_CODES_FILE).describe("The path to the workspace's error codes JSON file"),
147
148
  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
149
  }).describe("The workspace's error config used during the error process");
149
150
  var stormWorkspaceConfigSchema = z.object({
@@ -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 _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
3
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
4
4
 
5
5
 
6
- var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
6
+ var _chunkG25NYDN4js = require('./chunk-G25NYDN4.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
- _chunkSKMT7WD5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkG25NYDN4js.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 = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkZHCAJSHGjs.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) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-3JZIYQVE.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-W3FTMIWS.mjs";
7
+ } from "./chunk-4MQBPVNM.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-XB3SJ7YU.mjs";
@@ -12,7 +12,7 @@ import {
12
12
  writeInfo,
13
13
  writeSuccess,
14
14
  writeTrace
15
- } from "./chunk-J3GIYYNX.mjs";
15
+ } from "./chunk-UYN4J6AU.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
18
  } from "./chunk-44ZYZKMX.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
3
+ var _chunkZHCAJSHGjs = require('./chunk-ZHCAJSHG.js');
4
4
 
5
5
 
6
- var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
6
+ var _chunkG25NYDN4js = require('./chunk-G25NYDN4.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
- _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkG25NYDN4js.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
- _chunkSKMT7WD5js.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkG25NYDN4js.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 = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkZHCAJSHGjs.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) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KEPMD5HG.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-PRBD72QY.mjs";
7
+ } from "./chunk-XWHWMA27.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-Y4D6KHJP.mjs";