@storm-software/cloudflare-tools 0.71.167 → 0.71.169

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 +16 -0
  2. package/dist/{chunk-OZPXCCZB.js → chunk-3PQOI4NL.js} +2 -2
  3. package/dist/{chunk-JOBVIJOH.mjs → chunk-4ZMJ7ITM.mjs} +1 -1
  4. package/dist/{chunk-XFDJCBLE.mjs → chunk-BLZM3I3R.mjs} +2 -2
  5. package/dist/{chunk-4F6THJ6M.mjs → chunk-BTOLO426.mjs} +1 -1
  6. package/dist/{chunk-JRM2C3MT.mjs → chunk-DQY5M23N.mjs} +4 -4
  7. package/dist/{chunk-SVZALJP4.mjs → chunk-GP7FNQ4T.mjs} +3 -3
  8. package/dist/{chunk-GGKUN5Q6.js → chunk-P2B6LH7U.js} +4 -4
  9. package/dist/{chunk-WROOA5AX.js → chunk-QKL4F7HK.js} +34 -34
  10. package/dist/{chunk-OBUVLRI3.mjs → chunk-T6NIUJEH.mjs} +2 -2
  11. package/dist/{chunk-JGJLU4ON.js → chunk-TM5AJMAM.js} +5 -5
  12. package/dist/{chunk-JGIGFUYD.js → chunk-V56MCNEY.js} +18 -18
  13. package/dist/{chunk-BBATWFWZ.js → chunk-V5BKWFQJ.js} +13 -13
  14. package/dist/{chunk-HUK6LVIA.mjs → chunk-YLSP6KZ2.mjs} +3 -3
  15. package/dist/{chunk-7BG3OYEY.js → chunk-Z3627CDS.js} +168 -168
  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 +9 -9
@@ -8,7 +8,7 @@ var _chunkXKQ3HGETjs = require('./chunk-XKQ3HGET.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkWROOA5AXjs = require('./chunk-WROOA5AX.js');
11
+ var _chunkQKL4F7HKjs = require('./chunk-QKL4F7HK.js');
12
12
 
13
13
 
14
14
 
@@ -24,7 +24,7 @@ var _chunkWROOA5AXjs = require('./chunk-WROOA5AX.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkOZPXCCZBjs = require('./chunk-OZPXCCZB.js');
27
+ var _chunk3PQOI4NLjs = require('./chunk-3PQOI4NL.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]))), () => ( _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, )))
64
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkQKL4F7HKjs.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 = _chunkOZPXCCZBjs.getStopwatch.call(void 0, name);
104
+ const stopwatch = _chunk3PQOI4NLjs.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 = _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, );
113
+ const workspaceRoot2 = _chunkQKL4F7HKjs.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
- _chunkOZPXCCZBjs.writeInfo.call(void 0,
119
- `${_chunkOZPXCCZBjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
118
+ _chunk3PQOI4NLjs.writeInfo.call(void 0,
119
+ `${_chunk3PQOI4NLjs.brandIcon.call(void 0, config)} Running the ${name} executor for ${projectName} `,
120
120
  config
121
121
  );
122
122
  if (!executorOptions.skipReadingConfig) {
123
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
123
+ _chunk3PQOI4NLjs.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 _chunkWROOA5AXjs.getConfig.call(void 0, workspaceRoot2);
132
+ config = await _chunkQKL4F7HKjs.getConfig.call(void 0, workspaceRoot2);
133
133
  }
134
134
  if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
135
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
135
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
139
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
140
140
  }
141
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
141
+ _chunk3PQOI4NLjs.writeTrace.call(void 0,
142
142
  `Executor schema options \u2699\uFE0F
143
- ${_chunkOZPXCCZBjs.formatLogMessage.call(void 0, options)}
143
+ ${_chunk3PQOI4NLjs.formatLogMessage.call(void 0, options)}
144
144
  `,
145
145
  config
146
146
  );
@@ -153,18 +153,18 @@ ${_chunkOZPXCCZBjs.formatLogMessage.call(void 0, options)}
153
153
  ),
154
154
  applyWorkspaceProjectTokens
155
155
  );
156
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
156
+ _chunk3PQOI4NLjs.writeTrace.call(void 0,
157
157
  `Executor schema tokenized options \u2699\uFE0F
158
- ${_chunkOZPXCCZBjs.formatLogMessage.call(void 0, tokenized)}
158
+ ${_chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
163
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
164
164
  await Promise.resolve(
165
165
  executorOptions.hooks.preProcess(tokenized, config)
166
166
  );
167
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
167
+ _chunk3PQOI4NLjs.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 @@ ${_chunkOZPXCCZBjs.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
- ${_chunkOZPXCCZBjs.formatLogMessage.call(void 0,
182
+ ${_chunk3PQOI4NLjs.formatLogMessage.call(void 0,
183
183
  result
184
184
  )}`,
185
185
  {
@@ -188,21 +188,21 @@ ${_chunkOZPXCCZBjs.formatLogMessage.call(void 0,
188
188
  );
189
189
  }
190
190
  if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.postProcess])) {
191
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
191
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
192
192
  await Promise.resolve(executorOptions.hooks.postProcess(config));
193
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
193
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
194
194
  }
195
- _chunkOZPXCCZBjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
195
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeFatal.call(void 0,
201
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeError.call(void 0,
205
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
518
+ _chunk3PQOI4NLjs.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} -> ${_chunkOZPXCCZBjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
520
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
530
+ _chunk3PQOI4NLjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
531
531
  if (includeSrc === true) {
532
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
533
- `\u{1F4DD} Adding banner and writing source files: ${_chunkOZPXCCZBjs.joinPaths.call(void 0,
532
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
533
+ `\u{1F4DD} Adding banner and writing source files: ${_chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
541
- _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
542
- _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
543
- _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
540
+ _chunk3PQOI4NLjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
541
+ _chunk3PQOI4NLjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
542
+ _chunk3PQOI4NLjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
543
+ _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.joinPaths.call(void 0,
598
+ const projectPackageJsonPath = _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
616
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.joinPaths.call(void 0, projectRoot, "project.json"),
620
+ _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.joinPaths.call(void 0,
633
+ const depPackageJsonPath = _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
664
+ _chunk3PQOI4NLjs.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 : _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, );
669
+ const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkQKL4F7HKjs.findWorkspaceRoot.call(void 0, );
670
670
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
671
- _chunkOZPXCCZBjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
671
+ _chunk3PQOI4NLjs.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 ??= `${_chunkOZPXCCZBjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
682
+ packageJson.source ??= `${_chunk3PQOI4NLjs.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 : _chunkOZPXCCZBjs.joinPaths.call(void 0, "packages", projectName);
707
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
761
+ _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
765
+ const stopwatch = _chunk3PQOI4NLjs.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 _chunkWROOA5AXjs.getWorkspaceConfig.call(void 0, true, {
846
+ const workspaceConfig = await _chunkQKL4F7HKjs.getWorkspaceConfig.call(void 0, true, {
847
847
  workspaceRoot: workspaceRoot2.dir
848
848
  });
849
- _chunkOZPXCCZBjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
850
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, "Build options resolution");
849
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
850
+ const stopwatch = _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.joinPaths.call(void 0,
854
+ const projectJsonPath = _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.joinPaths.call(void 0,
873
+ const packageJsonPath = _chunk3PQOI4NLjs.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 : _chunkOZPXCCZBjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
885
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunk3PQOI4NLjs.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 || _chunkOZPXCCZBjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
911
- outputPath: resolvedOptions.outputPath || _chunkOZPXCCZBjs.joinPaths.call(void 0,
910
+ sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunk3PQOI4NLjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
911
+ outputPath: resolvedOptions.outputPath || _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
920
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
921
921
  ` \u2699\uFE0F Build options resolved:
922
922
 
923
- ${_chunkOZPXCCZBjs.formatLogMessage.call(void 0, context.options)}`,
923
+ ${_chunk3PQOI4NLjs.formatLogMessage.call(void 0, context.options)}`,
924
924
  workspaceConfig
925
925
  );
926
926
  }
@@ -932,10 +932,10 @@ ${_chunkOZPXCCZBjs.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, _chunkOZPXCCZBjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
936
- _chunkOZPXCCZBjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
937
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, "Write package.json file");
938
- const packageJsonPath = _chunkOZPXCCZBjs.joinPaths.call(void 0,
935
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk3PQOI4NLjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
936
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
937
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, "Write package.json file");
938
+ const packageJsonPath = _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.joinPaths.call(void 0,
946
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.joinPaths.call(void 0, context.outputPath, "package.json"),
1052
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
1064
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
1065
1065
  ` \u{1F680} Running ${options.name || "tsup"} build`,
1066
1066
  options.workspaceConfig
1067
1067
  );
1068
1068
  }
1069
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
1069
+ const stopwatch = _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
1078
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
1079
1079
  ` \u{1F680} Running ${context.options.name} build`,
1080
1080
  context.workspaceConfig
1081
1081
  );
1082
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, `${context.options.name} build`);
1082
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, `${context.options.name} build`);
1083
1083
  await build({
1084
1084
  ...context.options,
1085
- outDir: context.options.distDir ? _chunkOZPXCCZBjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
1085
+ outDir: context.options.distDir ? _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeWarning.call(void 0,
1096
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeSuccess.call(void 0,
1101
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeError.call(void 0,
1106
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
1117
+ _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
1121
+ const stopwatch = _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0, ` ${_chunkOZPXCCZBjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
1129
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, "ESBuild pipeline");
1128
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, ` ${_chunk3PQOI4NLjs.brandIcon.call(void 0, )} Executing Storm ESBuild pipeline`);
1129
+ const stopwatch = _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1144
+ _chunk3PQOI4NLjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1145
1145
  } catch (error) {
1146
- _chunkOZPXCCZBjs.writeFatal.call(void 0,
1146
+ _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1157
+ _chunk3PQOI4NLjs.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 : _chunkOZPXCCZBjs.joinPaths.call(void 0,
1199
+ fsCache: config.skipCache ? false : _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1215
+ const packageJson = _chunk3PQOI4NLjs.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]) || _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
1222
+ normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _90 => _90.target_directory]) || _chunk3PQOI4NLjs.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 = _chunkOZPXCCZBjs.correctPaths.call(void 0, options.cwd);
1226
+ normalizedOptions.cwd = _chunk3PQOI4NLjs.correctPaths.call(void 0, options.cwd);
1227
1227
  } else {
1228
- const absoluteProjectRoot = _chunkOZPXCCZBjs.correctPaths.call(void 0,
1229
- _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
1228
+ const absoluteProjectRoot = _chunk3PQOI4NLjs.correctPaths.call(void 0,
1229
+ _chunk3PQOI4NLjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot || ".")
1230
1230
  );
1231
1231
  normalizedOptions.cwd = absoluteProjectRoot;
1232
1232
  if (normalizedOptions.outputDir) {
1233
- normalizedOptions.outputDir = _chunkOZPXCCZBjs.relative.call(void 0,
1233
+ normalizedOptions.outputDir = _chunk3PQOI4NLjs.relative.call(void 0,
1234
1234
  normalizedOptions.cwd,
1235
- _chunkOZPXCCZBjs.correctPaths.call(void 0,
1236
- _chunkOZPXCCZBjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1235
+ _chunk3PQOI4NLjs.correctPaths.call(void 0,
1236
+ _chunk3PQOI4NLjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunk3PQOI4NLjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1237
1237
  )
1238
1238
  );
1239
1239
  }
1240
1240
  if (normalizedOptions.packageJsonPath) {
1241
- normalizedOptions.packageJsonPath = _chunkOZPXCCZBjs.relative.call(void 0,
1241
+ normalizedOptions.packageJsonPath = _chunk3PQOI4NLjs.relative.call(void 0,
1242
1242
  normalizedOptions.cwd,
1243
- _chunkOZPXCCZBjs.correctPaths.call(void 0,
1244
- _chunkOZPXCCZBjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1243
+ _chunk3PQOI4NLjs.correctPaths.call(void 0,
1244
+ _chunk3PQOI4NLjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunk3PQOI4NLjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1245
1245
  )
1246
1246
  );
1247
1247
  }
1248
1248
  if (normalizedOptions.configPath) {
1249
- normalizedOptions.configPath = _chunkOZPXCCZBjs.relative.call(void 0,
1249
+ normalizedOptions.configPath = _chunk3PQOI4NLjs.relative.call(void 0,
1250
1250
  normalizedOptions.cwd,
1251
- _chunkOZPXCCZBjs.correctPaths.call(void 0,
1252
- _chunkOZPXCCZBjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1251
+ _chunk3PQOI4NLjs.correctPaths.call(void 0,
1252
+ _chunk3PQOI4NLjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunk3PQOI4NLjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1253
1253
  )
1254
1254
  );
1255
1255
  }
1256
1256
  if (normalizedOptions.manifestPath) {
1257
- normalizedOptions.manifestPath = _chunkOZPXCCZBjs.relative.call(void 0,
1257
+ normalizedOptions.manifestPath = _chunk3PQOI4NLjs.relative.call(void 0,
1258
1258
  normalizedOptions.cwd,
1259
- _chunkOZPXCCZBjs.correctPaths.call(void 0,
1260
- _chunkOZPXCCZBjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkOZPXCCZBjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1259
+ _chunk3PQOI4NLjs.correctPaths.call(void 0,
1260
+ _chunk3PQOI4NLjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunk3PQOI4NLjs.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
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
1268
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
1269
1269
  `Normalized Napi Options:
1270
1270
  packageJsonPath: ${normalizedOptions.packageJsonPath}
1271
1271
  outputDir: ${normalizedOptions.outputDir}
@@ -1345,14 +1345,14 @@ async function sizeLimitExecutorFn(options, context, config) {
1345
1345
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
1346
1346
  );
1347
1347
  }
1348
- _chunkOZPXCCZBjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1348
+ _chunk3PQOI4NLjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1349
1349
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
1350
1350
  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,
1351
1351
  _nullishCoalesce(_optionalChain([context, 'access', _98 => _98.projectsConfigurations, 'access', _99 => _99.projects, 'access', _100 => _100[context.projectName], 'optionalAccess', _101 => _101.root]), () => ( "./")),
1352
1352
  "src"
1353
1353
  )))
1354
1354
  }).then((result) => {
1355
- _chunkOZPXCCZBjs.writeInfo.call(void 0,
1355
+ _chunk3PQOI4NLjs.writeInfo.call(void 0,
1356
1356
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
1357
1357
  config
1358
1358
  );
@@ -1422,19 +1422,19 @@ function toTSDownFormat(format3) {
1422
1422
  // ../tsdown/src/build.ts
1423
1423
  var resolveOptions = async (userOptions) => {
1424
1424
  const options = getDefaultOptions(userOptions);
1425
- const workspaceRoot2 = _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, options.projectRoot);
1425
+ const workspaceRoot2 = _chunkQKL4F7HKjs.findWorkspaceRoot.call(void 0, options.projectRoot);
1426
1426
  if (!workspaceRoot2) {
1427
1427
  throw new Error("Cannot find Nx workspace root");
1428
1428
  }
1429
- const workspaceConfig = await _chunkWROOA5AXjs.getWorkspaceConfig.call(void 0, options.debug === true, {
1429
+ const workspaceConfig = await _chunkQKL4F7HKjs.getWorkspaceConfig.call(void 0, options.debug === true, {
1430
1430
  workspaceRoot: workspaceRoot2
1431
1431
  });
1432
- _chunkOZPXCCZBjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1433
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, "Build options resolution");
1432
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1433
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, "Build options resolution");
1434
1434
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1435
1435
  exitOnError: true
1436
1436
  });
1437
- const projectJsonPath = _chunkOZPXCCZBjs.joinPaths.call(void 0,
1437
+ const projectJsonPath = _chunk3PQOI4NLjs.joinPaths.call(void 0,
1438
1438
  workspaceRoot2,
1439
1439
  options.projectRoot,
1440
1440
  "project.json"
@@ -1451,7 +1451,7 @@ var resolveOptions = async (userOptions) => {
1451
1451
  "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."
1452
1452
  );
1453
1453
  }
1454
- const packageJsonPath = _chunkOZPXCCZBjs.joinPaths.call(void 0,
1454
+ const packageJsonPath = _chunk3PQOI4NLjs.joinPaths.call(void 0,
1455
1455
  workspaceRoot2,
1456
1456
  options.projectRoot,
1457
1457
  "package.json"
@@ -1460,13 +1460,13 @@ var resolveOptions = async (userOptions) => {
1460
1460
  throw new Error("Cannot find package.json configuration");
1461
1461
  }
1462
1462
  const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
1463
- const sourceRoot = projectJson.sourceRoot || _chunkOZPXCCZBjs.joinPaths.call(void 0, options.projectRoot, "src");
1463
+ const sourceRoot = projectJson.sourceRoot || _chunk3PQOI4NLjs.joinPaths.call(void 0, options.projectRoot, "src");
1464
1464
  const result = {
1465
1465
  name: projectName,
1466
1466
  mode: "production",
1467
1467
  target: DEFAULT_TARGET,
1468
1468
  generatePackageJson: true,
1469
- outDir: _chunkOZPXCCZBjs.joinPaths.call(void 0, "dist", options.projectRoot),
1469
+ outDir: _chunk3PQOI4NLjs.joinPaths.call(void 0, "dist", options.projectRoot),
1470
1470
  minify: !debug,
1471
1471
  plugins: [],
1472
1472
  assets: [],
@@ -1478,12 +1478,12 @@ var resolveOptions = async (userOptions) => {
1478
1478
  clean: false,
1479
1479
  fixedExtension: true,
1480
1480
  nodeProtocol: true,
1481
- tsconfig: _chunkOZPXCCZBjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1481
+ tsconfig: _chunk3PQOI4NLjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1482
1482
  debug,
1483
1483
  sourceRoot,
1484
1484
  cwd: workspaceConfig.workspaceRoot,
1485
1485
  entry: {
1486
- ["index"]: _chunkOZPXCCZBjs.joinPaths.call(void 0, sourceRoot, "index.ts")
1486
+ ["index"]: _chunk3PQOI4NLjs.joinPaths.call(void 0, sourceRoot, "index.ts")
1487
1487
  },
1488
1488
  workspace: true,
1489
1489
  ...options,
@@ -1502,15 +1502,15 @@ var resolveOptions = async (userOptions) => {
1502
1502
  return result;
1503
1503
  };
1504
1504
  async function generatePackageJson2(options) {
1505
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkOZPXCCZBjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1506
- _chunkOZPXCCZBjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1507
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, "Write package.json file");
1508
- const packageJsonPath = _chunkOZPXCCZBjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1505
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunk3PQOI4NLjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1506
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1507
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, "Write package.json file");
1508
+ const packageJsonPath = _chunk3PQOI4NLjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1509
1509
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1510
1510
  throw new Error("Cannot find package.json configuration");
1511
1511
  }
1512
1512
  const packageJsonFile = await _promises2.default.readFile(
1513
- _chunkOZPXCCZBjs.joinPaths.call(void 0,
1513
+ _chunk3PQOI4NLjs.joinPaths.call(void 0,
1514
1514
  options.workspaceConfig.workspaceRoot,
1515
1515
  options.projectRoot,
1516
1516
  "package.json"
@@ -1572,14 +1572,14 @@ async function generatePackageJson2(options) {
1572
1572
  },
1573
1573
  packageJson.exports
1574
1574
  );
1575
- await _devkit.writeJsonFile.call(void 0, _chunkOZPXCCZBjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1575
+ await _devkit.writeJsonFile.call(void 0, _chunk3PQOI4NLjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1576
1576
  stopwatch();
1577
1577
  }
1578
1578
  return options;
1579
1579
  }
1580
1580
  async function executeTSDown(options) {
1581
- _chunkOZPXCCZBjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1582
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, `${options.name} build`);
1581
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1582
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, `${options.name} build`);
1583
1583
  await _tsdown.build.call(void 0, {
1584
1584
  ...options,
1585
1585
  entry: options.entry,
@@ -1589,11 +1589,11 @@ async function executeTSDown(options) {
1589
1589
  return options;
1590
1590
  }
1591
1591
  async function copyBuildAssets2(options) {
1592
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
1592
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
1593
1593
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
1594
1594
  options.workspaceConfig
1595
1595
  );
1596
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1596
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1597
1597
  await copyAssets(
1598
1598
  options.workspaceConfig,
1599
1599
  _nullishCoalesce(options.assets, () => ( [])),
@@ -1607,18 +1607,18 @@ async function copyBuildAssets2(options) {
1607
1607
  return options;
1608
1608
  }
1609
1609
  async function reportResults2(options) {
1610
- _chunkOZPXCCZBjs.writeSuccess.call(void 0,
1610
+ _chunk3PQOI4NLjs.writeSuccess.call(void 0,
1611
1611
  ` \u{1F4E6} The ${options.name} build completed successfully`,
1612
1612
  options.workspaceConfig
1613
1613
  );
1614
1614
  }
1615
1615
  async function cleanOutputPath2(options) {
1616
1616
  if (options.clean !== false && options.workspaceConfig) {
1617
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
1617
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
1618
1618
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
1619
1619
  options.workspaceConfig
1620
1620
  );
1621
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, `${options.name} output clean`);
1621
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, `${options.name} output clean`);
1622
1622
  await cleanDirectories2(
1623
1623
  options.name,
1624
1624
  options.outDir,
@@ -1629,8 +1629,8 @@ async function cleanOutputPath2(options) {
1629
1629
  return options;
1630
1630
  }
1631
1631
  async function build3(options) {
1632
- _chunkOZPXCCZBjs.writeDebug.call(void 0, ` ${_chunkOZPXCCZBjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
1633
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, "TSDown pipeline");
1632
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, ` ${_chunk3PQOI4NLjs.brandIcon.call(void 0, )} Executing Storm TSDown pipeline`);
1633
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, "TSDown pipeline");
1634
1634
  try {
1635
1635
  const opts = Array.isArray(options) ? options : [options];
1636
1636
  if (opts.length === 0) {
@@ -1650,13 +1650,13 @@ async function build3(options) {
1650
1650
  })
1651
1651
  );
1652
1652
  } else {
1653
- _chunkOZPXCCZBjs.writeWarning.call(void 0,
1653
+ _chunk3PQOI4NLjs.writeWarning.call(void 0,
1654
1654
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
1655
1655
  );
1656
1656
  }
1657
- _chunkOZPXCCZBjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1657
+ _chunk3PQOI4NLjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1658
1658
  } catch (error) {
1659
- _chunkOZPXCCZBjs.writeFatal.call(void 0,
1659
+ _chunk3PQOI4NLjs.writeFatal.call(void 0,
1660
1660
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1661
1661
  );
1662
1662
  throw error;
@@ -1667,7 +1667,7 @@ async function build3(options) {
1667
1667
 
1668
1668
  // ../workspace-tools/src/executors/tsdown/executor.ts
1669
1669
  async function tsdownExecutorFn(options, context, config) {
1670
- _chunkOZPXCCZBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1670
+ _chunk3PQOI4NLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1671
1671
  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])) {
1672
1672
  throw new Error(
1673
1673
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1709,12 +1709,12 @@ var _fsextra = require('fs-extra');
1709
1709
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1710
1710
  async function typiaExecutorFn(options, _, config) {
1711
1711
  if (options.clean !== false) {
1712
- _chunkOZPXCCZBjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1712
+ _chunk3PQOI4NLjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1713
1713
  _fsextra.removeSync.call(void 0, options.outputPath);
1714
1714
  }
1715
1715
  await Promise.all(
1716
1716
  options.entry.map((entry) => {
1717
- _chunkOZPXCCZBjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1717
+ _chunk3PQOI4NLjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1718
1718
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1719
1719
  input: entry,
1720
1720
  output: options.outputPath,
@@ -1747,7 +1747,7 @@ var executor_default10 = withRunExecutor(
1747
1747
 
1748
1748
 
1749
1749
  async function unbuildExecutorFn(options, context, config) {
1750
- _chunkOZPXCCZBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1750
+ _chunk3PQOI4NLjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1751
1751
  if (!_optionalChain([context, 'access', _118 => _118.projectsConfigurations, 'optionalAccess', _119 => _119.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1752
1752
  throw new Error(
1753
1753
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -1764,7 +1764,7 @@ async function unbuildExecutorFn(options, context, config) {
1764
1764
  );
1765
1765
  }
1766
1766
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1767
- fsCache: config.skipCache ? false : _chunkOZPXCCZBjs.joinPaths.call(void 0,
1767
+ fsCache: config.skipCache ? false : _chunk3PQOI4NLjs.joinPaths.call(void 0,
1768
1768
  config.workspaceRoot,
1769
1769
  config.directories.cache || "node_modules/.cache/storm",
1770
1770
  "jiti"
@@ -1786,7 +1786,7 @@ async function unbuildExecutorFn(options, context, config) {
1786
1786
  {
1787
1787
  stubOptions: {
1788
1788
  jiti: {
1789
- fsCache: config.skipCache ? false : _chunkOZPXCCZBjs.joinPaths.call(void 0,
1789
+ fsCache: config.skipCache ? false : _chunk3PQOI4NLjs.joinPaths.call(void 0,
1790
1790
  config.workspaceRoot,
1791
1791
  config.directories.cache || "node_modules/.cache/storm",
1792
1792
  "jiti"
@@ -1846,33 +1846,33 @@ var executor_default11 = withRunExecutor(
1846
1846
  var withRunGenerator = (name, generatorFn, generatorOptions = {
1847
1847
  skipReadingConfig: false
1848
1848
  }) => async (tree, _options) => {
1849
- const stopwatch = _chunkOZPXCCZBjs.getStopwatch.call(void 0, name);
1849
+ const stopwatch = _chunk3PQOI4NLjs.getStopwatch.call(void 0, name);
1850
1850
  let options = _options;
1851
1851
  let config;
1852
1852
  try {
1853
- _chunkOZPXCCZBjs.writeInfo.call(void 0,
1854
- `${_chunkOZPXCCZBjs.brandIcon.call(void 0, config)} Running the ${name} generator...
1853
+ _chunk3PQOI4NLjs.writeInfo.call(void 0,
1854
+ `${_chunk3PQOI4NLjs.brandIcon.call(void 0, config)} Running the ${name} generator...
1855
1855
 
1856
1856
  `,
1857
1857
  config
1858
1858
  );
1859
- const workspaceRoot2 = _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, );
1859
+ const workspaceRoot2 = _chunkQKL4F7HKjs.findWorkspaceRoot.call(void 0, );
1860
1860
  if (!generatorOptions.skipReadingConfig) {
1861
- _chunkOZPXCCZBjs.writeDebug.call(void 0,
1861
+ _chunk3PQOI4NLjs.writeDebug.call(void 0,
1862
1862
  `Loading the Storm Config from environment variables and storm.config.js file...
1863
1863
  - workspaceRoot: ${workspaceRoot2}`,
1864
1864
  config
1865
1865
  );
1866
- config = await _chunkWROOA5AXjs.getConfig.call(void 0, workspaceRoot2);
1866
+ config = await _chunkQKL4F7HKjs.getConfig.call(void 0, workspaceRoot2);
1867
1867
  }
1868
1868
  if (_optionalChain([generatorOptions, 'optionalAccess', _120 => _120.hooks, 'optionalAccess', _121 => _121.applyDefaultOptions])) {
1869
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1869
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1870
1870
  options = await Promise.resolve(
1871
1871
  generatorOptions.hooks.applyDefaultOptions(options, config)
1872
1872
  );
1873
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1873
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1874
1874
  }
1875
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
1875
+ _chunk3PQOI4NLjs.writeTrace.call(void 0,
1876
1876
  `Generator schema options \u2699\uFE0F
1877
1877
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
1878
1878
  config
@@ -1883,11 +1883,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1883
1883
  applyWorkspaceBaseTokens
1884
1884
  );
1885
1885
  if (_optionalChain([generatorOptions, 'optionalAccess', _122 => _122.hooks, 'optionalAccess', _123 => _123.preProcess])) {
1886
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1886
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1887
1887
  await Promise.resolve(
1888
1888
  generatorOptions.hooks.preProcess(tokenized, config)
1889
1889
  );
1890
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1890
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1891
1891
  }
1892
1892
  const result = await Promise.resolve(
1893
1893
  generatorFn(tree, tokenized, config)
@@ -1902,21 +1902,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1902
1902
  }
1903
1903
  }
1904
1904
  if (_optionalChain([generatorOptions, 'optionalAccess', _133 => _133.hooks, 'optionalAccess', _134 => _134.postProcess])) {
1905
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1905
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1906
1906
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1907
- _chunkOZPXCCZBjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1907
+ _chunk3PQOI4NLjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1908
1908
  }
1909
1909
  return () => {
1910
- _chunkOZPXCCZBjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1910
+ _chunk3PQOI4NLjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1911
1911
  `, config);
1912
1912
  };
1913
1913
  } catch (error) {
1914
1914
  return () => {
1915
- _chunkOZPXCCZBjs.writeFatal.call(void 0,
1915
+ _chunk3PQOI4NLjs.writeFatal.call(void 0,
1916
1916
  "A fatal error occurred while running the generator - the process was forced to terminate",
1917
1917
  config
1918
1918
  );
1919
- _chunkOZPXCCZBjs.writeError.call(void 0,
1919
+ _chunk3PQOI4NLjs.writeError.call(void 0,
1920
1920
  `An exception was thrown in the generator's process
1921
1921
  - Details: ${error.message}
1922
1922
  - Stacktrace: ${error.stack}`,
@@ -1982,16 +1982,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1982
1982
  const projectConfig = {
1983
1983
  root: normalized.directory,
1984
1984
  projectType: "library",
1985
- sourceRoot: _chunkOZPXCCZBjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1985
+ sourceRoot: _chunk3PQOI4NLjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1986
1986
  targets: {
1987
1987
  build: {
1988
1988
  executor: options.buildExecutor,
1989
1989
  outputs: ["{options.outputPath}"],
1990
1990
  options: {
1991
- entry: [_chunkOZPXCCZBjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1991
+ entry: [_chunk3PQOI4NLjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1992
1992
  outputPath: getOutputPath(normalized),
1993
- tsconfig: _chunkOZPXCCZBjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1994
- project: _chunkOZPXCCZBjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1993
+ tsconfig: _chunk3PQOI4NLjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1994
+ project: _chunk3PQOI4NLjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1995
1995
  defaultConfiguration: "production",
1996
1996
  platform: "neutral",
1997
1997
  assets: [
@@ -2048,7 +2048,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2048
2048
  if (!normalized.importPath) {
2049
2049
  normalized.importPath = normalized.name;
2050
2050
  }
2051
- const packageJsonPath = _chunkOZPXCCZBjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2051
+ const packageJsonPath = _chunk3PQOI4NLjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2052
2052
  if (tree.exists(packageJsonPath)) {
2053
2053
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2054
2054
  if (!normalized.importPath) {
@@ -2105,14 +2105,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2105
2105
  }));
2106
2106
  }
2107
2107
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
2108
- _chunkOZPXCCZBjs.joinPaths.call(void 0,
2108
+ _chunk3PQOI4NLjs.joinPaths.call(void 0,
2109
2109
  normalized.projectRoot,
2110
2110
  "./src",
2111
2111
  `index.${normalized.js ? "js" : "ts"}`
2112
2112
  )
2113
2113
  ]);
2114
- _js.addTsConfigPath.call(void 0, tree, _chunkOZPXCCZBjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2115
- _chunkOZPXCCZBjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2114
+ _js.addTsConfigPath.call(void 0, tree, _chunk3PQOI4NLjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2115
+ _chunk3PQOI4NLjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2116
2116
  ]);
2117
2117
  if (tree.exists("package.json")) {
2118
2118
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -2123,7 +2123,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2123
2123
  description = packageJson.description;
2124
2124
  }
2125
2125
  }
2126
- const tsconfigPath = _chunkOZPXCCZBjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2126
+ const tsconfigPath = _chunk3PQOI4NLjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2127
2127
  if (tree.exists(tsconfigPath)) {
2128
2128
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2129
2129
  json.composite ??= true;
@@ -2151,7 +2151,7 @@ function getOutputPath(options) {
2151
2151
  } else {
2152
2152
  parts.push(options.projectRoot);
2153
2153
  }
2154
- return _chunkOZPXCCZBjs.joinPaths.call(void 0, ...parts);
2154
+ return _chunk3PQOI4NLjs.joinPaths.call(void 0, ...parts);
2155
2155
  }
2156
2156
  function createProjectTsConfigJson(tree, options) {
2157
2157
  const tsconfig = {
@@ -2159,7 +2159,7 @@ function createProjectTsConfigJson(tree, options) {
2159
2159
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _149 => _149.tsconfigOptions]), () => ( {})),
2160
2160
  compilerOptions: {
2161
2161
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2162
- outDir: _chunkOZPXCCZBjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2162
+ outDir: _chunk3PQOI4NLjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2163
2163
  noEmit: true,
2164
2164
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _150 => _150.tsconfigOptions, 'optionalAccess', _151 => _151.compilerOptions]), () => ( {}))
2165
2165
  },
@@ -2177,7 +2177,7 @@ function createProjectTsConfigJson(tree, options) {
2177
2177
  "src/**/*.test.ts"
2178
2178
  ]
2179
2179
  };
2180
- _devkit.writeJson.call(void 0, tree, _chunkOZPXCCZBjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2180
+ _devkit.writeJson.call(void 0, tree, _chunk3PQOI4NLjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2181
2181
  }
2182
2182
  async function normalizeOptions(tree, options, config) {
2183
2183
  let importPath = options.importPath;
@@ -2242,7 +2242,7 @@ async function normalizeOptions(tree, options, config) {
2242
2242
 
2243
2243
  // ../workspace-tools/src/generators/browser-library/generator.ts
2244
2244
  async function browserLibraryGeneratorFn(tree, schema, config) {
2245
- const filesDir = _chunkOZPXCCZBjs.joinPaths.call(void 0,
2245
+ const filesDir = _chunk3PQOI4NLjs.joinPaths.call(void 0,
2246
2246
  __dirname,
2247
2247
  "src",
2248
2248
  "generators",
@@ -2325,38 +2325,38 @@ var generator_default = withRunGenerator(
2325
2325
 
2326
2326
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
2327
2327
  async function configSchemaGeneratorFn(tree, options, config) {
2328
- _chunkOZPXCCZBjs.writeInfo.call(void 0,
2328
+ _chunk3PQOI4NLjs.writeInfo.call(void 0,
2329
2329
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
2330
2330
  config
2331
2331
  );
2332
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
2332
+ _chunk3PQOI4NLjs.writeTrace.call(void 0,
2333
2333
  `Determining the Storm Workspace Configuration JSON Schema...`,
2334
2334
  config
2335
2335
  );
2336
- const jsonSchema = z.toJSONSchema(_chunkWROOA5AXjs.workspaceConfigSchema, {
2336
+ const jsonSchema = z.toJSONSchema(_chunkQKL4F7HKjs.workspaceConfigSchema, {
2337
2337
  target: "draft-7",
2338
- metadata: _chunkWROOA5AXjs.schemaRegistry
2338
+ metadata: _chunkQKL4F7HKjs.schemaRegistry
2339
2339
  });
2340
2340
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
2341
2341
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
2342
2342
  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.";
2343
- _chunkOZPXCCZBjs.writeTrace.call(void 0, jsonSchema, config);
2343
+ _chunk3PQOI4NLjs.writeTrace.call(void 0, jsonSchema, config);
2344
2344
  if (!options.outputFile) {
2345
2345
  throw new Error(
2346
2346
  "The `outputFile` option is required. Please specify the output file path."
2347
2347
  );
2348
2348
  }
2349
2349
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
2350
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _160 => _160.workspaceRoot]), () => ( _chunkWROOA5AXjs.findWorkspaceRoot.call(void 0, ))),
2350
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _160 => _160.workspaceRoot]), () => ( _chunkQKL4F7HKjs.findWorkspaceRoot.call(void 0, ))),
2351
2351
  options.outputFile.startsWith("./") ? "" : "./"
2352
2352
  );
2353
- _chunkOZPXCCZBjs.writeTrace.call(void 0,
2353
+ _chunk3PQOI4NLjs.writeTrace.call(void 0,
2354
2354
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
2355
2355
  config
2356
2356
  );
2357
2357
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
2358
2358
  await _devkit.formatFiles.call(void 0, tree);
2359
- _chunkOZPXCCZBjs.writeSuccess.call(void 0,
2359
+ _chunk3PQOI4NLjs.writeSuccess.call(void 0,
2360
2360
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
2361
2361
  config
2362
2362
  );
@@ -2391,7 +2391,7 @@ var generator_default2 = withRunGenerator(
2391
2391
 
2392
2392
 
2393
2393
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2394
- const filesDir = _chunkOZPXCCZBjs.joinPaths.call(void 0,
2394
+ const filesDir = _chunk3PQOI4NLjs.joinPaths.call(void 0,
2395
2395
  __dirname,
2396
2396
  "src",
2397
2397
  "generators",
@@ -2450,7 +2450,7 @@ var generator_default3 = withRunGenerator(
2450
2450
 
2451
2451
 
2452
2452
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2453
- const filesDir = _chunkOZPXCCZBjs.joinPaths.call(void 0,
2453
+ const filesDir = _chunk3PQOI4NLjs.joinPaths.call(void 0,
2454
2454
  __dirname,
2455
2455
  "src",
2456
2456
  "generators",