@storm-software/cloudflare-tools 0.54.7 → 0.54.8

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 +6 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-ILLCSSWN.js → chunk-43HWVEIC.js} +12 -6
  4. package/dist/{chunk-DFG3KJWS.js → chunk-6Q4S7VSU.js} +41 -41
  5. package/dist/{chunk-BM5BCBD5.js → chunk-ADRS43PR.js} +3 -3
  6. package/dist/{chunk-DQHMNZ47.mjs → chunk-BKBJDKMA.mjs} +1 -1
  7. package/dist/{chunk-V6AZAO6I.mjs → chunk-FRA27Q4O.mjs} +8 -2
  8. package/dist/{chunk-LXXVBXFM.js → chunk-GCD4ACJC.js} +16 -16
  9. package/dist/{chunk-AHH4H2KV.mjs → chunk-GFBCXKWS.mjs} +1 -1
  10. package/dist/{chunk-IXEWBCGZ.mjs → chunk-GMLMIRU7.mjs} +16 -10
  11. package/dist/{chunk-OG2Q7NAH.js → chunk-J4ZEL2FS.js} +160 -154
  12. package/dist/{chunk-4CRTRUC2.mjs → chunk-KZ4CEGFR.mjs} +3 -3
  13. package/dist/{chunk-PSWKGEBI.js → chunk-MRGXWXWO.js} +1 -1
  14. package/dist/{chunk-23YXGFBU.mjs → chunk-NP7DE7UM.mjs} +1 -1
  15. package/dist/{chunk-QBGHFLOI.js → chunk-OPYQILOY.js} +12 -12
  16. package/dist/{chunk-XIDK2YZE.mjs → chunk-XSVPXWSA.mjs} +3 -3
  17. package/dist/executors.js +5 -5
  18. package/dist/executors.mjs +5 -5
  19. package/dist/generators.js +5 -5
  20. package/dist/generators.mjs +4 -4
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  24. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  25. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  26. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  27. package/dist/src/executors/serve/executor.js +4 -4
  28. package/dist/src/executors/serve/executor.mjs +3 -3
  29. package/dist/src/generators/init/generator.js +2 -2
  30. package/dist/src/generators/init/generator.mjs +1 -1
  31. package/dist/src/generators/worker/generator.js +5 -5
  32. package/dist/src/generators/worker/generator.mjs +4 -4
  33. package/dist/src/utils/index.js +3 -3
  34. package/dist/src/utils/index.mjs +2 -2
  35. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  36. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  37. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
5
5
 
6
6
 
7
- var _chunkDFG3KJWSjs = require('./chunk-DFG3KJWS.js');
7
+ var _chunk6Q4S7VSUjs = require('./chunk-6Q4S7VSU.js');
8
8
 
9
9
 
10
10
 
@@ -20,7 +20,7 @@ var _chunkDFG3KJWSjs = require('./chunk-DFG3KJWS.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkILLCSSWNjs = require('./chunk-ILLCSSWN.js');
23
+ var _chunk43HWVEICjs = require('./chunk-43HWVEIC.js');
24
24
 
25
25
 
26
26
 
@@ -53,7 +53,7 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void
53
53
  }
54
54
  }
55
55
  if (result.includes("{workspaceRoot}")) {
56
- result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkILLCSSWNjs.findWorkspaceRoot.call(void 0, ))));
56
+ result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, ))));
57
57
  }
58
58
  return result;
59
59
  }, "applyWorkspaceBaseTokens");
@@ -101,37 +101,37 @@ var run = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (config, command,
101
101
  // ../workspace-tools/src/base/base-executor.ts
102
102
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
103
103
  var withRunExecutor = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context2) => {
104
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, name);
104
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, name);
105
105
  let options = _options;
106
106
  let config = {};
107
107
  try {
108
108
  if (!_optionalChain([context2, 'access', _5 => _5.projectsConfigurations, 'optionalAccess', _6 => _6.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
109
109
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
110
110
  }
111
- const workspaceRoot3 = _chunkILLCSSWNjs.findWorkspaceRoot.call(void 0, );
111
+ const workspaceRoot3 = _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, );
112
112
  const projectRoot = context2.projectsConfigurations.projects[context2.projectName].root || workspaceRoot3;
113
113
  const sourceRoot = context2.projectsConfigurations.projects[context2.projectName].sourceRoot || projectRoot || workspaceRoot3;
114
114
  const projectName = context2.projectName;
115
115
  config.workspaceRoot = workspaceRoot3;
116
- _chunkILLCSSWNjs.writeInfo.call(void 0, `
116
+ _chunk43HWVEICjs.writeInfo.call(void 0, `
117
117
  \u26A1 Running the ${name} executor for ${projectName}
118
118
  `, config);
119
119
  if (!executorOptions.skipReadingConfig) {
120
- _chunkILLCSSWNjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
120
+ _chunk43HWVEICjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
121
121
  - workspaceRoot: ${workspaceRoot3}
122
122
  - projectRoot: ${projectRoot}
123
123
  - sourceRoot: ${sourceRoot}
124
124
  - projectName: ${projectName}
125
125
  `, config);
126
- config = await _chunkDFG3KJWSjs.getConfig.call(void 0, workspaceRoot3);
126
+ config = await _chunk6Q4S7VSUjs.getConfig.call(void 0, workspaceRoot3);
127
127
  }
128
128
  if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
129
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
129
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
130
130
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
131
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
131
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
132
132
  }
133
- _chunkILLCSSWNjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
134
- ${_chunkILLCSSWNjs.formatLogMessage.call(void 0, options)}
133
+ _chunk43HWVEICjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
134
+ ${_chunk43HWVEICjs.formatLogMessage.call(void 0, options)}
135
135
  `, config);
136
136
  const tokenized = await applyWorkspaceTokens(options, _defu.defu.call(void 0, {
137
137
  workspaceRoot: workspaceRoot3,
@@ -140,13 +140,13 @@ ${_chunkILLCSSWNjs.formatLogMessage.call(void 0, options)}
140
140
  projectName,
141
141
  config
142
142
  }, config, context2.projectsConfigurations.projects[context2.projectName]), applyWorkspaceProjectTokens);
143
- _chunkILLCSSWNjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
144
- ${_chunkILLCSSWNjs.formatLogMessage.call(void 0, tokenized)}
143
+ _chunk43HWVEICjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
144
+ ${_chunk43HWVEICjs.formatLogMessage.call(void 0, tokenized)}
145
145
  `, config);
146
146
  if (_optionalChain([executorOptions, 'optionalAccess', _9 => _9.hooks, 'optionalAccess', _10 => _10.preProcess])) {
147
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
147
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
148
148
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
149
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
149
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
150
150
  }
151
151
  const ret = executorFn(tokenized, context2, config);
152
152
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _11 => _11.next]))) {
@@ -156,26 +156,26 @@ ${_chunkILLCSSWNjs.formatLogMessage.call(void 0, tokenized)}
156
156
  }
157
157
  const result = await Promise.resolve(ret);
158
158
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.message]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.message]) === "string" && _optionalChain([result, 'optionalAccess', _16 => _16.error, 'optionalAccess', _17 => _17.name]) && typeof _optionalChain([result, 'optionalAccess', _18 => _18.error, 'optionalAccess', _19 => _19.name]) === "string")) {
159
- _chunkILLCSSWNjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
160
- ${_chunkILLCSSWNjs.formatLogMessage.call(void 0, result)}`, config);
159
+ _chunk43HWVEICjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
160
+ ${_chunk43HWVEICjs.formatLogMessage.call(void 0, result)}`, config);
161
161
  console.error(result);
162
162
  throw new Error(`The ${name} executor failed to run`, {
163
163
  cause: _optionalChain([result, 'optionalAccess', _20 => _20.error])
164
164
  });
165
165
  }
166
166
  if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.postProcess])) {
167
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
167
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
168
168
  await Promise.resolve(executorOptions.hooks.postProcess(config));
169
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
169
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
170
170
  }
171
- _chunkILLCSSWNjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
171
+ _chunk43HWVEICjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
172
172
  `, config);
173
173
  return {
174
174
  success: true
175
175
  };
176
176
  } catch (error) {
177
- _chunkILLCSSWNjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
178
- _chunkILLCSSWNjs.writeError.call(void 0, `An exception was thrown in the executor's process
177
+ _chunk43HWVEICjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
178
+ _chunk43HWVEICjs.writeError.call(void 0, `An exception was thrown in the executor's process
179
179
  - Details: ${error.message}
180
180
  - Stacktrace: ${error.stack}`, config);
181
181
  return {
@@ -478,8 +478,8 @@ var copyAssets = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (con
478
478
  output: "src/"
479
479
  });
480
480
  }
481
- _chunkILLCSSWNjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
482
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkILLCSSWNjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
481
+ _chunk43HWVEICjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
482
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk43HWVEICjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
483
483
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
484
484
  projectDir: projectRoot,
485
485
  rootDir: config.workspaceRoot,
@@ -488,12 +488,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
488
488
  });
489
489
  await assetHandler.processAllAssetsOnce();
490
490
  if (includeSrc === true) {
491
- _chunkILLCSSWNjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkILLCSSWNjs.joinPaths.call(void 0, outputPath, "src")}`, config);
491
+ _chunk43HWVEICjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunk43HWVEICjs.joinPaths.call(void 0, outputPath, "src")}`, config);
492
492
  const files = await _glob.glob.call(void 0, [
493
- _chunkILLCSSWNjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
494
- _chunkILLCSSWNjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
495
- _chunkILLCSSWNjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
496
- _chunkILLCSSWNjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
493
+ _chunk43HWVEICjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
494
+ _chunk43HWVEICjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
495
+ _chunk43HWVEICjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
496
+ _chunk43HWVEICjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
497
497
  ]);
498
498
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
499
499
 
@@ -515,7 +515,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0
515
515
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot3)) {
516
516
  const projectNode = project.node;
517
517
  if (projectNode.data.root) {
518
- const projectPackageJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
518
+ const projectPackageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
519
519
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
520
520
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
521
521
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -526,7 +526,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0
526
526
  }
527
527
  }
528
528
  if (localPackages.length > 0) {
529
- _chunkILLCSSWNjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
529
+ _chunk43HWVEICjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
530
530
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
531
531
  if (!ret[localPackage.name]) {
532
532
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -548,13 +548,13 @@ var addPackageDependencies = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0
548
548
  return ret;
549
549
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
550
550
  } else {
551
- _chunkILLCSSWNjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
551
+ _chunk43HWVEICjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
552
552
  }
553
553
  return packageJson;
554
554
  }, "addPackageDependencies");
555
555
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
556
- const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkILLCSSWNjs.findWorkspaceRoot.call(void 0, );
557
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkILLCSSWNjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
556
+ const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, );
557
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
558
558
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
559
559
  packageJson.type ??= "module";
560
560
  packageJson.sideEffects ??= false;
@@ -563,7 +563,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call
563
563
  if (distSrc.startsWith("/")) {
564
564
  distSrc = distSrc.substring(1);
565
565
  }
566
- packageJson.source ??= `${_chunkILLCSSWNjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
566
+ packageJson.source ??= `${_chunk43HWVEICjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
567
567
  }
568
568
  packageJson.files ??= [
569
569
  "dist/**/*"
@@ -594,7 +594,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call
594
594
  ];
595
595
  }
596
596
  packageJson.repository ??= workspacePackageJson.repository;
597
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkILLCSSWNjs.joinPaths.call(void 0, "packages", projectName);
597
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk43HWVEICjs.joinPaths.call(void 0, "packages", projectName);
598
598
  return packageJson;
599
599
  }, "addWorkspacePackageJsonFields");
600
600
  var addPackageJsonExport = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (file, type = "module", sourceRoot) => {
@@ -621,7 +621,7 @@ var addPackageJsonExport = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0,
621
621
  // ../build-tools/src/utilities/get-entry-points.ts
622
622
 
623
623
  var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
624
- const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkILLCSSWNjs.findWorkspaceRoot.call(void 0, );
624
+ const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, );
625
625
  const entryPoints = [];
626
626
  if (entry) {
627
627
  if (Array.isArray(entry)) {
@@ -633,7 +633,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
633
633
  }
634
634
  }
635
635
  if (emitOnAll) {
636
- entryPoints.push(_chunkILLCSSWNjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
636
+ entryPoints.push(_chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
637
637
  }
638
638
  const results = [];
639
639
  for (const entryPoint in entryPoints) {
@@ -642,9 +642,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
642
642
  withFileTypes: true
643
643
  });
644
644
  results.push(...files.reduce((ret, filePath) => {
645
- const result = _chunkILLCSSWNjs.correctPaths.call(void 0, _chunkILLCSSWNjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkILLCSSWNjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkILLCSSWNjs.correctPaths.call(void 0, projectRoot), ""));
645
+ const result = _chunk43HWVEICjs.correctPaths.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunk43HWVEICjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunk43HWVEICjs.correctPaths.call(void 0, projectRoot), ""));
646
646
  if (result) {
647
- _chunkILLCSSWNjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkILLCSSWNjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
647
+ _chunk43HWVEICjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunk43HWVEICjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
648
648
  if (!results.includes(result)) {
649
649
  results.push(result);
650
650
  }
@@ -854,8 +854,8 @@ var RendererEngine = class {
854
854
  // ../esbuild/src/clean.ts
855
855
 
856
856
  async function clean(name = "ESBuild", directory, config) {
857
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
858
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, `${name} output clean`);
857
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
858
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${name} output clean`);
859
859
  await _node.hfs.deleteAll(directory);
860
860
  stopwatch();
861
861
  }
@@ -976,7 +976,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (option
976
976
  setup(build5) {
977
977
  build5.onEnd((result) => {
978
978
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
979
- _chunkILLCSSWNjs.writeError.call(void 0, `The following errors occurred during the build:
979
+ _chunk43HWVEICjs.writeError.call(void 0, `The following errors occurred during the build:
980
980
  ${result.errors.map((error) => error.text).join("\n")}
981
981
 
982
982
  `, resolvedOptions.config);
@@ -1011,7 +1011,7 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
1011
1011
  var resolvePathsPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, resolvedOptions) => ({
1012
1012
  name: "storm:resolve-paths",
1013
1013
  setup(build5) {
1014
- const parentTsConfig = build5.initialOptions.tsconfig ? _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkILLCSSWNjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build5.initialOptions.tsconfig)) : _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkILLCSSWNjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
1014
+ const parentTsConfig = build5.initialOptions.tsconfig ? _chunkJ5SB6L2Ljs.__require.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build5.initialOptions.tsconfig)) : _chunkJ5SB6L2Ljs.__require.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
1015
1015
  const resolvedTsPaths = resolvePathsConfig(parentTsConfig, options.projectRoot);
1016
1016
  const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
1017
1017
  build5.onResolve({
@@ -1034,7 +1034,7 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (o
1034
1034
 
1035
1035
  var _apiextractor = require('@microsoft/api-extractor');
1036
1036
  function bundleTypeDefinitions(filename, outfile, externals, options) {
1037
- const { dependencies, peerDependencies, devDependencies } = _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "package.json"));
1037
+ const { dependencies, peerDependencies, devDependencies } = _chunkJ5SB6L2Ljs.__require.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json"));
1038
1038
  const dependenciesKeys = Object.keys(_nullishCoalesce(dependencies, () => ( {}))).flatMap((p) => [
1039
1039
  p,
1040
1040
  getTypeDependencyPackageName(p)
@@ -1070,13 +1070,13 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
1070
1070
  },
1071
1071
  dtsRollup: {
1072
1072
  enabled: true,
1073
- untrimmedFilePath: _chunkILLCSSWNjs.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
1073
+ untrimmedFilePath: _chunk43HWVEICjs.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
1074
1074
  },
1075
1075
  tsdocMetadata: {
1076
1076
  enabled: false
1077
1077
  }
1078
1078
  },
1079
- packageJsonFullPath: _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
1079
+ packageJsonFullPath: _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
1080
1080
  configObjectFullPath: void 0
1081
1081
  });
1082
1082
  const extractorResult = _apiextractor.Extractor.invoke(extractorConfig, {
@@ -1084,7 +1084,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
1084
1084
  localBuild: true
1085
1085
  });
1086
1086
  if (extractorResult.succeeded === false) {
1087
- _chunkILLCSSWNjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
1087
+ _chunk43HWVEICjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
1088
1088
  throw new Error("API Extractor completed with errors");
1089
1089
  }
1090
1090
  }
@@ -1103,12 +1103,12 @@ var tscPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, r
1103
1103
  const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
1104
1104
  const typeOutDir = resolvedOptions.outdir;
1105
1105
  const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
1106
- const bundlePath = _chunkILLCSSWNjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
1106
+ const bundlePath = _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
1107
1107
  let dtsPath;
1108
- if (await _node.hfs.isFile(_chunkILLCSSWNjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
1109
- dtsPath = _chunkILLCSSWNjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
1110
- } else if (await _node.hfs.isFile(_chunkILLCSSWNjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
1111
- dtsPath = _chunkILLCSSWNjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
1108
+ if (await _node.hfs.isFile(_chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
1109
+ dtsPath = _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
1110
+ } else if (await _node.hfs.isFile(_chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
1111
+ dtsPath = _chunk43HWVEICjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
1112
1112
  }
1113
1113
  const ext = resolvedOptions.outExtension.dts || resolvedOptions.format === "esm" ? "d.mts" : "d.ts";
1114
1114
  if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
@@ -1263,8 +1263,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (bund
1263
1263
  const filteredMissingDeps = missingDependencies.filter((dep) => {
1264
1264
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
1265
1265
  });
1266
- _chunkILLCSSWNjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
1267
- _chunkILLCSSWNjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
1266
+ _chunk43HWVEICjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
1267
+ _chunk43HWVEICjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
1268
1268
  if (filteredMissingDeps.length > 0) {
1269
1269
  throw new Error(`Missing dependencies detected - please install them:
1270
1270
  ${JSON.stringify(filteredMissingDeps)}
@@ -1358,13 +1358,13 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1358
1358
  if (!workspaceRoot3) {
1359
1359
  throw new Error("Cannot find Nx workspace root");
1360
1360
  }
1361
- const config = await _chunkDFG3KJWSjs.getConfig.call(void 0, workspaceRoot3.dir);
1362
- _chunkILLCSSWNjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1363
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, "Build options resolution");
1361
+ const config = await _chunk6Q4S7VSUjs.getConfig.call(void 0, workspaceRoot3.dir);
1362
+ _chunk43HWVEICjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1363
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "Build options resolution");
1364
1364
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1365
1365
  exitOnError: true
1366
1366
  });
1367
- const projectJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1367
+ const projectJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1368
1368
  if (!await _node.hfs.isFile(projectJsonPath)) {
1369
1369
  throw new Error("Cannot find project.json configuration");
1370
1370
  }
@@ -1377,7 +1377,7 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1377
1377
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
1378
1378
  options.name ??= `${projectName}-${options.format}`;
1379
1379
  options.target ??= DEFAULT_TARGET;
1380
- const packageJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1380
+ const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1381
1381
  if (!await _node.hfs.isFile(packageJsonPath)) {
1382
1382
  throw new Error("Cannot find package.json configuration");
1383
1383
  }
@@ -1401,20 +1401,20 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1401
1401
  ".node"
1402
1402
  ],
1403
1403
  ...userOptions,
1404
- tsconfig: _chunkILLCSSWNjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1404
+ tsconfig: _chunk43HWVEICjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1405
1405
  format: options.format || "cjs",
1406
1406
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
1407
1407
  "./src/index.ts"
1408
1408
  ], userOptions.emitOnAll),
1409
- outdir: userOptions.outputPath || _chunkILLCSSWNjs.joinPaths.call(void 0, "dist", projectRoot),
1409
+ outdir: userOptions.outputPath || _chunk43HWVEICjs.joinPaths.call(void 0, "dist", projectRoot),
1410
1410
  plugins: [],
1411
1411
  name: userOptions.name || projectName,
1412
1412
  projectConfigurations,
1413
1413
  projectName,
1414
1414
  projectGraph,
1415
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkILLCSSWNjs.joinPaths.call(void 0, projectRoot, "src"),
1415
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunk43HWVEICjs.joinPaths.call(void 0, projectRoot, "src"),
1416
1416
  minify: userOptions.minify || !userOptions.debug,
1417
- verbose: userOptions.verbose || _chunkILLCSSWNjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1417
+ verbose: userOptions.verbose || _chunk43HWVEICjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1418
1418
  includeSrc: userOptions.includeSrc === true,
1419
1419
  metafile: userOptions.metafile !== false,
1420
1420
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1450,8 +1450,8 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1450
1450
  }, {})
1451
1451
  },
1452
1452
  inject: [
1453
- options.format === "cjs" && options.injectShims ? _chunkILLCSSWNjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1454
- options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkILLCSSWNjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : "",
1453
+ options.format === "cjs" && options.injectShims ? _chunk43HWVEICjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1454
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunk43HWVEICjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : "",
1455
1455
  ..._nullishCoalesce(options.inject, () => ( []))
1456
1456
  ].filter(Boolean)
1457
1457
  };
@@ -1460,14 +1460,14 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1460
1460
  return result;
1461
1461
  }, "resolveOptions");
1462
1462
  async function generatePackageJson(context2) {
1463
- if (context2.options.generatePackageJson !== false && await _node.hfs.isFile(_chunkILLCSSWNjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1464
- _chunkILLCSSWNjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1465
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, "Write package.json file");
1466
- const packageJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1463
+ if (context2.options.generatePackageJson !== false && await _node.hfs.isFile(_chunk43HWVEICjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1464
+ _chunk43HWVEICjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1465
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "Write package.json file");
1466
+ const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1467
1467
  if (!await _node.hfs.isFile(packageJsonPath)) {
1468
1468
  throw new Error("Cannot find package.json configuration");
1469
1469
  }
1470
- let packageJson = await _node.hfs.json(_chunkILLCSSWNjs.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"));
1470
+ let packageJson = await _node.hfs.json(_chunk43HWVEICjs.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"));
1471
1471
  if (!packageJson) {
1472
1472
  throw new Error("Cannot find package.json configuration file");
1473
1473
  }
@@ -1505,7 +1505,7 @@ async function generatePackageJson(context2) {
1505
1505
  }
1506
1506
  return ret;
1507
1507
  }, packageJson.exports);
1508
- await _devkit.writeJsonFile.call(void 0, _chunkILLCSSWNjs.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
1508
+ await _devkit.writeJsonFile.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
1509
1509
  stopwatch();
1510
1510
  }
1511
1511
  return context2;
@@ -1531,8 +1531,8 @@ async function generateContext(getOptions) {
1531
1531
  }
1532
1532
  _chunkJ5SB6L2Ljs.__name.call(void 0, generateContext, "generateContext");
1533
1533
  async function executeEsBuild(context2) {
1534
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1535
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1534
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1535
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1536
1536
  if (process.env.WATCH === "true") {
1537
1537
  const ctx = await esbuild2.context(context2.options);
1538
1538
  watch(ctx, context2.options);
@@ -1548,8 +1548,8 @@ async function executeEsBuild(context2) {
1548
1548
  _chunkJ5SB6L2Ljs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1549
1549
  async function copyBuildAssets(context2) {
1550
1550
  if (_optionalChain([context2, 'access', _53 => _53.result, 'optionalAccess', _54 => _54.errors, 'access', _55 => _55.length]) === 0) {
1551
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1552
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1551
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1552
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1553
1553
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
1554
1554
  stopwatch();
1555
1555
  }
@@ -1559,9 +1559,9 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1559
1559
  async function reportResults(context2) {
1560
1560
  if (_optionalChain([context2, 'access', _56 => _56.result, 'optionalAccess', _57 => _57.errors, 'access', _58 => _58.length]) === 0) {
1561
1561
  if (context2.result.warnings.length > 0) {
1562
- _chunkILLCSSWNjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1562
+ _chunk43HWVEICjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1563
1563
  }
1564
- _chunkILLCSSWNjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1564
+ _chunk43HWVEICjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1565
1565
  }
1566
1566
  }
1567
1567
  _chunkJ5SB6L2Ljs.__name.call(void 0, reportResults, "reportResults");
@@ -1603,8 +1603,8 @@ async function cleanOutputPath(context2) {
1603
1603
  }
1604
1604
  _chunkJ5SB6L2Ljs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
1605
1605
  async function build3(options) {
1606
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1607
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, "ESBuild pipeline");
1606
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1607
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "ESBuild pipeline");
1608
1608
  try {
1609
1609
  const opts = Array.isArray(options) ? options : [
1610
1610
  options
@@ -1614,9 +1614,9 @@ async function build3(options) {
1614
1614
  }
1615
1615
  void transduce.async(opts, dependencyCheck);
1616
1616
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
1617
- _chunkILLCSSWNjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1617
+ _chunk43HWVEICjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1618
1618
  } catch (error) {
1619
- _chunkILLCSSWNjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1619
+ _chunk43HWVEICjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1620
1620
  throw error;
1621
1621
  } finally {
1622
1622
  stopwatch();
@@ -1644,9 +1644,9 @@ var watch = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (context2, opti
1644
1644
  return context2.rebuild();
1645
1645
  });
1646
1646
  if (rebuildResult instanceof Error) {
1647
- _chunkILLCSSWNjs.writeError.call(void 0, rebuildResult.message);
1647
+ _chunk43HWVEICjs.writeError.call(void 0, rebuildResult.message);
1648
1648
  }
1649
- _chunkILLCSSWNjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1649
+ _chunk43HWVEICjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1650
1650
  }, 10);
1651
1651
  changeWatcher.on("change", fastRebuild);
1652
1652
  return void 0;
@@ -1654,7 +1654,7 @@ var watch = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (context2, opti
1654
1654
 
1655
1655
  // ../workspace-tools/src/executors/esbuild/executor.ts
1656
1656
  async function esbuildExecutorFn(options, context2, config) {
1657
- _chunkILLCSSWNjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1657
+ _chunk43HWVEICjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1658
1658
  if (!_optionalChain([context2, 'access', _59 => _59.projectsConfigurations, 'optionalAccess', _60 => _60.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _61 => _61.projectsConfigurations, 'access', _62 => _62.projects, 'access', _63 => _63[context2.projectName], 'optionalAccess', _64 => _64.root])) {
1659
1659
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1660
1660
  }
@@ -1708,7 +1708,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
1708
1708
  if (!_optionalChain([context2, 'optionalAccess', _73 => _73.projectName]) || !_optionalChain([context2, 'access', _74 => _74.projectsConfigurations, 'optionalAccess', _75 => _75.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1709
1709
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
1710
1710
  }
1711
- _chunkILLCSSWNjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
1711
+ _chunk43HWVEICjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
1712
1712
  _sizelimit2.default.call(void 0, [
1713
1713
  _file2.default,
1714
1714
  _esbuild3.default,
@@ -1716,7 +1716,7 @@ async function sizeLimitExecutorFn(options, context2, config) {
1716
1716
  ], {
1717
1717
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _76 => _76.projectsConfigurations, 'access', _77 => _77.projects, 'access', _78 => _78[context2.projectName], 'optionalAccess', _79 => _79.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _80 => _80.projectsConfigurations, 'access', _81 => _81.projects, 'access', _82 => _82[context2.projectName], 'optionalAccess', _83 => _83.root]), () => ( "./")), "src")))
1718
1718
  }).then((result) => {
1719
- _chunkILLCSSWNjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1719
+ _chunk43HWVEICjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1720
1720
  });
1721
1721
  return {
1722
1722
  success: true
@@ -1742,8 +1742,8 @@ var _tsdown = require('tsdown');
1742
1742
  // ../tsdown/src/clean.ts
1743
1743
 
1744
1744
  async function clean2(name = "ESBuild", directory, config) {
1745
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
1746
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, `${name} output clean`);
1745
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
1746
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${name} output clean`);
1747
1747
  await _node.hfs.deleteAll(directory);
1748
1748
  stopwatch();
1749
1749
  }
@@ -1778,13 +1778,13 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1778
1778
  if (!workspaceRoot3) {
1779
1779
  throw new Error("Cannot find Nx workspace root");
1780
1780
  }
1781
- const config = await _chunkDFG3KJWSjs.getConfig.call(void 0, workspaceRoot3.dir);
1782
- _chunkILLCSSWNjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1783
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, "Build options resolution");
1781
+ const config = await _chunk6Q4S7VSUjs.getConfig.call(void 0, workspaceRoot3.dir);
1782
+ _chunk43HWVEICjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1783
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "Build options resolution");
1784
1784
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1785
1785
  exitOnError: true
1786
1786
  });
1787
- const projectJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1787
+ const projectJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1788
1788
  if (!await _node.hfs.isFile(projectJsonPath)) {
1789
1789
  throw new Error("Cannot find project.json configuration");
1790
1790
  }
@@ -1797,7 +1797,7 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1797
1797
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS2);
1798
1798
  options.name ??= `${projectName}-${options.format}`;
1799
1799
  options.target ??= DEFAULT_TARGET;
1800
- const packageJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1800
+ const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1801
1801
  if (!await _node.hfs.isFile(packageJsonPath)) {
1802
1802
  throw new Error("Cannot find package.json configuration");
1803
1803
  }
@@ -1806,20 +1806,20 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1806
1806
  ...options,
1807
1807
  config,
1808
1808
  ...userOptions,
1809
- tsconfig: _chunkILLCSSWNjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1809
+ tsconfig: _chunk43HWVEICjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1810
1810
  format: options.format || "cjs",
1811
1811
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
1812
1812
  "./src/index.ts"
1813
1813
  ], userOptions.emitOnAll),
1814
- outdir: userOptions.outputPath || _chunkILLCSSWNjs.joinPaths.call(void 0, "dist", projectRoot),
1814
+ outdir: userOptions.outputPath || _chunk43HWVEICjs.joinPaths.call(void 0, "dist", projectRoot),
1815
1815
  plugins: [],
1816
1816
  name: userOptions.name || projectName,
1817
1817
  projectConfigurations,
1818
1818
  projectName,
1819
1819
  projectGraph,
1820
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkILLCSSWNjs.joinPaths.call(void 0, projectRoot, "src"),
1820
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunk43HWVEICjs.joinPaths.call(void 0, projectRoot, "src"),
1821
1821
  minify: userOptions.minify || !userOptions.debug,
1822
- verbose: userOptions.verbose || _chunkILLCSSWNjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1822
+ verbose: userOptions.verbose || _chunk43HWVEICjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1823
1823
  includeSrc: userOptions.includeSrc === true,
1824
1824
  metafile: userOptions.metafile !== false,
1825
1825
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1853,14 +1853,14 @@ var resolveOptions2 = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1853
1853
  return result;
1854
1854
  }, "resolveOptions");
1855
1855
  async function generatePackageJson2(options) {
1856
- if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1857
- _chunkILLCSSWNjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1858
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, "Write package.json file");
1859
- const packageJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1856
+ if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1857
+ _chunk43HWVEICjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
1858
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "Write package.json file");
1859
+ const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1860
1860
  if (!await _node.hfs.isFile(packageJsonPath)) {
1861
1861
  throw new Error("Cannot find package.json configuration");
1862
1862
  }
1863
- let packageJson = await _node.hfs.json(_chunkILLCSSWNjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"));
1863
+ let packageJson = await _node.hfs.json(_chunk43HWVEICjs.joinPaths.call(void 0, options.config.workspaceRoot, options.projectRoot, "package.json"));
1864
1864
  if (!packageJson) {
1865
1865
  throw new Error("Cannot find package.json configuration file");
1866
1866
  }
@@ -1898,15 +1898,15 @@ async function generatePackageJson2(options) {
1898
1898
  }
1899
1899
  return ret;
1900
1900
  }, packageJson.exports);
1901
- await _devkit.writeJsonFile.call(void 0, _chunkILLCSSWNjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1901
+ await _devkit.writeJsonFile.call(void 0, _chunk43HWVEICjs.joinPaths.call(void 0, options.outdir, "package.json"), packageJson);
1902
1902
  stopwatch();
1903
1903
  }
1904
1904
  return options;
1905
1905
  }
1906
1906
  _chunkJ5SB6L2Ljs.__name.call(void 0, generatePackageJson2, "generatePackageJson");
1907
1907
  async function executeTSDown(options) {
1908
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1909
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, `${options.name} build`);
1908
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
1909
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${options.name} build`);
1910
1910
  await _tsdown.build.call(void 0, {
1911
1911
  ...options,
1912
1912
  entry: options.entryPoints,
@@ -1918,15 +1918,15 @@ async function executeTSDown(options) {
1918
1918
  }
1919
1919
  _chunkJ5SB6L2Ljs.__name.call(void 0, executeTSDown, "executeTSDown");
1920
1920
  async function copyBuildAssets2(options) {
1921
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
1922
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1921
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
1922
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1923
1923
  await copyAssets(options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.sourceRoot, true, false);
1924
1924
  stopwatch();
1925
1925
  return options;
1926
1926
  }
1927
1927
  _chunkJ5SB6L2Ljs.__name.call(void 0, copyBuildAssets2, "copyBuildAssets");
1928
1928
  async function reportResults2(options) {
1929
- _chunkILLCSSWNjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
1929
+ _chunk43HWVEICjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
1930
1930
  }
1931
1931
  _chunkJ5SB6L2Ljs.__name.call(void 0, reportResults2, "reportResults");
1932
1932
  async function cleanOutputPath2(options) {
@@ -1937,8 +1937,8 @@ async function cleanOutputPath2(options) {
1937
1937
  }
1938
1938
  _chunkJ5SB6L2Ljs.__name.call(void 0, cleanOutputPath2, "cleanOutputPath");
1939
1939
  async function build4(options) {
1940
- _chunkILLCSSWNjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1941
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, "TSDown pipeline");
1940
+ _chunk43HWVEICjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1941
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, "TSDown pipeline");
1942
1942
  try {
1943
1943
  const opts = Array.isArray(options) ? options : [
1944
1944
  options
@@ -1956,11 +1956,11 @@ async function build4(options) {
1956
1956
  await reportResults2(opt);
1957
1957
  }));
1958
1958
  } else {
1959
- _chunkILLCSSWNjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
1959
+ _chunk43HWVEICjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
1960
1960
  }
1961
- _chunkILLCSSWNjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1961
+ _chunk43HWVEICjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1962
1962
  } catch (error) {
1963
- _chunkILLCSSWNjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1963
+ _chunk43HWVEICjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
1964
1964
  throw error;
1965
1965
  } finally {
1966
1966
  stopwatch();
@@ -1970,7 +1970,7 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, build4, "build");
1970
1970
 
1971
1971
  // ../workspace-tools/src/executors/tsdown/executor.ts
1972
1972
  async function tsdownExecutorFn(options, context2, config) {
1973
- _chunkILLCSSWNjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
1973
+ _chunk43HWVEICjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
1974
1974
  if (!_optionalChain([context2, 'access', _86 => _86.projectsConfigurations, 'optionalAccess', _87 => _87.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _88 => _88.projectsConfigurations, 'access', _89 => _89.projects, 'access', _90 => _90[context2.projectName], 'optionalAccess', _91 => _91.root])) {
1975
1975
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1976
1976
  }
@@ -2006,11 +2006,11 @@ var _fsextra = require('fs-extra');
2006
2006
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
2007
2007
  async function typiaExecutorFn(options, _, config) {
2008
2008
  if (options.clean !== false) {
2009
- _chunkILLCSSWNjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
2009
+ _chunk43HWVEICjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
2010
2010
  _fsextra.removeSync.call(void 0, options.outputPath);
2011
2011
  }
2012
2012
  await Promise.all(options.entry.map((entry) => {
2013
- _chunkILLCSSWNjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
2013
+ _chunk43HWVEICjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
2014
2014
  return _TypiaProgrammerjs.TypiaProgrammer.build({
2015
2015
  input: entry,
2016
2016
  output: options.outputPath,
@@ -2041,7 +2041,7 @@ var executor_default9 = withRunExecutor("Typia runtime validation generator", ty
2041
2041
 
2042
2042
  var _jiti = require('jiti');
2043
2043
  async function unbuildExecutorFn(options, context2, config) {
2044
- _chunkILLCSSWNjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
2044
+ _chunk43HWVEICjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
2045
2045
  if (!_optionalChain([context2, 'access', _100 => _100.projectsConfigurations, 'optionalAccess', _101 => _101.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
2046
2046
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
2047
2047
  }
@@ -2052,7 +2052,7 @@ async function unbuildExecutorFn(options, context2, config) {
2052
2052
  throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
2053
2053
  }
2054
2054
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
2055
- fsCache: config.skipCache ? false : _chunkILLCSSWNjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
2055
+ fsCache: config.skipCache ? false : _chunk43HWVEICjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
2056
2056
  interopDefault: true
2057
2057
  });
2058
2058
  const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
@@ -2113,34 +2113,34 @@ var executor_default10 = withRunExecutor("TypeScript Unbuild build", unbuildExec
2113
2113
  var withRunGenerator = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (name, generatorFn, generatorOptions = {
2114
2114
  skipReadingConfig: false
2115
2115
  }) => async (tree, _options) => {
2116
- const stopwatch = _chunkILLCSSWNjs.getStopwatch.call(void 0, name);
2116
+ const stopwatch = _chunk43HWVEICjs.getStopwatch.call(void 0, name);
2117
2117
  let options = _options;
2118
2118
  let config;
2119
2119
  try {
2120
- _chunkILLCSSWNjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
2120
+ _chunk43HWVEICjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
2121
2121
 
2122
2122
  `, config);
2123
- const workspaceRoot3 = _chunkILLCSSWNjs.findWorkspaceRoot.call(void 0, );
2123
+ const workspaceRoot3 = _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, );
2124
2124
  if (!generatorOptions.skipReadingConfig) {
2125
- _chunkILLCSSWNjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
2125
+ _chunk43HWVEICjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
2126
2126
  - workspaceRoot: ${workspaceRoot3}`, config);
2127
- config = await _chunkDFG3KJWSjs.getConfig.call(void 0, workspaceRoot3);
2127
+ config = await _chunk6Q4S7VSUjs.getConfig.call(void 0, workspaceRoot3);
2128
2128
  }
2129
2129
  if (_optionalChain([generatorOptions, 'optionalAccess', _102 => _102.hooks, 'optionalAccess', _103 => _103.applyDefaultOptions])) {
2130
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
2130
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
2131
2131
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
2132
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
2132
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
2133
2133
  }
2134
- _chunkILLCSSWNjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
2134
+ _chunk43HWVEICjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
2135
2135
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
2136
2136
  const tokenized = await applyWorkspaceTokens(options, {
2137
2137
  workspaceRoot: tree.root,
2138
2138
  config
2139
2139
  }, applyWorkspaceBaseTokens);
2140
2140
  if (_optionalChain([generatorOptions, 'optionalAccess', _104 => _104.hooks, 'optionalAccess', _105 => _105.preProcess])) {
2141
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
2141
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
2142
2142
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
2143
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
2143
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
2144
2144
  }
2145
2145
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
2146
2146
  if (result) {
@@ -2153,18 +2153,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
2153
2153
  }
2154
2154
  }
2155
2155
  if (_optionalChain([generatorOptions, 'optionalAccess', _115 => _115.hooks, 'optionalAccess', _116 => _116.postProcess])) {
2156
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
2156
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
2157
2157
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
2158
- _chunkILLCSSWNjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
2158
+ _chunk43HWVEICjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
2159
2159
  }
2160
2160
  return () => {
2161
- _chunkILLCSSWNjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
2161
+ _chunk43HWVEICjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
2162
2162
  `, config);
2163
2163
  };
2164
2164
  } catch (error) {
2165
2165
  return () => {
2166
- _chunkILLCSSWNjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
2167
- _chunkILLCSSWNjs.writeError.call(void 0, `An exception was thrown in the generator's process
2166
+ _chunk43HWVEICjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
2167
+ _chunk43HWVEICjs.writeError.call(void 0, `An exception was thrown in the generator's process
2168
2168
  - Details: ${error.message}
2169
2169
  - Stacktrace: ${error.stack}`, config);
2170
2170
  };
@@ -2210,7 +2210,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2210
2210
  const projectConfig = {
2211
2211
  root: options.directory,
2212
2212
  projectType: "library",
2213
- sourceRoot: _chunkILLCSSWNjs.joinPaths.call(void 0, _nullishCoalesce(options.directory, () => ( "")), "src"),
2213
+ sourceRoot: _chunk43HWVEICjs.joinPaths.call(void 0, _nullishCoalesce(options.directory, () => ( "")), "src"),
2214
2214
  targets: {
2215
2215
  build: {
2216
2216
  executor: schema.buildExecutor,
@@ -2219,11 +2219,11 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2219
2219
  ],
2220
2220
  options: {
2221
2221
  entry: [
2222
- _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "src", "index.ts")
2222
+ _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "src", "index.ts")
2223
2223
  ],
2224
2224
  outputPath: getOutputPath(options),
2225
- tsconfig: _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
2226
- project: _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
2225
+ tsconfig: _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
2226
+ project: _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
2227
2227
  defaultConfiguration: "production",
2228
2228
  platform: "neutral",
2229
2229
  assets: [
@@ -2277,7 +2277,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2277
2277
  if (!options.importPath) {
2278
2278
  options.importPath = options.name;
2279
2279
  }
2280
- const packageJsonPath = _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "package.json");
2280
+ const packageJsonPath = _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "package.json");
2281
2281
  if (tree.exists(packageJsonPath)) {
2282
2282
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2283
2283
  if (!options.importPath) {
@@ -2334,10 +2334,10 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2334
2334
  }));
2335
2335
  }
2336
2336
  _js.addTsConfigPath.call(void 0, tree, options.importPath, [
2337
- _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "./src", `index.${options.js ? "js" : "ts"}`)
2337
+ _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "./src", `index.${options.js ? "js" : "ts"}`)
2338
2338
  ]);
2339
- _js.addTsConfigPath.call(void 0, tree, _chunkILLCSSWNjs.joinPaths.call(void 0, options.importPath, "/*"), [
2340
- _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "./src", "/*")
2339
+ _js.addTsConfigPath.call(void 0, tree, _chunk43HWVEICjs.joinPaths.call(void 0, options.importPath, "/*"), [
2340
+ _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "./src", "/*")
2341
2341
  ]);
2342
2342
  if (tree.exists("package.json")) {
2343
2343
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -2348,7 +2348,7 @@ async function typeScriptLibraryGeneratorFn(tree, schema, config) {
2348
2348
  description = packageJson.description;
2349
2349
  }
2350
2350
  }
2351
- const tsconfigPath = _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
2351
+ const tsconfigPath = _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json");
2352
2352
  if (tree.exists(tsconfigPath)) {
2353
2353
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2354
2354
  json.composite ??= true;
@@ -2386,7 +2386,7 @@ function getOutputPath(options) {
2386
2386
  } else {
2387
2387
  parts.push(options.projectRoot);
2388
2388
  }
2389
- return _chunkILLCSSWNjs.joinPaths.call(void 0, ...parts);
2389
+ return _chunk43HWVEICjs.joinPaths.call(void 0, ...parts);
2390
2390
  }
2391
2391
  _chunkJ5SB6L2Ljs.__name.call(void 0, getOutputPath, "getOutputPath");
2392
2392
  function createProjectTsConfigJson(tree, options) {
@@ -2395,7 +2395,7 @@ function createProjectTsConfigJson(tree, options) {
2395
2395
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _128 => _128.tsconfigOptions]), () => ( {})),
2396
2396
  compilerOptions: {
2397
2397
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2398
- outDir: _chunkILLCSSWNjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2398
+ outDir: _chunk43HWVEICjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2399
2399
  noEmit: true,
2400
2400
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _129 => _129.tsconfigOptions, 'optionalAccess', _130 => _130.compilerOptions]), () => ( {}))
2401
2401
  },
@@ -2415,7 +2415,7 @@ function createProjectTsConfigJson(tree, options) {
2415
2415
  "src/**/*.test.ts"
2416
2416
  ]
2417
2417
  };
2418
- _devkit.writeJson.call(void 0, tree, _chunkILLCSSWNjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2418
+ _devkit.writeJson.call(void 0, tree, _chunk43HWVEICjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2419
2419
  }
2420
2420
  _chunkJ5SB6L2Ljs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
2421
2421
  async function normalizeOptions(tree, options) {
@@ -2541,19 +2541,19 @@ var generator_default = withRunGenerator("TypeScript Library Creator (Browser Pl
2541
2541
 
2542
2542
  var _zodtojsonschema = require('zod-to-json-schema');
2543
2543
  async function configSchemaGeneratorFn(tree, options, config) {
2544
- _chunkILLCSSWNjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
2545
- _chunkILLCSSWNjs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
2546
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkILLCSSWNjs.StormConfigSchema, {
2544
+ _chunk43HWVEICjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
2545
+ _chunk43HWVEICjs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
2546
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunk43HWVEICjs.StormConfigSchema, {
2547
2547
  name: "StormWorkspaceConfiguration"
2548
2548
  });
2549
- _chunkILLCSSWNjs.writeTrace.call(void 0, jsonSchema, config);
2550
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _137 => _137.workspaceRoot]), () => ( _chunkILLCSSWNjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _138 => _138.outputFile, 'optionalAccess', _139 => _139.startsWith, 'call', _140 => _140("./")]) ? "" : "./");
2551
- _chunkILLCSSWNjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2549
+ _chunk43HWVEICjs.writeTrace.call(void 0, jsonSchema, config);
2550
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _137 => _137.workspaceRoot]), () => ( _chunk43HWVEICjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _138 => _138.outputFile, 'optionalAccess', _139 => _139.startsWith, 'call', _140 => _140("./")]) ? "" : "./");
2551
+ _chunk43HWVEICjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2552
2552
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
2553
2553
  spaces: 2
2554
2554
  });
2555
2555
  await _devkit.formatFiles.call(void 0, tree);
2556
- _chunkILLCSSWNjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
2556
+ _chunk43HWVEICjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
2557
2557
  return {
2558
2558
  success: true
2559
2559
  };
@@ -3502,6 +3502,12 @@ var YARN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, YARN_LOCK_FI
3502
3502
  var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE);
3503
3503
  var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
3504
3504
 
3505
+ // ../workspace-tools/src/utils/plugin-helpers.ts
3506
+
3507
+
3508
+
3509
+
3510
+
3505
3511
  // ../workspace-tools/src/utils/typia-transform.ts
3506
3512
  var _transform = require('typia/lib/transform'); var _transform2 = _interopRequireDefault(_transform);
3507
3513