@storm-software/workspace-tools 1.264.23 → 1.264.25

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 +16 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-IWTY5YHA.js → chunk-26KLH7BI.js} +4 -4
  4. package/dist/{chunk-H7R5WWWN.mjs → chunk-32XQSY3C.mjs} +2 -2
  5. package/dist/{chunk-IVVMLTAZ.mjs → chunk-4LIIIWIV.mjs} +1 -1
  6. package/dist/{chunk-YEAEA7VH.js → chunk-5DQCVP4N.js} +5 -5
  7. package/dist/{chunk-VIYVUTPL.mjs → chunk-7P2LGXFI.mjs} +1 -1
  8. package/dist/{chunk-JGBWUIDB.js → chunk-7YVMI4XM.js} +2 -2
  9. package/dist/{chunk-SYVKCVS5.js → chunk-ACBRXFBB.js} +2 -2
  10. package/dist/{chunk-JIEME4DE.mjs → chunk-AVC6Y5IR.mjs} +1 -1
  11. package/dist/{chunk-2VGQHNUI.mjs → chunk-CD3W3HIC.mjs} +2 -2
  12. package/dist/{chunk-PKZ57ZT3.mjs → chunk-CIHS3V6E.mjs} +1 -1
  13. package/dist/{chunk-7D54ET5P.js → chunk-DNYOACHD.js} +11 -11
  14. package/dist/{chunk-3CMQVIZF.js → chunk-E4TBRQDJ.js} +2 -2
  15. package/dist/{chunk-OOKKGQYY.mjs → chunk-FCGFBNCJ.mjs} +1 -1
  16. package/dist/{chunk-LCEW4RCH.mjs → chunk-GGSDFI6U.mjs} +2 -2
  17. package/dist/{chunk-S672NL5L.js → chunk-IPBHTVKW.js} +2 -2
  18. package/dist/{chunk-2JMPJLUY.mjs → chunk-IQQERPIV.mjs} +1 -1
  19. package/dist/{chunk-HAR2JAKF.js → chunk-JCJHSN67.js} +5 -5
  20. package/dist/{chunk-WKHNKMGG.mjs → chunk-JWFYDYKI.mjs} +1 -1
  21. package/dist/{chunk-XL2QCC3O.mjs → chunk-KQMGKHXU.mjs} +2 -2
  22. package/dist/{chunk-GIHDKGOW.js → chunk-LRLMU4QV.js} +2 -2
  23. package/dist/{chunk-ACGR2DGA.mjs → chunk-MMPXE2KD.mjs} +1 -1
  24. package/dist/{chunk-WSYNUVFE.js → chunk-N4STCLGJ.js} +9 -9
  25. package/dist/{chunk-ZQM46HJL.mjs → chunk-NODM27UV.mjs} +18 -2
  26. package/dist/{chunk-2JSGLAYY.js → chunk-NQ4W3N7O.js} +15 -15
  27. package/dist/{chunk-W6XC45WY.js → chunk-P6PFHXHQ.js} +20 -20
  28. package/dist/{chunk-CO3WS2F5.mjs → chunk-P7UUSOFW.mjs} +1 -1
  29. package/dist/{chunk-6TELW6SY.mjs → chunk-PHVGSPP3.mjs} +1 -1
  30. package/dist/{chunk-Q2HDALQQ.js → chunk-QPJ4XTDX.js} +2 -2
  31. package/dist/{chunk-KZEIFYBW.mjs → chunk-RLMSLHWY.mjs} +88 -67
  32. package/dist/{chunk-5HKVKVGO.js → chunk-S6XMIUUO.js} +128 -107
  33. package/dist/{chunk-Z7QQFXLC.js → chunk-SKMT7WD5.js} +18 -2
  34. package/dist/{chunk-Y4DQH7H3.mjs → chunk-UMFP6PYU.mjs} +1 -1
  35. package/dist/{chunk-B7OV5XTN.js → chunk-USJX4BPD.js} +2 -2
  36. package/dist/{chunk-UBQVODWE.mjs → chunk-VTRSAQHO.mjs} +1 -1
  37. package/dist/{chunk-D2B7RMJY.js → chunk-Z2GBHTLH.js} +2 -2
  38. package/dist/{chunk-OE5D5OX2.js → chunk-ZGMV4YJL.js} +2 -2
  39. package/dist/{executor-Cfnvj_UD.d.ts → executor-21QQWs8J.d.ts} +1 -1
  40. package/dist/{executor-Z5RZ_Cc7.d.ts → executor-BD4gkr4O.d.ts} +1 -1
  41. package/dist/{executor-Bl_R7eWL.d.mts → executor-BYcX7bg8.d.mts} +1 -1
  42. package/dist/{executor-CkpY6Cn6.d.ts → executor-BvnlpAbd.d.ts} +1 -1
  43. package/dist/{executor-jhLTqjwT.d.ts → executor-CLYItx2J.d.ts} +1 -1
  44. package/dist/{executor-D7Jon7YZ.d.mts → executor-CsTGaThv.d.mts} +1 -1
  45. package/dist/{executor-CQREXH1r.d.mts → executor-DpaKJJUo.d.mts} +1 -1
  46. package/dist/{executor-FnV7Zyhi.d.mts → executor-FYb5cygt.d.mts} +1 -1
  47. package/dist/executors.d.mts +5 -5
  48. package/dist/executors.d.ts +5 -5
  49. package/dist/executors.js +13 -13
  50. package/dist/executors.mjs +16 -16
  51. package/dist/{generator-m71zZSnI.d.ts → generator-BMY6LGPc.d.ts} +1 -1
  52. package/dist/{generator-CDN_7s1G.d.mts → generator-BPz6wkk9.d.mts} +2 -2
  53. package/dist/{generator-BzokTeDK.d.ts → generator-BXJFXwbk.d.ts} +2 -2
  54. package/dist/{generator-Cp27CDI2.d.mts → generator-Bw4on8nq.d.mts} +2 -2
  55. package/dist/{generator-DYKOkcwS.d.mts → generator-D3Kl6o6G.d.mts} +2 -2
  56. package/dist/{generator-DewOeQFs.d.ts → generator-D4IATDWn.d.ts} +2 -2
  57. package/dist/{generator-D2sZ7Ie-.d.ts → generator-DPRJ4mde.d.ts} +2 -2
  58. package/dist/{generator-DpjwOis-.d.ts → generator-EapPsEII.d.ts} +2 -2
  59. package/dist/{generator-DWD1hj3X.d.ts → generator-UGJuBE-5.d.ts} +1 -1
  60. package/dist/{generator-hhjMvDQ2.d.mts → generator-UekCwik8.d.mts} +1 -1
  61. package/dist/{generator-ciGwzWek.d.mts → generator-_OZvHhIS.d.mts} +1 -1
  62. package/dist/{generator-BxNcUEBh.d.mts → generator-gUQuyamW.d.mts} +2 -2
  63. package/dist/generators.d.mts +8 -8
  64. package/dist/generators.d.ts +8 -8
  65. package/dist/generators.js +9 -9
  66. package/dist/generators.mjs +8 -8
  67. package/dist/index.d.mts +12 -12
  68. package/dist/index.d.ts +12 -12
  69. package/dist/index.js +20 -20
  70. package/dist/index.mjs +23 -23
  71. package/dist/src/base/base-executor.d.mts +2 -2
  72. package/dist/src/base/base-executor.d.ts +2 -2
  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 +2 -2
  76. package/dist/src/base/base-generator.d.ts +2 -2
  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 +2 -2
  80. package/dist/src/base/index.d.ts +2 -2
  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 +1 -1
  94. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  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 +1 -1
  140. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  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-DK9-a60Q.d.mts → types-C3URiht7.d.mts} +20 -2
  146. package/dist/{types-DK9-a60Q.d.ts → types-C3URiht7.d.ts} +20 -2
  147. package/dist/{types-DvN-p7Ms.d.ts → types-CUnUfpKk.d.ts} +1 -1
  148. package/dist/{types-CbF567tH.d.mts → types-dNjhGseA.d.mts} +1 -1
  149. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } 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 _chunkW6XC45WYjs = require('./chunk-W6XC45WY.js');
3
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.js');
4
4
 
5
5
 
6
6
 
@@ -13,7 +13,7 @@ var _chunkW6XC45WYjs = require('./chunk-W6XC45WY.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkZ7QQFXLCjs = require('./chunk-Z7QQFXLC.js');
16
+ var _chunkSKMT7WD5js = require('./chunk-SKMT7WD5.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -83,7 +83,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
83
83
  output: "src/"
84
84
  });
85
85
  }
86
- _chunkZ7QQFXLCjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
86
+ _chunkSKMT7WD5js.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
87
87
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
88
88
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
89
89
  projectDir: projectRoot,
@@ -93,7 +93,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
93
93
  });
94
94
  await assetHandler.processAllAssetsOnce();
95
95
  if (includeSrc === true) {
96
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
96
+ _chunkSKMT7WD5js.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
97
97
  const files = await _glob.glob.call(void 0, [
98
98
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
99
99
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -132,7 +132,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
132
132
  }
133
133
  }
134
134
  if (localPackages.length > 0) {
135
- _chunkZ7QQFXLCjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
135
+ _chunkSKMT7WD5js.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
136
136
  const projectJsonFile = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
137
137
  const projectJson = JSON.parse(projectJsonFile);
138
138
  const projectName2 = projectJson.name;
@@ -166,7 +166,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
166
166
  return ret;
167
167
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
168
168
  } else {
169
- _chunkZ7QQFXLCjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
169
+ _chunkSKMT7WD5js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
170
170
  }
171
171
  return packageJson;
172
172
  }, "addPackageDependencies");
@@ -237,58 +237,6 @@ var run = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (config, command,
237
237
 
238
238
  // ../build-tools/src/utilities/get-entry-points.ts
239
239
 
240
- var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
241
- const workspaceRoot = config.workspaceRoot || _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
242
- const entryPoints = [];
243
- if (entry) {
244
- if (typeof entry === "string") {
245
- entryPoints.push(entry);
246
- } else if (Array.isArray(entry)) {
247
- entryPoints.push(...entry);
248
- } else {
249
- entryPoints.push(...Object.values(entry));
250
- }
251
- }
252
- if (emitOnAll) {
253
- entryPoints.push(_chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
254
- }
255
- const results = await Promise.all(entryPoints.map(async (entryPoint) => {
256
- const paths = [];
257
- if (entryPoint.includes("*")) {
258
- const files = await _glob.glob.call(void 0, entryPoint, {
259
- withFileTypes: true,
260
- ignore: [
261
- "**/node_modules/**"
262
- ]
263
- });
264
- paths.push(...files.reduce((ret, filePath) => {
265
- const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
266
- if (result) {
267
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
268
- if (!paths.includes(result)) {
269
- paths.push(result);
270
- }
271
- }
272
- return ret;
273
- }, []));
274
- } else {
275
- const result = _chunkJTAXCQX6js.correctPaths.call(void 0, entryPoint.replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
276
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, `Trying to add entry point ${result}"`, config);
277
- if (!paths.includes(result)) {
278
- paths.push(result);
279
- }
280
- }
281
- return paths;
282
- }));
283
- return results.filter(Boolean).reduce((ret, result) => {
284
- result.forEach((res) => {
285
- if (res && !ret.includes(res)) {
286
- ret.push(res);
287
- }
288
- });
289
- return ret;
290
- }, []);
291
- }, "getEntryPoints");
292
240
 
293
241
  // ../build-tools/src/utilities/get-env.ts
294
242
  var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, options) => {
@@ -588,7 +536,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
588
536
  setup(build4) {
589
537
  build4.onEnd((result) => {
590
538
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
591
- _chunkZ7QQFXLCjs.writeError.call(void 0, `The following errors occurred during the build:
539
+ _chunkSKMT7WD5js.writeError.call(void 0, `The following errors occurred during the build:
592
540
  ${result.errors.map((error) => error.text).join("\n")}
593
541
 
594
542
  `, resolvedOptions.config);
@@ -697,7 +645,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
697
645
  localBuild: true
698
646
  });
699
647
  if (extractorResult.succeeded === false) {
700
- _chunkZ7QQFXLCjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
648
+ _chunkSKMT7WD5js.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
701
649
  throw new Error("API Extractor completed with errors");
702
650
  }
703
651
  }
@@ -712,10 +660,10 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
712
660
  if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
713
661
  await run(resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
714
662
  }
715
- if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
663
+ if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && _optionalChain([resolvedOptions, 'access', _41 => _41.entryPoints, 'access', _42 => _42[0], 'optionalAccess', _43 => _43.in]) && resolvedOptions.entryPoints[0].in.endsWith(".ts")) {
716
664
  const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
717
665
  const typeOutDir = resolvedOptions.outdir;
718
- const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
666
+ const entryPoint = resolvedOptions.entryPoints[0].in.replace(sourceRoot, "").replace(/\.ts$/, "");
719
667
  const bundlePath = _chunkJTAXCQX6js.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
720
668
  let dtsPath;
721
669
  if (_fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
@@ -738,7 +686,7 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
738
686
  function getTypeDependencyPackageName(npmPackage) {
739
687
  if (npmPackage.startsWith("@")) {
740
688
  const [scope, name] = npmPackage.split("/");
741
- return `@types/${_optionalChain([scope, 'optionalAccess', _41 => _41.slice, 'call', _42 => _42(1)])}__${name}`;
689
+ return `@types/${_optionalChain([scope, 'optionalAccess', _44 => _44.slice, 'call', _45 => _45(1)])}__${name}`;
742
690
  }
743
691
  return `@types/${npmPackage}`;
744
692
  }
@@ -885,8 +833,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
885
833
  const filteredMissingDeps = missingDependencies.filter((dep) => {
886
834
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
887
835
  });
888
- _chunkZ7QQFXLCjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
889
- _chunkZ7QQFXLCjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
836
+ _chunkSKMT7WD5js.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
837
+ _chunkSKMT7WD5js.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
890
838
  if (filteredMissingDeps.length > 0) {
891
839
  throw new Error(`Missing dependencies detected - please install them:
892
840
  ${JSON.stringify(filteredMissingDeps)}
@@ -906,6 +854,84 @@ var shebangRenderer = {
906
854
  }
907
855
  };
908
856
 
857
+ // ../esbuild/src/utilities/get-entry-points.ts
858
+
859
+ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
860
+ const workspaceRoot = config.workspaceRoot || _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
861
+ const entryPoints = [];
862
+ if (entry) {
863
+ if (typeof entry === "string") {
864
+ entryPoints.push({
865
+ in: entry,
866
+ out: entry
867
+ });
868
+ } else if (Array.isArray(entry)) {
869
+ entryPoints.push(...entry.map((entry2) => ({
870
+ in: entry2,
871
+ out: entry2
872
+ })));
873
+ } else {
874
+ entryPoints.push(...Object.entries(entry).map(([key, value]) => {
875
+ if (typeof value === "string") {
876
+ return {
877
+ in: key,
878
+ out: value
879
+ };
880
+ } else {
881
+ return {
882
+ in: key,
883
+ out: key
884
+ };
885
+ }
886
+ }));
887
+ }
888
+ }
889
+ if (emitOnAll) {
890
+ entryPoints.push({
891
+ in: _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}"),
892
+ out: _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, sourceRoot || projectRoot, "**/*.{ts,tsx}")
893
+ });
894
+ }
895
+ const results = await Promise.all(entryPoints.map(async (entryPoint) => {
896
+ const paths = [];
897
+ if (entryPoint.in.includes("*")) {
898
+ const files = await _glob.glob.call(void 0, entryPoint.in, {
899
+ withFileTypes: true,
900
+ ignore: [
901
+ "**/node_modules/**"
902
+ ]
903
+ });
904
+ paths.push(...files.reduce((ret, filePath) => {
905
+ const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
906
+ if (result) {
907
+ _chunkSKMT7WD5js.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
908
+ if (!paths.some((p) => p.in === result)) {
909
+ paths.push({
910
+ in: result,
911
+ out: entryPoint.out.replace(entryPoint.in, result)
912
+ });
913
+ }
914
+ }
915
+ return ret;
916
+ }, []));
917
+ } else {
918
+ _chunkSKMT7WD5js.writeDebug.call(void 0, `Trying to add entry point ${entryPoint}"`, config);
919
+ if (!paths.some((p) => p.in === entryPoint.in)) {
920
+ paths.push(entryPoint);
921
+ }
922
+ }
923
+ return paths;
924
+ }));
925
+ return results.filter(Boolean).reduce((ret, result) => {
926
+ result.forEach((res) => {
927
+ if (res && !ret.some((p) => p.in === res.in)) {
928
+ ret.push(res);
929
+ }
930
+ });
931
+ return ret;
932
+ }, []);
933
+ }, "getEntryPoints");
934
+
909
935
  // ../esbuild/src/utilities/helpers.ts
910
936
  function handleSync(fn) {
911
937
  try {
@@ -954,7 +980,7 @@ function pipeSync(fn, ...fns) {
954
980
  return (...args) => {
955
981
  let result = fn(...args);
956
982
  for (let i = 0; result !== skip && i < fns.length; ++i) {
957
- result = _optionalChain([fns, 'access', _43 => _43[i], 'optionalCall', _44 => _44(result)]);
983
+ result = _optionalChain([fns, 'access', _46 => _46[i], 'optionalCall', _47 => _47(result)]);
958
984
  }
959
985
  return result;
960
986
  };
@@ -964,7 +990,7 @@ function pipeAsync(fn, ...fns) {
964
990
  return async (...args) => {
965
991
  let result = await fn(...args);
966
992
  for (let i = 0; result !== skip && i < fns.length; ++i) {
967
- result = await _optionalChain([fns, 'access', _45 => _45[i], 'optionalCall', _46 => _46(result)]);
993
+ result = await _optionalChain([fns, 'access', _48 => _48[i], 'optionalCall', _49 => _49(result)]);
968
994
  }
969
995
  return result;
970
996
  };
@@ -980,9 +1006,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
980
1006
  if (!workspaceRoot) {
981
1007
  throw new Error("Cannot find Nx workspace root");
982
1008
  }
983
- const config = await _chunkZ7QQFXLCjs.getConfig.call(void 0, workspaceRoot.dir);
984
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
985
- const stopwatch = _chunkZ7QQFXLCjs.getStopwatch.call(void 0, "Build options resolution");
1009
+ const config = await _chunkSKMT7WD5js.getConfig.call(void 0, workspaceRoot.dir);
1010
+ _chunkSKMT7WD5js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1011
+ const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, "Build options resolution");
986
1012
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
987
1013
  exitOnError: true
988
1014
  });
@@ -994,7 +1020,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
994
1020
  const projectJson = JSON.parse(projectJsonFile);
995
1021
  const projectName = projectJson.name;
996
1022
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
997
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _47 => _47.projects, 'optionalAccess', _48 => _48[projectName]])) {
1023
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _50 => _50.projects, 'optionalAccess', _51 => _51[projectName]])) {
998
1024
  throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
999
1025
  }
1000
1026
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
@@ -1019,7 +1045,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1019
1045
  ...userOptions,
1020
1046
  tsconfig: _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1021
1047
  format: options.format || "cjs",
1022
- entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
1048
+ entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), false),
1023
1049
  outdir: userOptions.outputPath || _chunkJTAXCQX6js.joinPaths.call(void 0, "dist", projectRoot),
1024
1050
  distDir: userOptions.distDir || "dist",
1025
1051
  plugins: [],
@@ -1029,12 +1055,11 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1029
1055
  projectGraph,
1030
1056
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
1031
1057
  minify: userOptions.minify || !userOptions.debug,
1032
- verbose: userOptions.verbose || _chunkZ7QQFXLCjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1058
+ verbose: userOptions.verbose || _chunkSKMT7WD5js.isVerbose.call(void 0, ) || userOptions.debug === true,
1033
1059
  includeSrc: userOptions.includeSrc === true,
1034
1060
  metafile: userOptions.metafile !== false,
1035
1061
  generatePackageJson: userOptions.generatePackageJson !== false,
1036
1062
  clean: userOptions.clean !== false,
1037
- emitOnAll: userOptions.emitOnAll === true,
1038
1063
  assets: _nullishCoalesce(userOptions.assets, () => ( [])),
1039
1064
  injectShims: userOptions.injectShims !== true,
1040
1065
  bundle: userOptions.bundle !== false,
@@ -1085,8 +1110,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1085
1110
  }, "resolveOptions");
1086
1111
  async function generatePackageJson(context2) {
1087
1112
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1088
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1089
- const stopwatch = _chunkZ7QQFXLCjs.getStopwatch.call(void 0, "Write package.json file");
1113
+ _chunkSKMT7WD5js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1114
+ const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, "Write package.json file");
1090
1115
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1091
1116
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1092
1117
  throw new Error("Cannot find package.json configuration");
@@ -1101,19 +1126,13 @@ async function generatePackageJson(context2) {
1101
1126
  packageJson.exports ??= {};
1102
1127
  packageJson.exports["./package.json"] ??= "./package.json";
1103
1128
  packageJson.exports["."] ??= `.${context2.options.distDir ? `/${context2.options.distDir}` : ""}/index.js`;
1104
- let entryPoints = [
1129
+ const entryPoints = [
1105
1130
  {
1106
1131
  in: "./src/index.ts",
1107
1132
  out: "./src/index.ts"
1108
1133
  }
1109
1134
  ];
1110
1135
  if (context2.options.entryPoints) {
1111
- if (Array.isArray(context2.options.entryPoints)) {
1112
- entryPoints = context2.options.entryPoints.map((entryPoint) => typeof entryPoint === "string" ? {
1113
- in: entryPoint,
1114
- out: entryPoint
1115
- } : entryPoint);
1116
- }
1117
1136
  for (const entryPoint of entryPoints) {
1118
1137
  const split = entryPoint.out.split(".");
1119
1138
  split.pop();
@@ -1159,8 +1178,8 @@ async function generateContext(getOptions) {
1159
1178
  }
1160
1179
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
1161
1180
  async function executeEsBuild(context2) {
1162
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1163
- const stopwatch = _chunkZ7QQFXLCjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1181
+ _chunkSKMT7WD5js.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1182
+ const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, `${context2.options.name} build`);
1164
1183
  if (process.env.STORM_WATCH) {
1165
1184
  const ctx = await esbuild2.context(context2.options);
1166
1185
  watch(ctx, context2.options);
@@ -1182,7 +1201,6 @@ async function executeEsBuild(context2) {
1182
1201
  delete options.clean;
1183
1202
  delete options.debug;
1184
1203
  delete options.generatePackageJson;
1185
- delete options.emitOnAll;
1186
1204
  delete options.distDir;
1187
1205
  delete options.includeSrc;
1188
1206
  delete options.verbose;
@@ -1194,8 +1212,11 @@ async function executeEsBuild(context2) {
1194
1212
  delete options.config;
1195
1213
  delete options.injectShims;
1196
1214
  delete options.external;
1197
- _chunkZ7QQFXLCjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1198
- ${_chunkZ7QQFXLCjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
1215
+ _chunkSKMT7WD5js.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1216
+ ${_chunkSKMT7WD5js.formatLogMessage.call(void 0, {
1217
+ ...options,
1218
+ define: "<Hidden>"
1219
+ })}`, context2.options.config);
1199
1220
  const result = await esbuild2.build(options);
1200
1221
  await esbuild2.stop();
1201
1222
  if (result.metafile) {
@@ -1207,9 +1228,9 @@ ${_chunkZ7QQFXLCjs.formatLogMessage.call(void 0, options)}`, context2.options.co
1207
1228
  }
1208
1229
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1209
1230
  async function copyBuildAssets(context2) {
1210
- if (_optionalChain([context2, 'access', _49 => _49.result, 'optionalAccess', _50 => _50.errors, 'access', _51 => _51.length]) === 0) {
1211
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1212
- const stopwatch = _chunkZ7QQFXLCjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1231
+ if (_optionalChain([context2, 'access', _52 => _52.result, 'optionalAccess', _53 => _53.errors, 'access', _54 => _54.length]) === 0) {
1232
+ _chunkSKMT7WD5js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1233
+ const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1213
1234
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
1214
1235
  stopwatch();
1215
1236
  }
@@ -1217,11 +1238,11 @@ async function copyBuildAssets(context2) {
1217
1238
  }
1218
1239
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1219
1240
  async function reportResults(context2) {
1220
- if (_optionalChain([context2, 'access', _52 => _52.result, 'optionalAccess', _53 => _53.errors, 'access', _54 => _54.length]) === 0) {
1241
+ if (_optionalChain([context2, 'access', _55 => _55.result, 'optionalAccess', _56 => _56.errors, 'access', _57 => _57.length]) === 0) {
1221
1242
  if (context2.result.warnings.length > 0) {
1222
- _chunkZ7QQFXLCjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1243
+ _chunkSKMT7WD5js.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1223
1244
  }
1224
- _chunkZ7QQFXLCjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1245
+ _chunkSKMT7WD5js.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1225
1246
  }
1226
1247
  }
1227
1248
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -1257,8 +1278,8 @@ async function dependencyCheck(options) {
1257
1278
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
1258
1279
  async function cleanOutputPath(context2) {
1259
1280
  if (context2.options.clean !== false && context2.options.outdir) {
1260
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1261
- const stopwatch = _chunkZ7QQFXLCjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1281
+ _chunkSKMT7WD5js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1282
+ const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1262
1283
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
1263
1284
  stopwatch();
1264
1285
  }
@@ -1266,8 +1287,8 @@ async function cleanOutputPath(context2) {
1266
1287
  }
1267
1288
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
1268
1289
  async function build3(options) {
1269
- _chunkZ7QQFXLCjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1270
- const stopwatch = _chunkZ7QQFXLCjs.getStopwatch.call(void 0, "ESBuild pipeline");
1290
+ _chunkSKMT7WD5js.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1291
+ const stopwatch = _chunkSKMT7WD5js.getStopwatch.call(void 0, "ESBuild pipeline");
1271
1292
  try {
1272
1293
  const opts = Array.isArray(options) ? options : [
1273
1294
  options
@@ -1277,9 +1298,9 @@ async function build3(options) {
1277
1298
  }
1278
1299
  void transduce.async(opts, dependencyCheck);
1279
1300
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
1280
- _chunkZ7QQFXLCjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1301
+ _chunkSKMT7WD5js.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1281
1302
  } catch (error) {
1282
- _chunkZ7QQFXLCjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1303
+ _chunkSKMT7WD5js.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1283
1304
  throw error;
1284
1305
  } finally {
1285
1306
  stopwatch();
@@ -1307,9 +1328,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1307
1328
  return context2.rebuild();
1308
1329
  });
1309
1330
  if (rebuildResult instanceof Error) {
1310
- _chunkZ7QQFXLCjs.writeError.call(void 0, rebuildResult.message);
1331
+ _chunkSKMT7WD5js.writeError.call(void 0, rebuildResult.message);
1311
1332
  }
1312
- _chunkZ7QQFXLCjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1333
+ _chunkSKMT7WD5js.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1313
1334
  }, 10);
1314
1335
  changeWatcher.on("change", fastRebuild);
1315
1336
  return void 0;
@@ -1317,15 +1338,15 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1317
1338
 
1318
1339
  // src/executors/esbuild/executor.ts
1319
1340
  async function esbuildExecutorFn(options, context2, config) {
1320
- _chunkZ7QQFXLCjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1321
- if (!_optionalChain([context2, 'access', _55 => _55.projectsConfigurations, 'optionalAccess', _56 => _56.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _57 => _57.projectsConfigurations, 'access', _58 => _58.projects, 'access', _59 => _59[context2.projectName], 'optionalAccess', _60 => _60.root])) {
1341
+ _chunkSKMT7WD5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1342
+ if (!_optionalChain([context2, 'access', _58 => _58.projectsConfigurations, 'optionalAccess', _59 => _59.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _60 => _60.projectsConfigurations, 'access', _61 => _61.projects, 'access', _62 => _62[context2.projectName], 'optionalAccess', _63 => _63.root])) {
1322
1343
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1323
1344
  }
1324
1345
  await build3({
1325
1346
  ...options,
1326
- projectRoot: _optionalChain([context2, 'access', _61 => _61.projectsConfigurations, 'access', _62 => _62.projects, 'optionalAccess', _63 => _63[context2.projectName], 'access', _64 => _64.root]),
1347
+ projectRoot: _optionalChain([context2, 'access', _64 => _64.projectsConfigurations, 'access', _65 => _65.projects, 'optionalAccess', _66 => _66[context2.projectName], 'access', _67 => _67.root]),
1327
1348
  projectName: context2.projectName,
1328
- sourceRoot: _optionalChain([context2, 'access', _65 => _65.projectsConfigurations, 'access', _66 => _66.projects, 'optionalAccess', _67 => _67[context2.projectName], 'optionalAccess', _68 => _68.sourceRoot]),
1349
+ sourceRoot: _optionalChain([context2, 'access', _68 => _68.projectsConfigurations, 'access', _69 => _69.projects, 'optionalAccess', _70 => _70[context2.projectName], 'optionalAccess', _71 => _71.sourceRoot]),
1329
1350
  format: options.format,
1330
1351
  platform: options.format
1331
1352
  });
@@ -1334,7 +1355,7 @@ async function esbuildExecutorFn(options, context2, config) {
1334
1355
  };
1335
1356
  }
1336
1357
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1337
- var executor_default = _chunkW6XC45WYjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1358
+ var executor_default = _chunkP6PFHXHQjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1338
1359
  skipReadingConfig: false,
1339
1360
  hooks: {
1340
1361
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -142,6 +142,10 @@ var WorkspaceDirectoryConfigSchema = _zod2.default.object({
142
142
  log: _zod2.default.string().trim().optional().describe("The directory used to store the environment's temp files"),
143
143
  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
144
  }).describe("Various directories used by the workspace to store data, cache, and configuration files");
145
+ 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
+ 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
+ }).describe("The workspace's error config used during the error process");
145
149
  var stormWorkspaceConfigSchema = _zod2.default.object({
146
150
  $schema: _zod2.default.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(),
@@ -160,6 +164,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
160
164
  bot: WorkspaceBotConfigSchema,
161
165
  release: WorkspaceReleaseConfigSchema,
162
166
  account: WorkspaceAccountConfigSchema,
167
+ error: errorConfigSchema,
163
168
  mode: _zod2.default.enum([
164
169
  "development",
165
170
  "staging",
@@ -310,7 +315,10 @@ var getDefaultConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, asyn
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__ */ _chunk3GQAWCBQjs.__name.call(void 0, () => {
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__ */ _chunk3GQAWCBQjs.__name.call(void 0, (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__ */ _chunk3GQAWCBQjs.__name.call(void 0, (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) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-VIYVUTPL.mjs";
7
+ } from "./chunk-7P2LGXFI.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunk2JSGLAYYjs = require('./chunk-2JSGLAYY.js');
7
+ var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.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 = _chunk2JSGLAYYjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
232
+ var generator_default = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
233
233
 
234
234
 
235
235
 
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-VIYVUTPL.mjs";
7
+ } from "./chunk-7P2LGXFI.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkW6XC45WYjs = require('./chunk-W6XC45WY.js');
7
+ var _chunkP6PFHXHQjs = require('./chunk-P6PFHXHQ.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 = _chunkW6XC45WYjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
+ var executor_default = _chunkP6PFHXHQjs.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 _chunkRBU35LQWjs = require('./chunk-RBU35LQW.js');
5
5
 
6
6
 
7
- var _chunk2JSGLAYYjs = require('./chunk-2JSGLAYY.js');
7
+ var _chunkNQ4W3N7Ojs = require('./chunk-NQ4W3N7O.js');
8
8
 
9
9
 
10
10
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.js');
@@ -45,7 +45,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
45
45
  return null;
46
46
  }
47
47
  _chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
48
- var generator_default = _chunk2JSGLAYYjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
48
+ var generator_default = _chunkNQ4W3N7Ojs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
49
49
  hooks: {
50
50
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
51
51
  options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
@@ -1,6 +1,6 @@
1
1
  import * as _nx_devkit from '@nx/devkit';
2
2
  import { ExecutorContext } from '@nx/devkit';
3
- import { S as StormWorkspaceConfig } from './types-DK9-a60Q.js';
3
+ import { S as StormWorkspaceConfig } from './types-C3URiht7.js';
4
4
 
5
5
  // Generated by @storm-software/untyped
6
6
  // Do not edit this file directly
@@ -1,6 +1,6 @@
1
1
  import * as _nx_devkit from '@nx/devkit';
2
2
  import { ExecutorContext } from '@nx/devkit';
3
- import { S as StormWorkspaceConfig } from './types-DK9-a60Q.js';
3
+ import { S as StormWorkspaceConfig } from './types-C3URiht7.js';
4
4
 
5
5
  // Generated by @storm-software/untyped
6
6
  // Do not edit this file directly
@@ -1,6 +1,6 @@
1
1
  import * as _nx_devkit from '@nx/devkit';
2
2
  import { ExecutorContext } from '@nx/devkit';
3
- import { S as StormWorkspaceConfig } from './types-DK9-a60Q.mjs';
3
+ import { S as StormWorkspaceConfig } from './types-C3URiht7.mjs';
4
4
 
5
5
  // Generated by @storm-software/untyped
6
6
  // Do not edit this file directly