@storm-software/terraform-tools 0.54.18 → 0.54.20

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 (42) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-CFYJFDXQ.js → chunk-25PTDMW6.js} +220 -206
  4. package/dist/{chunk-V2MDU72P.js → chunk-2LUGBITC.js} +2 -2
  5. package/dist/{chunk-SIKF3MKV.mjs → chunk-2ZZJNUXX.mjs} +38 -24
  6. package/dist/{chunk-PTGYSMPV.js → chunk-AP4J2N34.js} +2 -2
  7. package/dist/{chunk-RWC4LQNP.mjs → chunk-BYGHUFW4.mjs} +1 -1
  8. package/dist/{chunk-EFR6PXP4.js → chunk-GCCFZEDU.js} +41 -24
  9. package/dist/{chunk-LFSPDVQC.mjs → chunk-GDIPTQU2.mjs} +1 -1
  10. package/dist/{chunk-W4HT4RSX.mjs → chunk-KWXOSOKO.mjs} +42 -25
  11. package/dist/{chunk-NKCDHL2T.mjs → chunk-MBXPILHI.mjs} +1 -1
  12. package/dist/{chunk-VLD5ZA2O.js → chunk-MMBQ5BEW.js} +2 -2
  13. package/dist/{chunk-Y42OHWIS.js → chunk-OJ33RFH7.js} +2 -2
  14. package/dist/{chunk-XUV4U54K.mjs → chunk-R7DU2APC.mjs} +1 -1
  15. package/dist/{chunk-MQHDDYEZ.mjs → chunk-UQJF73ZV.mjs} +1 -1
  16. package/dist/{chunk-VZ6XA5RO.mjs → chunk-VWRPSPA5.mjs} +2 -2
  17. package/dist/{chunk-FITZEF2D.js → chunk-ZYPB3WAC.js} +3 -3
  18. package/dist/executors.js +6 -6
  19. package/dist/executors.mjs +7 -7
  20. package/dist/generators.js +3 -3
  21. package/dist/generators.mjs +3 -3
  22. package/dist/index.js +8 -8
  23. package/dist/index.mjs +8 -8
  24. package/dist/src/base/base-terraform-executor.untyped.mjs +1 -1
  25. package/dist/src/base/index.js +3 -3
  26. package/dist/src/base/index.mjs +3 -3
  27. package/dist/src/base/terraform-executor.d.mts +3 -0
  28. package/dist/src/base/terraform-executor.d.ts +3 -0
  29. package/dist/src/base/terraform-executor.js +3 -3
  30. package/dist/src/base/terraform-executor.mjs +3 -3
  31. package/dist/src/executors/apply/executor.js +4 -4
  32. package/dist/src/executors/apply/executor.mjs +4 -4
  33. package/dist/src/executors/destroy/executor.js +4 -4
  34. package/dist/src/executors/destroy/executor.mjs +4 -4
  35. package/dist/src/executors/output/executor.js +4 -4
  36. package/dist/src/executors/output/executor.mjs +4 -4
  37. package/dist/src/executors/plan/executor.js +4 -4
  38. package/dist/src/executors/plan/executor.mjs +4 -4
  39. package/dist/src/generators/init/init.js +3 -3
  40. package/dist/src/generators/init/init.mjs +3 -3
  41. package/dist/tsup.config.mjs +1 -1
  42. package/package.json +1 -1
@@ -17,7 +17,7 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkEFR6PXP4js = require('./chunk-EFR6PXP4.js');
20
+ var _chunkGCCFZEDUjs = require('./chunk-GCCFZEDU.js');
21
21
 
22
22
 
23
23
 
@@ -158,7 +158,7 @@ async function cargoBuildExecutor(options, context2) {
158
158
  return await cargoCommand(...command);
159
159
  }
160
160
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
161
- var executor_default = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
161
+ var executor_default = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
162
162
  skipReadingConfig: false,
163
163
  hooks: {
164
164
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -175,7 +175,7 @@ async function cargoCheckExecutor(options, context2) {
175
175
  return await cargoCommand(...command);
176
176
  }
177
177
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
178
- var executor_default2 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
178
+ var executor_default2 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
179
179
  skipReadingConfig: false,
180
180
  hooks: {
181
181
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -191,7 +191,7 @@ async function cargoClippyExecutor(options, context2) {
191
191
  return await cargoCommand(...command);
192
192
  }
193
193
  _chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
194
- var executor_default3 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
194
+ var executor_default3 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
195
195
  skipReadingConfig: false,
196
196
  hooks: {
197
197
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -213,7 +213,7 @@ async function cargoDocExecutor(options, context2) {
213
213
  return await cargoCommand(...command);
214
214
  }
215
215
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
216
- var executor_default4 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
216
+ var executor_default4 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
217
217
  skipReadingConfig: false,
218
218
  hooks: {
219
219
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -236,7 +236,7 @@ async function cargoFormatExecutor(options, context2) {
236
236
  return await cargoCommand(...command);
237
237
  }
238
238
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
239
- var executor_default5 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
239
+ var executor_default5 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
240
240
  skipReadingConfig: false,
241
241
  hooks: {
242
242
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -317,8 +317,8 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
317
317
  output: "src/"
318
318
  });
319
319
  }
320
- _chunkEFR6PXP4js.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
321
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkEFR6PXP4js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
320
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
321
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkGCCFZEDUjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
322
322
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
323
323
  projectDir: projectRoot,
324
324
  rootDir: config.workspaceRoot,
@@ -327,12 +327,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
327
327
  });
328
328
  await assetHandler.processAllAssetsOnce();
329
329
  if (includeSrc === true) {
330
- _chunkEFR6PXP4js.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkEFR6PXP4js.joinPaths.call(void 0, outputPath, "src")}`, config);
330
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkGCCFZEDUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
331
331
  const files = await _glob.glob.call(void 0, [
332
- _chunkEFR6PXP4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
333
- _chunkEFR6PXP4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
334
- _chunkEFR6PXP4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
335
- _chunkEFR6PXP4js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
332
+ _chunkGCCFZEDUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
333
+ _chunkGCCFZEDUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
334
+ _chunkGCCFZEDUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
335
+ _chunkGCCFZEDUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
336
336
  ]);
337
337
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
338
338
 
@@ -349,12 +349,13 @@ var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
349
349
 
350
350
  var _projectgraph = require('nx/src/project-graph/project-graph');
351
351
  var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot3, projectRoot, projectName, packageJson) => {
352
- const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, _projectgraph.readCachedProjectGraph.call(void 0, ), workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
352
+ const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
353
+ const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot3, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
353
354
  const localPackages = [];
354
355
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot3)) {
355
356
  const projectNode = project.node;
356
357
  if (projectNode.data.root) {
357
- const projectPackageJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
358
+ const projectPackageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
358
359
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
359
360
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
360
361
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -365,35 +366,47 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
365
366
  }
366
367
  }
367
368
  if (localPackages.length > 0) {
368
- _chunkEFR6PXP4js.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
369
- packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
370
- if (!ret[localPackage.name]) {
371
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
369
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
370
+ const projectJsonFile = await _promises.readFile.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
371
+ const projectJson = JSON.parse(projectJsonFile);
372
+ const projectName2 = projectJson.name;
373
+ const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
374
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _5 => _5.projects, 'optionalAccess', _6 => _6[projectName2]])) {
375
+ 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.");
376
+ }
377
+ const implicitDependencies = _optionalChain([projectConfigurations, 'access', _7 => _7.projects, 'optionalAccess', _8 => _8[projectName2], 'access', _9 => _9.implicitDependencies, 'optionalAccess', _10 => _10.reduce, 'call', _11 => _11((ret, dep) => {
378
+ if (_optionalChain([projectConfigurations, 'access', _12 => _12.projects, 'optionalAccess', _13 => _13[dep]])) {
379
+ const depPackageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3, projectConfigurations.projects[dep].root, "package.json");
380
+ if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
381
+ const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
382
+ const depPackageJson = JSON.parse(depPackageJsonContent);
383
+ if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
384
+ ret.push(depPackageJson.name);
385
+ }
386
+ }
372
387
  }
373
388
  return ret;
374
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
375
- packageJson.peerDependenciesMeta = localPackages.reduce((ret, localPackage) => {
376
- if (!ret[localPackage.name]) {
377
- ret[localPackage.name] = {
378
- optional: false
379
- };
389
+ }, [])]);
390
+ packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
391
+ if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _14 => _14.includes, 'call', _15 => _15(localPackage.name)])) {
392
+ ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
380
393
  }
381
394
  return ret;
382
- }, _nullishCoalesce(packageJson.peerDependenciesMeta, () => ( {})));
395
+ }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
383
396
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
384
- if (!ret[localPackage.name]) {
397
+ if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _16 => _16.includes, 'call', _17 => _17(localPackage.name)])) {
385
398
  ret[localPackage.name] = localPackage.version || "0.0.1";
386
399
  }
387
400
  return ret;
388
- }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
401
+ }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
389
402
  } else {
390
- _chunkEFR6PXP4js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
403
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
391
404
  }
392
405
  return packageJson;
393
406
  }, "addPackageDependencies");
394
407
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
395
- const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkEFR6PXP4js.findWorkspaceRoot.call(void 0, );
396
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
408
+ const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkGCCFZEDUjs.findWorkspaceRoot.call(void 0, );
409
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
397
410
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
398
411
  packageJson.type ??= "module";
399
412
  packageJson.sideEffects ??= false;
@@ -402,7 +415,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call
402
415
  if (distSrc.startsWith("/")) {
403
416
  distSrc = distSrc.substring(1);
404
417
  }
405
- packageJson.source ??= `${_chunkEFR6PXP4js.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
418
+ packageJson.source ??= `${_chunkGCCFZEDUjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
406
419
  }
407
420
  packageJson.files ??= [
408
421
  "dist/**/*"
@@ -433,7 +446,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call
433
446
  ];
434
447
  }
435
448
  packageJson.repository ??= workspacePackageJson.repository;
436
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkEFR6PXP4js.joinPaths.call(void 0, "packages", projectName);
449
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkGCCFZEDUjs.joinPaths.call(void 0, "packages", projectName);
437
450
  return packageJson;
438
451
  }, "addWorkspacePackageJsonFields");
439
452
  var addPackageJsonExport = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (file, type = "module", sourceRoot) => {
@@ -460,7 +473,7 @@ var addPackageJsonExport = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
460
473
  // ../build-tools/src/utilities/get-entry-points.ts
461
474
 
462
475
  var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
463
- const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkEFR6PXP4js.findWorkspaceRoot.call(void 0, );
476
+ const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkGCCFZEDUjs.findWorkspaceRoot.call(void 0, );
464
477
  const entryPoints = [];
465
478
  if (entry) {
466
479
  if (Array.isArray(entry)) {
@@ -472,7 +485,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
472
485
  }
473
486
  }
474
487
  if (emitOnAll) {
475
- entryPoints.push(_chunkEFR6PXP4js.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
488
+ entryPoints.push(_chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
476
489
  }
477
490
  const results = [];
478
491
  for (const entryPoint in entryPoints) {
@@ -481,9 +494,9 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
481
494
  withFileTypes: true
482
495
  });
483
496
  results.push(...files.reduce((ret, filePath) => {
484
- const result = _chunkEFR6PXP4js.correctPaths.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkEFR6PXP4js.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkEFR6PXP4js.correctPaths.call(void 0, projectRoot), ""));
497
+ const result = _chunkGCCFZEDUjs.correctPaths.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkGCCFZEDUjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkGCCFZEDUjs.correctPaths.call(void 0, projectRoot), ""));
485
498
  if (result) {
486
- _chunkEFR6PXP4js.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkEFR6PXP4js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
499
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkGCCFZEDUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
487
500
  if (!results.includes(result)) {
488
501
  results.push(result);
489
502
  }
@@ -617,15 +630,15 @@ var RendererEngine = class {
617
630
  if (!relativePath.startsWith("\\\\?\\")) {
618
631
  relativePath = relativePath.replace(/\\/g, "/");
619
632
  }
620
- const meta = _optionalChain([metafile, 'optionalAccess', _5 => _5.outputs, 'access', _6 => _6[relativePath]]);
633
+ const meta = _optionalChain([metafile, 'optionalAccess', _18 => _18.outputs, 'access', _19 => _19[relativePath]]);
621
634
  return {
622
635
  type: "chunk",
623
636
  path: file.path,
624
637
  code: file.text,
625
- map: _optionalChain([outputFiles, 'access', _7 => _7.find, 'call', _8 => _8((f) => f.path === `${file.path}.map`), 'optionalAccess', _9 => _9.text]),
626
- entryPoint: _optionalChain([meta, 'optionalAccess', _10 => _10.entryPoint]),
627
- exports: _optionalChain([meta, 'optionalAccess', _11 => _11.exports]),
628
- imports: _optionalChain([meta, 'optionalAccess', _12 => _12.imports])
638
+ map: _optionalChain([outputFiles, 'access', _20 => _20.find, 'call', _21 => _21((f) => f.path === `${file.path}.map`), 'optionalAccess', _22 => _22.text]),
639
+ entryPoint: _optionalChain([meta, 'optionalAccess', _23 => _23.entryPoint]),
640
+ exports: _optionalChain([meta, 'optionalAccess', _24 => _24.exports]),
641
+ imports: _optionalChain([meta, 'optionalAccess', _25 => _25.imports])
629
642
  };
630
643
  } else {
631
644
  return {
@@ -708,7 +721,7 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
708
721
  name: "storm:esm-split-code-to-cjs",
709
722
  setup(build5) {
710
723
  build5.onEnd(async (result) => {
711
- const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _13 => _13.metafile, 'optionalAccess', _14 => _14.outputs]), () => ( {})));
724
+ const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _26 => _26.metafile, 'optionalAccess', _27 => _27.outputs]), () => ( {})));
712
725
  const jsFiles = outFiles.filter((f) => f.endsWith("js"));
713
726
  await esbuild.build({
714
727
  outdir: resolvedOptions.outdir,
@@ -817,7 +830,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
817
830
  setup(build5) {
818
831
  build5.onEnd((result) => {
819
832
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
820
- _chunkEFR6PXP4js.writeError.call(void 0, `The following errors occurred during the build:
833
+ _chunkGCCFZEDUjs.writeError.call(void 0, `The following errors occurred during the build:
821
834
  ${result.errors.map((error) => error.text).join("\n")}
822
835
 
823
836
  `, resolvedOptions.config);
@@ -830,7 +843,7 @@ ${result.errors.map((error) => error.text).join("\n")}
830
843
  // ../esbuild/src/plugins/resolve-paths.ts
831
844
 
832
845
  function resolvePathsConfig(options, cwd) {
833
- if (_optionalChain([options, 'optionalAccess', _15 => _15.compilerOptions, 'optionalAccess', _16 => _16.paths])) {
846
+ if (_optionalChain([options, 'optionalAccess', _28 => _28.compilerOptions, 'optionalAccess', _29 => _29.paths])) {
834
847
  const paths = Object.entries(options.compilerOptions.paths);
835
848
  const resolvedPaths = paths.map(([key, paths2]) => {
836
849
  return [
@@ -852,13 +865,13 @@ _chunk3GQAWCBQjs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
852
865
  var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
853
866
  name: "storm:resolve-paths",
854
867
  setup(build5) {
855
- const parentTsConfig = build5.initialOptions.tsconfig ? _chunk3GQAWCBQjs.__require.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build5.initialOptions.tsconfig)) : _chunk3GQAWCBQjs.__require.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
868
+ const parentTsConfig = build5.initialOptions.tsconfig ? _chunk3GQAWCBQjs.__require.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build5.initialOptions.tsconfig)) : _chunk3GQAWCBQjs.__require.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
856
869
  const resolvedTsPaths = resolvePathsConfig(parentTsConfig, options.projectRoot);
857
870
  const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
858
871
  build5.onResolve({
859
872
  filter: packagesRegex
860
873
  }, (args) => {
861
- if (_optionalChain([build5, 'access', _17 => _17.initialOptions, 'access', _18 => _18.external, 'optionalAccess', _19 => _19.includes, 'call', _20 => _20(args.path)])) {
874
+ if (_optionalChain([build5, 'access', _30 => _30.initialOptions, 'access', _31 => _31.external, 'optionalAccess', _32 => _32.includes, 'call', _33 => _33(args.path)])) {
862
875
  return {
863
876
  path: args.path,
864
877
  external: true
@@ -876,7 +889,7 @@ var _apiextractor = require('@microsoft/api-extractor');
876
889
 
877
890
 
878
891
  function bundleTypeDefinitions(filename, outfile, externals, options) {
879
- const { dependencies, peerDependencies, devDependencies } = _chunk3GQAWCBQjs.__require.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, options.projectRoot, "package.json"));
892
+ const { dependencies, peerDependencies, devDependencies } = _chunk3GQAWCBQjs.__require.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, options.projectRoot, "package.json"));
880
893
  const dependenciesKeys = Object.keys(_nullishCoalesce(dependencies, () => ( {}))).flatMap((p) => [
881
894
  p,
882
895
  getTypeDependencyPackageName(p)
@@ -912,13 +925,13 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
912
925
  },
913
926
  dtsRollup: {
914
927
  enabled: true,
915
- untrimmedFilePath: _chunkEFR6PXP4js.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
928
+ untrimmedFilePath: _chunkGCCFZEDUjs.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
916
929
  },
917
930
  tsdocMetadata: {
918
931
  enabled: false
919
932
  }
920
933
  },
921
- packageJsonFullPath: _chunkEFR6PXP4js.joinPaths.call(void 0, options.projectRoot, "package.json"),
934
+ packageJsonFullPath: _chunkGCCFZEDUjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
922
935
  configObjectFullPath: void 0
923
936
  });
924
937
  const extractorResult = _apiextractor.Extractor.invoke(extractorConfig, {
@@ -926,7 +939,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
926
939
  localBuild: true
927
940
  });
928
941
  if (extractorResult.succeeded === false) {
929
- _chunkEFR6PXP4js.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
942
+ _chunkGCCFZEDUjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
930
943
  throw new Error("API Extractor completed with errors");
931
944
  }
932
945
  }
@@ -939,18 +952,18 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
939
952
  }
940
953
  build5.onStart(async () => {
941
954
  if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
942
- await _chunkEFR6PXP4js.run.call(void 0, resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
955
+ await _chunkGCCFZEDUjs.run.call(void 0, resolvedOptions.config, `pnpm exec tsc --project ${resolvedOptions.tsconfig}`, resolvedOptions.config.workspaceRoot);
943
956
  }
944
957
  if (resolvedOptions.bundle && resolvedOptions.entryPoints && resolvedOptions.entryPoints.length > 0 && resolvedOptions.entryPoints[0] && resolvedOptions.entryPoints[0].endsWith(".ts")) {
945
958
  const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
946
959
  const typeOutDir = resolvedOptions.outdir;
947
960
  const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
948
- const bundlePath = _chunkEFR6PXP4js.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
961
+ const bundlePath = _chunkGCCFZEDUjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
949
962
  let dtsPath;
950
- if (_fs.existsSync.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
951
- dtsPath = _chunkEFR6PXP4js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
952
- } else if (_fs.existsSync.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
953
- dtsPath = _chunkEFR6PXP4js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
963
+ if (_fs.existsSync.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
964
+ dtsPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
965
+ } else if (_fs.existsSync.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
966
+ dtsPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
954
967
  }
955
968
  const ext = resolvedOptions.outExtension.dts || resolvedOptions.format === "esm" ? "d.mts" : "d.ts";
956
969
  if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
@@ -967,7 +980,7 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
967
980
  function getTypeDependencyPackageName(npmPackage) {
968
981
  if (npmPackage.startsWith("@")) {
969
982
  const [scope, name] = npmPackage.split("/");
970
- return `@types/${_optionalChain([scope, 'optionalAccess', _21 => _21.slice, 'call', _22 => _22(1)])}__${name}`;
983
+ return `@types/${_optionalChain([scope, 'optionalAccess', _34 => _34.slice, 'call', _35 => _35(1)])}__${name}`;
971
984
  }
972
985
  return `@types/${npmPackage}`;
973
986
  }
@@ -1105,8 +1118,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
1105
1118
  const filteredMissingDeps = missingDependencies.filter((dep) => {
1106
1119
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
1107
1120
  });
1108
- _chunkEFR6PXP4js.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
1109
- _chunkEFR6PXP4js.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
1121
+ _chunkGCCFZEDUjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
1122
+ _chunkGCCFZEDUjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
1110
1123
  if (filteredMissingDeps.length > 0) {
1111
1124
  throw new Error(`Missing dependencies detected - please install them:
1112
1125
  ${JSON.stringify(filteredMissingDeps)}
@@ -1174,7 +1187,7 @@ function pipeSync(fn, ...fns) {
1174
1187
  return (...args) => {
1175
1188
  let result = fn(...args);
1176
1189
  for (let i = 0; result !== skip && i < fns.length; ++i) {
1177
- result = _optionalChain([fns, 'access', _23 => _23[i], 'optionalCall', _24 => _24(result)]);
1190
+ result = _optionalChain([fns, 'access', _36 => _36[i], 'optionalCall', _37 => _37(result)]);
1178
1191
  }
1179
1192
  return result;
1180
1193
  };
@@ -1184,7 +1197,7 @@ function pipeAsync(fn, ...fns) {
1184
1197
  return async (...args) => {
1185
1198
  let result = await fn(...args);
1186
1199
  for (let i = 0; result !== skip && i < fns.length; ++i) {
1187
- result = await _optionalChain([fns, 'access', _25 => _25[i], 'optionalCall', _26 => _26(result)]);
1200
+ result = await _optionalChain([fns, 'access', _38 => _38[i], 'optionalCall', _39 => _39(result)]);
1188
1201
  }
1189
1202
  return result;
1190
1203
  };
@@ -1200,13 +1213,13 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1200
1213
  if (!workspaceRoot3) {
1201
1214
  throw new Error("Cannot find Nx workspace root");
1202
1215
  }
1203
- const config = await _chunkEFR6PXP4js.getConfig.call(void 0, workspaceRoot3.dir);
1204
- _chunkEFR6PXP4js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1205
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, "Build options resolution");
1216
+ const config = await _chunkGCCFZEDUjs.getConfig.call(void 0, workspaceRoot3.dir);
1217
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1218
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, "Build options resolution");
1206
1219
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1207
1220
  exitOnError: true
1208
1221
  });
1209
- const projectJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1222
+ const projectJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1210
1223
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
1211
1224
  throw new Error("Cannot find project.json configuration");
1212
1225
  }
@@ -1214,13 +1227,13 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1214
1227
  const projectJson = JSON.parse(projectJsonFile);
1215
1228
  const projectName = projectJson.name;
1216
1229
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
1217
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _27 => _27.projects, 'optionalAccess', _28 => _28[projectName]])) {
1230
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _40 => _40.projects, 'optionalAccess', _41 => _41[projectName]])) {
1218
1231
  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.");
1219
1232
  }
1220
1233
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
1221
1234
  options.name ??= `${projectName}-${options.format}`;
1222
1235
  options.target ??= DEFAULT_TARGET;
1223
- const packageJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1236
+ const packageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1224
1237
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1225
1238
  throw new Error("Cannot find package.json configuration");
1226
1239
  }
@@ -1245,20 +1258,20 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1245
1258
  ".node"
1246
1259
  ],
1247
1260
  ...userOptions,
1248
- tsconfig: _chunkEFR6PXP4js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1261
+ tsconfig: _chunkGCCFZEDUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1249
1262
  format: options.format || "cjs",
1250
1263
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
1251
1264
  "./src/index.ts"
1252
1265
  ], userOptions.emitOnAll),
1253
- outdir: userOptions.outputPath || _chunkEFR6PXP4js.joinPaths.call(void 0, "dist", projectRoot),
1266
+ outdir: userOptions.outputPath || _chunkGCCFZEDUjs.joinPaths.call(void 0, "dist", projectRoot),
1254
1267
  plugins: [],
1255
1268
  name: userOptions.name || projectName,
1256
1269
  projectConfigurations,
1257
1270
  projectName,
1258
1271
  projectGraph,
1259
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkEFR6PXP4js.joinPaths.call(void 0, projectRoot, "src"),
1272
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkGCCFZEDUjs.joinPaths.call(void 0, projectRoot, "src"),
1260
1273
  minify: userOptions.minify || !userOptions.debug,
1261
- verbose: userOptions.verbose || _chunkEFR6PXP4js.isVerbose.call(void 0, ) || userOptions.debug === true,
1274
+ verbose: userOptions.verbose || _chunkGCCFZEDUjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1262
1275
  includeSrc: userOptions.includeSrc === true,
1263
1276
  metafile: userOptions.metafile !== false,
1264
1277
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1294,8 +1307,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1294
1307
  }, {})
1295
1308
  },
1296
1309
  inject: [
1297
- options.format === "cjs" && options.injectShims ? _chunkEFR6PXP4js.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1298
- options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkEFR6PXP4js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : "",
1310
+ options.format === "cjs" && options.injectShims ? _chunkGCCFZEDUjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1311
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkGCCFZEDUjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : "",
1299
1312
  ..._nullishCoalesce(options.inject, () => ( []))
1300
1313
  ].filter(Boolean)
1301
1314
  };
@@ -1304,14 +1317,14 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1304
1317
  return result;
1305
1318
  }, "resolveOptions");
1306
1319
  async function generatePackageJson(context2) {
1307
- if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1308
- _chunkEFR6PXP4js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1309
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, "Write package.json file");
1310
- const packageJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1320
+ if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1321
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1322
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, "Write package.json file");
1323
+ const packageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1311
1324
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1312
1325
  throw new Error("Cannot find package.json configuration");
1313
1326
  }
1314
- const packageJsonFile = await _promises2.default.readFile(_chunkEFR6PXP4js.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
1327
+ const packageJsonFile = await _promises2.default.readFile(_chunkGCCFZEDUjs.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
1315
1328
  let packageJson = JSON.parse(packageJsonFile);
1316
1329
  if (!packageJson) {
1317
1330
  throw new Error("Cannot find package.json configuration file");
@@ -1350,7 +1363,7 @@ async function generatePackageJson(context2) {
1350
1363
  }
1351
1364
  return ret;
1352
1365
  }, packageJson.exports);
1353
- await _devkit.writeJsonFile.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
1366
+ await _devkit.writeJsonFile.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
1354
1367
  stopwatch();
1355
1368
  }
1356
1369
  return context2;
@@ -1376,8 +1389,8 @@ async function generateContext(getOptions) {
1376
1389
  }
1377
1390
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
1378
1391
  async function executeEsBuild(context2) {
1379
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1380
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, `${context2.options.name} build`);
1392
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1393
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1381
1394
  if (process.env.WATCH === "true") {
1382
1395
  const ctx = await esbuild2.context(context2.options);
1383
1396
  watch(ctx, context2.options);
@@ -1392,9 +1405,9 @@ async function executeEsBuild(context2) {
1392
1405
  }
1393
1406
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1394
1407
  async function copyBuildAssets(context2) {
1395
- if (_optionalChain([context2, 'access', _29 => _29.result, 'optionalAccess', _30 => _30.errors, 'access', _31 => _31.length]) === 0) {
1396
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1397
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1408
+ if (_optionalChain([context2, 'access', _42 => _42.result, 'optionalAccess', _43 => _43.errors, 'access', _44 => _44.length]) === 0) {
1409
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1410
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1398
1411
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
1399
1412
  stopwatch();
1400
1413
  }
@@ -1402,11 +1415,11 @@ async function copyBuildAssets(context2) {
1402
1415
  }
1403
1416
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1404
1417
  async function reportResults(context2) {
1405
- if (_optionalChain([context2, 'access', _32 => _32.result, 'optionalAccess', _33 => _33.errors, 'access', _34 => _34.length]) === 0) {
1418
+ if (_optionalChain([context2, 'access', _45 => _45.result, 'optionalAccess', _46 => _46.errors, 'access', _47 => _47.length]) === 0) {
1406
1419
  if (context2.result.warnings.length > 0) {
1407
- _chunkEFR6PXP4js.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);
1420
+ _chunkGCCFZEDUjs.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);
1408
1421
  }
1409
- _chunkEFR6PXP4js.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1422
+ _chunkGCCFZEDUjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1410
1423
  }
1411
1424
  }
1412
1425
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -1442,8 +1455,8 @@ async function dependencyCheck(options) {
1442
1455
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
1443
1456
  async function cleanOutputPath(context2) {
1444
1457
  if (context2.options.clean !== false && context2.options.outdir) {
1445
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1446
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1458
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1459
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1447
1460
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
1448
1461
  stopwatch();
1449
1462
  }
@@ -1451,8 +1464,8 @@ async function cleanOutputPath(context2) {
1451
1464
  }
1452
1465
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
1453
1466
  async function build3(options) {
1454
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1455
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, "ESBuild pipeline");
1467
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1468
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, "ESBuild pipeline");
1456
1469
  try {
1457
1470
  const opts = Array.isArray(options) ? options : [
1458
1471
  options
@@ -1462,9 +1475,9 @@ async function build3(options) {
1462
1475
  }
1463
1476
  void transduce.async(opts, dependencyCheck);
1464
1477
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
1465
- _chunkEFR6PXP4js.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1478
+ _chunkGCCFZEDUjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1466
1479
  } catch (error) {
1467
- _chunkEFR6PXP4js.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1480
+ _chunkGCCFZEDUjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1468
1481
  throw error;
1469
1482
  } finally {
1470
1483
  stopwatch();
@@ -1492,9 +1505,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1492
1505
  return context2.rebuild();
1493
1506
  });
1494
1507
  if (rebuildResult instanceof Error) {
1495
- _chunkEFR6PXP4js.writeError.call(void 0, rebuildResult.message);
1508
+ _chunkGCCFZEDUjs.writeError.call(void 0, rebuildResult.message);
1496
1509
  }
1497
- _chunkEFR6PXP4js.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1510
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1498
1511
  }, 10);
1499
1512
  changeWatcher.on("change", fastRebuild);
1500
1513
  return void 0;
@@ -1502,15 +1515,15 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1502
1515
 
1503
1516
  // ../workspace-tools/src/executors/esbuild/executor.ts
1504
1517
  async function esbuildExecutorFn(options, context2, config) {
1505
- _chunkEFR6PXP4js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1506
- if (!_optionalChain([context2, 'access', _35 => _35.projectsConfigurations, 'optionalAccess', _36 => _36.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _37 => _37.projectsConfigurations, 'access', _38 => _38.projects, 'access', _39 => _39[context2.projectName], 'optionalAccess', _40 => _40.root])) {
1518
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1519
+ if (!_optionalChain([context2, 'access', _48 => _48.projectsConfigurations, 'optionalAccess', _49 => _49.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _50 => _50.projectsConfigurations, 'access', _51 => _51.projects, 'access', _52 => _52[context2.projectName], 'optionalAccess', _53 => _53.root])) {
1507
1520
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1508
1521
  }
1509
1522
  await build3({
1510
1523
  ...options,
1511
- projectRoot: _optionalChain([context2, 'access', _41 => _41.projectsConfigurations, 'access', _42 => _42.projects, 'optionalAccess', _43 => _43[context2.projectName], 'access', _44 => _44.root]),
1524
+ projectRoot: _optionalChain([context2, 'access', _54 => _54.projectsConfigurations, 'access', _55 => _55.projects, 'optionalAccess', _56 => _56[context2.projectName], 'access', _57 => _57.root]),
1512
1525
  projectName: context2.projectName,
1513
- sourceRoot: _optionalChain([context2, 'access', _45 => _45.projectsConfigurations, 'access', _46 => _46.projects, 'optionalAccess', _47 => _47[context2.projectName], 'optionalAccess', _48 => _48.sourceRoot]),
1526
+ sourceRoot: _optionalChain([context2, 'access', _58 => _58.projectsConfigurations, 'access', _59 => _59.projects, 'optionalAccess', _60 => _60[context2.projectName], 'optionalAccess', _61 => _61.sourceRoot]),
1514
1527
  format: options.format,
1515
1528
  platform: options.format
1516
1529
  });
@@ -1519,7 +1532,7 @@ async function esbuildExecutorFn(options, context2, config) {
1519
1532
  };
1520
1533
  }
1521
1534
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1522
- var executor_default6 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1535
+ var executor_default6 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1523
1536
  skipReadingConfig: false,
1524
1537
  hooks: {
1525
1538
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1553,25 +1566,25 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
1553
1566
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
1554
1567
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
1555
1568
  async function sizeLimitExecutorFn(options, context2, config) {
1556
- if (!_optionalChain([context2, 'optionalAccess', _49 => _49.projectName]) || !_optionalChain([context2, 'access', _50 => _50.projectsConfigurations, 'optionalAccess', _51 => _51.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1569
+ if (!_optionalChain([context2, 'optionalAccess', _62 => _62.projectName]) || !_optionalChain([context2, 'access', _63 => _63.projectsConfigurations, 'optionalAccess', _64 => _64.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1557
1570
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
1558
1571
  }
1559
- _chunkEFR6PXP4js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
1572
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
1560
1573
  _sizelimit2.default.call(void 0, [
1561
1574
  _file2.default,
1562
1575
  _esbuild3.default,
1563
1576
  _esbuildwhy2.default
1564
1577
  ], {
1565
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _52 => _52.projectsConfigurations, 'access', _53 => _53.projects, 'access', _54 => _54[context2.projectName], 'optionalAccess', _55 => _55.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _56 => _56.projectsConfigurations, 'access', _57 => _57.projects, 'access', _58 => _58[context2.projectName], 'optionalAccess', _59 => _59.root]), () => ( "./")), "src")))
1578
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _65 => _65.projectsConfigurations, 'access', _66 => _66.projects, 'access', _67 => _67[context2.projectName], 'optionalAccess', _68 => _68.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _69 => _69.projectsConfigurations, 'access', _70 => _70.projects, 'access', _71 => _71[context2.projectName], 'optionalAccess', _72 => _72.root]), () => ( "./")), "src")))
1566
1579
  }).then((result) => {
1567
- _chunkEFR6PXP4js.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1580
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1568
1581
  });
1569
1582
  return {
1570
1583
  success: true
1571
1584
  };
1572
1585
  }
1573
1586
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
1574
- var executor_default7 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
1587
+ var executor_default7 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
1575
1588
  skipReadingConfig: false,
1576
1589
  hooks: {
1577
1590
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1627,13 +1640,13 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1627
1640
  if (!workspaceRoot3) {
1628
1641
  throw new Error("Cannot find Nx workspace root");
1629
1642
  }
1630
- const config = await _chunkEFR6PXP4js.getConfig.call(void 0, workspaceRoot3.dir);
1631
- _chunkEFR6PXP4js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1632
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, "Build options resolution");
1643
+ const config = await _chunkGCCFZEDUjs.getConfig.call(void 0, workspaceRoot3.dir);
1644
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1645
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, "Build options resolution");
1633
1646
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1634
1647
  exitOnError: true
1635
1648
  });
1636
- const projectJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1649
+ const projectJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1637
1650
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
1638
1651
  throw new Error("Cannot find project.json configuration");
1639
1652
  }
@@ -1641,13 +1654,13 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1641
1654
  const projectJson = JSON.parse(projectJsonFile);
1642
1655
  const projectName = projectJson.name;
1643
1656
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
1644
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _60 => _60.projects, 'optionalAccess', _61 => _61[projectName]])) {
1657
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _73 => _73.projects, 'optionalAccess', _74 => _74[projectName]])) {
1645
1658
  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.");
1646
1659
  }
1647
1660
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS2);
1648
1661
  options.name ??= `${projectName}-${options.format}`;
1649
1662
  options.target ??= DEFAULT_TARGET;
1650
- const packageJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1663
+ const packageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1651
1664
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1652
1665
  throw new Error("Cannot find package.json configuration");
1653
1666
  }
@@ -1656,20 +1669,20 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1656
1669
  ...options,
1657
1670
  config,
1658
1671
  ...userOptions,
1659
- tsconfig: _chunkEFR6PXP4js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1672
+ tsconfig: _chunkGCCFZEDUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1660
1673
  format: options.format || "cjs",
1661
1674
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
1662
1675
  "./src/index.ts"
1663
1676
  ], userOptions.emitOnAll),
1664
- outdir: userOptions.outputPath || _chunkEFR6PXP4js.joinPaths.call(void 0, "dist", projectRoot),
1677
+ outdir: userOptions.outputPath || _chunkGCCFZEDUjs.joinPaths.call(void 0, "dist", projectRoot),
1665
1678
  plugins: [],
1666
1679
  name: userOptions.name || projectName,
1667
1680
  projectConfigurations,
1668
1681
  projectName,
1669
1682
  projectGraph,
1670
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkEFR6PXP4js.joinPaths.call(void 0, projectRoot, "src"),
1683
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkGCCFZEDUjs.joinPaths.call(void 0, projectRoot, "src"),
1671
1684
  minify: userOptions.minify || !userOptions.debug,
1672
- verbose: userOptions.verbose || _chunkEFR6PXP4js.isVerbose.call(void 0, ) || userOptions.debug === true,
1685
+ verbose: userOptions.verbose || _chunkGCCFZEDUjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1673
1686
  includeSrc: userOptions.includeSrc === true,
1674
1687
  metafile: userOptions.metafile !== false,
1675
1688
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1703,14 +1716,14 @@ var resolveOptions2 = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1703
1716
  return result;
1704
1717
  }, "resolveOptions");
1705
1718
  async function generatePackageJson2(options) {
1706
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1707
- _chunkEFR6PXP4js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1708
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, "Write package.json file");
1709
- const packageJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, options.projectRoot, "project.json");
1719
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1720
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1721
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, "Write package.json file");
1722
+ const packageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1710
1723
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1711
1724
  throw new Error("Cannot find package.json configuration");
1712
1725
  }
1713
- const packageJsonFile = await _promises2.default.readFile(_chunkEFR6PXP4js.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1726
+ const packageJsonFile = await _promises2.default.readFile(_chunkGCCFZEDUjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"), "utf8");
1714
1727
  if (!packageJsonFile) {
1715
1728
  throw new Error("Cannot find package.json configuration file");
1716
1729
  }
@@ -1749,15 +1762,15 @@ async function generatePackageJson2(options) {
1749
1762
  }
1750
1763
  return ret;
1751
1764
  }, packageJson.exports);
1752
- await _devkit.writeJsonFile.call(void 0, _chunkEFR6PXP4js.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1765
+ await _devkit.writeJsonFile.call(void 0, _chunkGCCFZEDUjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1753
1766
  stopwatch();
1754
1767
  }
1755
1768
  return options;
1756
1769
  }
1757
1770
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson2, "generatePackageJson");
1758
1771
  async function executeTSDown(options) {
1759
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1760
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, `${options.name} build`);
1772
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1773
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, `${options.name} build`);
1761
1774
  await _tsdown.build.call(void 0, {
1762
1775
  ...options,
1763
1776
  entry: options.entryPoints,
@@ -1769,21 +1782,21 @@ async function executeTSDown(options) {
1769
1782
  }
1770
1783
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
1771
1784
  async function copyBuildAssets2(options) {
1772
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
1773
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, `${options.name} asset copy`);
1785
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
1786
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1774
1787
  await copyAssets(options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
1775
1788
  stopwatch();
1776
1789
  return options;
1777
1790
  }
1778
1791
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets2, "copyBuildAssets");
1779
1792
  async function reportResults2(options) {
1780
- _chunkEFR6PXP4js.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
1793
+ _chunkGCCFZEDUjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
1781
1794
  }
1782
1795
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults2, "reportResults");
1783
1796
  async function cleanOutputPath2(options) {
1784
1797
  if (options.clean !== false && options.outdir) {
1785
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
1786
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, `${options.name} output clean`);
1798
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${options.name} output path: ${options.outdir}`, options.config);
1799
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, `${options.name} output clean`);
1787
1800
  await cleanDirectories2(options.name, options.outdir, options.config);
1788
1801
  stopwatch();
1789
1802
  }
@@ -1791,8 +1804,8 @@ async function cleanOutputPath2(options) {
1791
1804
  }
1792
1805
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath2, "cleanOutputPath");
1793
1806
  async function build4(options) {
1794
- _chunkEFR6PXP4js.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1795
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, "TSDown pipeline");
1807
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1808
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, "TSDown pipeline");
1796
1809
  try {
1797
1810
  const opts = Array.isArray(options) ? options : [
1798
1811
  options
@@ -1810,11 +1823,11 @@ async function build4(options) {
1810
1823
  await reportResults2(opt);
1811
1824
  }));
1812
1825
  } else {
1813
- _chunkEFR6PXP4js.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
1826
+ _chunkGCCFZEDUjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
1814
1827
  }
1815
- _chunkEFR6PXP4js.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1828
+ _chunkGCCFZEDUjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1816
1829
  } catch (error) {
1817
- _chunkEFR6PXP4js.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1830
+ _chunkGCCFZEDUjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1818
1831
  throw error;
1819
1832
  } finally {
1820
1833
  stopwatch();
@@ -1824,15 +1837,15 @@ _chunk3GQAWCBQjs.__name.call(void 0, build4, "build");
1824
1837
 
1825
1838
  // ../workspace-tools/src/executors/tsdown/executor.ts
1826
1839
  async function tsdownExecutorFn(options, context2, config) {
1827
- _chunkEFR6PXP4js.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
1828
- if (!_optionalChain([context2, 'access', _62 => _62.projectsConfigurations, 'optionalAccess', _63 => _63.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _64 => _64.projectsConfigurations, 'access', _65 => _65.projects, 'access', _66 => _66[context2.projectName], 'optionalAccess', _67 => _67.root])) {
1840
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
1841
+ if (!_optionalChain([context2, 'access', _75 => _75.projectsConfigurations, 'optionalAccess', _76 => _76.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _77 => _77.projectsConfigurations, 'access', _78 => _78.projects, 'access', _79 => _79[context2.projectName], 'optionalAccess', _80 => _80.root])) {
1829
1842
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1830
1843
  }
1831
1844
  await build4({
1832
1845
  ...options,
1833
- projectRoot: _optionalChain([context2, 'access', _68 => _68.projectsConfigurations, 'access', _69 => _69.projects, 'optionalAccess', _70 => _70[context2.projectName], 'access', _71 => _71.root]),
1846
+ projectRoot: _optionalChain([context2, 'access', _81 => _81.projectsConfigurations, 'access', _82 => _82.projects, 'optionalAccess', _83 => _83[context2.projectName], 'access', _84 => _84.root]),
1834
1847
  projectName: context2.projectName,
1835
- sourceRoot: _optionalChain([context2, 'access', _72 => _72.projectsConfigurations, 'access', _73 => _73.projects, 'optionalAccess', _74 => _74[context2.projectName], 'optionalAccess', _75 => _75.sourceRoot]),
1848
+ sourceRoot: _optionalChain([context2, 'access', _85 => _85.projectsConfigurations, 'access', _86 => _86.projects, 'optionalAccess', _87 => _87[context2.projectName], 'optionalAccess', _88 => _88.sourceRoot]),
1836
1849
  format: options.format,
1837
1850
  platform: options.platform
1838
1851
  });
@@ -1841,7 +1854,7 @@ async function tsdownExecutorFn(options, context2, config) {
1841
1854
  };
1842
1855
  }
1843
1856
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
1844
- var executor_default8 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
1857
+ var executor_default8 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
1845
1858
  skipReadingConfig: false,
1846
1859
  hooks: {
1847
1860
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1860,11 +1873,11 @@ var _fsextra = require('fs-extra');
1860
1873
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1861
1874
  async function typiaExecutorFn(options, _, config) {
1862
1875
  if (options.clean !== false) {
1863
- _chunkEFR6PXP4js.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1876
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1864
1877
  _fsextra.removeSync.call(void 0, options.outputPath);
1865
1878
  }
1866
1879
  await Promise.all(options.entry.map((entry) => {
1867
- _chunkEFR6PXP4js.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1880
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1868
1881
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1869
1882
  input: entry,
1870
1883
  output: options.outputPath,
@@ -1876,7 +1889,7 @@ async function typiaExecutorFn(options, _, config) {
1876
1889
  };
1877
1890
  }
1878
1891
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
1879
- var executor_default9 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
1892
+ var executor_default9 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
1880
1893
  skipReadingConfig: false,
1881
1894
  hooks: {
1882
1895
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1895,8 +1908,8 @@ var executor_default9 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "Typia run
1895
1908
 
1896
1909
  var _jiti = require('jiti');
1897
1910
  async function unbuildExecutorFn(options, context2, config) {
1898
- _chunkEFR6PXP4js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1899
- if (!_optionalChain([context2, 'access', _76 => _76.projectsConfigurations, 'optionalAccess', _77 => _77.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1911
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1912
+ if (!_optionalChain([context2, 'access', _89 => _89.projectsConfigurations, 'optionalAccess', _90 => _90.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1900
1913
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
1901
1914
  }
1902
1915
  if (!context2.projectsConfigurations.projects[context2.projectName].root) {
@@ -1906,7 +1919,7 @@ async function unbuildExecutorFn(options, context2, config) {
1906
1919
  throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
1907
1920
  }
1908
1921
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1909
- fsCache: config.skipCache ? false : _chunkEFR6PXP4js.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti"),
1922
+ fsCache: config.skipCache ? false : _chunkGCCFZEDUjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti"),
1910
1923
  interopDefault: true
1911
1924
  });
1912
1925
  const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
@@ -1919,7 +1932,7 @@ async function unbuildExecutorFn(options, context2, config) {
1919
1932
  }, {
1920
1933
  stubOptions: {
1921
1934
  jiti: {
1922
- fsCache: config.skipCache ? false : _chunkEFR6PXP4js.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti")
1935
+ fsCache: config.skipCache ? false : _chunkGCCFZEDUjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti")
1923
1936
  }
1924
1937
  },
1925
1938
  rollup: {
@@ -1943,7 +1956,7 @@ async function unbuildExecutorFn(options, context2, config) {
1943
1956
  };
1944
1957
  }
1945
1958
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
1946
- var executor_default10 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
1959
+ var executor_default10 = _chunkGCCFZEDUjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
1947
1960
  skipReadingConfig: false,
1948
1961
  hooks: {
1949
1962
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -1966,58 +1979,58 @@ var executor_default10 = _chunkEFR6PXP4js.withRunExecutor.call(void 0, "TypeScri
1966
1979
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
1967
1980
  skipReadingConfig: false
1968
1981
  }) => async (tree, _options) => {
1969
- const stopwatch = _chunkEFR6PXP4js.getStopwatch.call(void 0, name);
1982
+ const stopwatch = _chunkGCCFZEDUjs.getStopwatch.call(void 0, name);
1970
1983
  let options = _options;
1971
1984
  let config;
1972
1985
  try {
1973
- _chunkEFR6PXP4js.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1986
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1974
1987
 
1975
1988
  `, config);
1976
- const workspaceRoot3 = _chunkEFR6PXP4js.findWorkspaceRoot.call(void 0, );
1989
+ const workspaceRoot3 = _chunkGCCFZEDUjs.findWorkspaceRoot.call(void 0, );
1977
1990
  if (!generatorOptions.skipReadingConfig) {
1978
- _chunkEFR6PXP4js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
1991
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
1979
1992
  - workspaceRoot: ${workspaceRoot3}`, config);
1980
- config = await _chunkEFR6PXP4js.getConfig.call(void 0, workspaceRoot3);
1993
+ config = await _chunkGCCFZEDUjs.getConfig.call(void 0, workspaceRoot3);
1981
1994
  }
1982
- if (_optionalChain([generatorOptions, 'optionalAccess', _78 => _78.hooks, 'optionalAccess', _79 => _79.applyDefaultOptions])) {
1983
- _chunkEFR6PXP4js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1995
+ if (_optionalChain([generatorOptions, 'optionalAccess', _91 => _91.hooks, 'optionalAccess', _92 => _92.applyDefaultOptions])) {
1996
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1984
1997
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
1985
- _chunkEFR6PXP4js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1998
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1986
1999
  }
1987
- _chunkEFR6PXP4js.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
2000
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
1988
2001
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
1989
- const tokenized = await _chunkEFR6PXP4js.applyWorkspaceTokens.call(void 0, options, {
2002
+ const tokenized = await _chunkGCCFZEDUjs.applyWorkspaceTokens.call(void 0, options, {
1990
2003
  workspaceRoot: tree.root,
1991
2004
  config
1992
- }, _chunkEFR6PXP4js.applyWorkspaceBaseTokens);
1993
- if (_optionalChain([generatorOptions, 'optionalAccess', _80 => _80.hooks, 'optionalAccess', _81 => _81.preProcess])) {
1994
- _chunkEFR6PXP4js.writeDebug.call(void 0, "Running the preProcess hook...", config);
2005
+ }, _chunkGCCFZEDUjs.applyWorkspaceBaseTokens);
2006
+ if (_optionalChain([generatorOptions, 'optionalAccess', _93 => _93.hooks, 'optionalAccess', _94 => _94.preProcess])) {
2007
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1995
2008
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
1996
- _chunkEFR6PXP4js.writeDebug.call(void 0, "Completed the preProcess hook", config);
2009
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1997
2010
  }
1998
2011
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
1999
2012
  if (result) {
2000
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _82 => _82.error, 'optionalAccess', _83 => _83.message]) && typeof _optionalChain([result, 'optionalAccess', _84 => _84.error, 'optionalAccess', _85 => _85.message]) === "string" && _optionalChain([result, 'optionalAccess', _86 => _86.error, 'optionalAccess', _87 => _87.name]) && typeof _optionalChain([result, 'optionalAccess', _88 => _88.error, 'optionalAccess', _89 => _89.name]) === "string") {
2013
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _95 => _95.error, 'optionalAccess', _96 => _96.message]) && typeof _optionalChain([result, 'optionalAccess', _97 => _97.error, 'optionalAccess', _98 => _98.message]) === "string" && _optionalChain([result, 'optionalAccess', _99 => _99.error, 'optionalAccess', _100 => _100.name]) && typeof _optionalChain([result, 'optionalAccess', _101 => _101.error, 'optionalAccess', _102 => _102.name]) === "string") {
2001
2014
  throw new Error(`The ${name} generator failed to run`, {
2002
- cause: _optionalChain([result, 'optionalAccess', _90 => _90.error])
2015
+ cause: _optionalChain([result, 'optionalAccess', _103 => _103.error])
2003
2016
  });
2004
2017
  } else if (result.success && result.data) {
2005
2018
  return result;
2006
2019
  }
2007
2020
  }
2008
- if (_optionalChain([generatorOptions, 'optionalAccess', _91 => _91.hooks, 'optionalAccess', _92 => _92.postProcess])) {
2009
- _chunkEFR6PXP4js.writeDebug.call(void 0, "Running the postProcess hook...", config);
2021
+ if (_optionalChain([generatorOptions, 'optionalAccess', _104 => _104.hooks, 'optionalAccess', _105 => _105.postProcess])) {
2022
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
2010
2023
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
2011
- _chunkEFR6PXP4js.writeDebug.call(void 0, "Completed the postProcess hook", config);
2024
+ _chunkGCCFZEDUjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
2012
2025
  }
2013
2026
  return () => {
2014
- _chunkEFR6PXP4js.writeSuccess.call(void 0, `Completed running the ${name} generator!
2027
+ _chunkGCCFZEDUjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
2015
2028
  `, config);
2016
2029
  };
2017
2030
  } catch (error) {
2018
2031
  return () => {
2019
- _chunkEFR6PXP4js.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
2020
- _chunkEFR6PXP4js.writeError.call(void 0, `An exception was thrown in the generator's process
2032
+ _chunkGCCFZEDUjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
2033
+ _chunkGCCFZEDUjs.writeError.call(void 0, `An exception was thrown in the generator's process
2021
2034
  - Details: ${error.message}
2022
2035
  - Stacktrace: ${error.stack}`, config);
2023
2036
  };
@@ -2119,7 +2132,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2119
2132
  const projectConfig = {
2120
2133
  root: normalized.directory,
2121
2134
  projectType: "library",
2122
- sourceRoot: _chunkEFR6PXP4js.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
2135
+ sourceRoot: _chunkGCCFZEDUjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
2123
2136
  targets: {
2124
2137
  build: {
2125
2138
  executor: options.buildExecutor,
@@ -2128,11 +2141,11 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2128
2141
  ],
2129
2142
  options: {
2130
2143
  entry: [
2131
- _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
2144
+ _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
2132
2145
  ],
2133
2146
  outputPath: getOutputPath(normalized),
2134
- tsconfig: _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
2135
- project: _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
2147
+ tsconfig: _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
2148
+ project: _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
2136
2149
  defaultConfiguration: "production",
2137
2150
  platform: "neutral",
2138
2151
  assets: [
@@ -2171,22 +2184,22 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2171
2184
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
2172
2185
  let repository = {
2173
2186
  type: "github",
2174
- url: _optionalChain([config, 'optionalAccess', _93 => _93.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _94 => _94.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _95 => _95.namespace]) || _optionalChain([config, 'optionalAccess', _96 => _96.name]) || "repository"}.git`
2187
+ url: _optionalChain([config, 'optionalAccess', _106 => _106.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _107 => _107.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _108 => _108.namespace]) || _optionalChain([config, 'optionalAccess', _109 => _109.name]) || "repository"}.git`
2175
2188
  };
2176
2189
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2177
2190
  if (tree.exists("package.json")) {
2178
2191
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2179
- if (_optionalChain([packageJson, 'optionalAccess', _97 => _97.repository])) {
2192
+ if (_optionalChain([packageJson, 'optionalAccess', _110 => _110.repository])) {
2180
2193
  repository = packageJson.repository;
2181
2194
  }
2182
- if (_optionalChain([packageJson, 'optionalAccess', _98 => _98.description])) {
2195
+ if (_optionalChain([packageJson, 'optionalAccess', _111 => _111.description])) {
2183
2196
  description = packageJson.description;
2184
2197
  }
2185
2198
  }
2186
2199
  if (!normalized.importPath) {
2187
2200
  normalized.importPath = normalized.name;
2188
2201
  }
2189
- const packageJsonPath = _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2202
+ const packageJsonPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2190
2203
  if (tree.exists(packageJsonPath)) {
2191
2204
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2192
2205
  if (!normalized.importPath) {
@@ -2234,30 +2247,30 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2234
2247
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
2235
2248
  ...json,
2236
2249
  pnpm: {
2237
- ..._optionalChain([json, 'optionalAccess', _99 => _99.pnpm]),
2250
+ ..._optionalChain([json, 'optionalAccess', _112 => _112.pnpm]),
2238
2251
  overrides: {
2239
- ..._optionalChain([json, 'optionalAccess', _100 => _100.pnpm, 'optionalAccess', _101 => _101.overrides]),
2252
+ ..._optionalChain([json, 'optionalAccess', _113 => _113.pnpm, 'optionalAccess', _114 => _114.overrides]),
2240
2253
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
2241
2254
  }
2242
2255
  }
2243
2256
  }));
2244
2257
  }
2245
2258
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
2246
- _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
2259
+ _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
2247
2260
  ]);
2248
- _js.addTsConfigPath.call(void 0, tree, _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.importPath, "/*"), [
2249
- _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2261
+ _js.addTsConfigPath.call(void 0, tree, _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2262
+ _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2250
2263
  ]);
2251
2264
  if (tree.exists("package.json")) {
2252
2265
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2253
- if (_optionalChain([packageJson, 'optionalAccess', _102 => _102.repository])) {
2266
+ if (_optionalChain([packageJson, 'optionalAccess', _115 => _115.repository])) {
2254
2267
  repository = packageJson.repository;
2255
2268
  }
2256
- if (_optionalChain([packageJson, 'optionalAccess', _103 => _103.description])) {
2269
+ if (_optionalChain([packageJson, 'optionalAccess', _116 => _116.description])) {
2257
2270
  description = packageJson.description;
2258
2271
  }
2259
2272
  }
2260
- const tsconfigPath = _chunkEFR6PXP4js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2273
+ const tsconfigPath = _chunkGCCFZEDUjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2261
2274
  if (tree.exists(tsconfigPath)) {
2262
2275
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2263
2276
  json.composite ??= true;
@@ -2295,42 +2308,42 @@ function getOutputPath(options) {
2295
2308
  } else {
2296
2309
  parts.push(options.projectRoot);
2297
2310
  }
2298
- return _chunkEFR6PXP4js.joinPaths.call(void 0, ...parts);
2311
+ return _chunkGCCFZEDUjs.joinPaths.call(void 0, ...parts);
2299
2312
  }
2300
2313
  _chunk3GQAWCBQjs.__name.call(void 0, getOutputPath, "getOutputPath");
2301
2314
  function createProjectTsConfigJson(tree, options) {
2302
2315
  const tsconfig = {
2303
2316
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
2304
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _104 => _104.tsconfigOptions]), () => ( {})),
2317
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _117 => _117.tsconfigOptions]), () => ( {})),
2305
2318
  compilerOptions: {
2306
2319
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2307
- outDir: _chunkEFR6PXP4js.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2320
+ outDir: _chunkGCCFZEDUjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2308
2321
  noEmit: true,
2309
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _105 => _105.tsconfigOptions, 'optionalAccess', _106 => _106.compilerOptions]), () => ( {}))
2322
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _118 => _118.tsconfigOptions, 'optionalAccess', _119 => _119.compilerOptions]), () => ( {}))
2310
2323
  },
2311
2324
  files: [
2312
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _107 => _107.tsconfigOptions, 'optionalAccess', _108 => _108.files]), () => ( []))
2325
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _120 => _120.tsconfigOptions, 'optionalAccess', _121 => _121.files]), () => ( []))
2313
2326
  ],
2314
2327
  include: [
2315
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _109 => _109.tsconfigOptions, 'optionalAccess', _110 => _110.include]), () => ( [])),
2328
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _122 => _122.tsconfigOptions, 'optionalAccess', _123 => _123.include]), () => ( [])),
2316
2329
  "src/**/*.ts",
2317
2330
  "src/**/*.js",
2318
2331
  "bin/**/*"
2319
2332
  ],
2320
2333
  exclude: [
2321
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _111 => _111.tsconfigOptions, 'optionalAccess', _112 => _112.exclude]), () => ( [])),
2334
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _124 => _124.tsconfigOptions, 'optionalAccess', _125 => _125.exclude]), () => ( [])),
2322
2335
  "jest.config.ts",
2323
2336
  "src/**/*.spec.ts",
2324
2337
  "src/**/*.test.ts"
2325
2338
  ]
2326
2339
  };
2327
- _devkit.writeJson.call(void 0, tree, _chunkEFR6PXP4js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2340
+ _devkit.writeJson.call(void 0, tree, _chunkGCCFZEDUjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2328
2341
  }
2329
2342
  _chunk3GQAWCBQjs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
2330
2343
  async function normalizeOptions(tree, options, config) {
2331
2344
  let importPath = options.importPath;
2332
- if (!importPath && _optionalChain([config, 'optionalAccess', _113 => _113.namespace])) {
2333
- importPath = `@${_optionalChain([config, 'optionalAccess', _114 => _114.namespace])}/${options.name}`;
2345
+ if (!importPath && _optionalChain([config, 'optionalAccess', _126 => _126.namespace])) {
2346
+ importPath = `@${_optionalChain([config, 'optionalAccess', _127 => _127.namespace])}/${options.name}`;
2334
2347
  }
2335
2348
  if (options.publishable) {
2336
2349
  if (!importPath) {
@@ -2376,14 +2389,15 @@ async function normalizeOptions(tree, options, config) {
2376
2389
  projectRoot,
2377
2390
  parsedTags: options.tags ? options.tags.split(",").map((s) => s.trim()) : [],
2378
2391
  importPath: normalizedImportPath,
2379
- rootProject
2392
+ rootProject,
2393
+ shouldUseSwcJest: false
2380
2394
  };
2381
2395
  }
2382
2396
  _chunk3GQAWCBQjs.__name.call(void 0, normalizeOptions, "normalizeOptions");
2383
2397
 
2384
2398
  // ../workspace-tools/src/generators/browser-library/generator.ts
2385
2399
  async function browserLibraryGeneratorFn(tree, schema, config) {
2386
- const filesDir = _chunkEFR6PXP4js.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
2400
+ const filesDir = _chunkGCCFZEDUjs.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
2387
2401
  const tsLibraryGeneratorOptions = {
2388
2402
  buildExecutor: "@storm-software/workspace-tools:unbuild",
2389
2403
  platform: "browser",
@@ -2455,19 +2469,19 @@ var generator_default = withRunGenerator("TypeScript Library Creator (Browser Pl
2455
2469
 
2456
2470
  var _zodtojsonschema = require('zod-to-json-schema');
2457
2471
  async function configSchemaGeneratorFn(tree, options, config) {
2458
- _chunkEFR6PXP4js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
2459
- _chunkEFR6PXP4js.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
2460
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkEFR6PXP4js.StormConfigSchema, {
2472
+ _chunkGCCFZEDUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
2473
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
2474
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkGCCFZEDUjs.StormConfigSchema, {
2461
2475
  name: "StormWorkspaceConfiguration"
2462
2476
  });
2463
- _chunkEFR6PXP4js.writeTrace.call(void 0, jsonSchema, config);
2464
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _115 => _115.workspaceRoot]), () => ( _chunkEFR6PXP4js.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _116 => _116.outputFile, 'optionalAccess', _117 => _117.startsWith, 'call', _118 => _118("./")]) ? "" : "./");
2465
- _chunkEFR6PXP4js.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2477
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, jsonSchema, config);
2478
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _128 => _128.workspaceRoot]), () => ( _chunkGCCFZEDUjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _129 => _129.outputFile, 'optionalAccess', _130 => _130.startsWith, 'call', _131 => _131("./")]) ? "" : "./");
2479
+ _chunkGCCFZEDUjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2466
2480
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
2467
2481
  spaces: 2
2468
2482
  });
2469
2483
  await _devkit.formatFiles.call(void 0, tree);
2470
- _chunkEFR6PXP4js.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
2484
+ _chunkGCCFZEDUjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
2471
2485
  return {
2472
2486
  success: true
2473
2487
  };
@@ -2506,7 +2520,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, initGenerator, "initGenerator");
2506
2520
  // ../workspace-tools/src/generators/neutral-library/generator.ts
2507
2521
 
2508
2522
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2509
- const filesDir = _chunkEFR6PXP4js.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
2523
+ const filesDir = _chunkGCCFZEDUjs.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
2510
2524
  const tsLibraryGeneratorOptions = {
2511
2525
  ...schema,
2512
2526
  platform: "neutral",
@@ -2549,7 +2563,7 @@ var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral P
2549
2563
  // ../workspace-tools/src/generators/node-library/generator.ts
2550
2564
 
2551
2565
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2552
- const filesDir = _chunkEFR6PXP4js.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
2566
+ const filesDir = _chunkGCCFZEDUjs.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
2553
2567
  const tsLibraryGeneratorOptions = {
2554
2568
  platform: "node",
2555
2569
  devDependencies: {