@storm-software/terraform-tools 0.60.27 → 0.60.29

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 (37) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-FLZTOXM3.mjs → chunk-6MXVWOEX.mjs} +1 -1
  4. package/dist/{chunk-FUE5K3NR.js → chunk-CB5TC2RP.js} +2 -2
  5. package/dist/{chunk-ON72XGOJ.js → chunk-ELCT45UM.js} +2 -2
  6. package/dist/{chunk-52NNEPD6.mjs → chunk-FD3RF3B3.mjs} +3 -3
  7. package/dist/{chunk-H7RPADEY.mjs → chunk-FPUITK4C.mjs} +1 -1
  8. package/dist/{chunk-S3HIWWZD.mjs → chunk-HFX67ZER.mjs} +94 -85
  9. package/dist/{chunk-FO243SX2.js → chunk-JPEKGOAX.js} +2 -2
  10. package/dist/{chunk-JS3AGKOT.mjs → chunk-LB7M33FA.mjs} +1 -1
  11. package/dist/{chunk-NGLPUTTO.mjs → chunk-NGAJ5W5H.mjs} +1 -1
  12. package/dist/{chunk-HQYKP2ET.mjs → chunk-OZWSP7EQ.mjs} +1 -1
  13. package/dist/{chunk-B52TP7TD.js → chunk-QHV7SDFQ.js} +3 -3
  14. package/dist/{chunk-M4JRJR36.js → chunk-SYR53UDS.js} +2 -2
  15. package/dist/{chunk-NZHLKIHQ.js → chunk-VVBBXLTV.js} +2 -2
  16. package/dist/{chunk-UA4HNENY.js → chunk-ZKDCAXEM.js} +185 -176
  17. package/dist/executors.js +6 -6
  18. package/dist/executors.mjs +6 -6
  19. package/dist/generators.js +3 -3
  20. package/dist/generators.mjs +2 -2
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/base/index.js +3 -3
  24. package/dist/src/base/index.mjs +2 -2
  25. package/dist/src/base/terraform-executor.js +3 -3
  26. package/dist/src/base/terraform-executor.mjs +2 -2
  27. package/dist/src/executors/apply/executor.js +4 -4
  28. package/dist/src/executors/apply/executor.mjs +3 -3
  29. package/dist/src/executors/destroy/executor.js +4 -4
  30. package/dist/src/executors/destroy/executor.mjs +3 -3
  31. package/dist/src/executors/output/executor.js +4 -4
  32. package/dist/src/executors/output/executor.mjs +3 -3
  33. package/dist/src/executors/plan/executor.js +4 -4
  34. package/dist/src/executors/plan/executor.mjs +3 -3
  35. package/dist/src/generators/init/init.js +3 -3
  36. package/dist/src/generators/init/init.mjs +2 -2
  37. package/package.json +3 -2
@@ -16,7 +16,7 @@
16
16
 
17
17
 
18
18
 
19
- var _chunkB52TP7TDjs = require('./chunk-B52TP7TD.js');
19
+ var _chunkQHV7SDFQjs = require('./chunk-QHV7SDFQ.js');
20
20
 
21
21
 
22
22
  var _chunk3RG5ZIWIjs = require('./chunk-3RG5ZIWI.js');
@@ -122,9 +122,9 @@ function cargoMetadata() {
122
122
  function runProcess(processCmd, ...args) {
123
123
  const metadata = cargoMetadata();
124
124
  const targetDir = _nullishCoalesce(_optionalChain([metadata, 'optionalAccess', _4 => _4.target_directory]), () => ( _devkit.joinPathFragments.call(void 0, _devkit.workspaceRoot, "dist")));
125
- return new Promise((resolve) => {
125
+ return new Promise((resolve2) => {
126
126
  if (process.env.VERCEL) {
127
- return resolve({ success: true });
127
+ return resolve2({ success: true });
128
128
  }
129
129
  _child_process.execSync.call(void 0, `${processCmd} ${args.join(" ")}`, {
130
130
  cwd: process.cwd(),
@@ -137,7 +137,7 @@ function runProcess(processCmd, ...args) {
137
137
  windowsHide: true,
138
138
  stdio: ["inherit", "inherit", "inherit"]
139
139
  });
140
- resolve({ success: true });
140
+ resolve2({ success: true });
141
141
  });
142
142
  }
143
143
 
@@ -146,7 +146,7 @@ async function cargoBuildExecutor(options, context) {
146
146
  const command = buildCargoCommand("build", options, context);
147
147
  return await cargoCommand(...command);
148
148
  }
149
- var executor_default = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
149
+ var executor_default = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
150
150
  "Cargo - Build",
151
151
  cargoBuildExecutor,
152
152
  {
@@ -166,7 +166,7 @@ async function cargoCheckExecutor(options, context) {
166
166
  const command = buildCargoCommand("check", options, context);
167
167
  return await cargoCommand(...command);
168
168
  }
169
- var executor_default2 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
169
+ var executor_default2 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
170
170
  "Cargo - Check",
171
171
  cargoCheckExecutor,
172
172
  {
@@ -185,7 +185,7 @@ async function cargoClippyExecutor(options, context) {
185
185
  const command = buildCargoCommand("clippy", options, context);
186
186
  return await cargoCommand(...command);
187
187
  }
188
- var executor_default3 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
188
+ var executor_default3 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
189
189
  "Cargo - Clippy",
190
190
  cargoClippyExecutor,
191
191
  {
@@ -208,7 +208,7 @@ async function cargoDocExecutor(options, context) {
208
208
  const command = buildCargoCommand("doc", options, context);
209
209
  return await cargoCommand(...command);
210
210
  }
211
- var executor_default4 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
211
+ var executor_default4 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
212
212
  "Cargo - Doc",
213
213
  cargoDocExecutor,
214
214
  {
@@ -234,7 +234,7 @@ async function cargoFormatExecutor(options, context) {
234
234
  const command = buildCargoCommand("fmt", options, context);
235
235
  return await cargoCommand(...command);
236
236
  }
237
- var executor_default5 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
237
+ var executor_default5 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
238
238
  "Cargo - Format",
239
239
  cargoFormatExecutor,
240
240
  {
@@ -313,9 +313,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
313
313
  output: "src/"
314
314
  });
315
315
  }
316
- _chunkB52TP7TDjs.writeTrace.call(void 0,
316
+ _chunkQHV7SDFQjs.writeTrace.call(void 0,
317
317
  `\u{1F4DD} Copying the following assets to the output directory:
318
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkB52TP7TDjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
318
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkQHV7SDFQjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
319
319
  config
320
320
  );
321
321
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -326,18 +326,18 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
326
326
  });
327
327
  await assetHandler.processAllAssetsOnce();
328
328
  if (includeSrc === true) {
329
- _chunkB52TP7TDjs.writeDebug.call(void 0,
330
- `\u{1F4DD} Adding banner and writing source files: ${_chunkB52TP7TDjs.joinPaths.call(void 0,
329
+ _chunkQHV7SDFQjs.writeDebug.call(void 0,
330
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkQHV7SDFQjs.joinPaths.call(void 0,
331
331
  outputPath,
332
332
  "src"
333
333
  )}`,
334
334
  config
335
335
  );
336
336
  const files = await _glob.glob.call(void 0, [
337
- _chunkB52TP7TDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
338
- _chunkB52TP7TDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
339
- _chunkB52TP7TDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
340
- _chunkB52TP7TDjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
337
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
338
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
339
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
340
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
341
341
  ]);
342
342
  await Promise.allSettled(
343
343
  files.map(
@@ -392,7 +392,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
392
392
  )) {
393
393
  const projectNode = project.node;
394
394
  if (projectNode.data.root) {
395
- const projectPackageJsonPath = _chunkB52TP7TDjs.joinPaths.call(void 0,
395
+ const projectPackageJsonPath = _chunkQHV7SDFQjs.joinPaths.call(void 0,
396
396
  workspaceRoot3,
397
397
  projectNode.data.root,
398
398
  "package.json"
@@ -410,11 +410,11 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
410
410
  }
411
411
  }
412
412
  if (localPackages.length > 0) {
413
- _chunkB52TP7TDjs.writeTrace.call(void 0,
413
+ _chunkQHV7SDFQjs.writeTrace.call(void 0,
414
414
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
415
415
  );
416
416
  const projectJsonFile = await _promises.readFile.call(void 0,
417
- _chunkB52TP7TDjs.joinPaths.call(void 0, projectRoot, "project.json"),
417
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, projectRoot, "project.json"),
418
418
  "utf8"
419
419
  );
420
420
  const projectJson = JSON.parse(projectJsonFile);
@@ -427,7 +427,7 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
427
427
  }
428
428
  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) => {
429
429
  if (_optionalChain([projectConfigurations, 'access', _18 => _18.projects, 'optionalAccess', _19 => _19[dep]])) {
430
- const depPackageJsonPath = _chunkB52TP7TDjs.joinPaths.call(void 0,
430
+ const depPackageJsonPath = _chunkQHV7SDFQjs.joinPaths.call(void 0,
431
431
  workspaceRoot3,
432
432
  projectConfigurations.projects[dep].root,
433
433
  "package.json"
@@ -458,14 +458,14 @@ var addPackageDependencies = async (workspaceRoot3, projectRoot, projectName, pa
458
458
  return ret;
459
459
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
460
460
  } else {
461
- _chunkB52TP7TDjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
461
+ _chunkQHV7SDFQjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
462
462
  }
463
463
  return packageJson;
464
464
  };
465
465
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
466
- const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkB52TP7TDjs.findWorkspaceRoot.call(void 0, );
466
+ const workspaceRoot3 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkQHV7SDFQjs.findWorkspaceRoot.call(void 0, );
467
467
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
468
- _chunkB52TP7TDjs.joinPaths.call(void 0, workspaceRoot3, "package.json"),
468
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, workspaceRoot3, "package.json"),
469
469
  "utf8"
470
470
  );
471
471
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -476,7 +476,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
476
476
  if (distSrc.startsWith("/")) {
477
477
  distSrc = distSrc.substring(1);
478
478
  }
479
- packageJson.source ??= `${_chunkB52TP7TDjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
479
+ packageJson.source ??= `${_chunkQHV7SDFQjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
480
480
  }
481
481
  packageJson.files ??= ["dist/**/*"];
482
482
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -501,7 +501,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
501
501
  packageJson.contributors = [packageJson.author];
502
502
  }
503
503
  packageJson.repository ??= workspacePackageJson.repository;
504
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkB52TP7TDjs.joinPaths.call(void 0, "packages", projectName);
504
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkQHV7SDFQjs.joinPaths.call(void 0, "packages", projectName);
505
505
  return packageJson;
506
506
  };
507
507
 
@@ -535,11 +535,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
535
535
  // ../esbuild/src/assets.ts
536
536
  async function copyBuildAssets(context) {
537
537
  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])) {
538
- _chunkB52TP7TDjs.writeDebug.call(void 0,
538
+ _chunkQHV7SDFQjs.writeDebug.call(void 0,
539
539
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
540
540
  context.workspaceConfig
541
541
  );
542
- const stopwatch = _chunkB52TP7TDjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
542
+ const stopwatch = _chunkQHV7SDFQjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
543
543
  await copyAssets(
544
544
  context.workspaceConfig,
545
545
  _nullishCoalesce(context.options.assets, () => ( [])),
@@ -620,15 +620,15 @@ async function resolveContext(userOptions) {
620
620
  if (!workspaceRoot3) {
621
621
  throw new Error("Cannot find Nx workspace root");
622
622
  }
623
- const workspaceConfig = await _chunkB52TP7TDjs.getWorkspaceConfig.call(void 0, true, {
623
+ const workspaceConfig = await _chunkQHV7SDFQjs.getWorkspaceConfig.call(void 0, true, {
624
624
  workspaceRoot: workspaceRoot3.dir
625
625
  });
626
- _chunkB52TP7TDjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
627
- const stopwatch = _chunkB52TP7TDjs.getStopwatch.call(void 0, "Build options resolution");
626
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
627
+ const stopwatch = _chunkQHV7SDFQjs.getStopwatch.call(void 0, "Build options resolution");
628
628
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
629
629
  exitOnError: true
630
630
  });
631
- const projectJsonPath = _chunkB52TP7TDjs.joinPaths.call(void 0,
631
+ const projectJsonPath = _chunkQHV7SDFQjs.joinPaths.call(void 0,
632
632
  workspaceRoot3.dir,
633
633
  projectRoot,
634
634
  "project.json"
@@ -647,7 +647,7 @@ async function resolveContext(userOptions) {
647
647
  }
648
648
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
649
649
  options.name ??= projectName;
650
- const packageJsonPath = _chunkB52TP7TDjs.joinPaths.call(void 0,
650
+ const packageJsonPath = _chunkQHV7SDFQjs.joinPaths.call(void 0,
651
651
  workspaceRoot3.dir,
652
652
  options.projectRoot,
653
653
  "package.json"
@@ -659,7 +659,7 @@ async function resolveContext(userOptions) {
659
659
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
660
660
  const resolvedOptions = {
661
661
  ...options,
662
- tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkB52TP7TDjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "tsconfig.json"),
662
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkQHV7SDFQjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "tsconfig.json"),
663
663
  metafile: userOptions.mode === "development",
664
664
  clean: false,
665
665
  env,
@@ -684,8 +684,8 @@ async function resolveContext(userOptions) {
684
684
  projectConfigurations,
685
685
  projectName,
686
686
  projectGraph,
687
- sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkB52TP7TDjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
688
- outputPath: resolvedOptions.outputPath || _chunkB52TP7TDjs.joinPaths.call(void 0,
687
+ sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkQHV7SDFQjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
688
+ outputPath: resolvedOptions.outputPath || _chunkQHV7SDFQjs.joinPaths.call(void 0,
689
689
  workspaceConfig.workspaceRoot,
690
690
  "dist",
691
691
  resolvedOptions.projectRoot
@@ -694,10 +694,10 @@ async function resolveContext(userOptions) {
694
694
  };
695
695
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
696
696
  if (context.options.verbose) {
697
- _chunkB52TP7TDjs.writeDebug.call(void 0,
697
+ _chunkQHV7SDFQjs.writeDebug.call(void 0,
698
698
  ` \u2699\uFE0F Build options resolved:
699
699
 
700
- ${_chunkB52TP7TDjs.formatLogMessage.call(void 0, context.options)}`,
700
+ ${_chunkQHV7SDFQjs.formatLogMessage.call(void 0, context.options)}`,
701
701
  workspaceConfig
702
702
  );
703
703
  }
@@ -709,10 +709,10 @@ ${_chunkB52TP7TDjs.formatLogMessage.call(void 0, context.options)}`,
709
709
 
710
710
 
711
711
  async function generatePackageJson(context) {
712
- if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkB52TP7TDjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
713
- _chunkB52TP7TDjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
714
- const stopwatch = _chunkB52TP7TDjs.getStopwatch.call(void 0, "Write package.json file");
715
- const packageJsonPath = _chunkB52TP7TDjs.joinPaths.call(void 0,
712
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkQHV7SDFQjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
713
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
714
+ const stopwatch = _chunkQHV7SDFQjs.getStopwatch.call(void 0, "Write package.json file");
715
+ const packageJsonPath = _chunkQHV7SDFQjs.joinPaths.call(void 0,
716
716
  context.options.projectRoot,
717
717
  "project.json"
718
718
  );
@@ -720,7 +720,7 @@ async function generatePackageJson(context) {
720
720
  throw new Error("Cannot find package.json configuration");
721
721
  }
722
722
  const packageJsonFile = await _promises2.default.readFile(
723
- _chunkB52TP7TDjs.joinPaths.call(void 0,
723
+ _chunkQHV7SDFQjs.joinPaths.call(void 0,
724
724
  context.workspaceConfig.workspaceRoot,
725
725
  context.options.projectRoot,
726
726
  "package.json"
@@ -826,7 +826,7 @@ async function generatePackageJson(context) {
826
826
  }
827
827
  }
828
828
  await _devkit.writeJsonFile.call(void 0,
829
- _chunkB52TP7TDjs.joinPaths.call(void 0, context.outputPath, "package.json"),
829
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, context.outputPath, "package.json"),
830
830
  packageJson
831
831
  );
832
832
  stopwatch();
@@ -901,10 +901,10 @@ var depsCheckPlugin = (bundle) => ({
901
901
  const filteredMissingDeps = missingDependencies.filter((dep) => {
902
902
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
903
903
  });
904
- _chunkB52TP7TDjs.writeWarning.call(void 0,
904
+ _chunkQHV7SDFQjs.writeWarning.call(void 0,
905
905
  `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`
906
906
  );
907
- _chunkB52TP7TDjs.writeError.call(void 0,
907
+ _chunkQHV7SDFQjs.writeError.call(void 0,
908
908
  `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`
909
909
  );
910
910
  if (filteredMissingDeps.length > 0) {
@@ -919,14 +919,14 @@ ${JSON.stringify(filteredMissingDeps)}
919
919
  // ../esbuild/src/tsup.ts
920
920
  var _tsup = require('tsup');
921
921
  async function executeTsup(context) {
922
- _chunkB52TP7TDjs.writeDebug.call(void 0,
922
+ _chunkQHV7SDFQjs.writeDebug.call(void 0,
923
923
  ` \u{1F680} Running ${context.options.name} build`,
924
924
  context.workspaceConfig
925
925
  );
926
- const stopwatch = _chunkB52TP7TDjs.getStopwatch.call(void 0, `${context.options.name} build`);
926
+ const stopwatch = _chunkQHV7SDFQjs.getStopwatch.call(void 0, `${context.options.name} build`);
927
927
  await _tsup.build.call(void 0, {
928
928
  ...context.options,
929
- outDir: context.options.distDir ? _chunkB52TP7TDjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
929
+ outDir: context.options.distDir ? _chunkQHV7SDFQjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
930
930
  workspaceConfig: context.workspaceConfig
931
931
  });
932
932
  stopwatch();
@@ -937,17 +937,17 @@ async function executeTsup(context) {
937
937
  async function reportResults(context) {
938
938
  if (_optionalChain([context, 'access', _36 => _36.result, 'optionalAccess', _37 => _37.errors, 'access', _38 => _38.length]) === 0) {
939
939
  if (context.result.warnings.length > 0) {
940
- _chunkB52TP7TDjs.writeWarning.call(void 0,
940
+ _chunkQHV7SDFQjs.writeWarning.call(void 0,
941
941
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
942
942
  context.workspaceConfig
943
943
  );
944
944
  }
945
- _chunkB52TP7TDjs.writeSuccess.call(void 0,
945
+ _chunkQHV7SDFQjs.writeSuccess.call(void 0,
946
946
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
947
947
  context.workspaceConfig
948
948
  );
949
949
  } 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) {
950
- _chunkB52TP7TDjs.writeError.call(void 0,
950
+ _chunkQHV7SDFQjs.writeError.call(void 0,
951
951
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
952
952
  context.workspaceConfig
953
953
  );
@@ -984,19 +984,19 @@ async function dependencyCheck(options) {
984
984
  }
985
985
  async function cleanOutputPath(context) {
986
986
  if (context.clean !== false && context.outputPath) {
987
- _chunkB52TP7TDjs.writeDebug.call(void 0,
987
+ _chunkQHV7SDFQjs.writeDebug.call(void 0,
988
988
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
989
989
  context.workspaceConfig
990
990
  );
991
- const stopwatch = _chunkB52TP7TDjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
991
+ const stopwatch = _chunkQHV7SDFQjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
992
992
  await cleanDirectories(context.outputPath);
993
993
  stopwatch();
994
994
  }
995
995
  return context;
996
996
  }
997
997
  async function build2(options) {
998
- _chunkB52TP7TDjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
999
- const stopwatch = _chunkB52TP7TDjs.getStopwatch.call(void 0, "ESBuild pipeline");
998
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
999
+ const stopwatch = _chunkQHV7SDFQjs.getStopwatch.call(void 0, "ESBuild pipeline");
1000
1000
  try {
1001
1001
  const opts = Array.isArray(options) ? options : [options];
1002
1002
  if (opts.length === 0) {
@@ -1011,9 +1011,9 @@ async function build2(options) {
1011
1011
  executeTsup(context)
1012
1012
  ]);
1013
1013
  await reportResults(context);
1014
- _chunkB52TP7TDjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1014
+ _chunkQHV7SDFQjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1015
1015
  } catch (error) {
1016
- _chunkB52TP7TDjs.writeFatal.call(void 0,
1016
+ _chunkQHV7SDFQjs.writeFatal.call(void 0,
1017
1017
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1018
1018
  );
1019
1019
  throw error;
@@ -1024,7 +1024,7 @@ async function build2(options) {
1024
1024
 
1025
1025
  // ../workspace-tools/src/executors/esbuild/executor.ts
1026
1026
  async function esbuildExecutorFn(options, context, config) {
1027
- _chunkB52TP7TDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1027
+ _chunkQHV7SDFQjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1028
1028
  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])) {
1029
1029
  throw new Error(
1030
1030
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1042,7 +1042,7 @@ async function esbuildExecutorFn(options, context, config) {
1042
1042
  success: true
1043
1043
  };
1044
1044
  }
1045
- var executor_default6 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
1045
+ var executor_default6 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
1046
1046
  "Storm ESBuild build",
1047
1047
  esbuildExecutorFn,
1048
1048
  {
@@ -1063,6 +1063,77 @@ var executor_default6 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
1063
1063
 
1064
1064
  var _prettier = require('prettier');
1065
1065
 
1066
+ // ../workspace-tools/src/utils/package-helpers.ts
1067
+
1068
+
1069
+
1070
+
1071
+
1072
+
1073
+
1074
+
1075
+
1076
+
1077
+ // ../workspace-tools/src/utils/project-tags.ts
1078
+ var ProjectTagConstants = {
1079
+ Language: {
1080
+ TAG_ID: "language",
1081
+ TYPESCRIPT: "typescript",
1082
+ RUST: "rust"
1083
+ },
1084
+ ProjectType: {
1085
+ TAG_ID: "type",
1086
+ LIBRARY: "library",
1087
+ APPLICATION: "application"
1088
+ },
1089
+ DistStyle: {
1090
+ TAG_ID: "dist-style",
1091
+ NORMAL: "normal",
1092
+ CLEAN: "clean"
1093
+ },
1094
+ Provider: {
1095
+ TAG_ID: "provider"
1096
+ },
1097
+ Platform: {
1098
+ TAG_ID: "platform",
1099
+ NODE: "node",
1100
+ BROWSER: "browser",
1101
+ NEUTRAL: "neutral",
1102
+ WORKER: "worker"
1103
+ },
1104
+ Registry: {
1105
+ TAG_ID: "registry",
1106
+ CARGO: "cargo",
1107
+ NPM: "npm",
1108
+ CONTAINER: "container",
1109
+ CYCLONE: "cyclone"
1110
+ },
1111
+ Plugin: {
1112
+ TAG_ID: "plugin"
1113
+ }
1114
+ };
1115
+ var formatProjectTag = (variant, value) => {
1116
+ return `${variant}:${value}`;
1117
+ };
1118
+ var hasProjectTag = (project, variant) => {
1119
+ project.tags = _nullishCoalesce(project.tags, () => ( []));
1120
+ const prefix = formatProjectTag(variant, "");
1121
+ return project.tags.some(
1122
+ (tag) => tag.startsWith(prefix) && tag.length > prefix.length
1123
+ );
1124
+ };
1125
+ var addProjectTag = (project, variant, value, options = {
1126
+ overwrite: false
1127
+ }) => {
1128
+ project.tags = _nullishCoalesce(project.tags, () => ( []));
1129
+ if (options.overwrite || !hasProjectTag(project, variant)) {
1130
+ project.tags = project.tags.filter(
1131
+ (tag) => !tag.startsWith(formatProjectTag(variant, ""))
1132
+ );
1133
+ project.tags.push(formatProjectTag(variant, value));
1134
+ }
1135
+ };
1136
+
1066
1137
  // ../workspace-tools/src/utils/pnpm-deps-update.ts
1067
1138
 
1068
1139
 
@@ -1088,14 +1159,14 @@ async function sizeLimitExecutorFn(options, context, config) {
1088
1159
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
1089
1160
  );
1090
1161
  }
1091
- _chunkB52TP7TDjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1162
+ _chunkQHV7SDFQjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1092
1163
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild3.default, _esbuildwhy2.default], {
1093
1164
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _61 => _61.projectsConfigurations, 'access', _62 => _62.projects, 'access', _63 => _63[context.projectName], 'optionalAccess', _64 => _64.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
1094
1165
  _nullishCoalesce(_optionalChain([context, 'access', _65 => _65.projectsConfigurations, 'access', _66 => _66.projects, 'access', _67 => _67[context.projectName], 'optionalAccess', _68 => _68.root]), () => ( "./")),
1095
1166
  "src"
1096
1167
  )))
1097
1168
  }).then((result) => {
1098
- _chunkB52TP7TDjs.writeInfo.call(void 0,
1169
+ _chunkQHV7SDFQjs.writeInfo.call(void 0,
1099
1170
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
1100
1171
  config
1101
1172
  );
@@ -1104,7 +1175,7 @@ async function sizeLimitExecutorFn(options, context, config) {
1104
1175
  success: true
1105
1176
  };
1106
1177
  }
1107
- var executor_default7 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
1178
+ var executor_default7 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
1108
1179
  "Size-Limit Performance Test Executor",
1109
1180
  sizeLimitExecutorFn,
1110
1181
  {
@@ -1122,12 +1193,12 @@ var _fsextra = require('fs-extra');
1122
1193
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1123
1194
  async function typiaExecutorFn(options, _, config) {
1124
1195
  if (options.clean !== false) {
1125
- _chunkB52TP7TDjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1196
+ _chunkQHV7SDFQjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1126
1197
  _fsextra.removeSync.call(void 0, options.outputPath);
1127
1198
  }
1128
1199
  await Promise.all(
1129
1200
  options.entry.map((entry) => {
1130
- _chunkB52TP7TDjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1201
+ _chunkQHV7SDFQjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1131
1202
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1132
1203
  input: entry,
1133
1204
  output: options.outputPath,
@@ -1139,7 +1210,7 @@ async function typiaExecutorFn(options, _, config) {
1139
1210
  success: true
1140
1211
  };
1141
1212
  }
1142
- var executor_default8 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
1213
+ var executor_default8 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
1143
1214
  "Typia runtime validation generator",
1144
1215
  typiaExecutorFn,
1145
1216
  {
@@ -1160,7 +1231,7 @@ var executor_default8 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
1160
1231
 
1161
1232
  var _jiti = require('jiti');
1162
1233
  async function unbuildExecutorFn(options, context, config) {
1163
- _chunkB52TP7TDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1234
+ _chunkQHV7SDFQjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1164
1235
  if (!_optionalChain([context, 'access', _69 => _69.projectsConfigurations, 'optionalAccess', _70 => _70.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1165
1236
  throw new Error(
1166
1237
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -1177,7 +1248,7 @@ async function unbuildExecutorFn(options, context, config) {
1177
1248
  );
1178
1249
  }
1179
1250
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1180
- fsCache: config.skipCache ? false : _chunkB52TP7TDjs.joinPaths.call(void 0,
1251
+ fsCache: config.skipCache ? false : _chunkQHV7SDFQjs.joinPaths.call(void 0,
1181
1252
  config.workspaceRoot,
1182
1253
  config.directories.cache || "node_modules/.cache/storm",
1183
1254
  "jiti"
@@ -1199,7 +1270,7 @@ async function unbuildExecutorFn(options, context, config) {
1199
1270
  {
1200
1271
  stubOptions: {
1201
1272
  jiti: {
1202
- fsCache: config.skipCache ? false : _chunkB52TP7TDjs.joinPaths.call(void 0,
1273
+ fsCache: config.skipCache ? false : _chunkQHV7SDFQjs.joinPaths.call(void 0,
1203
1274
  config.workspaceRoot,
1204
1275
  config.directories.cache || "node_modules/.cache/storm",
1205
1276
  "jiti"
@@ -1228,7 +1299,7 @@ async function unbuildExecutorFn(options, context, config) {
1228
1299
  success: true
1229
1300
  };
1230
1301
  }
1231
- var executor_default9 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
1302
+ var executor_default9 = _chunkQHV7SDFQjs.withRunExecutor.call(void 0,
1232
1303
  "TypeScript Unbuild build",
1233
1304
  unbuildExecutorFn,
1234
1305
  {
@@ -1259,45 +1330,45 @@ var executor_default9 = _chunkB52TP7TDjs.withRunExecutor.call(void 0,
1259
1330
  var withRunGenerator = (name, generatorFn, generatorOptions = {
1260
1331
  skipReadingConfig: false
1261
1332
  }) => async (tree, _options) => {
1262
- const stopwatch = _chunkB52TP7TDjs.getStopwatch.call(void 0, name);
1333
+ const stopwatch = _chunkQHV7SDFQjs.getStopwatch.call(void 0, name);
1263
1334
  let options = _options;
1264
1335
  let config;
1265
1336
  try {
1266
- _chunkB52TP7TDjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1337
+ _chunkQHV7SDFQjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1267
1338
 
1268
1339
  `, config);
1269
- const workspaceRoot3 = _chunkB52TP7TDjs.findWorkspaceRoot.call(void 0, );
1340
+ const workspaceRoot3 = _chunkQHV7SDFQjs.findWorkspaceRoot.call(void 0, );
1270
1341
  if (!generatorOptions.skipReadingConfig) {
1271
- _chunkB52TP7TDjs.writeDebug.call(void 0,
1342
+ _chunkQHV7SDFQjs.writeDebug.call(void 0,
1272
1343
  `Loading the Storm Config from environment variables and storm.config.js file...
1273
1344
  - workspaceRoot: ${workspaceRoot3}`,
1274
1345
  config
1275
1346
  );
1276
- config = await _chunkB52TP7TDjs.getConfig.call(void 0, workspaceRoot3);
1347
+ config = await _chunkQHV7SDFQjs.getConfig.call(void 0, workspaceRoot3);
1277
1348
  }
1278
1349
  if (_optionalChain([generatorOptions, 'optionalAccess', _71 => _71.hooks, 'optionalAccess', _72 => _72.applyDefaultOptions])) {
1279
- _chunkB52TP7TDjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1350
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1280
1351
  options = await Promise.resolve(
1281
1352
  generatorOptions.hooks.applyDefaultOptions(options, config)
1282
1353
  );
1283
- _chunkB52TP7TDjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1354
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1284
1355
  }
1285
- _chunkB52TP7TDjs.writeTrace.call(void 0,
1356
+ _chunkQHV7SDFQjs.writeTrace.call(void 0,
1286
1357
  `Generator schema options \u2699\uFE0F
1287
1358
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
1288
1359
  config
1289
1360
  );
1290
- const tokenized = await _chunkB52TP7TDjs.applyWorkspaceTokens.call(void 0,
1361
+ const tokenized = await _chunkQHV7SDFQjs.applyWorkspaceTokens.call(void 0,
1291
1362
  options,
1292
1363
  { workspaceRoot: tree.root, config },
1293
- _chunkB52TP7TDjs.applyWorkspaceBaseTokens
1364
+ _chunkQHV7SDFQjs.applyWorkspaceBaseTokens
1294
1365
  );
1295
1366
  if (_optionalChain([generatorOptions, 'optionalAccess', _73 => _73.hooks, 'optionalAccess', _74 => _74.preProcess])) {
1296
- _chunkB52TP7TDjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1367
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1297
1368
  await Promise.resolve(
1298
1369
  generatorOptions.hooks.preProcess(tokenized, config)
1299
1370
  );
1300
- _chunkB52TP7TDjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1371
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1301
1372
  }
1302
1373
  const result = await Promise.resolve(
1303
1374
  generatorFn(tree, tokenized, config)
@@ -1312,21 +1383,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1312
1383
  }
1313
1384
  }
1314
1385
  if (_optionalChain([generatorOptions, 'optionalAccess', _84 => _84.hooks, 'optionalAccess', _85 => _85.postProcess])) {
1315
- _chunkB52TP7TDjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1386
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1316
1387
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1317
- _chunkB52TP7TDjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1388
+ _chunkQHV7SDFQjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1318
1389
  }
1319
1390
  return () => {
1320
- _chunkB52TP7TDjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1391
+ _chunkQHV7SDFQjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1321
1392
  `, config);
1322
1393
  };
1323
1394
  } catch (error) {
1324
1395
  return () => {
1325
- _chunkB52TP7TDjs.writeFatal.call(void 0,
1396
+ _chunkQHV7SDFQjs.writeFatal.call(void 0,
1326
1397
  "A fatal error occurred while running the generator - the process was forced to terminate",
1327
1398
  config
1328
1399
  );
1329
- _chunkB52TP7TDjs.writeError.call(void 0,
1400
+ _chunkQHV7SDFQjs.writeError.call(void 0,
1330
1401
  `An exception was thrown in the generator's process
1331
1402
  - Details: ${error.message}
1332
1403
  - Stacktrace: ${error.stack}`,
@@ -1359,66 +1430,6 @@ var _js = require('@nx/js');
1359
1430
  var _init = require('@nx/js/src/generators/init/init'); var _init2 = _interopRequireDefault(_init);
1360
1431
  var _generator = require('@nx/js/src/generators/setup-verdaccio/generator'); var _generator2 = _interopRequireDefault(_generator);
1361
1432
 
1362
- // ../workspace-tools/src/utils/project-tags.ts
1363
- var ProjectTagConstants = {
1364
- Language: {
1365
- TAG_ID: "language",
1366
- TYPESCRIPT: "typescript",
1367
- RUST: "rust"
1368
- },
1369
- ProjectType: {
1370
- TAG_ID: "type",
1371
- LIBRARY: "library",
1372
- APPLICATION: "application"
1373
- },
1374
- DistStyle: {
1375
- TAG_ID: "dist-style",
1376
- NORMAL: "normal",
1377
- CLEAN: "clean"
1378
- },
1379
- Provider: {
1380
- TAG_ID: "provider"
1381
- },
1382
- Platform: {
1383
- TAG_ID: "platform",
1384
- NODE: "node",
1385
- BROWSER: "browser",
1386
- NEUTRAL: "neutral",
1387
- WORKER: "worker"
1388
- },
1389
- Registry: {
1390
- TAG_ID: "registry",
1391
- CARGO: "cargo",
1392
- NPM: "npm",
1393
- CONTAINER: "container",
1394
- CYCLONE: "cyclone"
1395
- },
1396
- Plugin: {
1397
- TAG_ID: "plugin"
1398
- }
1399
- };
1400
- var formatProjectTag = (variant, value) => {
1401
- return `${variant}:${value}`;
1402
- };
1403
- var hasProjectTag = (project, variant) => {
1404
- project.tags = _nullishCoalesce(project.tags, () => ( []));
1405
- const prefix = formatProjectTag(variant, "");
1406
- return project.tags.some(
1407
- (tag) => tag.startsWith(prefix) && tag.length > prefix.length
1408
- );
1409
- };
1410
- var addProjectTag = (project, variant, value, options = {
1411
- overwrite: false
1412
- }) => {
1413
- project.tags = _nullishCoalesce(project.tags, () => ( []));
1414
- if (options.overwrite || !hasProjectTag(project, variant)) {
1415
- project.tags = project.tags.filter(
1416
- (tag) => !tag.startsWith(formatProjectTag(variant, ""))
1417
- );
1418
- project.tags.push(formatProjectTag(variant, value));
1419
- }
1420
- };
1421
-
1422
1433
  // ../workspace-tools/src/utils/versions.ts
1423
1434
  var typesNodeVersion = "20.9.0";
1424
1435
  var nxVersion = "^18.0.4";
@@ -1452,16 +1463,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1452
1463
  const projectConfig = {
1453
1464
  root: normalized.directory,
1454
1465
  projectType: "library",
1455
- sourceRoot: _chunkB52TP7TDjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1466
+ sourceRoot: _chunkQHV7SDFQjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1456
1467
  targets: {
1457
1468
  build: {
1458
1469
  executor: options.buildExecutor,
1459
1470
  outputs: ["{options.outputPath}"],
1460
1471
  options: {
1461
- entry: [_chunkB52TP7TDjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1472
+ entry: [_chunkQHV7SDFQjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1462
1473
  outputPath: getOutputPath(normalized),
1463
- tsconfig: _chunkB52TP7TDjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1464
- project: _chunkB52TP7TDjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1474
+ tsconfig: _chunkQHV7SDFQjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1475
+ project: _chunkQHV7SDFQjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1465
1476
  defaultConfiguration: "production",
1466
1477
  platform: "neutral",
1467
1478
  assets: [
@@ -1518,7 +1529,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1518
1529
  if (!normalized.importPath) {
1519
1530
  normalized.importPath = normalized.name;
1520
1531
  }
1521
- const packageJsonPath = _chunkB52TP7TDjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
1532
+ const packageJsonPath = _chunkQHV7SDFQjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
1522
1533
  if (tree.exists(packageJsonPath)) {
1523
1534
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
1524
1535
  if (!normalized.importPath) {
@@ -1575,14 +1586,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1575
1586
  }));
1576
1587
  }
1577
1588
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
1578
- _chunkB52TP7TDjs.joinPaths.call(void 0,
1589
+ _chunkQHV7SDFQjs.joinPaths.call(void 0,
1579
1590
  normalized.projectRoot,
1580
1591
  "./src",
1581
1592
  `index.${normalized.js ? "js" : "ts"}`
1582
1593
  )
1583
1594
  ]);
1584
- _js.addTsConfigPath.call(void 0, tree, _chunkB52TP7TDjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
1585
- _chunkB52TP7TDjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
1595
+ _js.addTsConfigPath.call(void 0, tree, _chunkQHV7SDFQjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
1596
+ _chunkQHV7SDFQjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
1586
1597
  ]);
1587
1598
  if (tree.exists("package.json")) {
1588
1599
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -1593,7 +1604,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1593
1604
  description = packageJson.description;
1594
1605
  }
1595
1606
  }
1596
- const tsconfigPath = _chunkB52TP7TDjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
1607
+ const tsconfigPath = _chunkQHV7SDFQjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
1597
1608
  if (tree.exists(tsconfigPath)) {
1598
1609
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
1599
1610
  json.composite ??= true;
@@ -1621,7 +1632,7 @@ function getOutputPath(options) {
1621
1632
  } else {
1622
1633
  parts.push(options.projectRoot);
1623
1634
  }
1624
- return _chunkB52TP7TDjs.joinPaths.call(void 0, ...parts);
1635
+ return _chunkQHV7SDFQjs.joinPaths.call(void 0, ...parts);
1625
1636
  }
1626
1637
  function createProjectTsConfigJson(tree, options) {
1627
1638
  const tsconfig = {
@@ -1629,7 +1640,7 @@ function createProjectTsConfigJson(tree, options) {
1629
1640
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _100 => _100.tsconfigOptions]), () => ( {})),
1630
1641
  compilerOptions: {
1631
1642
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
1632
- outDir: _chunkB52TP7TDjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
1643
+ outDir: _chunkQHV7SDFQjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
1633
1644
  noEmit: true,
1634
1645
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _101 => _101.tsconfigOptions, 'optionalAccess', _102 => _102.compilerOptions]), () => ( {}))
1635
1646
  },
@@ -1647,7 +1658,7 @@ function createProjectTsConfigJson(tree, options) {
1647
1658
  "src/**/*.test.ts"
1648
1659
  ]
1649
1660
  };
1650
- _devkit.writeJson.call(void 0, tree, _chunkB52TP7TDjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
1661
+ _devkit.writeJson.call(void 0, tree, _chunkQHV7SDFQjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
1651
1662
  }
1652
1663
  async function normalizeOptions(tree, options, config) {
1653
1664
  let importPath = options.importPath;
@@ -1712,7 +1723,7 @@ async function normalizeOptions(tree, options, config) {
1712
1723
 
1713
1724
  // ../workspace-tools/src/generators/browser-library/generator.ts
1714
1725
  async function browserLibraryGeneratorFn(tree, schema, config) {
1715
- const filesDir = _chunkB52TP7TDjs.joinPaths.call(void 0,
1726
+ const filesDir = _chunkQHV7SDFQjs.joinPaths.call(void 0,
1716
1727
  __dirname,
1717
1728
  "src",
1718
1729
  "generators",
@@ -1795,32 +1806,37 @@ var generator_default = withRunGenerator(
1795
1806
 
1796
1807
  var _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
1797
1808
  async function configSchemaGeneratorFn(tree, options, config) {
1798
- _chunkB52TP7TDjs.writeInfo.call(void 0,
1809
+ _chunkQHV7SDFQjs.writeInfo.call(void 0,
1799
1810
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
1800
1811
  config
1801
1812
  );
1802
- _chunkB52TP7TDjs.writeTrace.call(void 0,
1813
+ _chunkQHV7SDFQjs.writeTrace.call(void 0,
1803
1814
  `Determining the Storm Workspace Configuration JSON Schema...`,
1804
1815
  config
1805
1816
  );
1806
- const jsonSchema = z.toJSONSchema(_chunkB52TP7TDjs.stormWorkspaceConfigSchema);
1807
- _chunkB52TP7TDjs.writeTrace.call(void 0, jsonSchema, config);
1817
+ const jsonSchema = z.toJSONSchema(_chunkQHV7SDFQjs.stormWorkspaceConfigSchema, {
1818
+ target: "draft-7"
1819
+ });
1820
+ jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
1821
+ jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
1822
+ 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.";
1823
+ _chunkQHV7SDFQjs.writeTrace.call(void 0, jsonSchema, config);
1808
1824
  if (!options.outputFile) {
1809
1825
  throw new Error(
1810
1826
  "The `outputFile` option is required. Please specify the output file path."
1811
1827
  );
1812
1828
  }
1813
1829
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
1814
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _111 => _111.workspaceRoot]), () => ( _chunkB52TP7TDjs.findWorkspaceRoot.call(void 0, ))),
1830
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _111 => _111.workspaceRoot]), () => ( _chunkQHV7SDFQjs.findWorkspaceRoot.call(void 0, ))),
1815
1831
  options.outputFile.startsWith("./") ? "" : "./"
1816
1832
  );
1817
- _chunkB52TP7TDjs.writeTrace.call(void 0,
1833
+ _chunkQHV7SDFQjs.writeTrace.call(void 0,
1818
1834
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
1819
1835
  config
1820
1836
  );
1821
1837
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
1822
1838
  await _devkit.formatFiles.call(void 0, tree);
1823
- _chunkB52TP7TDjs.writeSuccess.call(void 0,
1839
+ _chunkQHV7SDFQjs.writeSuccess.call(void 0,
1824
1840
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
1825
1841
  config
1826
1842
  );
@@ -1876,7 +1892,7 @@ async function initGenerator(tree, schema) {
1876
1892
 
1877
1893
 
1878
1894
  async function neutralLibraryGeneratorFn(tree, schema, config) {
1879
- const filesDir = _chunkB52TP7TDjs.joinPaths.call(void 0,
1895
+ const filesDir = _chunkQHV7SDFQjs.joinPaths.call(void 0,
1880
1896
  __dirname,
1881
1897
  "src",
1882
1898
  "generators",
@@ -1935,7 +1951,7 @@ var generator_default3 = withRunGenerator(
1935
1951
 
1936
1952
 
1937
1953
  async function nodeLibraryGeneratorFn(tree, schema, config) {
1938
- const filesDir = _chunkB52TP7TDjs.joinPaths.call(void 0,
1954
+ const filesDir = _chunkQHV7SDFQjs.joinPaths.call(void 0,
1939
1955
  __dirname,
1940
1956
  "src",
1941
1957
  "generators",
@@ -2852,13 +2868,6 @@ var YARN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, YARN_LOCK_FI
2852
2868
  var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE);
2853
2869
  var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
2854
2870
 
2855
- // ../workspace-tools/src/utils/package-helpers.ts
2856
-
2857
-
2858
-
2859
-
2860
-
2861
-
2862
2871
  // ../workspace-tools/src/utils/plugin-helpers.ts
2863
2872
 
2864
2873