@storm-software/terraform-tools 0.66.194 → 0.66.196

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 (39) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{chunk-SGKW62J5.mjs → chunk-5KWWO2Z4.mjs} +1 -1
  3. package/dist/{chunk-GVEGIPUX.js → chunk-6BVKOZVA.js} +2 -2
  4. package/dist/{chunk-2OMK5XBV.mjs → chunk-A4XF25QY.mjs} +1 -1
  5. package/dist/{chunk-AIMJGFAQ.js → chunk-APZDXDN3.js} +2 -2
  6. package/dist/{chunk-63QCHNBN.mjs → chunk-C3NYIWL4.mjs} +1 -1
  7. package/dist/{chunk-OF5PG3VF.mjs → chunk-G5NMT3NX.mjs} +1 -1
  8. package/dist/{chunk-XYKCMGVY.js → chunk-OOEFIPWE.js} +159 -159
  9. package/dist/{chunk-35XAQCIG.js → chunk-QQSWY4GZ.js} +2 -2
  10. package/dist/{chunk-EJQKUB75.mjs → chunk-QSUEPY6I.mjs} +1 -1
  11. package/dist/{chunk-D34LI533.js → chunk-SZ73PEPJ.js} +2 -2
  12. package/dist/{chunk-NVE2K255.mjs → chunk-TG5CR3HD.mjs} +2 -2
  13. package/dist/{chunk-5WQESBUL.mjs → chunk-UF4IPW4W.mjs} +9 -3
  14. package/dist/{chunk-Y7F2EGB3.mjs → chunk-V6OBPGGO.mjs} +1 -1
  15. package/dist/{chunk-P7CN5KBJ.js → chunk-WUODZVIZ.js} +2 -2
  16. package/dist/{chunk-SXYKEVA5.js → chunk-Z6FDQK7Q.js} +9 -3
  17. package/dist/executors.js +6 -6
  18. package/dist/executors.mjs +7 -7
  19. package/dist/generators.js +3 -3
  20. package/dist/generators.mjs +3 -3
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +8 -8
  23. package/dist/src/base/base-terraform-executor.untyped.mjs +1 -1
  24. package/dist/src/base/index.js +3 -3
  25. package/dist/src/base/index.mjs +3 -3
  26. package/dist/src/base/terraform-executor.js +3 -3
  27. package/dist/src/base/terraform-executor.mjs +3 -3
  28. package/dist/src/executors/apply/executor.js +4 -4
  29. package/dist/src/executors/apply/executor.mjs +4 -4
  30. package/dist/src/executors/destroy/executor.js +4 -4
  31. package/dist/src/executors/destroy/executor.mjs +4 -4
  32. package/dist/src/executors/output/executor.js +4 -4
  33. package/dist/src/executors/output/executor.mjs +4 -4
  34. package/dist/src/executors/plan/executor.js +4 -4
  35. package/dist/src/executors/plan/executor.mjs +4 -4
  36. package/dist/src/generators/init/init.js +3 -3
  37. package/dist/src/generators/init/init.mjs +3 -3
  38. package/dist/tsup.config.mjs +1 -1
  39. package/package.json +6 -6
@@ -21,7 +21,7 @@
21
21
 
22
22
 
23
23
 
24
- var _chunkSXYKEVA5js = require('./chunk-SXYKEVA5.js');
24
+ var _chunkZ6FDQK7Qjs = require('./chunk-Z6FDQK7Q.js');
25
25
 
26
26
  // src/generators/init/init.ts
27
27
  var _devkit = require('@nx/devkit');
@@ -150,7 +150,7 @@ async function cargoBuildExecutor(options, context) {
150
150
  const command = buildCargoCommand("build", options, context);
151
151
  return await cargoCommand(context.root, ...command);
152
152
  }
153
- var executor_default = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
153
+ var executor_default = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
154
154
  "Cargo - Build",
155
155
  cargoBuildExecutor,
156
156
  {
@@ -170,7 +170,7 @@ async function cargoCheckExecutor(options, context) {
170
170
  const command = buildCargoCommand("check", options, context);
171
171
  return await cargoCommand(context.root, ...command);
172
172
  }
173
- var executor_default2 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
173
+ var executor_default2 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
174
174
  "Cargo - Check",
175
175
  cargoCheckExecutor,
176
176
  {
@@ -189,7 +189,7 @@ async function cargoClippyExecutor(options, context) {
189
189
  const command = buildCargoCommand("clippy", options, context);
190
190
  return await cargoCommand(context.root, ...command);
191
191
  }
192
- var executor_default3 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
192
+ var executor_default3 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
193
193
  "Cargo - Clippy",
194
194
  cargoClippyExecutor,
195
195
  {
@@ -212,7 +212,7 @@ async function cargoDocExecutor(options, context) {
212
212
  const command = buildCargoCommand("doc", options, context);
213
213
  return await cargoCommand(context.root, ...command);
214
214
  }
215
- var executor_default4 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
215
+ var executor_default4 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
216
216
  "Cargo - Doc",
217
217
  cargoDocExecutor,
218
218
  {
@@ -238,7 +238,7 @@ async function cargoFormatExecutor(options, context) {
238
238
  const command = buildCargoCommand("fmt", options, context);
239
239
  return await cargoCommand(context.root, ...command);
240
240
  }
241
- var executor_default5 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
241
+ var executor_default5 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
242
242
  "Cargo - Format",
243
243
  cargoFormatExecutor,
244
244
  {
@@ -318,9 +318,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
318
318
  output: "src/"
319
319
  });
320
320
  }
321
- _chunkSXYKEVA5js.writeTrace.call(void 0,
321
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0,
322
322
  `\u{1F4DD} Copying the following assets to the output directory:
323
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkSXYKEVA5js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
323
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkZ6FDQK7Qjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
324
324
  config
325
325
  );
326
326
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -330,20 +330,20 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
330
330
  assets: pendingAssets
331
331
  });
332
332
  await assetHandler.processAllAssetsOnce();
333
- _chunkSXYKEVA5js.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
333
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
334
334
  if (includeSrc === true) {
335
- _chunkSXYKEVA5js.writeDebug.call(void 0,
336
- `\u{1F4DD} Adding banner and writing source files: ${_chunkSXYKEVA5js.joinPaths.call(void 0,
335
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
336
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkZ6FDQK7Qjs.joinPaths.call(void 0,
337
337
  outputPath,
338
338
  "src"
339
339
  )}`,
340
340
  config
341
341
  );
342
342
  const files = await _glob.glob.call(void 0, [
343
- _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
344
- _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
345
- _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
346
- _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
343
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
344
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
345
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
346
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
347
347
  ]);
348
348
  await Promise.allSettled(
349
349
  files.map(
@@ -398,7 +398,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
398
398
  )) {
399
399
  const projectNode = project.node;
400
400
  if (projectNode.data.root) {
401
- const projectPackageJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0,
401
+ const projectPackageJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
402
402
  workspaceRoot2,
403
403
  projectNode.data.root,
404
404
  "package.json"
@@ -416,11 +416,11 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
416
416
  }
417
417
  }
418
418
  if (localPackages.length > 0) {
419
- _chunkSXYKEVA5js.writeTrace.call(void 0,
419
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0,
420
420
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
421
421
  );
422
422
  const projectJsonFile = await _promises.readFile.call(void 0,
423
- _chunkSXYKEVA5js.joinPaths.call(void 0, projectRoot, "project.json"),
423
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, projectRoot, "project.json"),
424
424
  "utf8"
425
425
  );
426
426
  const projectJson = JSON.parse(projectJsonFile);
@@ -433,7 +433,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
433
433
  }
434
434
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _13 => _13.projects, 'optionalAccess', _14 => _14[projectName2], 'access', _15 => _15.implicitDependencies, 'optionalAccess', _16 => _16.reduce, 'call', _17 => _17((ret, dep) => {
435
435
  if (_optionalChain([projectConfigurations, 'access', _18 => _18.projects, 'optionalAccess', _19 => _19[dep]])) {
436
- const depPackageJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0,
436
+ const depPackageJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
437
437
  workspaceRoot2,
438
438
  projectConfigurations.projects[dep].root,
439
439
  "package.json"
@@ -464,14 +464,14 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
464
464
  return ret;
465
465
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
466
466
  } else {
467
- _chunkSXYKEVA5js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
467
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
468
468
  }
469
469
  return packageJson;
470
470
  };
471
471
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
472
- const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkSXYKEVA5js.findWorkspaceRoot.call(void 0, );
472
+ const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkZ6FDQK7Qjs.findWorkspaceRoot.call(void 0, );
473
473
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
474
- _chunkSXYKEVA5js.joinPaths.call(void 0, workspaceRoot2, "package.json"),
474
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
475
475
  "utf8"
476
476
  );
477
477
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -482,7 +482,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
482
482
  if (distSrc.startsWith("/")) {
483
483
  distSrc = distSrc.substring(1);
484
484
  }
485
- packageJson.source ??= `${_chunkSXYKEVA5js.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
485
+ packageJson.source ??= `${_chunkZ6FDQK7Qjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
486
486
  }
487
487
  packageJson.files ??= ["dist/**/*"];
488
488
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -507,7 +507,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
507
507
  packageJson.contributors = [packageJson.author];
508
508
  }
509
509
  packageJson.repository ??= workspacePackageJson.repository;
510
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkSXYKEVA5js.joinPaths.call(void 0, "packages", projectName);
510
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkZ6FDQK7Qjs.joinPaths.call(void 0, "packages", projectName);
511
511
  return packageJson;
512
512
  };
513
513
  var addPackageJsonExport = (file, type = "module", sourceRoot) => {
@@ -561,11 +561,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
561
561
  // ../esbuild/src/assets.ts
562
562
  async function copyBuildAssets(context) {
563
563
  if (!_optionalChain([context, 'access', _28 => _28.result, 'optionalAccess', _29 => _29.errors, 'access', _30 => _30.length]) && _optionalChain([context, 'access', _31 => _31.options, 'access', _32 => _32.assets, 'optionalAccess', _33 => _33.length])) {
564
- _chunkSXYKEVA5js.writeDebug.call(void 0,
564
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
565
565
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
566
566
  context.workspaceConfig
567
567
  );
568
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, `${context.options.name} asset copy`);
568
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
569
569
  await copyAssets(
570
570
  context.workspaceConfig,
571
571
  _nullishCoalesce(context.options.assets, () => ( [])),
@@ -646,15 +646,15 @@ async function resolveContext(userOptions) {
646
646
  if (!workspaceRoot2) {
647
647
  throw new Error("Cannot find Nx workspace root");
648
648
  }
649
- const workspaceConfig = await _chunkSXYKEVA5js.getWorkspaceConfig.call(void 0, true, {
649
+ const workspaceConfig = await _chunkZ6FDQK7Qjs.getWorkspaceConfig.call(void 0, true, {
650
650
  workspaceRoot: workspaceRoot2.dir
651
651
  });
652
- _chunkSXYKEVA5js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
653
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, "Build options resolution");
652
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
653
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, "Build options resolution");
654
654
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
655
655
  exitOnError: true
656
656
  });
657
- const projectJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0,
657
+ const projectJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
658
658
  workspaceRoot2.dir,
659
659
  projectRoot,
660
660
  "project.json"
@@ -673,7 +673,7 @@ async function resolveContext(userOptions) {
673
673
  }
674
674
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
675
675
  options.name ??= projectName;
676
- const packageJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0,
676
+ const packageJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
677
677
  workspaceRoot2.dir,
678
678
  options.projectRoot,
679
679
  "package.json"
@@ -685,7 +685,7 @@ async function resolveContext(userOptions) {
685
685
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
686
686
  const resolvedOptions = {
687
687
  ...options,
688
- tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkSXYKEVA5js.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
688
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkZ6FDQK7Qjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
689
689
  metafile: userOptions.mode === "development",
690
690
  clean: false,
691
691
  env,
@@ -710,8 +710,8 @@ async function resolveContext(userOptions) {
710
710
  projectConfigurations,
711
711
  projectName,
712
712
  projectGraph,
713
- sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkSXYKEVA5js.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
714
- outputPath: resolvedOptions.outputPath || _chunkSXYKEVA5js.joinPaths.call(void 0,
713
+ sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkZ6FDQK7Qjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
714
+ outputPath: resolvedOptions.outputPath || _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
715
715
  workspaceConfig.workspaceRoot,
716
716
  "dist",
717
717
  resolvedOptions.projectRoot
@@ -720,10 +720,10 @@ async function resolveContext(userOptions) {
720
720
  };
721
721
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
722
722
  if (context.options.verbose) {
723
- _chunkSXYKEVA5js.writeDebug.call(void 0,
723
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
724
724
  ` \u2699\uFE0F Build options resolved:
725
725
 
726
- ${_chunkSXYKEVA5js.formatLogMessage.call(void 0, context.options)}`,
726
+ ${_chunkZ6FDQK7Qjs.formatLogMessage.call(void 0, context.options)}`,
727
727
  workspaceConfig
728
728
  );
729
729
  }
@@ -735,10 +735,10 @@ ${_chunkSXYKEVA5js.formatLogMessage.call(void 0, context.options)}`,
735
735
 
736
736
 
737
737
  async function generatePackageJson(context) {
738
- if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkSXYKEVA5js.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
739
- _chunkSXYKEVA5js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
740
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, "Write package.json file");
741
- const packageJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0,
738
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkZ6FDQK7Qjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
739
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
740
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, "Write package.json file");
741
+ const packageJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
742
742
  context.options.projectRoot,
743
743
  "project.json"
744
744
  );
@@ -746,7 +746,7 @@ async function generatePackageJson(context) {
746
746
  throw new Error("Cannot find package.json configuration");
747
747
  }
748
748
  const packageJsonFile = await _promises2.default.readFile(
749
- _chunkSXYKEVA5js.joinPaths.call(void 0,
749
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
750
750
  context.workspaceConfig.workspaceRoot,
751
751
  context.options.projectRoot,
752
752
  "package.json"
@@ -852,7 +852,7 @@ async function generatePackageJson(context) {
852
852
  }
853
853
  }
854
854
  await _devkit.writeJsonFile.call(void 0,
855
- _chunkSXYKEVA5js.joinPaths.call(void 0, context.outputPath, "package.json"),
855
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, context.outputPath, "package.json"),
856
856
  packageJson
857
857
  );
858
858
  stopwatch();
@@ -864,12 +864,12 @@ async function generatePackageJson(context) {
864
864
  var _tsup = require('tsup');
865
865
  async function build(options) {
866
866
  if (!options.silent) {
867
- _chunkSXYKEVA5js.writeDebug.call(void 0,
867
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
868
868
  ` \u{1F680} Running ${options.name || "tsup"} build`,
869
869
  options.workspaceConfig
870
870
  );
871
871
  }
872
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
872
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
873
873
  await _tsup.build.call(void 0, options);
874
874
  if (!options.silent) {
875
875
  stopwatch();
@@ -878,14 +878,14 @@ async function build(options) {
878
878
 
879
879
  // ../esbuild/src/tsup.ts
880
880
  async function executeTsup(context) {
881
- _chunkSXYKEVA5js.writeDebug.call(void 0,
881
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
882
882
  ` \u{1F680} Running ${context.options.name} build`,
883
883
  context.workspaceConfig
884
884
  );
885
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, `${context.options.name} build`);
885
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, `${context.options.name} build`);
886
886
  await build({
887
887
  ...context.options,
888
- outDir: context.options.distDir ? _chunkSXYKEVA5js.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
888
+ outDir: context.options.distDir ? _chunkZ6FDQK7Qjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
889
889
  workspaceConfig: context.workspaceConfig
890
890
  });
891
891
  stopwatch();
@@ -896,17 +896,17 @@ async function executeTsup(context) {
896
896
  async function reportResults(context) {
897
897
  if (_optionalChain([context, 'access', _36 => _36.result, 'optionalAccess', _37 => _37.errors, 'access', _38 => _38.length]) === 0) {
898
898
  if (context.result.warnings.length > 0) {
899
- _chunkSXYKEVA5js.writeWarning.call(void 0,
899
+ _chunkZ6FDQK7Qjs.writeWarning.call(void 0,
900
900
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
901
901
  context.workspaceConfig
902
902
  );
903
903
  }
904
- _chunkSXYKEVA5js.writeSuccess.call(void 0,
904
+ _chunkZ6FDQK7Qjs.writeSuccess.call(void 0,
905
905
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
906
906
  context.workspaceConfig
907
907
  );
908
908
  } else if (_optionalChain([context, 'access', _39 => _39.result, 'optionalAccess', _40 => _40.errors]) && _optionalChain([context, 'access', _41 => _41.result, 'optionalAccess', _42 => _42.errors, 'access', _43 => _43.length]) > 0) {
909
- _chunkSXYKEVA5js.writeError.call(void 0,
909
+ _chunkZ6FDQK7Qjs.writeError.call(void 0,
910
910
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
911
911
  context.workspaceConfig
912
912
  );
@@ -917,19 +917,19 @@ async function reportResults(context) {
917
917
  }
918
918
  async function cleanOutputPath(context) {
919
919
  if (context.clean !== false && context.outputPath) {
920
- _chunkSXYKEVA5js.writeDebug.call(void 0,
920
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
921
921
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
922
922
  context.workspaceConfig
923
923
  );
924
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, `${context.options.name} output clean`);
924
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
925
925
  await cleanDirectories(context.outputPath);
926
926
  stopwatch();
927
927
  }
928
928
  return context;
929
929
  }
930
930
  async function build2(options) {
931
- _chunkSXYKEVA5js.writeDebug.call(void 0, ` ${_chunkSXYKEVA5js.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
932
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, "ESBuild pipeline");
931
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, ` ${_chunkZ6FDQK7Qjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
932
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, "ESBuild pipeline");
933
933
  try {
934
934
  const opts = Array.isArray(options) ? options : [options];
935
935
  if (opts.length === 0) {
@@ -944,9 +944,9 @@ async function build2(options) {
944
944
  executeTsup(context)
945
945
  ]);
946
946
  await reportResults(context);
947
- _chunkSXYKEVA5js.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
947
+ _chunkZ6FDQK7Qjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
948
948
  } catch (error) {
949
- _chunkSXYKEVA5js.writeFatal.call(void 0,
949
+ _chunkZ6FDQK7Qjs.writeFatal.call(void 0,
950
950
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
951
951
  );
952
952
  throw error;
@@ -957,7 +957,7 @@ async function build2(options) {
957
957
 
958
958
  // ../workspace-tools/src/executors/esbuild/executor.ts
959
959
  async function esbuildExecutorFn(options, context, config) {
960
- _chunkSXYKEVA5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
960
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
961
961
  if (!_optionalChain([context, 'access', _44 => _44.projectsConfigurations, 'optionalAccess', _45 => _45.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _46 => _46.projectsConfigurations, 'access', _47 => _47.projects, 'access', _48 => _48[context.projectName], 'optionalAccess', _49 => _49.root])) {
962
962
  throw new Error(
963
963
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -978,7 +978,7 @@ async function esbuildExecutorFn(options, context, config) {
978
978
  success: true
979
979
  };
980
980
  }
981
- var executor_default6 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
981
+ var executor_default6 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
982
982
  "Storm ESBuild build",
983
983
  esbuildExecutorFn,
984
984
  {
@@ -999,7 +999,7 @@ var _jiti = require('jiti');
999
999
  var _fileutils = require('nx/src/utils/fileutils');
1000
1000
  async function napiExecutor(options, context, config) {
1001
1001
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1002
- fsCache: config.skipCache ? false : _chunkSXYKEVA5js.joinPaths.call(void 0,
1002
+ fsCache: config.skipCache ? false : _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
1003
1003
  config.workspaceRoot,
1004
1004
  config.directories.cache || "node_modules/.cache/storm",
1005
1005
  "jiti"
@@ -1015,52 +1015,52 @@ async function napiExecutor(options, context, config) {
1015
1015
  );
1016
1016
  }
1017
1017
  const projectRoot = _optionalChain([context, 'access', _61 => _61.projectGraph, 'optionalAccess', _62 => _62.nodes, 'access', _63 => _63[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _64 => _64.data, 'access', _65 => _65.root]);
1018
- const packageJson = _chunkSXYKEVA5js.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1018
+ const packageJson = _chunkZ6FDQK7Qjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1019
1019
  if (!_fileutils.fileExists.call(void 0, packageJson)) {
1020
1020
  throw new Error(`Could not find package.json at ${packageJson}`);
1021
1021
  }
1022
1022
  const napi = new NapiCli();
1023
1023
  const normalizedOptions = { ...options };
1024
1024
  const metadata = cargoMetadata();
1025
- normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _66 => _66.target_directory]) || _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
1025
+ normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _66 => _66.target_directory]) || _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
1026
1026
  normalizedOptions.outputDir = options.outputPath;
1027
1027
  normalizedOptions.packageJsonPath ??= packageJson;
1028
1028
  if (options.cwd) {
1029
- normalizedOptions.cwd = _chunkSXYKEVA5js.correctPaths.call(void 0, options.cwd);
1029
+ normalizedOptions.cwd = _chunkZ6FDQK7Qjs.correctPaths.call(void 0, options.cwd);
1030
1030
  } else {
1031
- const absoluteProjectRoot = _chunkSXYKEVA5js.correctPaths.call(void 0,
1032
- _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
1031
+ const absoluteProjectRoot = _chunkZ6FDQK7Qjs.correctPaths.call(void 0,
1032
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
1033
1033
  );
1034
1034
  normalizedOptions.cwd = absoluteProjectRoot;
1035
1035
  if (normalizedOptions.outputDir) {
1036
- normalizedOptions.outputDir = _chunkSXYKEVA5js.relative.call(void 0,
1036
+ normalizedOptions.outputDir = _chunkZ6FDQK7Qjs.relative.call(void 0,
1037
1037
  normalizedOptions.cwd,
1038
- _chunkSXYKEVA5js.correctPaths.call(void 0,
1039
- _chunkSXYKEVA5js.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1038
+ _chunkZ6FDQK7Qjs.correctPaths.call(void 0,
1039
+ _chunkZ6FDQK7Qjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1040
1040
  )
1041
1041
  );
1042
1042
  }
1043
1043
  if (normalizedOptions.packageJsonPath) {
1044
- normalizedOptions.packageJsonPath = _chunkSXYKEVA5js.relative.call(void 0,
1044
+ normalizedOptions.packageJsonPath = _chunkZ6FDQK7Qjs.relative.call(void 0,
1045
1045
  normalizedOptions.cwd,
1046
- _chunkSXYKEVA5js.correctPaths.call(void 0,
1047
- _chunkSXYKEVA5js.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1046
+ _chunkZ6FDQK7Qjs.correctPaths.call(void 0,
1047
+ _chunkZ6FDQK7Qjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1048
1048
  )
1049
1049
  );
1050
1050
  }
1051
1051
  if (normalizedOptions.configPath) {
1052
- normalizedOptions.configPath = _chunkSXYKEVA5js.relative.call(void 0,
1052
+ normalizedOptions.configPath = _chunkZ6FDQK7Qjs.relative.call(void 0,
1053
1053
  normalizedOptions.cwd,
1054
- _chunkSXYKEVA5js.correctPaths.call(void 0,
1055
- _chunkSXYKEVA5js.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1054
+ _chunkZ6FDQK7Qjs.correctPaths.call(void 0,
1055
+ _chunkZ6FDQK7Qjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1056
1056
  )
1057
1057
  );
1058
1058
  }
1059
1059
  if (normalizedOptions.manifestPath) {
1060
- normalizedOptions.manifestPath = _chunkSXYKEVA5js.relative.call(void 0,
1060
+ normalizedOptions.manifestPath = _chunkZ6FDQK7Qjs.relative.call(void 0,
1061
1061
  normalizedOptions.cwd,
1062
- _chunkSXYKEVA5js.correctPaths.call(void 0,
1063
- _chunkSXYKEVA5js.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkSXYKEVA5js.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1062
+ _chunkZ6FDQK7Qjs.correctPaths.call(void 0,
1063
+ _chunkZ6FDQK7Qjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkZ6FDQK7Qjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1064
1064
  )
1065
1065
  );
1066
1066
  }
@@ -1068,7 +1068,7 @@ async function napiExecutor(options, context, config) {
1068
1068
  if (process.env.VERCEL) {
1069
1069
  return { success: true };
1070
1070
  }
1071
- _chunkSXYKEVA5js.writeDebug.call(void 0,
1071
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
1072
1072
  `Normalized Napi Options:
1073
1073
  packageJsonPath: ${normalizedOptions.packageJsonPath}
1074
1074
  outputDir: ${normalizedOptions.outputDir}
@@ -1081,7 +1081,7 @@ cwd: ${normalizedOptions.cwd}`,
1081
1081
  const { task } = await napi.build(normalizedOptions);
1082
1082
  return { success: true, terminalOutput: await task };
1083
1083
  }
1084
- var executor_default7 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
1084
+ var executor_default7 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
1085
1085
  "Napi - Build Bindings",
1086
1086
  napiExecutor,
1087
1087
  {
@@ -1231,14 +1231,14 @@ async function sizeLimitExecutorFn(options, context, config) {
1231
1231
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
1232
1232
  );
1233
1233
  }
1234
- _chunkSXYKEVA5js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1234
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1235
1235
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
1236
1236
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _70 => _70.projectsConfigurations, 'access', _71 => _71.projects, 'access', _72 => _72[context.projectName], 'optionalAccess', _73 => _73.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
1237
1237
  _nullishCoalesce(_optionalChain([context, 'access', _74 => _74.projectsConfigurations, 'access', _75 => _75.projects, 'access', _76 => _76[context.projectName], 'optionalAccess', _77 => _77.root]), () => ( "./")),
1238
1238
  "src"
1239
1239
  )))
1240
1240
  }).then((result) => {
1241
- _chunkSXYKEVA5js.writeInfo.call(void 0,
1241
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0,
1242
1242
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
1243
1243
  config
1244
1244
  );
@@ -1247,7 +1247,7 @@ async function sizeLimitExecutorFn(options, context, config) {
1247
1247
  success: true
1248
1248
  };
1249
1249
  }
1250
- var executor_default8 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
1250
+ var executor_default8 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
1251
1251
  "Size-Limit Performance Test Executor",
1252
1252
  sizeLimitExecutorFn,
1253
1253
  {
@@ -1308,19 +1308,19 @@ function toTSDownFormat(format4) {
1308
1308
  // ../tsdown/src/build.ts
1309
1309
  var resolveOptions = async (userOptions) => {
1310
1310
  const options = getDefaultOptions(userOptions);
1311
- const workspaceRoot2 = _chunkSXYKEVA5js.findWorkspaceRoot.call(void 0, options.projectRoot);
1311
+ const workspaceRoot2 = _chunkZ6FDQK7Qjs.findWorkspaceRoot.call(void 0, options.projectRoot);
1312
1312
  if (!workspaceRoot2) {
1313
1313
  throw new Error("Cannot find Nx workspace root");
1314
1314
  }
1315
- const workspaceConfig = await _chunkSXYKEVA5js.getWorkspaceConfig.call(void 0, options.debug === true, {
1315
+ const workspaceConfig = await _chunkZ6FDQK7Qjs.getWorkspaceConfig.call(void 0, options.debug === true, {
1316
1316
  workspaceRoot: workspaceRoot2
1317
1317
  });
1318
- _chunkSXYKEVA5js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1319
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, "Build options resolution");
1318
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1319
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, "Build options resolution");
1320
1320
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1321
1321
  exitOnError: true
1322
1322
  });
1323
- const projectJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0,
1323
+ const projectJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
1324
1324
  workspaceRoot2,
1325
1325
  options.projectRoot,
1326
1326
  "project.json"
@@ -1337,7 +1337,7 @@ var resolveOptions = async (userOptions) => {
1337
1337
  "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."
1338
1338
  );
1339
1339
  }
1340
- const packageJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0,
1340
+ const packageJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
1341
1341
  workspaceRoot2,
1342
1342
  options.projectRoot,
1343
1343
  "package.json"
@@ -1346,13 +1346,13 @@ var resolveOptions = async (userOptions) => {
1346
1346
  throw new Error("Cannot find package.json configuration");
1347
1347
  }
1348
1348
  const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
1349
- const sourceRoot = projectJson.sourceRoot || _chunkSXYKEVA5js.joinPaths.call(void 0, options.projectRoot, "src");
1349
+ const sourceRoot = projectJson.sourceRoot || _chunkZ6FDQK7Qjs.joinPaths.call(void 0, options.projectRoot, "src");
1350
1350
  const result = {
1351
1351
  name: projectName,
1352
1352
  mode: "production",
1353
1353
  target: DEFAULT_TARGET,
1354
1354
  generatePackageJson: true,
1355
- outDir: _chunkSXYKEVA5js.joinPaths.call(void 0, "dist", options.projectRoot),
1355
+ outDir: _chunkZ6FDQK7Qjs.joinPaths.call(void 0, "dist", options.projectRoot),
1356
1356
  minify: !debug,
1357
1357
  plugins: [],
1358
1358
  assets: [],
@@ -1364,12 +1364,12 @@ var resolveOptions = async (userOptions) => {
1364
1364
  clean: false,
1365
1365
  fixedExtension: true,
1366
1366
  nodeProtocol: true,
1367
- tsconfig: _chunkSXYKEVA5js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1367
+ tsconfig: _chunkZ6FDQK7Qjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1368
1368
  debug,
1369
1369
  sourceRoot,
1370
1370
  cwd: workspaceConfig.workspaceRoot,
1371
1371
  entry: {
1372
- ["index"]: _chunkSXYKEVA5js.joinPaths.call(void 0, sourceRoot, "index.ts")
1372
+ ["index"]: _chunkZ6FDQK7Qjs.joinPaths.call(void 0, sourceRoot, "index.ts")
1373
1373
  },
1374
1374
  workspace: true,
1375
1375
  ...options,
@@ -1388,15 +1388,15 @@ var resolveOptions = async (userOptions) => {
1388
1388
  return result;
1389
1389
  };
1390
1390
  async function generatePackageJson2(options) {
1391
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkSXYKEVA5js.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1392
- _chunkSXYKEVA5js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1393
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, "Write package.json file");
1394
- const packageJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0, options.projectRoot, "project.json");
1391
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkZ6FDQK7Qjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1392
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1393
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, "Write package.json file");
1394
+ const packageJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1395
1395
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1396
1396
  throw new Error("Cannot find package.json configuration");
1397
1397
  }
1398
1398
  const packageJsonFile = await _promises2.default.readFile(
1399
- _chunkSXYKEVA5js.joinPaths.call(void 0,
1399
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
1400
1400
  options.workspaceConfig.workspaceRoot,
1401
1401
  options.projectRoot,
1402
1402
  "package.json"
@@ -1458,14 +1458,14 @@ async function generatePackageJson2(options) {
1458
1458
  },
1459
1459
  packageJson.exports
1460
1460
  );
1461
- await _devkit.writeJsonFile.call(void 0, _chunkSXYKEVA5js.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1461
+ await _devkit.writeJsonFile.call(void 0, _chunkZ6FDQK7Qjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1462
1462
  stopwatch();
1463
1463
  }
1464
1464
  return options;
1465
1465
  }
1466
1466
  async function executeTSDown(options) {
1467
- _chunkSXYKEVA5js.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1468
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, `${options.name} build`);
1467
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1468
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, `${options.name} build`);
1469
1469
  await _tsdown.build.call(void 0, {
1470
1470
  ...options,
1471
1471
  entry: options.entry,
@@ -1475,11 +1475,11 @@ async function executeTSDown(options) {
1475
1475
  return options;
1476
1476
  }
1477
1477
  async function copyBuildAssets2(options) {
1478
- _chunkSXYKEVA5js.writeDebug.call(void 0,
1478
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
1479
1479
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
1480
1480
  options.workspaceConfig
1481
1481
  );
1482
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, `${options.name} asset copy`);
1482
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1483
1483
  await copyAssets(
1484
1484
  options.workspaceConfig,
1485
1485
  _nullishCoalesce(options.assets, () => ( [])),
@@ -1493,18 +1493,18 @@ async function copyBuildAssets2(options) {
1493
1493
  return options;
1494
1494
  }
1495
1495
  async function reportResults2(options) {
1496
- _chunkSXYKEVA5js.writeSuccess.call(void 0,
1496
+ _chunkZ6FDQK7Qjs.writeSuccess.call(void 0,
1497
1497
  ` \u{1F4E6} The ${options.name} build completed successfully`,
1498
1498
  options.workspaceConfig
1499
1499
  );
1500
1500
  }
1501
1501
  async function cleanOutputPath2(options) {
1502
1502
  if (options.clean !== false && options.workspaceConfig) {
1503
- _chunkSXYKEVA5js.writeDebug.call(void 0,
1503
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
1504
1504
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
1505
1505
  options.workspaceConfig
1506
1506
  );
1507
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, `${options.name} output clean`);
1507
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, `${options.name} output clean`);
1508
1508
  await cleanDirectories2(
1509
1509
  options.name,
1510
1510
  options.outDir,
@@ -1515,8 +1515,8 @@ async function cleanOutputPath2(options) {
1515
1515
  return options;
1516
1516
  }
1517
1517
  async function build3(options) {
1518
- _chunkSXYKEVA5js.writeDebug.call(void 0, ` ${_chunkSXYKEVA5js.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
1519
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, "TSDown pipeline");
1518
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, ` ${_chunkZ6FDQK7Qjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
1519
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, "TSDown pipeline");
1520
1520
  try {
1521
1521
  const opts = Array.isArray(options) ? options : [options];
1522
1522
  if (opts.length === 0) {
@@ -1536,13 +1536,13 @@ async function build3(options) {
1536
1536
  })
1537
1537
  );
1538
1538
  } else {
1539
- _chunkSXYKEVA5js.writeWarning.call(void 0,
1539
+ _chunkZ6FDQK7Qjs.writeWarning.call(void 0,
1540
1540
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
1541
1541
  );
1542
1542
  }
1543
- _chunkSXYKEVA5js.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1543
+ _chunkZ6FDQK7Qjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1544
1544
  } catch (error) {
1545
- _chunkSXYKEVA5js.writeFatal.call(void 0,
1545
+ _chunkZ6FDQK7Qjs.writeFatal.call(void 0,
1546
1546
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1547
1547
  );
1548
1548
  throw error;
@@ -1553,7 +1553,7 @@ async function build3(options) {
1553
1553
 
1554
1554
  // ../workspace-tools/src/executors/tsdown/executor.ts
1555
1555
  async function tsdownExecutorFn(options, context, config) {
1556
- _chunkSXYKEVA5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1556
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1557
1557
  if (!_optionalChain([context, 'access', _80 => _80.projectsConfigurations, 'optionalAccess', _81 => _81.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _82 => _82.projectsConfigurations, 'access', _83 => _83.projects, 'access', _84 => _84[context.projectName], 'optionalAccess', _85 => _85.root])) {
1558
1558
  throw new Error(
1559
1559
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1574,7 +1574,7 @@ async function tsdownExecutorFn(options, context, config) {
1574
1574
  success: true
1575
1575
  };
1576
1576
  }
1577
- var executor_default9 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
1577
+ var executor_default9 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
1578
1578
  "Storm TSDown build",
1579
1579
  tsdownExecutorFn,
1580
1580
  {
@@ -1595,12 +1595,12 @@ var _fsextra = require('fs-extra');
1595
1595
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1596
1596
  async function typiaExecutorFn(options, _, config) {
1597
1597
  if (options.clean !== false) {
1598
- _chunkSXYKEVA5js.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1598
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1599
1599
  _fsextra.removeSync.call(void 0, options.outputPath);
1600
1600
  }
1601
1601
  await Promise.all(
1602
1602
  options.entry.map((entry) => {
1603
- _chunkSXYKEVA5js.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1603
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1604
1604
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1605
1605
  input: entry,
1606
1606
  output: options.outputPath,
@@ -1612,7 +1612,7 @@ async function typiaExecutorFn(options, _, config) {
1612
1612
  success: true
1613
1613
  };
1614
1614
  }
1615
- var executor_default10 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
1615
+ var executor_default10 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
1616
1616
  "Typia runtime validation generator",
1617
1617
  typiaExecutorFn,
1618
1618
  {
@@ -1633,7 +1633,7 @@ var executor_default10 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
1633
1633
 
1634
1634
 
1635
1635
  async function unbuildExecutorFn(options, context, config) {
1636
- _chunkSXYKEVA5js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1636
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1637
1637
  if (!_optionalChain([context, 'access', _94 => _94.projectsConfigurations, 'optionalAccess', _95 => _95.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1638
1638
  throw new Error(
1639
1639
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -1650,7 +1650,7 @@ async function unbuildExecutorFn(options, context, config) {
1650
1650
  );
1651
1651
  }
1652
1652
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1653
- fsCache: config.skipCache ? false : _chunkSXYKEVA5js.joinPaths.call(void 0,
1653
+ fsCache: config.skipCache ? false : _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
1654
1654
  config.workspaceRoot,
1655
1655
  config.directories.cache || "node_modules/.cache/storm",
1656
1656
  "jiti"
@@ -1672,7 +1672,7 @@ async function unbuildExecutorFn(options, context, config) {
1672
1672
  {
1673
1673
  stubOptions: {
1674
1674
  jiti: {
1675
- fsCache: config.skipCache ? false : _chunkSXYKEVA5js.joinPaths.call(void 0,
1675
+ fsCache: config.skipCache ? false : _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
1676
1676
  config.workspaceRoot,
1677
1677
  config.directories.cache || "node_modules/.cache/storm",
1678
1678
  "jiti"
@@ -1701,7 +1701,7 @@ async function unbuildExecutorFn(options, context, config) {
1701
1701
  success: true
1702
1702
  };
1703
1703
  }
1704
- var executor_default11 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
1704
+ var executor_default11 = _chunkZ6FDQK7Qjs.withRunExecutor.call(void 0,
1705
1705
  "TypeScript Unbuild build",
1706
1706
  unbuildExecutorFn,
1707
1707
  {
@@ -1732,48 +1732,48 @@ var executor_default11 = _chunkSXYKEVA5js.withRunExecutor.call(void 0,
1732
1732
  var withRunGenerator = (name, generatorFn, generatorOptions = {
1733
1733
  skipReadingConfig: false
1734
1734
  }) => async (tree, _options) => {
1735
- const stopwatch = _chunkSXYKEVA5js.getStopwatch.call(void 0, name);
1735
+ const stopwatch = _chunkZ6FDQK7Qjs.getStopwatch.call(void 0, name);
1736
1736
  let options = _options;
1737
1737
  let config;
1738
1738
  try {
1739
- _chunkSXYKEVA5js.writeInfo.call(void 0,
1740
- `${_chunkSXYKEVA5js.brandIcon.call(void 0, config)} Running the ${name} generator...
1739
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0,
1740
+ `${_chunkZ6FDQK7Qjs.brandIcon.call(void 0, config)} Running the ${name} generator...
1741
1741
 
1742
1742
  `,
1743
1743
  config
1744
1744
  );
1745
- const workspaceRoot2 = _chunkSXYKEVA5js.findWorkspaceRoot.call(void 0, );
1745
+ const workspaceRoot2 = _chunkZ6FDQK7Qjs.findWorkspaceRoot.call(void 0, );
1746
1746
  if (!generatorOptions.skipReadingConfig) {
1747
- _chunkSXYKEVA5js.writeDebug.call(void 0,
1747
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0,
1748
1748
  `Loading the Storm Config from environment variables and storm.config.js file...
1749
1749
  - workspaceRoot: ${workspaceRoot2}`,
1750
1750
  config
1751
1751
  );
1752
- config = await _chunkSXYKEVA5js.getConfig.call(void 0, workspaceRoot2);
1752
+ config = await _chunkZ6FDQK7Qjs.getConfig.call(void 0, workspaceRoot2);
1753
1753
  }
1754
1754
  if (_optionalChain([generatorOptions, 'optionalAccess', _96 => _96.hooks, 'optionalAccess', _97 => _97.applyDefaultOptions])) {
1755
- _chunkSXYKEVA5js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1755
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1756
1756
  options = await Promise.resolve(
1757
1757
  generatorOptions.hooks.applyDefaultOptions(options, config)
1758
1758
  );
1759
- _chunkSXYKEVA5js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1759
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1760
1760
  }
1761
- _chunkSXYKEVA5js.writeTrace.call(void 0,
1761
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0,
1762
1762
  `Generator schema options \u2699\uFE0F
1763
1763
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
1764
1764
  config
1765
1765
  );
1766
- const tokenized = await _chunkSXYKEVA5js.applyWorkspaceTokens.call(void 0,
1766
+ const tokenized = await _chunkZ6FDQK7Qjs.applyWorkspaceTokens.call(void 0,
1767
1767
  options,
1768
1768
  { workspaceRoot: tree.root, config },
1769
- _chunkSXYKEVA5js.applyWorkspaceBaseTokens
1769
+ _chunkZ6FDQK7Qjs.applyWorkspaceBaseTokens
1770
1770
  );
1771
1771
  if (_optionalChain([generatorOptions, 'optionalAccess', _98 => _98.hooks, 'optionalAccess', _99 => _99.preProcess])) {
1772
- _chunkSXYKEVA5js.writeDebug.call(void 0, "Running the preProcess hook...", config);
1772
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1773
1773
  await Promise.resolve(
1774
1774
  generatorOptions.hooks.preProcess(tokenized, config)
1775
1775
  );
1776
- _chunkSXYKEVA5js.writeDebug.call(void 0, "Completed the preProcess hook", config);
1776
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1777
1777
  }
1778
1778
  const result = await Promise.resolve(
1779
1779
  generatorFn(tree, tokenized, config)
@@ -1788,21 +1788,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1788
1788
  }
1789
1789
  }
1790
1790
  if (_optionalChain([generatorOptions, 'optionalAccess', _109 => _109.hooks, 'optionalAccess', _110 => _110.postProcess])) {
1791
- _chunkSXYKEVA5js.writeDebug.call(void 0, "Running the postProcess hook...", config);
1791
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1792
1792
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1793
- _chunkSXYKEVA5js.writeDebug.call(void 0, "Completed the postProcess hook", config);
1793
+ _chunkZ6FDQK7Qjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1794
1794
  }
1795
1795
  return () => {
1796
- _chunkSXYKEVA5js.writeSuccess.call(void 0, `Completed running the ${name} generator!
1796
+ _chunkZ6FDQK7Qjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1797
1797
  `, config);
1798
1798
  };
1799
1799
  } catch (error) {
1800
1800
  return () => {
1801
- _chunkSXYKEVA5js.writeFatal.call(void 0,
1801
+ _chunkZ6FDQK7Qjs.writeFatal.call(void 0,
1802
1802
  "A fatal error occurred while running the generator - the process was forced to terminate",
1803
1803
  config
1804
1804
  );
1805
- _chunkSXYKEVA5js.writeError.call(void 0,
1805
+ _chunkZ6FDQK7Qjs.writeError.call(void 0,
1806
1806
  `An exception was thrown in the generator's process
1807
1807
  - Details: ${error.message}
1808
1808
  - Stacktrace: ${error.stack}`,
@@ -1868,16 +1868,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1868
1868
  const projectConfig = {
1869
1869
  root: normalized.directory,
1870
1870
  projectType: "library",
1871
- sourceRoot: _chunkSXYKEVA5js.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1871
+ sourceRoot: _chunkZ6FDQK7Qjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1872
1872
  targets: {
1873
1873
  build: {
1874
1874
  executor: options.buildExecutor,
1875
1875
  outputs: ["{options.outputPath}"],
1876
1876
  options: {
1877
- entry: [_chunkSXYKEVA5js.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1877
+ entry: [_chunkZ6FDQK7Qjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1878
1878
  outputPath: getOutputPath(normalized),
1879
- tsconfig: _chunkSXYKEVA5js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1880
- project: _chunkSXYKEVA5js.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1879
+ tsconfig: _chunkZ6FDQK7Qjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1880
+ project: _chunkZ6FDQK7Qjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1881
1881
  defaultConfiguration: "production",
1882
1882
  platform: "neutral",
1883
1883
  assets: [
@@ -1934,7 +1934,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1934
1934
  if (!normalized.importPath) {
1935
1935
  normalized.importPath = normalized.name;
1936
1936
  }
1937
- const packageJsonPath = _chunkSXYKEVA5js.joinPaths.call(void 0, normalized.projectRoot, "package.json");
1937
+ const packageJsonPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
1938
1938
  if (tree.exists(packageJsonPath)) {
1939
1939
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
1940
1940
  if (!normalized.importPath) {
@@ -1991,14 +1991,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1991
1991
  }));
1992
1992
  }
1993
1993
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
1994
- _chunkSXYKEVA5js.joinPaths.call(void 0,
1994
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
1995
1995
  normalized.projectRoot,
1996
1996
  "./src",
1997
1997
  `index.${normalized.js ? "js" : "ts"}`
1998
1998
  )
1999
1999
  ]);
2000
- _js.addTsConfigPath.call(void 0, tree, _chunkSXYKEVA5js.joinPaths.call(void 0, normalized.importPath, "/*"), [
2001
- _chunkSXYKEVA5js.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2000
+ _js.addTsConfigPath.call(void 0, tree, _chunkZ6FDQK7Qjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2001
+ _chunkZ6FDQK7Qjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2002
2002
  ]);
2003
2003
  if (tree.exists("package.json")) {
2004
2004
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -2009,7 +2009,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2009
2009
  description = packageJson.description;
2010
2010
  }
2011
2011
  }
2012
- const tsconfigPath = _chunkSXYKEVA5js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2012
+ const tsconfigPath = _chunkZ6FDQK7Qjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2013
2013
  if (tree.exists(tsconfigPath)) {
2014
2014
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2015
2015
  json.composite ??= true;
@@ -2037,7 +2037,7 @@ function getOutputPath(options) {
2037
2037
  } else {
2038
2038
  parts.push(options.projectRoot);
2039
2039
  }
2040
- return _chunkSXYKEVA5js.joinPaths.call(void 0, ...parts);
2040
+ return _chunkZ6FDQK7Qjs.joinPaths.call(void 0, ...parts);
2041
2041
  }
2042
2042
  function createProjectTsConfigJson(tree, options) {
2043
2043
  const tsconfig = {
@@ -2045,7 +2045,7 @@ function createProjectTsConfigJson(tree, options) {
2045
2045
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _125 => _125.tsconfigOptions]), () => ( {})),
2046
2046
  compilerOptions: {
2047
2047
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2048
- outDir: _chunkSXYKEVA5js.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2048
+ outDir: _chunkZ6FDQK7Qjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2049
2049
  noEmit: true,
2050
2050
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _126 => _126.tsconfigOptions, 'optionalAccess', _127 => _127.compilerOptions]), () => ( {}))
2051
2051
  },
@@ -2063,7 +2063,7 @@ function createProjectTsConfigJson(tree, options) {
2063
2063
  "src/**/*.test.ts"
2064
2064
  ]
2065
2065
  };
2066
- _devkit.writeJson.call(void 0, tree, _chunkSXYKEVA5js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2066
+ _devkit.writeJson.call(void 0, tree, _chunkZ6FDQK7Qjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2067
2067
  }
2068
2068
  async function normalizeOptions(tree, options, config) {
2069
2069
  let importPath = options.importPath;
@@ -2128,7 +2128,7 @@ async function normalizeOptions(tree, options, config) {
2128
2128
 
2129
2129
  // ../workspace-tools/src/generators/browser-library/generator.ts
2130
2130
  async function browserLibraryGeneratorFn(tree, schema, config) {
2131
- const filesDir = _chunkSXYKEVA5js.joinPaths.call(void 0,
2131
+ const filesDir = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
2132
2132
  __dirname,
2133
2133
  "src",
2134
2134
  "generators",
@@ -2211,38 +2211,38 @@ var generator_default = withRunGenerator(
2211
2211
 
2212
2212
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
2213
2213
  async function configSchemaGeneratorFn(tree, options, config) {
2214
- _chunkSXYKEVA5js.writeInfo.call(void 0,
2214
+ _chunkZ6FDQK7Qjs.writeInfo.call(void 0,
2215
2215
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
2216
2216
  config
2217
2217
  );
2218
- _chunkSXYKEVA5js.writeTrace.call(void 0,
2218
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0,
2219
2219
  `Determining the Storm Workspace Configuration JSON Schema...`,
2220
2220
  config
2221
2221
  );
2222
- const jsonSchema = z.toJSONSchema(_chunkSXYKEVA5js.workspaceConfigSchema, {
2222
+ const jsonSchema = z.toJSONSchema(_chunkZ6FDQK7Qjs.workspaceConfigSchema, {
2223
2223
  target: "draft-7",
2224
- metadata: _chunkSXYKEVA5js.schemaRegistry
2224
+ metadata: _chunkZ6FDQK7Qjs.schemaRegistry
2225
2225
  });
2226
2226
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
2227
2227
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
2228
2228
  jsonSchema.description ??= "This JSON Schema defines the structure of the Storm Workspace configuration file (`storm-workspace.json`). It is used to validate the configuration file and ensure that it adheres to the expected format.";
2229
- _chunkSXYKEVA5js.writeTrace.call(void 0, jsonSchema, config);
2229
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0, jsonSchema, config);
2230
2230
  if (!options.outputFile) {
2231
2231
  throw new Error(
2232
2232
  "The `outputFile` option is required. Please specify the output file path."
2233
2233
  );
2234
2234
  }
2235
2235
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
2236
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _136 => _136.workspaceRoot]), () => ( _chunkSXYKEVA5js.findWorkspaceRoot.call(void 0, ))),
2236
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _136 => _136.workspaceRoot]), () => ( _chunkZ6FDQK7Qjs.findWorkspaceRoot.call(void 0, ))),
2237
2237
  options.outputFile.startsWith("./") ? "" : "./"
2238
2238
  );
2239
- _chunkSXYKEVA5js.writeTrace.call(void 0,
2239
+ _chunkZ6FDQK7Qjs.writeTrace.call(void 0,
2240
2240
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
2241
2241
  config
2242
2242
  );
2243
2243
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
2244
2244
  await _devkit.formatFiles.call(void 0, tree);
2245
- _chunkSXYKEVA5js.writeSuccess.call(void 0,
2245
+ _chunkZ6FDQK7Qjs.writeSuccess.call(void 0,
2246
2246
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
2247
2247
  config
2248
2248
  );
@@ -2298,7 +2298,7 @@ async function initGenerator(tree, schema) {
2298
2298
 
2299
2299
 
2300
2300
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2301
- const filesDir = _chunkSXYKEVA5js.joinPaths.call(void 0,
2301
+ const filesDir = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
2302
2302
  __dirname,
2303
2303
  "src",
2304
2304
  "generators",
@@ -2357,7 +2357,7 @@ var generator_default3 = withRunGenerator(
2357
2357
 
2358
2358
 
2359
2359
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2360
- const filesDir = _chunkSXYKEVA5js.joinPaths.call(void 0,
2360
+ const filesDir = _chunkZ6FDQK7Qjs.joinPaths.call(void 0,
2361
2361
  __dirname,
2362
2362
  "src",
2363
2363
  "generators",