@storm-software/cloudflare-tools 0.71.153 → 0.71.154

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 (36) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{chunk-2KWLPZPX.js → chunk-7RHI2IKU.js} +18 -18
  3. package/dist/{chunk-Y32M5VSJ.mjs → chunk-DGFU3E7L.mjs} +3 -3
  4. package/dist/{chunk-4XJ24NCI.js → chunk-EZJRN37V.js} +34 -34
  5. package/dist/{chunk-TT6DDULS.js → chunk-GALZRR4X.js} +5 -5
  6. package/dist/{chunk-GBAQZXOC.mjs → chunk-K6IEROUB.mjs} +1 -1
  7. package/dist/{chunk-A5I4SIQC.mjs → chunk-KY57RNWM.mjs} +1 -1
  8. package/dist/{chunk-XHI7ILYM.js → chunk-L4NNEWE4.js} +13 -13
  9. package/dist/{chunk-T2PQY64N.js → chunk-NGKYL4KC.js} +168 -168
  10. package/dist/{chunk-K4D2NWTO.mjs → chunk-QWAXSLJI.mjs} +1 -1
  11. package/dist/{chunk-KL5C3VV5.mjs → chunk-SQQBILQ3.mjs} +2 -2
  12. package/dist/{chunk-LB7EYNM5.js → chunk-TDU3BHMK.js} +1 -1
  13. package/dist/{chunk-KWEPWMPW.js → chunk-TG6CQVYH.js} +6 -2
  14. package/dist/{chunk-D6LBIKKD.mjs → chunk-VFIJRSLB.mjs} +6 -2
  15. package/dist/{chunk-56OP4OFW.mjs → chunk-ZP6JULQA.mjs} +3 -3
  16. package/dist/executors.js +5 -5
  17. package/dist/executors.mjs +5 -5
  18. package/dist/generators.js +5 -5
  19. package/dist/generators.mjs +4 -4
  20. package/dist/index.js +8 -8
  21. package/dist/index.mjs +7 -7
  22. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  23. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  24. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  25. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  26. package/dist/src/executors/serve/executor.js +4 -4
  27. package/dist/src/executors/serve/executor.mjs +3 -3
  28. package/dist/src/generators/init/generator.js +2 -2
  29. package/dist/src/generators/init/generator.mjs +1 -1
  30. package/dist/src/generators/worker/generator.js +5 -5
  31. package/dist/src/generators/worker/generator.mjs +4 -4
  32. package/dist/src/utils/index.js +3 -3
  33. package/dist/src/utils/index.mjs +2 -2
  34. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  35. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  36. package/package.json +5 -5
@@ -8,7 +8,7 @@ var _chunkXKQ3HGETjs = require('./chunk-XKQ3HGET.js');
8
8
 
9
9
 
10
10
 
11
- var _chunk4XJ24NCIjs = require('./chunk-4XJ24NCI.js');
11
+ var _chunkEZJRN37Vjs = require('./chunk-EZJRN37V.js');
12
12
 
13
13
 
14
14
 
@@ -24,7 +24,7 @@ var _chunk4XJ24NCIjs = require('./chunk-4XJ24NCI.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkKWEPWMPWjs = require('./chunk-KWEPWMPW.js');
27
+ var _chunkTG6CQVYHjs = require('./chunk-TG6CQVYH.js');
28
28
 
29
29
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
30
30
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -61,7 +61,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
61
61
  if (result.includes("{workspaceRoot}")) {
62
62
  result = result.replaceAll(
63
63
  "{workspaceRoot}",
64
- _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, )))
64
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, )))
65
65
  );
66
66
  }
67
67
  return result;
@@ -101,7 +101,7 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
101
101
  // ../workspace-tools/src/base/base-executor.ts
102
102
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
103
103
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
104
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, name);
104
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, name);
105
105
  let options = _options;
106
106
  let config = {};
107
107
  try {
@@ -110,17 +110,17 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
110
110
  "The Build process failed because the context is not valid. Please run this command from a workspace."
111
111
  );
112
112
  }
113
- const workspaceRoot2 = _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, );
113
+ const workspaceRoot2 = _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, );
114
114
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot2;
115
115
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot2;
116
116
  const projectName = context.projectName;
117
117
  config.workspaceRoot = workspaceRoot2;
118
- _chunkKWEPWMPWjs.writeInfo.call(void 0,
119
- `${_chunkKWEPWMPWjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
118
+ _chunkTG6CQVYHjs.writeInfo.call(void 0,
119
+ `${_chunkTG6CQVYHjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
120
120
  config
121
121
  );
122
122
  if (!executorOptions.skipReadingConfig) {
123
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
123
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
124
124
  `Loading the Storm Config from environment variables and storm.config.js file...
125
125
  - workspaceRoot: ${workspaceRoot2}
126
126
  - projectRoot: ${projectRoot}
@@ -129,18 +129,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
129
129
  `,
130
130
  config
131
131
  );
132
- config = await _chunk4XJ24NCIjs.getConfig.call(void 0, workspaceRoot2);
132
+ config = await _chunkEZJRN37Vjs.getConfig.call(void 0, workspaceRoot2);
133
133
  }
134
134
  if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
135
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
135
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
136
136
  options = await Promise.resolve(
137
137
  executorOptions.hooks.applyDefaultOptions(options, config)
138
138
  );
139
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
139
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
140
140
  }
141
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
141
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
142
142
  `Executor schema options \u2699\uFE0F
143
- ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0, options)}
143
+ ${_chunkTG6CQVYHjs.formatLogMessage.call(void 0, options)}
144
144
  `,
145
145
  config
146
146
  );
@@ -153,18 +153,18 @@ ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0, options)}
153
153
  ),
154
154
  applyWorkspaceProjectTokens
155
155
  );
156
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
156
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
157
157
  `Executor schema tokenized options \u2699\uFE0F
158
- ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0, tokenized)}
158
+ ${_chunkTG6CQVYHjs.formatLogMessage.call(void 0, tokenized)}
159
159
  `,
160
160
  config
161
161
  );
162
162
  if (_optionalChain([executorOptions, 'optionalAccess', _9 => _9.hooks, 'optionalAccess', _10 => _10.preProcess])) {
163
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
163
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
164
164
  await Promise.resolve(
165
165
  executorOptions.hooks.preProcess(tokenized, config)
166
166
  );
167
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
167
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
168
168
  }
169
169
  const ret = executorFn(tokenized, context, config);
170
170
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _11 => _11.next]))) {
@@ -179,7 +179,7 @@ ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0, tokenized)}
179
179
  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")) {
180
180
  throw new Error(
181
181
  `Failure determined while running the ${name} executor
182
- ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0,
182
+ ${_chunkTG6CQVYHjs.formatLogMessage.call(void 0,
183
183
  result
184
184
  )}`,
185
185
  {
@@ -188,21 +188,21 @@ ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0,
188
188
  );
189
189
  }
190
190
  if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.postProcess])) {
191
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
191
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
192
192
  await Promise.resolve(executorOptions.hooks.postProcess(config));
193
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
193
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
194
194
  }
195
- _chunkKWEPWMPWjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
195
+ _chunkTG6CQVYHjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
196
196
  `, config);
197
197
  return {
198
198
  success: true
199
199
  };
200
200
  } catch (error) {
201
- _chunkKWEPWMPWjs.writeFatal.call(void 0,
201
+ _chunkTG6CQVYHjs.writeFatal.call(void 0,
202
202
  "A fatal error occurred while running the executor - the process was forced to terminate",
203
203
  config
204
204
  );
205
- _chunkKWEPWMPWjs.writeError.call(void 0,
205
+ _chunkTG6CQVYHjs.writeError.call(void 0,
206
206
  `An exception was thrown in the executor's process
207
207
  - Details: ${error.message}
208
208
  - Stacktrace: ${error.stack}`,
@@ -515,9 +515,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
515
515
  output: "src/"
516
516
  });
517
517
  }
518
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
518
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
519
519
  `\u{1F4DD} Copying the following assets to the output directory:
520
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkKWEPWMPWjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
520
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkTG6CQVYHjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
521
521
  config
522
522
  );
523
523
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -527,20 +527,20 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
527
527
  assets: pendingAssets
528
528
  });
529
529
  await assetHandler.processAllAssetsOnce();
530
- _chunkKWEPWMPWjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
530
+ _chunkTG6CQVYHjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
531
531
  if (includeSrc === true) {
532
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
533
- `\u{1F4DD} Adding banner and writing source files: ${_chunkKWEPWMPWjs.joinPaths.call(void 0,
532
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
533
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkTG6CQVYHjs.joinPaths.call(void 0,
534
534
  outputPath,
535
535
  "src"
536
536
  )}`,
537
537
  config
538
538
  );
539
539
  const files = await _glob.glob.call(void 0, [
540
- _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
541
- _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
542
- _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
543
- _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
540
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
541
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
542
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
543
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
544
544
  ]);
545
545
  await Promise.allSettled(
546
546
  files.map(
@@ -595,7 +595,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
595
595
  )) {
596
596
  const projectNode = project.node;
597
597
  if (projectNode.data.root) {
598
- const projectPackageJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0,
598
+ const projectPackageJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0,
599
599
  workspaceRoot2,
600
600
  projectNode.data.root,
601
601
  "package.json"
@@ -613,11 +613,11 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
613
613
  }
614
614
  }
615
615
  if (localPackages.length > 0) {
616
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
616
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
617
617
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
618
618
  );
619
619
  const projectJsonFile = await _promises.readFile.call(void 0,
620
- _chunkKWEPWMPWjs.joinPaths.call(void 0, projectRoot, "project.json"),
620
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, projectRoot, "project.json"),
621
621
  "utf8"
622
622
  );
623
623
  const projectJson = JSON.parse(projectJsonFile);
@@ -630,7 +630,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
630
630
  }
631
631
  const implicitDependencies = _optionalChain([projectConfigurations, 'access', _37 => _37.projects, 'optionalAccess', _38 => _38[projectName2], 'access', _39 => _39.implicitDependencies, 'optionalAccess', _40 => _40.reduce, 'call', _41 => _41((ret, dep) => {
632
632
  if (_optionalChain([projectConfigurations, 'access', _42 => _42.projects, 'optionalAccess', _43 => _43[dep]])) {
633
- const depPackageJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0,
633
+ const depPackageJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0,
634
634
  workspaceRoot2,
635
635
  projectConfigurations.projects[dep].root,
636
636
  "package.json"
@@ -661,14 +661,14 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
661
661
  return ret;
662
662
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
663
663
  } else {
664
- _chunkKWEPWMPWjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
664
+ _chunkTG6CQVYHjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
665
665
  }
666
666
  return packageJson;
667
667
  };
668
668
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
669
- const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, );
669
+ const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, );
670
670
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
671
- _chunkKWEPWMPWjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
671
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
672
672
  "utf8"
673
673
  );
674
674
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -679,7 +679,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
679
679
  if (distSrc.startsWith("/")) {
680
680
  distSrc = distSrc.substring(1);
681
681
  }
682
- packageJson.source ??= `${_chunkKWEPWMPWjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
682
+ packageJson.source ??= `${_chunkTG6CQVYHjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
683
683
  }
684
684
  packageJson.files ??= ["dist/**/*"];
685
685
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -704,7 +704,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
704
704
  packageJson.contributors = [packageJson.author];
705
705
  }
706
706
  packageJson.repository ??= workspacePackageJson.repository;
707
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkKWEPWMPWjs.joinPaths.call(void 0, "packages", projectName);
707
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkTG6CQVYHjs.joinPaths.call(void 0, "packages", projectName);
708
708
  return packageJson;
709
709
  };
710
710
  var addPackageJsonExport = (file, type = "module", sourceRoot) => {
@@ -758,11 +758,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
758
758
  // ../esbuild/src/assets.ts
759
759
  async function copyBuildAssets(context) {
760
760
  if (!_optionalChain([context, 'access', _52 => _52.result, 'optionalAccess', _53 => _53.errors, 'access', _54 => _54.length]) && _optionalChain([context, 'access', _55 => _55.options, 'access', _56 => _56.assets, 'optionalAccess', _57 => _57.length])) {
761
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
761
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
762
762
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
763
763
  context.workspaceConfig
764
764
  );
765
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
765
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
766
766
  await copyAssets(
767
767
  context.workspaceConfig,
768
768
  _nullishCoalesce(context.options.assets, () => ( [])),
@@ -843,15 +843,15 @@ async function resolveContext(userOptions) {
843
843
  if (!workspaceRoot2) {
844
844
  throw new Error("Cannot find Nx workspace root");
845
845
  }
846
- const workspaceConfig = await _chunk4XJ24NCIjs.getWorkspaceConfig.call(void 0, true, {
846
+ const workspaceConfig = await _chunkEZJRN37Vjs.getWorkspaceConfig.call(void 0, true, {
847
847
  workspaceRoot: workspaceRoot2.dir
848
848
  });
849
- _chunkKWEPWMPWjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
850
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, "Build options resolution");
849
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
850
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, "Build options resolution");
851
851
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
852
852
  exitOnError: true
853
853
  });
854
- const projectJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0,
854
+ const projectJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0,
855
855
  workspaceRoot2.dir,
856
856
  projectRoot,
857
857
  "project.json"
@@ -870,7 +870,7 @@ async function resolveContext(userOptions) {
870
870
  }
871
871
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
872
872
  options.name ??= projectName;
873
- const packageJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0,
873
+ const packageJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0,
874
874
  workspaceRoot2.dir,
875
875
  options.projectRoot,
876
876
  "package.json"
@@ -882,7 +882,7 @@ async function resolveContext(userOptions) {
882
882
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
883
883
  const resolvedOptions = {
884
884
  ...options,
885
- tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkKWEPWMPWjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
885
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkTG6CQVYHjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
886
886
  metafile: userOptions.mode === "development",
887
887
  clean: false,
888
888
  env,
@@ -907,8 +907,8 @@ async function resolveContext(userOptions) {
907
907
  projectConfigurations,
908
908
  projectName,
909
909
  projectGraph,
910
- sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkKWEPWMPWjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
911
- outputPath: resolvedOptions.outputPath || _chunkKWEPWMPWjs.joinPaths.call(void 0,
910
+ sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkTG6CQVYHjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
911
+ outputPath: resolvedOptions.outputPath || _chunkTG6CQVYHjs.joinPaths.call(void 0,
912
912
  workspaceConfig.workspaceRoot,
913
913
  "dist",
914
914
  resolvedOptions.projectRoot
@@ -917,10 +917,10 @@ async function resolveContext(userOptions) {
917
917
  };
918
918
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
919
919
  if (context.options.verbose) {
920
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
920
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
921
921
  ` \u2699\uFE0F Build options resolved:
922
922
 
923
- ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0, context.options)}`,
923
+ ${_chunkTG6CQVYHjs.formatLogMessage.call(void 0, context.options)}`,
924
924
  workspaceConfig
925
925
  );
926
926
  }
@@ -932,10 +932,10 @@ ${_chunkKWEPWMPWjs.formatLogMessage.call(void 0, context.options)}`,
932
932
 
933
933
 
934
934
  async function generatePackageJson(context) {
935
- if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkKWEPWMPWjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
936
- _chunkKWEPWMPWjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
937
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, "Write package.json file");
938
- const packageJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0,
935
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTG6CQVYHjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
936
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
937
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, "Write package.json file");
938
+ const packageJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0,
939
939
  context.options.projectRoot,
940
940
  "project.json"
941
941
  );
@@ -943,7 +943,7 @@ async function generatePackageJson(context) {
943
943
  throw new Error("Cannot find package.json configuration");
944
944
  }
945
945
  const packageJsonFile = await _promises2.default.readFile(
946
- _chunkKWEPWMPWjs.joinPaths.call(void 0,
946
+ _chunkTG6CQVYHjs.joinPaths.call(void 0,
947
947
  context.workspaceConfig.workspaceRoot,
948
948
  context.options.projectRoot,
949
949
  "package.json"
@@ -1049,7 +1049,7 @@ async function generatePackageJson(context) {
1049
1049
  }
1050
1050
  }
1051
1051
  await _devkit.writeJsonFile.call(void 0,
1052
- _chunkKWEPWMPWjs.joinPaths.call(void 0, context.outputPath, "package.json"),
1052
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, context.outputPath, "package.json"),
1053
1053
  packageJson
1054
1054
  );
1055
1055
  stopwatch();
@@ -1061,12 +1061,12 @@ async function generatePackageJson(context) {
1061
1061
  var _tsup = require('tsup');
1062
1062
  async function build(options) {
1063
1063
  if (!options.silent) {
1064
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
1064
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
1065
1065
  ` \u{1F680} Running ${options.name || "tsup"} build`,
1066
1066
  options.workspaceConfig
1067
1067
  );
1068
1068
  }
1069
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
1069
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
1070
1070
  await _tsup.build.call(void 0, options);
1071
1071
  if (!options.silent) {
1072
1072
  stopwatch();
@@ -1075,14 +1075,14 @@ async function build(options) {
1075
1075
 
1076
1076
  // ../esbuild/src/tsup.ts
1077
1077
  async function executeTsup(context) {
1078
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
1078
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
1079
1079
  ` \u{1F680} Running ${context.options.name} build`,
1080
1080
  context.workspaceConfig
1081
1081
  );
1082
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, `${context.options.name} build`);
1082
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, `${context.options.name} build`);
1083
1083
  await build({
1084
1084
  ...context.options,
1085
- outDir: context.options.distDir ? _chunkKWEPWMPWjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
1085
+ outDir: context.options.distDir ? _chunkTG6CQVYHjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
1086
1086
  workspaceConfig: context.workspaceConfig
1087
1087
  });
1088
1088
  stopwatch();
@@ -1093,17 +1093,17 @@ async function executeTsup(context) {
1093
1093
  async function reportResults(context) {
1094
1094
  if (_optionalChain([context, 'access', _60 => _60.result, 'optionalAccess', _61 => _61.errors, 'access', _62 => _62.length]) === 0) {
1095
1095
  if (context.result.warnings.length > 0) {
1096
- _chunkKWEPWMPWjs.writeWarning.call(void 0,
1096
+ _chunkTG6CQVYHjs.writeWarning.call(void 0,
1097
1097
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
1098
1098
  context.workspaceConfig
1099
1099
  );
1100
1100
  }
1101
- _chunkKWEPWMPWjs.writeSuccess.call(void 0,
1101
+ _chunkTG6CQVYHjs.writeSuccess.call(void 0,
1102
1102
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
1103
1103
  context.workspaceConfig
1104
1104
  );
1105
1105
  } else if (_optionalChain([context, 'access', _63 => _63.result, 'optionalAccess', _64 => _64.errors]) && _optionalChain([context, 'access', _65 => _65.result, 'optionalAccess', _66 => _66.errors, 'access', _67 => _67.length]) > 0) {
1106
- _chunkKWEPWMPWjs.writeError.call(void 0,
1106
+ _chunkTG6CQVYHjs.writeError.call(void 0,
1107
1107
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
1108
1108
  context.workspaceConfig
1109
1109
  );
@@ -1114,19 +1114,19 @@ async function reportResults(context) {
1114
1114
  }
1115
1115
  async function cleanOutputPath(context) {
1116
1116
  if (context.clean !== false && context.outputPath) {
1117
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
1117
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
1118
1118
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
1119
1119
  context.workspaceConfig
1120
1120
  );
1121
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
1121
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
1122
1122
  await cleanDirectories(context.outputPath);
1123
1123
  stopwatch();
1124
1124
  }
1125
1125
  return context;
1126
1126
  }
1127
1127
  async function build2(options) {
1128
- _chunkKWEPWMPWjs.writeDebug.call(void 0, ` ${_chunkKWEPWMPWjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
1129
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, "ESBuild pipeline");
1128
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, ` ${_chunkTG6CQVYHjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
1129
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, "ESBuild pipeline");
1130
1130
  try {
1131
1131
  const opts = Array.isArray(options) ? options : [options];
1132
1132
  if (opts.length === 0) {
@@ -1141,9 +1141,9 @@ async function build2(options) {
1141
1141
  executeTsup(context)
1142
1142
  ]);
1143
1143
  await reportResults(context);
1144
- _chunkKWEPWMPWjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1144
+ _chunkTG6CQVYHjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1145
1145
  } catch (error) {
1146
- _chunkKWEPWMPWjs.writeFatal.call(void 0,
1146
+ _chunkTG6CQVYHjs.writeFatal.call(void 0,
1147
1147
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1148
1148
  );
1149
1149
  throw error;
@@ -1154,7 +1154,7 @@ async function build2(options) {
1154
1154
 
1155
1155
  // ../workspace-tools/src/executors/esbuild/executor.ts
1156
1156
  async function esbuildExecutorFn(options, context, config) {
1157
- _chunkKWEPWMPWjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1157
+ _chunkTG6CQVYHjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1158
1158
  if (!_optionalChain([context, 'access', _68 => _68.projectsConfigurations, 'optionalAccess', _69 => _69.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _70 => _70.projectsConfigurations, 'access', _71 => _71.projects, 'access', _72 => _72[context.projectName], 'optionalAccess', _73 => _73.root])) {
1159
1159
  throw new Error(
1160
1160
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1196,7 +1196,7 @@ var _jiti = require('jiti');
1196
1196
  var _fileutils = require('nx/src/utils/fileutils');
1197
1197
  async function napiExecutor(options, context, config) {
1198
1198
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1199
- fsCache: config.skipCache ? false : _chunkKWEPWMPWjs.joinPaths.call(void 0,
1199
+ fsCache: config.skipCache ? false : _chunkTG6CQVYHjs.joinPaths.call(void 0,
1200
1200
  config.workspaceRoot,
1201
1201
  config.directories.cache || "node_modules/.cache/storm",
1202
1202
  "jiti"
@@ -1212,52 +1212,52 @@ async function napiExecutor(options, context, config) {
1212
1212
  );
1213
1213
  }
1214
1214
  const projectRoot = _optionalChain([context, 'access', _85 => _85.projectGraph, 'optionalAccess', _86 => _86.nodes, 'access', _87 => _87[_nullishCoalesce(context.projectName, () => ( ""))], 'optionalAccess', _88 => _88.data, 'access', _89 => _89.root]);
1215
- const packageJson = _chunkKWEPWMPWjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1215
+ const packageJson = _chunkTG6CQVYHjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1216
1216
  if (!_fileutils.fileExists.call(void 0, packageJson)) {
1217
1217
  throw new Error(`Could not find package.json at ${packageJson}`);
1218
1218
  }
1219
1219
  const napi = new NapiCli();
1220
1220
  const normalizedOptions = { ...options };
1221
1221
  const metadata = cargoMetadata();
1222
- normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _90 => _90.target_directory]) || _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
1222
+ normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _90 => _90.target_directory]) || _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
1223
1223
  normalizedOptions.outputDir = options.outputPath;
1224
1224
  normalizedOptions.packageJsonPath ??= packageJson;
1225
1225
  if (options.cwd) {
1226
- normalizedOptions.cwd = _chunkKWEPWMPWjs.correctPaths.call(void 0, options.cwd);
1226
+ normalizedOptions.cwd = _chunkTG6CQVYHjs.correctPaths.call(void 0, options.cwd);
1227
1227
  } else {
1228
- const absoluteProjectRoot = _chunkKWEPWMPWjs.correctPaths.call(void 0,
1229
- _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
1228
+ const absoluteProjectRoot = _chunkTG6CQVYHjs.correctPaths.call(void 0,
1229
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
1230
1230
  );
1231
1231
  normalizedOptions.cwd = absoluteProjectRoot;
1232
1232
  if (normalizedOptions.outputDir) {
1233
- normalizedOptions.outputDir = _chunkKWEPWMPWjs.relative.call(void 0,
1233
+ normalizedOptions.outputDir = _chunkTG6CQVYHjs.relative.call(void 0,
1234
1234
  normalizedOptions.cwd,
1235
- _chunkKWEPWMPWjs.correctPaths.call(void 0,
1236
- _chunkKWEPWMPWjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1235
+ _chunkTG6CQVYHjs.correctPaths.call(void 0,
1236
+ _chunkTG6CQVYHjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1237
1237
  )
1238
1238
  );
1239
1239
  }
1240
1240
  if (normalizedOptions.packageJsonPath) {
1241
- normalizedOptions.packageJsonPath = _chunkKWEPWMPWjs.relative.call(void 0,
1241
+ normalizedOptions.packageJsonPath = _chunkTG6CQVYHjs.relative.call(void 0,
1242
1242
  normalizedOptions.cwd,
1243
- _chunkKWEPWMPWjs.correctPaths.call(void 0,
1244
- _chunkKWEPWMPWjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1243
+ _chunkTG6CQVYHjs.correctPaths.call(void 0,
1244
+ _chunkTG6CQVYHjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1245
1245
  )
1246
1246
  );
1247
1247
  }
1248
1248
  if (normalizedOptions.configPath) {
1249
- normalizedOptions.configPath = _chunkKWEPWMPWjs.relative.call(void 0,
1249
+ normalizedOptions.configPath = _chunkTG6CQVYHjs.relative.call(void 0,
1250
1250
  normalizedOptions.cwd,
1251
- _chunkKWEPWMPWjs.correctPaths.call(void 0,
1252
- _chunkKWEPWMPWjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1251
+ _chunkTG6CQVYHjs.correctPaths.call(void 0,
1252
+ _chunkTG6CQVYHjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1253
1253
  )
1254
1254
  );
1255
1255
  }
1256
1256
  if (normalizedOptions.manifestPath) {
1257
- normalizedOptions.manifestPath = _chunkKWEPWMPWjs.relative.call(void 0,
1257
+ normalizedOptions.manifestPath = _chunkTG6CQVYHjs.relative.call(void 0,
1258
1258
  normalizedOptions.cwd,
1259
- _chunkKWEPWMPWjs.correctPaths.call(void 0,
1260
- _chunkKWEPWMPWjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkKWEPWMPWjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1259
+ _chunkTG6CQVYHjs.correctPaths.call(void 0,
1260
+ _chunkTG6CQVYHjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkTG6CQVYHjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1261
1261
  )
1262
1262
  );
1263
1263
  }
@@ -1265,7 +1265,7 @@ async function napiExecutor(options, context, config) {
1265
1265
  if (process.env.VERCEL) {
1266
1266
  return { success: true };
1267
1267
  }
1268
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
1268
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
1269
1269
  `Normalized Napi Options:
1270
1270
  packageJsonPath: ${normalizedOptions.packageJsonPath}
1271
1271
  outputDir: ${normalizedOptions.outputDir}
@@ -1340,14 +1340,14 @@ async function sizeLimitExecutorFn(options, context, config) {
1340
1340
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
1341
1341
  );
1342
1342
  }
1343
- _chunkKWEPWMPWjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1343
+ _chunkTG6CQVYHjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1344
1344
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
1345
1345
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _94 => _94.projectsConfigurations, 'access', _95 => _95.projects, 'access', _96 => _96[context.projectName], 'optionalAccess', _97 => _97.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0,
1346
1346
  _nullishCoalesce(_optionalChain([context, 'access', _98 => _98.projectsConfigurations, 'access', _99 => _99.projects, 'access', _100 => _100[context.projectName], 'optionalAccess', _101 => _101.root]), () => ( "./")),
1347
1347
  "src"
1348
1348
  )))
1349
1349
  }).then((result) => {
1350
- _chunkKWEPWMPWjs.writeInfo.call(void 0,
1350
+ _chunkTG6CQVYHjs.writeInfo.call(void 0,
1351
1351
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
1352
1352
  config
1353
1353
  );
@@ -1417,19 +1417,19 @@ function toTSDownFormat(format3) {
1417
1417
  // ../tsdown/src/build.ts
1418
1418
  var resolveOptions = async (userOptions) => {
1419
1419
  const options = getDefaultOptions(userOptions);
1420
- const workspaceRoot2 = _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, options.projectRoot);
1420
+ const workspaceRoot2 = _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, options.projectRoot);
1421
1421
  if (!workspaceRoot2) {
1422
1422
  throw new Error("Cannot find Nx workspace root");
1423
1423
  }
1424
- const workspaceConfig = await _chunk4XJ24NCIjs.getWorkspaceConfig.call(void 0, options.debug === true, {
1424
+ const workspaceConfig = await _chunkEZJRN37Vjs.getWorkspaceConfig.call(void 0, options.debug === true, {
1425
1425
  workspaceRoot: workspaceRoot2
1426
1426
  });
1427
- _chunkKWEPWMPWjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1428
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, "Build options resolution");
1427
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1428
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, "Build options resolution");
1429
1429
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1430
1430
  exitOnError: true
1431
1431
  });
1432
- const projectJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0,
1432
+ const projectJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0,
1433
1433
  workspaceRoot2,
1434
1434
  options.projectRoot,
1435
1435
  "project.json"
@@ -1446,7 +1446,7 @@ var resolveOptions = async (userOptions) => {
1446
1446
  "The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project."
1447
1447
  );
1448
1448
  }
1449
- const packageJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0,
1449
+ const packageJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0,
1450
1450
  workspaceRoot2,
1451
1451
  options.projectRoot,
1452
1452
  "package.json"
@@ -1455,13 +1455,13 @@ var resolveOptions = async (userOptions) => {
1455
1455
  throw new Error("Cannot find package.json configuration");
1456
1456
  }
1457
1457
  const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
1458
- const sourceRoot = projectJson.sourceRoot || _chunkKWEPWMPWjs.joinPaths.call(void 0, options.projectRoot, "src");
1458
+ const sourceRoot = projectJson.sourceRoot || _chunkTG6CQVYHjs.joinPaths.call(void 0, options.projectRoot, "src");
1459
1459
  const result = {
1460
1460
  name: projectName,
1461
1461
  mode: "production",
1462
1462
  target: DEFAULT_TARGET,
1463
1463
  generatePackageJson: true,
1464
- outDir: _chunkKWEPWMPWjs.joinPaths.call(void 0, "dist", options.projectRoot),
1464
+ outDir: _chunkTG6CQVYHjs.joinPaths.call(void 0, "dist", options.projectRoot),
1465
1465
  minify: !debug,
1466
1466
  plugins: [],
1467
1467
  assets: [],
@@ -1473,12 +1473,12 @@ var resolveOptions = async (userOptions) => {
1473
1473
  clean: false,
1474
1474
  fixedExtension: true,
1475
1475
  nodeProtocol: true,
1476
- tsconfig: _chunkKWEPWMPWjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1476
+ tsconfig: _chunkTG6CQVYHjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1477
1477
  debug,
1478
1478
  sourceRoot,
1479
1479
  cwd: workspaceConfig.workspaceRoot,
1480
1480
  entry: {
1481
- ["index"]: _chunkKWEPWMPWjs.joinPaths.call(void 0, sourceRoot, "index.ts")
1481
+ ["index"]: _chunkTG6CQVYHjs.joinPaths.call(void 0, sourceRoot, "index.ts")
1482
1482
  },
1483
1483
  workspace: true,
1484
1484
  ...options,
@@ -1497,15 +1497,15 @@ var resolveOptions = async (userOptions) => {
1497
1497
  return result;
1498
1498
  };
1499
1499
  async function generatePackageJson2(options) {
1500
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkKWEPWMPWjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1501
- _chunkKWEPWMPWjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1502
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, "Write package.json file");
1503
- const packageJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1500
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTG6CQVYHjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1501
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1502
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, "Write package.json file");
1503
+ const packageJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1504
1504
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1505
1505
  throw new Error("Cannot find package.json configuration");
1506
1506
  }
1507
1507
  const packageJsonFile = await _promises2.default.readFile(
1508
- _chunkKWEPWMPWjs.joinPaths.call(void 0,
1508
+ _chunkTG6CQVYHjs.joinPaths.call(void 0,
1509
1509
  options.workspaceConfig.workspaceRoot,
1510
1510
  options.projectRoot,
1511
1511
  "package.json"
@@ -1567,14 +1567,14 @@ async function generatePackageJson2(options) {
1567
1567
  },
1568
1568
  packageJson.exports
1569
1569
  );
1570
- await _devkit.writeJsonFile.call(void 0, _chunkKWEPWMPWjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1570
+ await _devkit.writeJsonFile.call(void 0, _chunkTG6CQVYHjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1571
1571
  stopwatch();
1572
1572
  }
1573
1573
  return options;
1574
1574
  }
1575
1575
  async function executeTSDown(options) {
1576
- _chunkKWEPWMPWjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1577
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, `${options.name} build`);
1576
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1577
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, `${options.name} build`);
1578
1578
  await _tsdown.build.call(void 0, {
1579
1579
  ...options,
1580
1580
  entry: options.entry,
@@ -1584,11 +1584,11 @@ async function executeTSDown(options) {
1584
1584
  return options;
1585
1585
  }
1586
1586
  async function copyBuildAssets2(options) {
1587
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
1587
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
1588
1588
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
1589
1589
  options.workspaceConfig
1590
1590
  );
1591
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1591
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1592
1592
  await copyAssets(
1593
1593
  options.workspaceConfig,
1594
1594
  _nullishCoalesce(options.assets, () => ( [])),
@@ -1602,18 +1602,18 @@ async function copyBuildAssets2(options) {
1602
1602
  return options;
1603
1603
  }
1604
1604
  async function reportResults2(options) {
1605
- _chunkKWEPWMPWjs.writeSuccess.call(void 0,
1605
+ _chunkTG6CQVYHjs.writeSuccess.call(void 0,
1606
1606
  ` \u{1F4E6} The ${options.name} build completed successfully`,
1607
1607
  options.workspaceConfig
1608
1608
  );
1609
1609
  }
1610
1610
  async function cleanOutputPath2(options) {
1611
1611
  if (options.clean !== false && options.workspaceConfig) {
1612
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
1612
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
1613
1613
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
1614
1614
  options.workspaceConfig
1615
1615
  );
1616
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, `${options.name} output clean`);
1616
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, `${options.name} output clean`);
1617
1617
  await cleanDirectories2(
1618
1618
  options.name,
1619
1619
  options.outDir,
@@ -1624,8 +1624,8 @@ async function cleanOutputPath2(options) {
1624
1624
  return options;
1625
1625
  }
1626
1626
  async function build3(options) {
1627
- _chunkKWEPWMPWjs.writeDebug.call(void 0, ` ${_chunkKWEPWMPWjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
1628
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, "TSDown pipeline");
1627
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, ` ${_chunkTG6CQVYHjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
1628
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, "TSDown pipeline");
1629
1629
  try {
1630
1630
  const opts = Array.isArray(options) ? options : [options];
1631
1631
  if (opts.length === 0) {
@@ -1645,13 +1645,13 @@ async function build3(options) {
1645
1645
  })
1646
1646
  );
1647
1647
  } else {
1648
- _chunkKWEPWMPWjs.writeWarning.call(void 0,
1648
+ _chunkTG6CQVYHjs.writeWarning.call(void 0,
1649
1649
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
1650
1650
  );
1651
1651
  }
1652
- _chunkKWEPWMPWjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1652
+ _chunkTG6CQVYHjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1653
1653
  } catch (error) {
1654
- _chunkKWEPWMPWjs.writeFatal.call(void 0,
1654
+ _chunkTG6CQVYHjs.writeFatal.call(void 0,
1655
1655
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1656
1656
  );
1657
1657
  throw error;
@@ -1662,7 +1662,7 @@ async function build3(options) {
1662
1662
 
1663
1663
  // ../workspace-tools/src/executors/tsdown/executor.ts
1664
1664
  async function tsdownExecutorFn(options, context, config) {
1665
- _chunkKWEPWMPWjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1665
+ _chunkTG6CQVYHjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1666
1666
  if (!_optionalChain([context, 'access', _104 => _104.projectsConfigurations, 'optionalAccess', _105 => _105.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _106 => _106.projectsConfigurations, 'access', _107 => _107.projects, 'access', _108 => _108[context.projectName], 'optionalAccess', _109 => _109.root])) {
1667
1667
  throw new Error(
1668
1668
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1704,12 +1704,12 @@ var _fsextra = require('fs-extra');
1704
1704
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1705
1705
  async function typiaExecutorFn(options, _, config) {
1706
1706
  if (options.clean !== false) {
1707
- _chunkKWEPWMPWjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1707
+ _chunkTG6CQVYHjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1708
1708
  _fsextra.removeSync.call(void 0, options.outputPath);
1709
1709
  }
1710
1710
  await Promise.all(
1711
1711
  options.entry.map((entry) => {
1712
- _chunkKWEPWMPWjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1712
+ _chunkTG6CQVYHjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1713
1713
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1714
1714
  input: entry,
1715
1715
  output: options.outputPath,
@@ -1742,7 +1742,7 @@ var executor_default10 = withRunExecutor(
1742
1742
 
1743
1743
 
1744
1744
  async function unbuildExecutorFn(options, context, config) {
1745
- _chunkKWEPWMPWjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1745
+ _chunkTG6CQVYHjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1746
1746
  if (!_optionalChain([context, 'access', _118 => _118.projectsConfigurations, 'optionalAccess', _119 => _119.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1747
1747
  throw new Error(
1748
1748
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -1759,7 +1759,7 @@ async function unbuildExecutorFn(options, context, config) {
1759
1759
  );
1760
1760
  }
1761
1761
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1762
- fsCache: config.skipCache ? false : _chunkKWEPWMPWjs.joinPaths.call(void 0,
1762
+ fsCache: config.skipCache ? false : _chunkTG6CQVYHjs.joinPaths.call(void 0,
1763
1763
  config.workspaceRoot,
1764
1764
  config.directories.cache || "node_modules/.cache/storm",
1765
1765
  "jiti"
@@ -1781,7 +1781,7 @@ async function unbuildExecutorFn(options, context, config) {
1781
1781
  {
1782
1782
  stubOptions: {
1783
1783
  jiti: {
1784
- fsCache: config.skipCache ? false : _chunkKWEPWMPWjs.joinPaths.call(void 0,
1784
+ fsCache: config.skipCache ? false : _chunkTG6CQVYHjs.joinPaths.call(void 0,
1785
1785
  config.workspaceRoot,
1786
1786
  config.directories.cache || "node_modules/.cache/storm",
1787
1787
  "jiti"
@@ -1841,33 +1841,33 @@ var executor_default11 = withRunExecutor(
1841
1841
  var withRunGenerator = (name, generatorFn, generatorOptions = {
1842
1842
  skipReadingConfig: false
1843
1843
  }) => async (tree, _options) => {
1844
- const stopwatch = _chunkKWEPWMPWjs.getStopwatch.call(void 0, name);
1844
+ const stopwatch = _chunkTG6CQVYHjs.getStopwatch.call(void 0, name);
1845
1845
  let options = _options;
1846
1846
  let config;
1847
1847
  try {
1848
- _chunkKWEPWMPWjs.writeInfo.call(void 0,
1849
- `${_chunkKWEPWMPWjs.brandIcon.call(void 0, config)} Running the ${name} generator...
1848
+ _chunkTG6CQVYHjs.writeInfo.call(void 0,
1849
+ `${_chunkTG6CQVYHjs.brandIcon.call(void 0, config)} Running the ${name} generator...
1850
1850
 
1851
1851
  `,
1852
1852
  config
1853
1853
  );
1854
- const workspaceRoot2 = _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, );
1854
+ const workspaceRoot2 = _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, );
1855
1855
  if (!generatorOptions.skipReadingConfig) {
1856
- _chunkKWEPWMPWjs.writeDebug.call(void 0,
1856
+ _chunkTG6CQVYHjs.writeDebug.call(void 0,
1857
1857
  `Loading the Storm Config from environment variables and storm.config.js file...
1858
1858
  - workspaceRoot: ${workspaceRoot2}`,
1859
1859
  config
1860
1860
  );
1861
- config = await _chunk4XJ24NCIjs.getConfig.call(void 0, workspaceRoot2);
1861
+ config = await _chunkEZJRN37Vjs.getConfig.call(void 0, workspaceRoot2);
1862
1862
  }
1863
1863
  if (_optionalChain([generatorOptions, 'optionalAccess', _120 => _120.hooks, 'optionalAccess', _121 => _121.applyDefaultOptions])) {
1864
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1864
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1865
1865
  options = await Promise.resolve(
1866
1866
  generatorOptions.hooks.applyDefaultOptions(options, config)
1867
1867
  );
1868
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1868
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1869
1869
  }
1870
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
1870
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
1871
1871
  `Generator schema options \u2699\uFE0F
1872
1872
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
1873
1873
  config
@@ -1878,11 +1878,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1878
1878
  applyWorkspaceBaseTokens
1879
1879
  );
1880
1880
  if (_optionalChain([generatorOptions, 'optionalAccess', _122 => _122.hooks, 'optionalAccess', _123 => _123.preProcess])) {
1881
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1881
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1882
1882
  await Promise.resolve(
1883
1883
  generatorOptions.hooks.preProcess(tokenized, config)
1884
1884
  );
1885
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1885
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1886
1886
  }
1887
1887
  const result = await Promise.resolve(
1888
1888
  generatorFn(tree, tokenized, config)
@@ -1897,21 +1897,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1897
1897
  }
1898
1898
  }
1899
1899
  if (_optionalChain([generatorOptions, 'optionalAccess', _133 => _133.hooks, 'optionalAccess', _134 => _134.postProcess])) {
1900
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1900
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1901
1901
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1902
- _chunkKWEPWMPWjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1902
+ _chunkTG6CQVYHjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1903
1903
  }
1904
1904
  return () => {
1905
- _chunkKWEPWMPWjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1905
+ _chunkTG6CQVYHjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1906
1906
  `, config);
1907
1907
  };
1908
1908
  } catch (error) {
1909
1909
  return () => {
1910
- _chunkKWEPWMPWjs.writeFatal.call(void 0,
1910
+ _chunkTG6CQVYHjs.writeFatal.call(void 0,
1911
1911
  "A fatal error occurred while running the generator - the process was forced to terminate",
1912
1912
  config
1913
1913
  );
1914
- _chunkKWEPWMPWjs.writeError.call(void 0,
1914
+ _chunkTG6CQVYHjs.writeError.call(void 0,
1915
1915
  `An exception was thrown in the generator's process
1916
1916
  - Details: ${error.message}
1917
1917
  - Stacktrace: ${error.stack}`,
@@ -1977,16 +1977,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1977
1977
  const projectConfig = {
1978
1978
  root: normalized.directory,
1979
1979
  projectType: "library",
1980
- sourceRoot: _chunkKWEPWMPWjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1980
+ sourceRoot: _chunkTG6CQVYHjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1981
1981
  targets: {
1982
1982
  build: {
1983
1983
  executor: options.buildExecutor,
1984
1984
  outputs: ["{options.outputPath}"],
1985
1985
  options: {
1986
- entry: [_chunkKWEPWMPWjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1986
+ entry: [_chunkTG6CQVYHjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1987
1987
  outputPath: getOutputPath(normalized),
1988
- tsconfig: _chunkKWEPWMPWjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1989
- project: _chunkKWEPWMPWjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1988
+ tsconfig: _chunkTG6CQVYHjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1989
+ project: _chunkTG6CQVYHjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1990
1990
  defaultConfiguration: "production",
1991
1991
  platform: "neutral",
1992
1992
  assets: [
@@ -2043,7 +2043,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2043
2043
  if (!normalized.importPath) {
2044
2044
  normalized.importPath = normalized.name;
2045
2045
  }
2046
- const packageJsonPath = _chunkKWEPWMPWjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2046
+ const packageJsonPath = _chunkTG6CQVYHjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2047
2047
  if (tree.exists(packageJsonPath)) {
2048
2048
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2049
2049
  if (!normalized.importPath) {
@@ -2100,14 +2100,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2100
2100
  }));
2101
2101
  }
2102
2102
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
2103
- _chunkKWEPWMPWjs.joinPaths.call(void 0,
2103
+ _chunkTG6CQVYHjs.joinPaths.call(void 0,
2104
2104
  normalized.projectRoot,
2105
2105
  "./src",
2106
2106
  `index.${normalized.js ? "js" : "ts"}`
2107
2107
  )
2108
2108
  ]);
2109
- _js.addTsConfigPath.call(void 0, tree, _chunkKWEPWMPWjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2110
- _chunkKWEPWMPWjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2109
+ _js.addTsConfigPath.call(void 0, tree, _chunkTG6CQVYHjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2110
+ _chunkTG6CQVYHjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2111
2111
  ]);
2112
2112
  if (tree.exists("package.json")) {
2113
2113
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -2118,7 +2118,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2118
2118
  description = packageJson.description;
2119
2119
  }
2120
2120
  }
2121
- const tsconfigPath = _chunkKWEPWMPWjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2121
+ const tsconfigPath = _chunkTG6CQVYHjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2122
2122
  if (tree.exists(tsconfigPath)) {
2123
2123
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2124
2124
  json.composite ??= true;
@@ -2146,7 +2146,7 @@ function getOutputPath(options) {
2146
2146
  } else {
2147
2147
  parts.push(options.projectRoot);
2148
2148
  }
2149
- return _chunkKWEPWMPWjs.joinPaths.call(void 0, ...parts);
2149
+ return _chunkTG6CQVYHjs.joinPaths.call(void 0, ...parts);
2150
2150
  }
2151
2151
  function createProjectTsConfigJson(tree, options) {
2152
2152
  const tsconfig = {
@@ -2154,7 +2154,7 @@ function createProjectTsConfigJson(tree, options) {
2154
2154
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _149 => _149.tsconfigOptions]), () => ( {})),
2155
2155
  compilerOptions: {
2156
2156
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2157
- outDir: _chunkKWEPWMPWjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2157
+ outDir: _chunkTG6CQVYHjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2158
2158
  noEmit: true,
2159
2159
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _150 => _150.tsconfigOptions, 'optionalAccess', _151 => _151.compilerOptions]), () => ( {}))
2160
2160
  },
@@ -2172,7 +2172,7 @@ function createProjectTsConfigJson(tree, options) {
2172
2172
  "src/**/*.test.ts"
2173
2173
  ]
2174
2174
  };
2175
- _devkit.writeJson.call(void 0, tree, _chunkKWEPWMPWjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2175
+ _devkit.writeJson.call(void 0, tree, _chunkTG6CQVYHjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2176
2176
  }
2177
2177
  async function normalizeOptions(tree, options, config) {
2178
2178
  let importPath = options.importPath;
@@ -2237,7 +2237,7 @@ async function normalizeOptions(tree, options, config) {
2237
2237
 
2238
2238
  // ../workspace-tools/src/generators/browser-library/generator.ts
2239
2239
  async function browserLibraryGeneratorFn(tree, schema, config) {
2240
- const filesDir = _chunkKWEPWMPWjs.joinPaths.call(void 0,
2240
+ const filesDir = _chunkTG6CQVYHjs.joinPaths.call(void 0,
2241
2241
  __dirname,
2242
2242
  "src",
2243
2243
  "generators",
@@ -2320,38 +2320,38 @@ var generator_default = withRunGenerator(
2320
2320
 
2321
2321
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
2322
2322
  async function configSchemaGeneratorFn(tree, options, config) {
2323
- _chunkKWEPWMPWjs.writeInfo.call(void 0,
2323
+ _chunkTG6CQVYHjs.writeInfo.call(void 0,
2324
2324
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
2325
2325
  config
2326
2326
  );
2327
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
2327
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
2328
2328
  `Determining the Storm Workspace Configuration JSON Schema...`,
2329
2329
  config
2330
2330
  );
2331
- const jsonSchema = z.toJSONSchema(_chunk4XJ24NCIjs.workspaceConfigSchema, {
2331
+ const jsonSchema = z.toJSONSchema(_chunkEZJRN37Vjs.workspaceConfigSchema, {
2332
2332
  target: "draft-7",
2333
- metadata: _chunk4XJ24NCIjs.schemaRegistry
2333
+ metadata: _chunkEZJRN37Vjs.schemaRegistry
2334
2334
  });
2335
2335
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
2336
2336
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
2337
2337
  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.";
2338
- _chunkKWEPWMPWjs.writeTrace.call(void 0, jsonSchema, config);
2338
+ _chunkTG6CQVYHjs.writeTrace.call(void 0, jsonSchema, config);
2339
2339
  if (!options.outputFile) {
2340
2340
  throw new Error(
2341
2341
  "The `outputFile` option is required. Please specify the output file path."
2342
2342
  );
2343
2343
  }
2344
2344
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
2345
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _160 => _160.workspaceRoot]), () => ( _chunk4XJ24NCIjs.findWorkspaceRoot.call(void 0, ))),
2345
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _160 => _160.workspaceRoot]), () => ( _chunkEZJRN37Vjs.findWorkspaceRoot.call(void 0, ))),
2346
2346
  options.outputFile.startsWith("./") ? "" : "./"
2347
2347
  );
2348
- _chunkKWEPWMPWjs.writeTrace.call(void 0,
2348
+ _chunkTG6CQVYHjs.writeTrace.call(void 0,
2349
2349
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
2350
2350
  config
2351
2351
  );
2352
2352
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
2353
2353
  await _devkit.formatFiles.call(void 0, tree);
2354
- _chunkKWEPWMPWjs.writeSuccess.call(void 0,
2354
+ _chunkTG6CQVYHjs.writeSuccess.call(void 0,
2355
2355
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
2356
2356
  config
2357
2357
  );
@@ -2386,7 +2386,7 @@ var generator_default2 = withRunGenerator(
2386
2386
 
2387
2387
 
2388
2388
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2389
- const filesDir = _chunkKWEPWMPWjs.joinPaths.call(void 0,
2389
+ const filesDir = _chunkTG6CQVYHjs.joinPaths.call(void 0,
2390
2390
  __dirname,
2391
2391
  "src",
2392
2392
  "generators",
@@ -2445,7 +2445,7 @@ var generator_default3 = withRunGenerator(
2445
2445
 
2446
2446
 
2447
2447
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2448
- const filesDir = _chunkKWEPWMPWjs.joinPaths.call(void 0,
2448
+ const filesDir = _chunkTG6CQVYHjs.joinPaths.call(void 0,
2449
2449
  __dirname,
2450
2450
  "src",
2451
2451
  "generators",