@storm-software/cloudflare-tools 0.71.35 → 0.71.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +1 -2
  3. package/dist/{chunk-4OKL76J3.mjs → chunk-2WG2QCJL.mjs} +3 -3
  4. package/dist/{chunk-Z2D7AKMD.mjs → chunk-3X7BL5DM.mjs} +1 -1
  5. package/dist/{chunk-SMLHRTZN.mjs → chunk-H7RE75NB.mjs} +4 -4
  6. package/dist/{chunk-G4ZCI2MN.mjs → chunk-I4GOWUAO.mjs} +16 -1
  7. package/dist/{chunk-4WRUZBE7.mjs → chunk-KPNOOEOX.mjs} +3 -3
  8. package/dist/{chunk-5GILNZWS.js → chunk-OGBWI4VY.js} +49 -34
  9. package/dist/{chunk-TPNHSNNZ.mjs → chunk-OJTNJ73Z.mjs} +4 -2
  10. package/dist/{chunk-KOQ32HGI.js → chunk-RUZIID5D.js} +4 -4
  11. package/dist/{chunk-VZQDXTIP.js → chunk-TMS3UPJ5.js} +5 -5
  12. package/dist/{chunk-Z2WQB55R.js → chunk-TTK2XCGF.js} +4 -2
  13. package/dist/{chunk-GIZHFP3I.mjs → chunk-ULPCX6TC.mjs} +2 -2
  14. package/dist/{chunk-UQBLSDWU.js → chunk-WRTJQVDN.js} +18 -18
  15. package/dist/{chunk-YKJOHKZG.js → chunk-YBP3FYOW.js} +12 -12
  16. package/dist/{chunk-IVVRVG36.js → chunk-YOQ5PYLY.js} +165 -165
  17. package/dist/executors.js +5 -5
  18. package/dist/executors.mjs +5 -5
  19. package/dist/generators.js +5 -5
  20. package/dist/generators.mjs +4 -4
  21. package/dist/index.js +8 -8
  22. package/dist/index.mjs +7 -7
  23. package/dist/src/executors/cloudflare-publish/executor.js +3 -3
  24. package/dist/src/executors/cloudflare-publish/executor.mjs +3 -3
  25. package/dist/src/executors/r2-upload-publish/executor.js +5 -5
  26. package/dist/src/executors/r2-upload-publish/executor.mjs +4 -4
  27. package/dist/src/executors/serve/executor.js +4 -4
  28. package/dist/src/executors/serve/executor.mjs +3 -3
  29. package/dist/src/generators/init/generator.js +2 -2
  30. package/dist/src/generators/init/generator.mjs +1 -1
  31. package/dist/src/generators/worker/generator.js +5 -5
  32. package/dist/src/generators/worker/generator.mjs +4 -4
  33. package/dist/src/utils/index.js +3 -3
  34. package/dist/src/utils/index.mjs +2 -2
  35. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  36. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  37. package/package.json +5 -5
@@ -8,7 +8,7 @@ var _chunkN7FW365Qjs = require('./chunk-N7FW365Q.js');
8
8
 
9
9
 
10
10
 
11
- var _chunk5GILNZWSjs = require('./chunk-5GILNZWS.js');
11
+ var _chunkOGBWI4VYjs = require('./chunk-OGBWI4VY.js');
12
12
 
13
13
 
14
14
 
@@ -23,7 +23,7 @@ var _chunk5GILNZWSjs = require('./chunk-5GILNZWS.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkZ2WQB55Rjs = require('./chunk-Z2WQB55R.js');
26
+ var _chunkTTK2XCGFjs = require('./chunk-TTK2XCGF.js');
27
27
 
28
28
  // ../config-tools/src/utilities/apply-workspace-tokens.ts
29
29
  var applyWorkspaceBaseTokens = async (option, tokenParams) => {
@@ -60,7 +60,7 @@ var applyWorkspaceBaseTokens = async (option, tokenParams) => {
60
60
  if (result.includes("{workspaceRoot}")) {
61
61
  result = result.replaceAll(
62
62
  "{workspaceRoot}",
63
- _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, )))
63
+ _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkOGBWI4VYjs.findWorkspaceRoot.call(void 0, )))
64
64
  );
65
65
  }
66
66
  return result;
@@ -100,7 +100,7 @@ var applyWorkspaceTokens = async (options, tokenParams, tokenizerFn) => {
100
100
  // ../workspace-tools/src/base/base-executor.ts
101
101
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
102
102
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
103
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, name);
103
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, name);
104
104
  let options = _options;
105
105
  let config = {};
106
106
  try {
@@ -109,14 +109,14 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
109
109
  "The Build process failed because the context is not valid. Please run this command from a workspace."
110
110
  );
111
111
  }
112
- const workspaceRoot2 = _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, );
112
+ const workspaceRoot2 = _chunkOGBWI4VYjs.findWorkspaceRoot.call(void 0, );
113
113
  const projectRoot = context.projectsConfigurations.projects[context.projectName].root || workspaceRoot2;
114
114
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot2;
115
115
  const projectName = context.projectName;
116
116
  config.workspaceRoot = workspaceRoot2;
117
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
117
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
118
118
  if (!executorOptions.skipReadingConfig) {
119
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
119
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
120
120
  `Loading the Storm Config from environment variables and storm.config.js file...
121
121
  - workspaceRoot: ${workspaceRoot2}
122
122
  - projectRoot: ${projectRoot}
@@ -125,18 +125,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
125
125
  `,
126
126
  config
127
127
  );
128
- config = await _chunk5GILNZWSjs.getConfig.call(void 0, workspaceRoot2);
128
+ config = await _chunkOGBWI4VYjs.getConfig.call(void 0, workspaceRoot2);
129
129
  }
130
130
  if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
131
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
131
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
132
132
  options = await Promise.resolve(
133
133
  executorOptions.hooks.applyDefaultOptions(options, config)
134
134
  );
135
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
135
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
136
136
  }
137
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
137
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
138
138
  `Executor schema options \u2699\uFE0F
139
- ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0, options)}
139
+ ${_chunkTTK2XCGFjs.formatLogMessage.call(void 0, options)}
140
140
  `,
141
141
  config
142
142
  );
@@ -149,18 +149,18 @@ ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0, options)}
149
149
  ),
150
150
  applyWorkspaceProjectTokens
151
151
  );
152
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
152
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
153
153
  `Executor schema tokenized options \u2699\uFE0F
154
- ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0, tokenized)}
154
+ ${_chunkTTK2XCGFjs.formatLogMessage.call(void 0, tokenized)}
155
155
  `,
156
156
  config
157
157
  );
158
158
  if (_optionalChain([executorOptions, 'optionalAccess', _9 => _9.hooks, 'optionalAccess', _10 => _10.preProcess])) {
159
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
159
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
160
160
  await Promise.resolve(
161
161
  executorOptions.hooks.preProcess(tokenized, config)
162
162
  );
163
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
163
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
164
164
  }
165
165
  const ret = executorFn(tokenized, context, config);
166
166
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _11 => _11.next]))) {
@@ -175,7 +175,7 @@ ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0, tokenized)}
175
175
  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")) {
176
176
  throw new Error(
177
177
  `Failure determined while running the ${name} executor
178
- ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0,
178
+ ${_chunkTTK2XCGFjs.formatLogMessage.call(void 0,
179
179
  result
180
180
  )}`,
181
181
  {
@@ -184,21 +184,21 @@ ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0,
184
184
  );
185
185
  }
186
186
  if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.postProcess])) {
187
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
187
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
188
188
  await Promise.resolve(executorOptions.hooks.postProcess(config));
189
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
189
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
190
190
  }
191
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
191
+ _chunkTTK2XCGFjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
192
192
  `, config);
193
193
  return {
194
194
  success: true
195
195
  };
196
196
  } catch (error) {
197
- _chunkZ2WQB55Rjs.writeFatal.call(void 0,
197
+ _chunkTTK2XCGFjs.writeFatal.call(void 0,
198
198
  "A fatal error occurred while running the executor - the process was forced to terminate",
199
199
  config
200
200
  );
201
- _chunkZ2WQB55Rjs.writeError.call(void 0,
201
+ _chunkTTK2XCGFjs.writeError.call(void 0,
202
202
  `An exception was thrown in the executor's process
203
203
  - Details: ${error.message}
204
204
  - Stacktrace: ${error.stack}`,
@@ -509,9 +509,9 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
509
509
  output: "src/"
510
510
  });
511
511
  }
512
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
512
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
513
513
  `\u{1F4DD} Copying the following assets to the output directory:
514
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkZ2WQB55Rjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
514
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkTTK2XCGFjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`,
515
515
  config
516
516
  );
517
517
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
@@ -521,20 +521,20 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
521
521
  assets: pendingAssets
522
522
  });
523
523
  await assetHandler.processAllAssetsOnce();
524
- _chunkZ2WQB55Rjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
524
+ _chunkTTK2XCGFjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
525
525
  if (includeSrc === true) {
526
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
527
- `\u{1F4DD} Adding banner and writing source files: ${_chunkZ2WQB55Rjs.joinPaths.call(void 0,
526
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
527
+ `\u{1F4DD} Adding banner and writing source files: ${_chunkTTK2XCGFjs.joinPaths.call(void 0,
528
528
  outputPath,
529
529
  "src"
530
530
  )}`,
531
531
  config
532
532
  );
533
533
  const files = await _glob.glob.call(void 0, [
534
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
535
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
536
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
537
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
534
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
535
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
536
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
537
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
538
538
  ]);
539
539
  await Promise.allSettled(
540
540
  files.map(
@@ -589,7 +589,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
589
589
  )) {
590
590
  const projectNode = project.node;
591
591
  if (projectNode.data.root) {
592
- const projectPackageJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
592
+ const projectPackageJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0,
593
593
  workspaceRoot2,
594
594
  projectNode.data.root,
595
595
  "package.json"
@@ -607,11 +607,11 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
607
607
  }
608
608
  }
609
609
  if (localPackages.length > 0) {
610
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
610
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
611
611
  `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
612
612
  );
613
613
  const projectJsonFile = await _promises.readFile.call(void 0,
614
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, projectRoot, "project.json"),
614
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, projectRoot, "project.json"),
615
615
  "utf8"
616
616
  );
617
617
  const projectJson = JSON.parse(projectJsonFile);
@@ -624,7 +624,7 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
624
624
  }
625
625
  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) => {
626
626
  if (_optionalChain([projectConfigurations, 'access', _42 => _42.projects, 'optionalAccess', _43 => _43[dep]])) {
627
- const depPackageJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
627
+ const depPackageJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0,
628
628
  workspaceRoot2,
629
629
  projectConfigurations.projects[dep].root,
630
630
  "package.json"
@@ -655,14 +655,14 @@ var addPackageDependencies = async (workspaceRoot2, projectRoot, projectName, pa
655
655
  return ret;
656
656
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
657
657
  } else {
658
- _chunkZ2WQB55Rjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
658
+ _chunkTTK2XCGFjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
659
659
  }
660
660
  return packageJson;
661
661
  };
662
662
  var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
663
- const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, );
663
+ const workspaceRoot2 = workspaceConfig.workspaceRoot ? workspaceConfig.workspaceRoot : _chunkOGBWI4VYjs.findWorkspaceRoot.call(void 0, );
664
664
  const workspacePackageJsonContent = await _promises.readFile.call(void 0,
665
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
665
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, workspaceRoot2, "package.json"),
666
666
  "utf8"
667
667
  );
668
668
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
@@ -673,7 +673,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
673
673
  if (distSrc.startsWith("/")) {
674
674
  distSrc = distSrc.substring(1);
675
675
  }
676
- packageJson.source ??= `${_chunkZ2WQB55Rjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
676
+ packageJson.source ??= `${_chunkTTK2XCGFjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
677
677
  }
678
678
  packageJson.files ??= ["dist/**/*"];
679
679
  if (includeSrc === true && !packageJson.files.includes("src")) {
@@ -698,7 +698,7 @@ var addWorkspacePackageJsonFields = async (workspaceConfig, projectRoot, sourceR
698
698
  packageJson.contributors = [packageJson.author];
699
699
  }
700
700
  packageJson.repository ??= workspacePackageJson.repository;
701
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkZ2WQB55Rjs.joinPaths.call(void 0, "packages", projectName);
701
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkTTK2XCGFjs.joinPaths.call(void 0, "packages", projectName);
702
702
  return packageJson;
703
703
  };
704
704
  var addPackageJsonExport = (file, type = "module", sourceRoot) => {
@@ -752,11 +752,11 @@ var _createtaskgraph = require('nx/src/tasks-runner/create-task-graph');
752
752
  // ../esbuild/src/assets.ts
753
753
  async function copyBuildAssets(context) {
754
754
  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])) {
755
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
755
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
756
756
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
757
757
  context.workspaceConfig
758
758
  );
759
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
759
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
760
760
  await copyAssets(
761
761
  context.workspaceConfig,
762
762
  _nullishCoalesce(context.options.assets, () => ( [])),
@@ -837,15 +837,15 @@ async function resolveContext(userOptions) {
837
837
  if (!workspaceRoot2) {
838
838
  throw new Error("Cannot find Nx workspace root");
839
839
  }
840
- const workspaceConfig = await _chunk5GILNZWSjs.getWorkspaceConfig.call(void 0, true, {
840
+ const workspaceConfig = await _chunkOGBWI4VYjs.getWorkspaceConfig.call(void 0, true, {
841
841
  workspaceRoot: workspaceRoot2.dir
842
842
  });
843
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
844
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, "Build options resolution");
843
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
844
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, "Build options resolution");
845
845
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
846
846
  exitOnError: true
847
847
  });
848
- const projectJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
848
+ const projectJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0,
849
849
  workspaceRoot2.dir,
850
850
  projectRoot,
851
851
  "project.json"
@@ -864,7 +864,7 @@ async function resolveContext(userOptions) {
864
864
  }
865
865
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
866
866
  options.name ??= projectName;
867
- const packageJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
867
+ const packageJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0,
868
868
  workspaceRoot2.dir,
869
869
  options.projectRoot,
870
870
  "package.json"
@@ -876,7 +876,7 @@ async function resolveContext(userOptions) {
876
876
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
877
877
  const resolvedOptions = {
878
878
  ...options,
879
- tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkZ2WQB55Rjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
879
+ tsconfig: userOptions.tsconfig === null ? void 0 : userOptions.tsconfig ? userOptions.tsconfig : _chunkTTK2XCGFjs.joinPaths.call(void 0, workspaceRoot2.dir, projectRoot, "tsconfig.json"),
880
880
  metafile: userOptions.mode === "development",
881
881
  clean: false,
882
882
  env,
@@ -901,8 +901,8 @@ async function resolveContext(userOptions) {
901
901
  projectConfigurations,
902
902
  projectName,
903
903
  projectGraph,
904
- sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkZ2WQB55Rjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
905
- outputPath: resolvedOptions.outputPath || _chunkZ2WQB55Rjs.joinPaths.call(void 0,
904
+ sourceRoot: resolvedOptions.sourceRoot || projectJson.sourceRoot || _chunkTTK2XCGFjs.joinPaths.call(void 0, resolvedOptions.projectRoot, "src"),
905
+ outputPath: resolvedOptions.outputPath || _chunkTTK2XCGFjs.joinPaths.call(void 0,
906
906
  workspaceConfig.workspaceRoot,
907
907
  "dist",
908
908
  resolvedOptions.projectRoot
@@ -911,10 +911,10 @@ async function resolveContext(userOptions) {
911
911
  };
912
912
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
913
913
  if (context.options.verbose) {
914
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
914
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
915
915
  ` \u2699\uFE0F Build options resolved:
916
916
 
917
- ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0, context.options)}`,
917
+ ${_chunkTTK2XCGFjs.formatLogMessage.call(void 0, context.options)}`,
918
918
  workspaceConfig
919
919
  );
920
920
  }
@@ -926,10 +926,10 @@ ${_chunkZ2WQB55Rjs.formatLogMessage.call(void 0, context.options)}`,
926
926
 
927
927
 
928
928
  async function generatePackageJson(context) {
929
- if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkZ2WQB55Rjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
930
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
931
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, "Write package.json file");
932
- const packageJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
929
+ if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTTK2XCGFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
930
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
931
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, "Write package.json file");
932
+ const packageJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0,
933
933
  context.options.projectRoot,
934
934
  "project.json"
935
935
  );
@@ -937,7 +937,7 @@ async function generatePackageJson(context) {
937
937
  throw new Error("Cannot find package.json configuration");
938
938
  }
939
939
  const packageJsonFile = await _promises2.default.readFile(
940
- _chunkZ2WQB55Rjs.joinPaths.call(void 0,
940
+ _chunkTTK2XCGFjs.joinPaths.call(void 0,
941
941
  context.workspaceConfig.workspaceRoot,
942
942
  context.options.projectRoot,
943
943
  "package.json"
@@ -1043,7 +1043,7 @@ async function generatePackageJson(context) {
1043
1043
  }
1044
1044
  }
1045
1045
  await _devkit.writeJsonFile.call(void 0,
1046
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, context.outputPath, "package.json"),
1046
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, context.outputPath, "package.json"),
1047
1047
  packageJson
1048
1048
  );
1049
1049
  stopwatch();
@@ -1055,12 +1055,12 @@ async function generatePackageJson(context) {
1055
1055
  var _tsup = require('tsup');
1056
1056
  async function build(options) {
1057
1057
  if (!options.silent) {
1058
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
1058
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
1059
1059
  ` \u{1F680} Running ${options.name || "tsup"} build`,
1060
1060
  options.workspaceConfig
1061
1061
  );
1062
1062
  }
1063
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
1063
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
1064
1064
  await _tsup.build.call(void 0, options);
1065
1065
  if (!options.silent) {
1066
1066
  stopwatch();
@@ -1069,14 +1069,14 @@ async function build(options) {
1069
1069
 
1070
1070
  // ../esbuild/src/tsup.ts
1071
1071
  async function executeTsup(context) {
1072
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
1072
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
1073
1073
  ` \u{1F680} Running ${context.options.name} build`,
1074
1074
  context.workspaceConfig
1075
1075
  );
1076
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, `${context.options.name} build`);
1076
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, `${context.options.name} build`);
1077
1077
  await build({
1078
1078
  ...context.options,
1079
- outDir: context.options.distDir ? _chunkZ2WQB55Rjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
1079
+ outDir: context.options.distDir ? _chunkTTK2XCGFjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
1080
1080
  workspaceConfig: context.workspaceConfig
1081
1081
  });
1082
1082
  stopwatch();
@@ -1087,17 +1087,17 @@ async function executeTsup(context) {
1087
1087
  async function reportResults(context) {
1088
1088
  if (_optionalChain([context, 'access', _60 => _60.result, 'optionalAccess', _61 => _61.errors, 'access', _62 => _62.length]) === 0) {
1089
1089
  if (context.result.warnings.length > 0) {
1090
- _chunkZ2WQB55Rjs.writeWarning.call(void 0,
1090
+ _chunkTTK2XCGFjs.writeWarning.call(void 0,
1091
1091
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
1092
1092
  context.workspaceConfig
1093
1093
  );
1094
1094
  }
1095
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0,
1095
+ _chunkTTK2XCGFjs.writeSuccess.call(void 0,
1096
1096
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
1097
1097
  context.workspaceConfig
1098
1098
  );
1099
1099
  } 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) {
1100
- _chunkZ2WQB55Rjs.writeError.call(void 0,
1100
+ _chunkTTK2XCGFjs.writeError.call(void 0,
1101
1101
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
1102
1102
  context.workspaceConfig
1103
1103
  );
@@ -1108,19 +1108,19 @@ async function reportResults(context) {
1108
1108
  }
1109
1109
  async function cleanOutputPath(context) {
1110
1110
  if (context.clean !== false && context.outputPath) {
1111
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
1111
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
1112
1112
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
1113
1113
  context.workspaceConfig
1114
1114
  );
1115
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
1115
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
1116
1116
  await cleanDirectories(context.outputPath);
1117
1117
  stopwatch();
1118
1118
  }
1119
1119
  return context;
1120
1120
  }
1121
1121
  async function build2(options) {
1122
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1123
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, "ESBuild pipeline");
1122
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1123
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, "ESBuild pipeline");
1124
1124
  try {
1125
1125
  const opts = Array.isArray(options) ? options : [options];
1126
1126
  if (opts.length === 0) {
@@ -1135,9 +1135,9 @@ async function build2(options) {
1135
1135
  executeTsup(context)
1136
1136
  ]);
1137
1137
  await reportResults(context);
1138
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1138
+ _chunkTTK2XCGFjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1139
1139
  } catch (error) {
1140
- _chunkZ2WQB55Rjs.writeFatal.call(void 0,
1140
+ _chunkTTK2XCGFjs.writeFatal.call(void 0,
1141
1141
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1142
1142
  );
1143
1143
  throw error;
@@ -1148,7 +1148,7 @@ async function build2(options) {
1148
1148
 
1149
1149
  // ../workspace-tools/src/executors/esbuild/executor.ts
1150
1150
  async function esbuildExecutorFn(options, context, config) {
1151
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1151
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1152
1152
  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])) {
1153
1153
  throw new Error(
1154
1154
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1190,7 +1190,7 @@ var _jiti = require('jiti');
1190
1190
  var _fileutils = require('nx/src/utils/fileutils');
1191
1191
  async function napiExecutor(options, context, config) {
1192
1192
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1193
- fsCache: config.skipCache ? false : _chunkZ2WQB55Rjs.joinPaths.call(void 0,
1193
+ fsCache: config.skipCache ? false : _chunkTTK2XCGFjs.joinPaths.call(void 0,
1194
1194
  config.workspaceRoot,
1195
1195
  config.directories.cache || "node_modules/.cache/storm",
1196
1196
  "jiti"
@@ -1206,53 +1206,53 @@ async function napiExecutor(options, context, config) {
1206
1206
  );
1207
1207
  }
1208
1208
  const projectRoot = _optionalChain([context, 'access', _85 => _85.projectGraph, 'optionalAccess', _86 => _86.nodes, 'access', _87 => _87[_nullishCoalesce(context.projectName, () => ( ""))], 'access', _88 => _88.data, 'access', _89 => _89.root]);
1209
- const packageJson = _chunkZ2WQB55Rjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1209
+ const packageJson = _chunkTTK2XCGFjs.joinPaths.call(void 0, _nullishCoalesce(projectRoot, () => ( ".")), "package.json");
1210
1210
  if (!_fileutils.fileExists.call(void 0, packageJson)) {
1211
1211
  throw new Error(`Could not find package.json at ${packageJson}`);
1212
1212
  }
1213
1213
  const napi = new NapiCli();
1214
1214
  const normalizedOptions = { ...options };
1215
1215
  const metadata = cargoMetadata();
1216
- normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _90 => _90.target_directory]) || _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
1216
+ normalizedOptions.targetDir = options.targetDir || _optionalChain([metadata, 'optionalAccess', _90 => _90.target_directory]) || _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, "dist", "target");
1217
1217
  normalizedOptions.outputDir = options.outputPath;
1218
1218
  normalizedOptions.packageJsonPath = options.packageJsonPath || packageJson;
1219
1219
  if (options.cwd) {
1220
- normalizedOptions.cwd = _chunkZ2WQB55Rjs.correctPaths.call(void 0, options.cwd);
1220
+ normalizedOptions.cwd = _chunkTTK2XCGFjs.correctPaths.call(void 0, options.cwd);
1221
1221
  } else {
1222
- normalizedOptions.cwd = _chunkZ2WQB55Rjs.correctPaths.call(void 0, projectRoot);
1223
- const absoluteProjectRoot = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
1222
+ normalizedOptions.cwd = _chunkTTK2XCGFjs.correctPaths.call(void 0, projectRoot);
1223
+ const absoluteProjectRoot = _chunkTTK2XCGFjs.joinPaths.call(void 0,
1224
1224
  config.workspaceRoot,
1225
1225
  projectRoot || "."
1226
1226
  );
1227
1227
  if (normalizedOptions.outputDir) {
1228
- normalizedOptions.outputDir = _chunkZ2WQB55Rjs.relative.call(void 0,
1228
+ normalizedOptions.outputDir = _chunkTTK2XCGFjs.relative.call(void 0,
1229
1229
  absoluteProjectRoot,
1230
- _chunkZ2WQB55Rjs.correctPaths.call(void 0,
1231
- _chunkZ2WQB55Rjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1230
+ _chunkTTK2XCGFjs.correctPaths.call(void 0,
1231
+ _chunkTTK2XCGFjs.isAbsolute.call(void 0, normalizedOptions.outputDir) ? normalizedOptions.outputDir : _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.outputDir)
1232
1232
  )
1233
1233
  );
1234
1234
  }
1235
1235
  if (normalizedOptions.packageJsonPath) {
1236
- normalizedOptions.packageJsonPath = _chunkZ2WQB55Rjs.relative.call(void 0,
1236
+ normalizedOptions.packageJsonPath = _chunkTTK2XCGFjs.relative.call(void 0,
1237
1237
  absoluteProjectRoot,
1238
- _chunkZ2WQB55Rjs.correctPaths.call(void 0,
1239
- _chunkZ2WQB55Rjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1238
+ _chunkTTK2XCGFjs.correctPaths.call(void 0,
1239
+ _chunkTTK2XCGFjs.isAbsolute.call(void 0, normalizedOptions.packageJsonPath) ? normalizedOptions.packageJsonPath : _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.packageJsonPath)
1240
1240
  )
1241
1241
  );
1242
1242
  }
1243
1243
  if (normalizedOptions.configPath) {
1244
- normalizedOptions.configPath = _chunkZ2WQB55Rjs.relative.call(void 0,
1244
+ normalizedOptions.configPath = _chunkTTK2XCGFjs.relative.call(void 0,
1245
1245
  absoluteProjectRoot,
1246
- _chunkZ2WQB55Rjs.correctPaths.call(void 0,
1247
- _chunkZ2WQB55Rjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1246
+ _chunkTTK2XCGFjs.correctPaths.call(void 0,
1247
+ _chunkTTK2XCGFjs.isAbsolute.call(void 0, normalizedOptions.configPath) ? normalizedOptions.configPath : _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.configPath)
1248
1248
  )
1249
1249
  );
1250
1250
  }
1251
1251
  if (normalizedOptions.manifestPath) {
1252
- normalizedOptions.manifestPath = _chunkZ2WQB55Rjs.relative.call(void 0,
1252
+ normalizedOptions.manifestPath = _chunkTTK2XCGFjs.relative.call(void 0,
1253
1253
  absoluteProjectRoot,
1254
- _chunkZ2WQB55Rjs.correctPaths.call(void 0,
1255
- _chunkZ2WQB55Rjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkZ2WQB55Rjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1254
+ _chunkTTK2XCGFjs.correctPaths.call(void 0,
1255
+ _chunkTTK2XCGFjs.isAbsolute.call(void 0, normalizedOptions.manifestPath) ? normalizedOptions.manifestPath : _chunkTTK2XCGFjs.joinPaths.call(void 0, config.workspaceRoot, normalizedOptions.manifestPath)
1256
1256
  )
1257
1257
  );
1258
1258
  }
@@ -1325,14 +1325,14 @@ async function sizeLimitExecutorFn(options, context, config) {
1325
1325
  "The Size-Limit process failed because the context is not valid. Please run this command from a workspace."
1326
1326
  );
1327
1327
  }
1328
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1328
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
1329
1329
  _sizelimit2.default.call(void 0, [_file2.default, _esbuild2.default, _esbuildwhy2.default], {
1330
1330
  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,
1331
1331
  _nullishCoalesce(_optionalChain([context, 'access', _98 => _98.projectsConfigurations, 'access', _99 => _99.projects, 'access', _100 => _100[context.projectName], 'optionalAccess', _101 => _101.root]), () => ( "./")),
1332
1332
  "src"
1333
1333
  )))
1334
1334
  }).then((result) => {
1335
- _chunkZ2WQB55Rjs.writeInfo.call(void 0,
1335
+ _chunkTTK2XCGFjs.writeInfo.call(void 0,
1336
1336
  `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`,
1337
1337
  config
1338
1338
  );
@@ -1402,19 +1402,19 @@ function toTSDownFormat(format3) {
1402
1402
  // ../tsdown/src/build.ts
1403
1403
  var resolveOptions = async (userOptions) => {
1404
1404
  const options = getDefaultOptions(userOptions);
1405
- const workspaceRoot2 = _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, options.projectRoot);
1405
+ const workspaceRoot2 = _chunkOGBWI4VYjs.findWorkspaceRoot.call(void 0, options.projectRoot);
1406
1406
  if (!workspaceRoot2) {
1407
1407
  throw new Error("Cannot find Nx workspace root");
1408
1408
  }
1409
- const workspaceConfig = await _chunk5GILNZWSjs.getWorkspaceConfig.call(void 0, options.debug === true, {
1409
+ const workspaceConfig = await _chunkOGBWI4VYjs.getWorkspaceConfig.call(void 0, options.debug === true, {
1410
1410
  workspaceRoot: workspaceRoot2
1411
1411
  });
1412
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1413
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, "Build options resolution");
1412
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
1413
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, "Build options resolution");
1414
1414
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1415
1415
  exitOnError: true
1416
1416
  });
1417
- const projectJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
1417
+ const projectJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0,
1418
1418
  workspaceRoot2,
1419
1419
  options.projectRoot,
1420
1420
  "project.json"
@@ -1431,7 +1431,7 @@ var resolveOptions = async (userOptions) => {
1431
1431
  "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."
1432
1432
  );
1433
1433
  }
1434
- const packageJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
1434
+ const packageJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0,
1435
1435
  workspaceRoot2,
1436
1436
  options.projectRoot,
1437
1437
  "package.json"
@@ -1440,13 +1440,13 @@ var resolveOptions = async (userOptions) => {
1440
1440
  throw new Error("Cannot find package.json configuration");
1441
1441
  }
1442
1442
  const debug = _nullishCoalesce(options.debug, () => ( (options.mode || workspaceConfig.mode) === "development"));
1443
- const sourceRoot = projectJson.sourceRoot || _chunkZ2WQB55Rjs.joinPaths.call(void 0, options.projectRoot, "src");
1443
+ const sourceRoot = projectJson.sourceRoot || _chunkTTK2XCGFjs.joinPaths.call(void 0, options.projectRoot, "src");
1444
1444
  const result = {
1445
1445
  name: projectName,
1446
1446
  mode: "production",
1447
1447
  target: DEFAULT_TARGET,
1448
1448
  generatePackageJson: true,
1449
- outDir: _chunkZ2WQB55Rjs.joinPaths.call(void 0, "dist", options.projectRoot),
1449
+ outDir: _chunkTTK2XCGFjs.joinPaths.call(void 0, "dist", options.projectRoot),
1450
1450
  minify: !debug,
1451
1451
  plugins: [],
1452
1452
  assets: [],
@@ -1458,12 +1458,12 @@ var resolveOptions = async (userOptions) => {
1458
1458
  clean: false,
1459
1459
  fixedExtension: true,
1460
1460
  nodeProtocol: true,
1461
- tsconfig: _chunkZ2WQB55Rjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1461
+ tsconfig: _chunkTTK2XCGFjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"),
1462
1462
  debug,
1463
1463
  sourceRoot,
1464
1464
  cwd: workspaceConfig.workspaceRoot,
1465
1465
  entry: {
1466
- ["index"]: _chunkZ2WQB55Rjs.joinPaths.call(void 0, sourceRoot, "index.ts")
1466
+ ["index"]: _chunkTTK2XCGFjs.joinPaths.call(void 0, sourceRoot, "index.ts")
1467
1467
  },
1468
1468
  workspace: true,
1469
1469
  ...options,
@@ -1482,15 +1482,15 @@ var resolveOptions = async (userOptions) => {
1482
1482
  return result;
1483
1483
  };
1484
1484
  async function generatePackageJson2(options) {
1485
- if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkZ2WQB55Rjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1486
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1487
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, "Write package.json file");
1488
- const packageJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1485
+ if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkTTK2XCGFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
1486
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
1487
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, "Write package.json file");
1488
+ const packageJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
1489
1489
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1490
1490
  throw new Error("Cannot find package.json configuration");
1491
1491
  }
1492
1492
  const packageJsonFile = await _promises2.default.readFile(
1493
- _chunkZ2WQB55Rjs.joinPaths.call(void 0,
1493
+ _chunkTTK2XCGFjs.joinPaths.call(void 0,
1494
1494
  options.workspaceConfig.workspaceRoot,
1495
1495
  options.projectRoot,
1496
1496
  "package.json"
@@ -1552,14 +1552,14 @@ async function generatePackageJson2(options) {
1552
1552
  },
1553
1553
  packageJson.exports
1554
1554
  );
1555
- await _devkit.writeJsonFile.call(void 0, _chunkZ2WQB55Rjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1555
+ await _devkit.writeJsonFile.call(void 0, _chunkTTK2XCGFjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
1556
1556
  stopwatch();
1557
1557
  }
1558
1558
  return options;
1559
1559
  }
1560
1560
  async function executeTSDown(options) {
1561
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1562
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, `${options.name} build`);
1561
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
1562
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, `${options.name} build`);
1563
1563
  await _tsdown.build.call(void 0, {
1564
1564
  ...options,
1565
1565
  entry: options.entry,
@@ -1569,11 +1569,11 @@ async function executeTSDown(options) {
1569
1569
  return options;
1570
1570
  }
1571
1571
  async function copyBuildAssets2(options) {
1572
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
1572
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
1573
1573
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
1574
1574
  options.workspaceConfig
1575
1575
  );
1576
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1576
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, `${options.name} asset copy`);
1577
1577
  await copyAssets(
1578
1578
  options.workspaceConfig,
1579
1579
  _nullishCoalesce(options.assets, () => ( [])),
@@ -1587,18 +1587,18 @@ async function copyBuildAssets2(options) {
1587
1587
  return options;
1588
1588
  }
1589
1589
  async function reportResults2(options) {
1590
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0,
1590
+ _chunkTTK2XCGFjs.writeSuccess.call(void 0,
1591
1591
  ` \u{1F4E6} The ${options.name} build completed successfully`,
1592
1592
  options.workspaceConfig
1593
1593
  );
1594
1594
  }
1595
1595
  async function cleanOutputPath2(options) {
1596
1596
  if (options.clean !== false && options.workspaceConfig) {
1597
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
1597
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
1598
1598
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
1599
1599
  options.workspaceConfig
1600
1600
  );
1601
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, `${options.name} output clean`);
1601
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, `${options.name} output clean`);
1602
1602
  await cleanDirectories2(
1603
1603
  options.name,
1604
1604
  options.outDir,
@@ -1609,8 +1609,8 @@ async function cleanOutputPath2(options) {
1609
1609
  return options;
1610
1610
  }
1611
1611
  async function build3(options) {
1612
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1613
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, "TSDown pipeline");
1612
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
1613
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, "TSDown pipeline");
1614
1614
  try {
1615
1615
  const opts = Array.isArray(options) ? options : [options];
1616
1616
  if (opts.length === 0) {
@@ -1630,13 +1630,13 @@ async function build3(options) {
1630
1630
  })
1631
1631
  );
1632
1632
  } else {
1633
- _chunkZ2WQB55Rjs.writeWarning.call(void 0,
1633
+ _chunkTTK2XCGFjs.writeWarning.call(void 0,
1634
1634
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
1635
1635
  );
1636
1636
  }
1637
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1637
+ _chunkTTK2XCGFjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
1638
1638
  } catch (error) {
1639
- _chunkZ2WQB55Rjs.writeFatal.call(void 0,
1639
+ _chunkTTK2XCGFjs.writeFatal.call(void 0,
1640
1640
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
1641
1641
  );
1642
1642
  throw error;
@@ -1647,7 +1647,7 @@ async function build3(options) {
1647
1647
 
1648
1648
  // ../workspace-tools/src/executors/tsdown/executor.ts
1649
1649
  async function tsdownExecutorFn(options, context, config) {
1650
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1650
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
1651
1651
  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])) {
1652
1652
  throw new Error(
1653
1653
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -1689,12 +1689,12 @@ var _fsextra = require('fs-extra');
1689
1689
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1690
1690
  async function typiaExecutorFn(options, _, config) {
1691
1691
  if (options.clean !== false) {
1692
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1692
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1693
1693
  _fsextra.removeSync.call(void 0, options.outputPath);
1694
1694
  }
1695
1695
  await Promise.all(
1696
1696
  options.entry.map((entry) => {
1697
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1697
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1698
1698
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1699
1699
  input: entry,
1700
1700
  output: options.outputPath,
@@ -1727,7 +1727,7 @@ var executor_default10 = withRunExecutor(
1727
1727
 
1728
1728
 
1729
1729
  async function unbuildExecutorFn(options, context, config) {
1730
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1730
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1731
1731
  if (!_optionalChain([context, 'access', _118 => _118.projectsConfigurations, 'optionalAccess', _119 => _119.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
1732
1732
  throw new Error(
1733
1733
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -1744,7 +1744,7 @@ async function unbuildExecutorFn(options, context, config) {
1744
1744
  );
1745
1745
  }
1746
1746
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1747
- fsCache: config.skipCache ? false : _chunkZ2WQB55Rjs.joinPaths.call(void 0,
1747
+ fsCache: config.skipCache ? false : _chunkTTK2XCGFjs.joinPaths.call(void 0,
1748
1748
  config.workspaceRoot,
1749
1749
  config.directories.cache || "node_modules/.cache/storm",
1750
1750
  "jiti"
@@ -1766,7 +1766,7 @@ async function unbuildExecutorFn(options, context, config) {
1766
1766
  {
1767
1767
  stubOptions: {
1768
1768
  jiti: {
1769
- fsCache: config.skipCache ? false : _chunkZ2WQB55Rjs.joinPaths.call(void 0,
1769
+ fsCache: config.skipCache ? false : _chunkTTK2XCGFjs.joinPaths.call(void 0,
1770
1770
  config.workspaceRoot,
1771
1771
  config.directories.cache || "node_modules/.cache/storm",
1772
1772
  "jiti"
@@ -1826,30 +1826,30 @@ var executor_default11 = withRunExecutor(
1826
1826
  var withRunGenerator = (name, generatorFn, generatorOptions = {
1827
1827
  skipReadingConfig: false
1828
1828
  }) => async (tree, _options) => {
1829
- const stopwatch = _chunkZ2WQB55Rjs.getStopwatch.call(void 0, name);
1829
+ const stopwatch = _chunkTTK2XCGFjs.getStopwatch.call(void 0, name);
1830
1830
  let options = _options;
1831
1831
  let config;
1832
1832
  try {
1833
- _chunkZ2WQB55Rjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1833
+ _chunkTTK2XCGFjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1834
1834
 
1835
1835
  `, config);
1836
- const workspaceRoot2 = _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, );
1836
+ const workspaceRoot2 = _chunkOGBWI4VYjs.findWorkspaceRoot.call(void 0, );
1837
1837
  if (!generatorOptions.skipReadingConfig) {
1838
- _chunkZ2WQB55Rjs.writeDebug.call(void 0,
1838
+ _chunkTTK2XCGFjs.writeDebug.call(void 0,
1839
1839
  `Loading the Storm Config from environment variables and storm.config.js file...
1840
1840
  - workspaceRoot: ${workspaceRoot2}`,
1841
1841
  config
1842
1842
  );
1843
- config = await _chunk5GILNZWSjs.getConfig.call(void 0, workspaceRoot2);
1843
+ config = await _chunkOGBWI4VYjs.getConfig.call(void 0, workspaceRoot2);
1844
1844
  }
1845
1845
  if (_optionalChain([generatorOptions, 'optionalAccess', _120 => _120.hooks, 'optionalAccess', _121 => _121.applyDefaultOptions])) {
1846
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1846
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1847
1847
  options = await Promise.resolve(
1848
1848
  generatorOptions.hooks.applyDefaultOptions(options, config)
1849
1849
  );
1850
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1850
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1851
1851
  }
1852
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
1852
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
1853
1853
  `Generator schema options \u2699\uFE0F
1854
1854
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
1855
1855
  config
@@ -1860,11 +1860,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1860
1860
  applyWorkspaceBaseTokens
1861
1861
  );
1862
1862
  if (_optionalChain([generatorOptions, 'optionalAccess', _122 => _122.hooks, 'optionalAccess', _123 => _123.preProcess])) {
1863
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1863
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1864
1864
  await Promise.resolve(
1865
1865
  generatorOptions.hooks.preProcess(tokenized, config)
1866
1866
  );
1867
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1867
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1868
1868
  }
1869
1869
  const result = await Promise.resolve(
1870
1870
  generatorFn(tree, tokenized, config)
@@ -1879,21 +1879,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
1879
1879
  }
1880
1880
  }
1881
1881
  if (_optionalChain([generatorOptions, 'optionalAccess', _133 => _133.hooks, 'optionalAccess', _134 => _134.postProcess])) {
1882
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1882
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1883
1883
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1884
- _chunkZ2WQB55Rjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1884
+ _chunkTTK2XCGFjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1885
1885
  }
1886
1886
  return () => {
1887
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1887
+ _chunkTTK2XCGFjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1888
1888
  `, config);
1889
1889
  };
1890
1890
  } catch (error) {
1891
1891
  return () => {
1892
- _chunkZ2WQB55Rjs.writeFatal.call(void 0,
1892
+ _chunkTTK2XCGFjs.writeFatal.call(void 0,
1893
1893
  "A fatal error occurred while running the generator - the process was forced to terminate",
1894
1894
  config
1895
1895
  );
1896
- _chunkZ2WQB55Rjs.writeError.call(void 0,
1896
+ _chunkTTK2XCGFjs.writeError.call(void 0,
1897
1897
  `An exception was thrown in the generator's process
1898
1898
  - Details: ${error.message}
1899
1899
  - Stacktrace: ${error.stack}`,
@@ -1959,16 +1959,16 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1959
1959
  const projectConfig = {
1960
1960
  root: normalized.directory,
1961
1961
  projectType: "library",
1962
- sourceRoot: _chunkZ2WQB55Rjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1962
+ sourceRoot: _chunkTTK2XCGFjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1963
1963
  targets: {
1964
1964
  build: {
1965
1965
  executor: options.buildExecutor,
1966
1966
  outputs: ["{options.outputPath}"],
1967
1967
  options: {
1968
- entry: [_chunkZ2WQB55Rjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1968
+ entry: [_chunkTTK2XCGFjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")],
1969
1969
  outputPath: getOutputPath(normalized),
1970
- tsconfig: _chunkZ2WQB55Rjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1971
- project: _chunkZ2WQB55Rjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1970
+ tsconfig: _chunkTTK2XCGFjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1971
+ project: _chunkTTK2XCGFjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1972
1972
  defaultConfiguration: "production",
1973
1973
  platform: "neutral",
1974
1974
  assets: [
@@ -2025,7 +2025,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2025
2025
  if (!normalized.importPath) {
2026
2026
  normalized.importPath = normalized.name;
2027
2027
  }
2028
- const packageJsonPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2028
+ const packageJsonPath = _chunkTTK2XCGFjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2029
2029
  if (tree.exists(packageJsonPath)) {
2030
2030
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2031
2031
  if (!normalized.importPath) {
@@ -2082,14 +2082,14 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2082
2082
  }));
2083
2083
  }
2084
2084
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
2085
- _chunkZ2WQB55Rjs.joinPaths.call(void 0,
2085
+ _chunkTTK2XCGFjs.joinPaths.call(void 0,
2086
2086
  normalized.projectRoot,
2087
2087
  "./src",
2088
2088
  `index.${normalized.js ? "js" : "ts"}`
2089
2089
  )
2090
2090
  ]);
2091
- _js.addTsConfigPath.call(void 0, tree, _chunkZ2WQB55Rjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2092
- _chunkZ2WQB55Rjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2091
+ _js.addTsConfigPath.call(void 0, tree, _chunkTTK2XCGFjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2092
+ _chunkTTK2XCGFjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2093
2093
  ]);
2094
2094
  if (tree.exists("package.json")) {
2095
2095
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
@@ -2100,7 +2100,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2100
2100
  description = packageJson.description;
2101
2101
  }
2102
2102
  }
2103
- const tsconfigPath = _chunkZ2WQB55Rjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2103
+ const tsconfigPath = _chunkTTK2XCGFjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2104
2104
  if (tree.exists(tsconfigPath)) {
2105
2105
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2106
2106
  json.composite ??= true;
@@ -2128,7 +2128,7 @@ function getOutputPath(options) {
2128
2128
  } else {
2129
2129
  parts.push(options.projectRoot);
2130
2130
  }
2131
- return _chunkZ2WQB55Rjs.joinPaths.call(void 0, ...parts);
2131
+ return _chunkTTK2XCGFjs.joinPaths.call(void 0, ...parts);
2132
2132
  }
2133
2133
  function createProjectTsConfigJson(tree, options) {
2134
2134
  const tsconfig = {
@@ -2136,7 +2136,7 @@ function createProjectTsConfigJson(tree, options) {
2136
2136
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _149 => _149.tsconfigOptions]), () => ( {})),
2137
2137
  compilerOptions: {
2138
2138
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2139
- outDir: _chunkZ2WQB55Rjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2139
+ outDir: _chunkTTK2XCGFjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2140
2140
  noEmit: true,
2141
2141
  ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _150 => _150.tsconfigOptions, 'optionalAccess', _151 => _151.compilerOptions]), () => ( {}))
2142
2142
  },
@@ -2154,7 +2154,7 @@ function createProjectTsConfigJson(tree, options) {
2154
2154
  "src/**/*.test.ts"
2155
2155
  ]
2156
2156
  };
2157
- _devkit.writeJson.call(void 0, tree, _chunkZ2WQB55Rjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2157
+ _devkit.writeJson.call(void 0, tree, _chunkTTK2XCGFjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2158
2158
  }
2159
2159
  async function normalizeOptions(tree, options, config) {
2160
2160
  let importPath = options.importPath;
@@ -2219,7 +2219,7 @@ async function normalizeOptions(tree, options, config) {
2219
2219
 
2220
2220
  // ../workspace-tools/src/generators/browser-library/generator.ts
2221
2221
  async function browserLibraryGeneratorFn(tree, schema, config) {
2222
- const filesDir = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
2222
+ const filesDir = _chunkTTK2XCGFjs.joinPaths.call(void 0,
2223
2223
  __dirname,
2224
2224
  "src",
2225
2225
  "generators",
@@ -2302,38 +2302,38 @@ var generator_default = withRunGenerator(
2302
2302
 
2303
2303
  var _zod = require('zod'); var z = _interopRequireWildcard(_zod);
2304
2304
  async function configSchemaGeneratorFn(tree, options, config) {
2305
- _chunkZ2WQB55Rjs.writeInfo.call(void 0,
2305
+ _chunkTTK2XCGFjs.writeInfo.call(void 0,
2306
2306
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
2307
2307
  config
2308
2308
  );
2309
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
2309
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
2310
2310
  `Determining the Storm Workspace Configuration JSON Schema...`,
2311
2311
  config
2312
2312
  );
2313
- const jsonSchema = z.toJSONSchema(_chunk5GILNZWSjs.workspaceConfigSchema, {
2313
+ const jsonSchema = z.toJSONSchema(_chunkOGBWI4VYjs.workspaceConfigSchema, {
2314
2314
  target: "draft-7",
2315
- metadata: _chunk5GILNZWSjs.schemaRegistry
2315
+ metadata: _chunkOGBWI4VYjs.schemaRegistry
2316
2316
  });
2317
2317
  jsonSchema.$id ??= "https://public.storm-cdn.com/schemas/storm-workspace.schema.json";
2318
2318
  jsonSchema.title ??= "Storm Workspace Configuration JSON Schema";
2319
2319
  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.";
2320
- _chunkZ2WQB55Rjs.writeTrace.call(void 0, jsonSchema, config);
2320
+ _chunkTTK2XCGFjs.writeTrace.call(void 0, jsonSchema, config);
2321
2321
  if (!options.outputFile) {
2322
2322
  throw new Error(
2323
2323
  "The `outputFile` option is required. Please specify the output file path."
2324
2324
  );
2325
2325
  }
2326
2326
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
2327
- _nullishCoalesce(_optionalChain([config, 'optionalAccess', _160 => _160.workspaceRoot]), () => ( _chunk5GILNZWSjs.findWorkspaceRoot.call(void 0, ))),
2327
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _160 => _160.workspaceRoot]), () => ( _chunkOGBWI4VYjs.findWorkspaceRoot.call(void 0, ))),
2328
2328
  options.outputFile.startsWith("./") ? "" : "./"
2329
2329
  );
2330
- _chunkZ2WQB55Rjs.writeTrace.call(void 0,
2330
+ _chunkTTK2XCGFjs.writeTrace.call(void 0,
2331
2331
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
2332
2332
  config
2333
2333
  );
2334
2334
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
2335
2335
  await _devkit.formatFiles.call(void 0, tree);
2336
- _chunkZ2WQB55Rjs.writeSuccess.call(void 0,
2336
+ _chunkTTK2XCGFjs.writeSuccess.call(void 0,
2337
2337
  "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
2338
2338
  config
2339
2339
  );
@@ -2368,7 +2368,7 @@ var generator_default2 = withRunGenerator(
2368
2368
 
2369
2369
 
2370
2370
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2371
- const filesDir = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
2371
+ const filesDir = _chunkTTK2XCGFjs.joinPaths.call(void 0,
2372
2372
  __dirname,
2373
2373
  "src",
2374
2374
  "generators",
@@ -2427,7 +2427,7 @@ var generator_default3 = withRunGenerator(
2427
2427
 
2428
2428
 
2429
2429
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2430
- const filesDir = _chunkZ2WQB55Rjs.joinPaths.call(void 0,
2430
+ const filesDir = _chunkTTK2XCGFjs.joinPaths.call(void 0,
2431
2431
  __dirname,
2432
2432
  "src",
2433
2433
  "generators",