@storm-software/cloudflare-tools 0.55.42 → 0.55.44

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 (39) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-MESLYSHV.mjs → chunk-75BWJSFW.mjs} +9 -9
  4. package/dist/{chunk-HF5FM2V2.js → chunk-AXF5C7QR.js} +3 -3
  5. package/dist/{chunk-MCQ4YOON.js → chunk-CAC2PNUJ.js} +17 -17
  6. package/dist/{chunk-NVJMBKZX.mjs → chunk-FVMS7RMT.mjs} +5 -5
  7. package/dist/{chunk-FK6PN2T3.js → chunk-HWJBDRIG.js} +2 -2
  8. package/dist/{chunk-LR5EYY2W.js → chunk-ISO7UOVA.js} +192 -179
  9. package/dist/{chunk-SUJFP32E.js → chunk-JUJW77CM.js} +12 -12
  10. package/dist/{chunk-COKKJUVA.mjs → chunk-LY3NUGLI.mjs} +22 -9
  11. package/dist/{chunk-GMFRV3ZA.mjs → chunk-MIKH2FI5.mjs} +1 -1
  12. package/dist/{chunk-M4FHQYTZ.mjs → chunk-R2SQ6ZOK.mjs} +2 -2
  13. package/dist/{chunk-H2ML72QF.js → chunk-R32N7B24.js} +47 -47
  14. package/dist/{chunk-S3S7EN37.mjs → chunk-STUGKRS5.mjs} +6 -6
  15. package/dist/{chunk-2AZYWCCE.js → chunk-TDNPRL4Y.js} +1 -1
  16. package/dist/{chunk-LEXIFHU6.mjs → chunk-TTDB2VCO.mjs} +1 -1
  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 +12 -12
  22. package/dist/index.mjs +16 -16
  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.d.mts +21 -5
  28. package/dist/src/executors/serve/executor.d.ts +21 -5
  29. package/dist/src/executors/serve/executor.js +4 -4
  30. package/dist/src/executors/serve/executor.mjs +3 -3
  31. package/dist/src/generators/init/generator.js +2 -2
  32. package/dist/src/generators/init/generator.mjs +1 -1
  33. package/dist/src/generators/worker/generator.js +5 -5
  34. package/dist/src/generators/worker/generator.mjs +4 -4
  35. package/dist/src/utils/index.js +3 -3
  36. package/dist/src/utils/index.mjs +2 -2
  37. package/dist/src/utils/r2-bucket-helpers.js +3 -3
  38. package/dist/src/utils/r2-bucket-helpers.mjs +2 -2
  39. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  var _chunkVTHBMY4Bjs = require('./chunk-VTHBMY4B.js');
5
5
 
6
6
 
7
- var _chunkH2ML72QFjs = require('./chunk-H2ML72QF.js');
7
+ var _chunkR32N7B24js = require('./chunk-R32N7B24.js');
8
8
 
9
9
 
10
10
 
@@ -20,7 +20,7 @@ var _chunkH2ML72QFjs = require('./chunk-H2ML72QF.js');
20
20
 
21
21
 
22
22
 
23
- var _chunkFK6PN2T3js = require('./chunk-FK6PN2T3.js');
23
+ var _chunkHWJBDRIGjs = require('./chunk-HWJBDRIG.js');
24
24
 
25
25
 
26
26
 
@@ -53,7 +53,7 @@ var applyWorkspaceBaseTokens = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void
53
53
  }
54
54
  }
55
55
  if (result.includes("{workspaceRoot}")) {
56
- result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, ))));
56
+ result = result.replaceAll("{workspaceRoot}", _nullishCoalesce(_nullishCoalesce(tokenParams.workspaceRoot, () => ( _optionalChain([tokenParams, 'access', _3 => _3.config, 'optionalAccess', _4 => _4.workspaceRoot]))), () => ( _chunkHWJBDRIGjs.findWorkspaceRoot.call(void 0, ))));
57
57
  }
58
58
  return result;
59
59
  }, "applyWorkspaceBaseTokens");
@@ -101,35 +101,35 @@ var run = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (config, command,
101
101
  // ../workspace-tools/src/base/base-executor.ts
102
102
  var _defu = require('defu'); var _defu2 = _interopRequireDefault(_defu);
103
103
  var withRunExecutor = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context2) => {
104
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, name);
104
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, name);
105
105
  let options = _options;
106
106
  let config = {};
107
107
  try {
108
108
  if (!_optionalChain([context2, 'access', _5 => _5.projectsConfigurations, 'optionalAccess', _6 => _6.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
109
109
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
110
110
  }
111
- const workspaceRoot3 = _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, );
111
+ const workspaceRoot3 = _chunkHWJBDRIGjs.findWorkspaceRoot.call(void 0, );
112
112
  const projectRoot = context2.projectsConfigurations.projects[context2.projectName].root || workspaceRoot3;
113
113
  const sourceRoot = context2.projectsConfigurations.projects[context2.projectName].sourceRoot || projectRoot || workspaceRoot3;
114
114
  const projectName = context2.projectName;
115
115
  config.workspaceRoot = workspaceRoot3;
116
- _chunkFK6PN2T3js.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
116
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
117
117
  if (!executorOptions.skipReadingConfig) {
118
- _chunkFK6PN2T3js.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
118
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
119
119
  - workspaceRoot: ${workspaceRoot3}
120
120
  - projectRoot: ${projectRoot}
121
121
  - sourceRoot: ${sourceRoot}
122
122
  - projectName: ${projectName}
123
123
  `, config);
124
- config = await _chunkH2ML72QFjs.getConfig.call(void 0, workspaceRoot3);
124
+ config = await _chunkR32N7B24js.getConfig.call(void 0, workspaceRoot3);
125
125
  }
126
126
  if (_optionalChain([executorOptions, 'optionalAccess', _7 => _7.hooks, 'optionalAccess', _8 => _8.applyDefaultOptions])) {
127
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
127
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
128
128
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
129
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
129
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
130
130
  }
131
- _chunkFK6PN2T3js.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
132
- ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, options)}
131
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
132
+ ${_chunkHWJBDRIGjs.formatLogMessage.call(void 0, options)}
133
133
  `, config);
134
134
  const tokenized = await applyWorkspaceTokens(options, _defu.defu.call(void 0, {
135
135
  workspaceRoot: workspaceRoot3,
@@ -138,13 +138,13 @@ ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, options)}
138
138
  projectName,
139
139
  config
140
140
  }, config, context2.projectsConfigurations.projects[context2.projectName]), applyWorkspaceProjectTokens);
141
- _chunkFK6PN2T3js.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
142
- ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, tokenized)}
141
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
142
+ ${_chunkHWJBDRIGjs.formatLogMessage.call(void 0, tokenized)}
143
143
  `, config);
144
144
  if (_optionalChain([executorOptions, 'optionalAccess', _9 => _9.hooks, 'optionalAccess', _10 => _10.preProcess])) {
145
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the preProcess hook...", config);
145
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
146
146
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
147
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the preProcess hook", config);
147
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
148
148
  }
149
149
  const ret = executorFn(tokenized, context2, config);
150
150
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _11 => _11.next]))) {
@@ -154,26 +154,26 @@ ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, tokenized)}
154
154
  }
155
155
  const result = await Promise.resolve(ret);
156
156
  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")) {
157
- _chunkFK6PN2T3js.writeTrace.call(void 0, `Failure determined by the ${name} executor
158
- ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, result)}`, config);
157
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
158
+ ${_chunkHWJBDRIGjs.formatLogMessage.call(void 0, result)}`, config);
159
159
  console.error(result);
160
160
  throw new Error(`The ${name} executor failed to run`, {
161
161
  cause: _optionalChain([result, 'optionalAccess', _20 => _20.error])
162
162
  });
163
163
  }
164
164
  if (_optionalChain([executorOptions, 'optionalAccess', _21 => _21.hooks, 'optionalAccess', _22 => _22.postProcess])) {
165
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the postProcess hook...", config);
165
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
166
166
  await Promise.resolve(executorOptions.hooks.postProcess(config));
167
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the postProcess hook", config);
167
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
168
168
  }
169
- _chunkFK6PN2T3js.writeSuccess.call(void 0, `Completed running the ${name} task executor!
169
+ _chunkHWJBDRIGjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
170
170
  `, config);
171
171
  return {
172
172
  success: true
173
173
  };
174
174
  } catch (error) {
175
- _chunkFK6PN2T3js.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
176
- _chunkFK6PN2T3js.writeError.call(void 0, `An exception was thrown in the executor's process
175
+ _chunkHWJBDRIGjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
176
+ _chunkHWJBDRIGjs.writeError.call(void 0, `An exception was thrown in the executor's process
177
177
  - Details: ${error.message}
178
178
  - Stacktrace: ${error.stack}`, config);
179
179
  return {
@@ -476,8 +476,8 @@ var copyAssets = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (con
476
476
  output: "src/"
477
477
  });
478
478
  }
479
- _chunkFK6PN2T3js.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
480
- ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkFK6PN2T3js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
479
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
480
+ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkHWJBDRIGjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
481
481
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
482
482
  projectDir: projectRoot,
483
483
  rootDir: config.workspaceRoot,
@@ -486,12 +486,12 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
486
486
  });
487
487
  await assetHandler.processAllAssetsOnce();
488
488
  if (includeSrc === true) {
489
- _chunkFK6PN2T3js.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkFK6PN2T3js.joinPaths.call(void 0, outputPath, "src")}`, config);
489
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkHWJBDRIGjs.joinPaths.call(void 0, outputPath, "src")}`, config);
490
490
  const files = await _glob.glob.call(void 0, [
491
- _chunkFK6PN2T3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
492
- _chunkFK6PN2T3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
493
- _chunkFK6PN2T3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
494
- _chunkFK6PN2T3js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
491
+ _chunkHWJBDRIGjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
492
+ _chunkHWJBDRIGjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
493
+ _chunkHWJBDRIGjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
494
+ _chunkHWJBDRIGjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
495
495
  ]);
496
496
  await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
497
497
 
@@ -514,7 +514,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0
514
514
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _29 => _29.node, 'access', _30 => _30.data, 'optionalAccess', _31 => _31.root]) !== projectRoot && _optionalChain([dep, 'access', _32 => _32.node, 'access', _33 => _33.data, 'optionalAccess', _34 => _34.root]) !== workspaceRoot3)) {
515
515
  const projectNode = project.node;
516
516
  if (projectNode.data.root) {
517
- const projectPackageJsonPath = _chunkFK6PN2T3js.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
517
+ const projectPackageJsonPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, workspaceRoot3, projectNode.data.root, "package.json");
518
518
  if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
519
519
  const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
520
520
  const projectPackageJson = JSON.parse(projectPackageJsonContent);
@@ -525,8 +525,8 @@ var addPackageDependencies = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0
525
525
  }
526
526
  }
527
527
  if (localPackages.length > 0) {
528
- _chunkFK6PN2T3js.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
529
- const projectJsonFile = await _promises.readFile.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
528
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
529
+ const projectJsonFile = await _promises.readFile.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
530
530
  const projectJson = JSON.parse(projectJsonFile);
531
531
  const projectName2 = projectJson.name;
532
532
  const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
@@ -535,7 +535,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0
535
535
  }
536
536
  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) => {
537
537
  if (_optionalChain([projectConfigurations, 'access', _42 => _42.projects, 'optionalAccess', _43 => _43[dep]])) {
538
- const depPackageJsonPath = _chunkFK6PN2T3js.joinPaths.call(void 0, workspaceRoot3, projectConfigurations.projects[dep].root, "package.json");
538
+ const depPackageJsonPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, workspaceRoot3, projectConfigurations.projects[dep].root, "package.json");
539
539
  if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
540
540
  const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
541
541
  const depPackageJson = JSON.parse(depPackageJsonContent);
@@ -547,25 +547,25 @@ var addPackageDependencies = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0
547
547
  return ret;
548
548
  }, [])]);
549
549
  packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
550
- if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _44 => _44.includes, 'call', _45 => _45(localPackage.name)])) {
551
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
550
+ if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _44 => _44.includes, 'call', _45 => _45(localPackage.name)]) && _optionalChain([packageJson, 'access', _46 => _46.devDependencies, 'optionalAccess', _47 => _47[localPackage.name]]) === void 0) {
551
+ ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
552
552
  }
553
553
  return ret;
554
554
  }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
555
555
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
556
- if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _46 => _46.includes, 'call', _47 => _47(localPackage.name)])) {
556
+ if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _48 => _48.includes, 'call', _49 => _49(localPackage.name)]) && _optionalChain([packageJson, 'access', _50 => _50.dependencies, 'optionalAccess', _51 => _51[localPackage.name]]) === void 0) {
557
557
  ret[localPackage.name] = localPackage.version || "0.0.1";
558
558
  }
559
559
  return ret;
560
560
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
561
561
  } else {
562
- _chunkFK6PN2T3js.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
562
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
563
563
  }
564
564
  return packageJson;
565
565
  }, "addPackageDependencies");
566
566
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
567
- const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, );
568
- const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
567
+ const workspaceRoot3 = config.workspaceRoot ? config.workspaceRoot : _chunkHWJBDRIGjs.findWorkspaceRoot.call(void 0, );
568
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, workspaceRoot3, "package.json"), "utf8");
569
569
  const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
570
570
  packageJson.type ??= "module";
571
571
  packageJson.sideEffects ??= false;
@@ -574,7 +574,7 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call
574
574
  if (distSrc.startsWith("/")) {
575
575
  distSrc = distSrc.substring(1);
576
576
  }
577
- packageJson.source ??= `${_chunkFK6PN2T3js.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
577
+ packageJson.source ??= `${_chunkHWJBDRIGjs.joinPaths.call(void 0, distSrc, "index.ts").replaceAll("\\", "/")}`;
578
578
  }
579
579
  packageJson.files ??= [
580
580
  "dist/**/*"
@@ -605,14 +605,14 @@ var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call
605
605
  ];
606
606
  }
607
607
  packageJson.repository ??= workspacePackageJson.repository;
608
- packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkFK6PN2T3js.joinPaths.call(void 0, "packages", projectName);
608
+ packageJson.repository.directory ??= projectRoot ? projectRoot : _chunkHWJBDRIGjs.joinPaths.call(void 0, "packages", projectName);
609
609
  return packageJson;
610
610
  }, "addWorkspacePackageJsonFields");
611
611
 
612
612
  // ../build-tools/src/utilities/get-entry-points.ts
613
613
 
614
614
  var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async (config, projectRoot, sourceRoot, entry, emitOnAll = false) => {
615
- const workspaceRoot3 = config.workspaceRoot || _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, );
615
+ const workspaceRoot3 = config.workspaceRoot || _chunkHWJBDRIGjs.findWorkspaceRoot.call(void 0, );
616
616
  const entryPoints = [];
617
617
  if (entry) {
618
618
  if (typeof entry === "string") {
@@ -624,7 +624,7 @@ var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
624
624
  }
625
625
  }
626
626
  if (emitOnAll) {
627
- entryPoints.push(_chunkFK6PN2T3js.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
627
+ entryPoints.push(_chunkHWJBDRIGjs.joinPaths.call(void 0, workspaceRoot3, sourceRoot || projectRoot, "**/*.{ts,tsx}"));
628
628
  }
629
629
  const results = await Promise.all(entryPoints.map(async (entryPoint) => {
630
630
  const paths = [];
@@ -636,9 +636,9 @@ var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
636
636
  ]
637
637
  });
638
638
  paths.push(...files.reduce((ret, filePath) => {
639
- const result = _chunkFK6PN2T3js.correctPaths.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkFK6PN2T3js.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkFK6PN2T3js.correctPaths.call(void 0, projectRoot), ""));
639
+ const result = _chunkHWJBDRIGjs.correctPaths.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkHWJBDRIGjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkHWJBDRIGjs.correctPaths.call(void 0, projectRoot), ""));
640
640
  if (result) {
641
- _chunkFK6PN2T3js.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkFK6PN2T3js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
641
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkHWJBDRIGjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
642
642
  if (!paths.includes(result)) {
643
643
  paths.push(result);
644
644
  }
@@ -646,7 +646,11 @@ var getEntryPoints = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
646
646
  return ret;
647
647
  }, []));
648
648
  } else {
649
- paths.push(entryPoint);
649
+ const result = _chunkHWJBDRIGjs.correctPaths.call(void 0, entryPoint.replaceAll(_chunkHWJBDRIGjs.correctPaths.call(void 0, workspaceRoot3), "").replaceAll(_chunkHWJBDRIGjs.correctPaths.call(void 0, projectRoot), ""));
650
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, `Trying to add entry point ${result}"`, config);
651
+ if (!paths.includes(result)) {
652
+ paths.push(result);
653
+ }
650
654
  }
651
655
  return paths;
652
656
  }));
@@ -758,15 +762,15 @@ var RendererEngine = class {
758
762
  if (!relativePath.startsWith("\\\\?\\")) {
759
763
  relativePath = relativePath.replace(/\\/g, "/");
760
764
  }
761
- const meta = _optionalChain([metafile, 'optionalAccess', _48 => _48.outputs, 'access', _49 => _49[relativePath]]);
765
+ const meta = _optionalChain([metafile, 'optionalAccess', _52 => _52.outputs, 'access', _53 => _53[relativePath]]);
762
766
  return {
763
767
  type: "chunk",
764
768
  path: file.path,
765
769
  code: file.text,
766
- map: _optionalChain([outputFiles, 'access', _50 => _50.find, 'call', _51 => _51((f) => f.path === `${file.path}.map`), 'optionalAccess', _52 => _52.text]),
767
- entryPoint: _optionalChain([meta, 'optionalAccess', _53 => _53.entryPoint]),
768
- exports: _optionalChain([meta, 'optionalAccess', _54 => _54.exports]),
769
- imports: _optionalChain([meta, 'optionalAccess', _55 => _55.imports])
770
+ map: _optionalChain([outputFiles, 'access', _54 => _54.find, 'call', _55 => _55((f) => f.path === `${file.path}.map`), 'optionalAccess', _56 => _56.text]),
771
+ entryPoint: _optionalChain([meta, 'optionalAccess', _57 => _57.entryPoint]),
772
+ exports: _optionalChain([meta, 'optionalAccess', _58 => _58.exports]),
773
+ imports: _optionalChain([meta, 'optionalAccess', _59 => _59.imports])
770
774
  };
771
775
  } else {
772
776
  return {
@@ -849,7 +853,7 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void
849
853
  name: "storm:esm-split-code-to-cjs",
850
854
  setup(build4) {
851
855
  build4.onEnd(async (result) => {
852
- const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _56 => _56.metafile, 'optionalAccess', _57 => _57.outputs]), () => ( {})));
856
+ const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _60 => _60.metafile, 'optionalAccess', _61 => _61.outputs]), () => ( {})));
853
857
  const jsFiles = outFiles.filter((f) => f.endsWith("js"));
854
858
  await esbuild.build({
855
859
  outdir: resolvedOptions.outdir,
@@ -958,7 +962,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (option
958
962
  setup(build4) {
959
963
  build4.onEnd((result) => {
960
964
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
961
- _chunkFK6PN2T3js.writeError.call(void 0, `The following errors occurred during the build:
965
+ _chunkHWJBDRIGjs.writeError.call(void 0, `The following errors occurred during the build:
962
966
  ${result.errors.map((error) => error.text).join("\n")}
963
967
 
964
968
  `, resolvedOptions.config);
@@ -971,7 +975,7 @@ ${result.errors.map((error) => error.text).join("\n")}
971
975
  // ../esbuild/src/plugins/resolve-paths.ts
972
976
 
973
977
  function resolvePathsConfig(options, cwd) {
974
- if (_optionalChain([options, 'optionalAccess', _58 => _58.compilerOptions, 'optionalAccess', _59 => _59.paths])) {
978
+ if (_optionalChain([options, 'optionalAccess', _62 => _62.compilerOptions, 'optionalAccess', _63 => _63.paths])) {
975
979
  const paths = Object.entries(options.compilerOptions.paths);
976
980
  const resolvedPaths = paths.map(([key, paths2]) => {
977
981
  return [
@@ -993,13 +997,13 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, resolvePathsConfig, "resolvePathsConfig");
993
997
  var resolvePathsPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, resolvedOptions) => ({
994
998
  name: "storm:resolve-paths",
995
999
  setup(build4) {
996
- const parentTsConfig = build4.initialOptions.tsconfig ? _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build4.initialOptions.tsconfig)) : _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
1000
+ const parentTsConfig = build4.initialOptions.tsconfig ? _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, build4.initialOptions.tsconfig)) : _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, "tsconfig.json"));
997
1001
  const resolvedTsPaths = resolvePathsConfig(parentTsConfig, options.projectRoot);
998
1002
  const packagesRegex = new RegExp(`^(${Object.keys(resolvedTsPaths).join("|")})$`);
999
1003
  build4.onResolve({
1000
1004
  filter: packagesRegex
1001
1005
  }, (args) => {
1002
- if (_optionalChain([build4, 'access', _60 => _60.initialOptions, 'access', _61 => _61.external, 'optionalAccess', _62 => _62.includes, 'call', _63 => _63(args.path)])) {
1006
+ if (_optionalChain([build4, 'access', _64 => _64.initialOptions, 'access', _65 => _65.external, 'optionalAccess', _66 => _66.includes, 'call', _67 => _67(args.path)])) {
1003
1007
  return {
1004
1008
  path: args.path,
1005
1009
  external: true
@@ -1017,7 +1021,7 @@ var _apiextractor = require('@microsoft/api-extractor');
1017
1021
 
1018
1022
 
1019
1023
  function bundleTypeDefinitions(filename, outfile, externals, options) {
1020
- const { dependencies, peerDependencies, devDependencies } = _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, options.projectRoot, "package.json"));
1024
+ const { dependencies, peerDependencies, devDependencies } = _chunkJ5SB6L2Ljs.__require.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, options.projectRoot, "package.json"));
1021
1025
  const dependenciesKeys = Object.keys(_nullishCoalesce(dependencies, () => ( {}))).flatMap((p) => [
1022
1026
  p,
1023
1027
  getTypeDependencyPackageName(p)
@@ -1053,13 +1057,13 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
1053
1057
  },
1054
1058
  dtsRollup: {
1055
1059
  enabled: true,
1056
- untrimmedFilePath: _chunkFK6PN2T3js.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
1060
+ untrimmedFilePath: _chunkHWJBDRIGjs.joinPaths.call(void 0, options.outdir, `${outfile}.d.ts`)
1057
1061
  },
1058
1062
  tsdocMetadata: {
1059
1063
  enabled: false
1060
1064
  }
1061
1065
  },
1062
- packageJsonFullPath: _chunkFK6PN2T3js.joinPaths.call(void 0, options.projectRoot, "package.json"),
1066
+ packageJsonFullPath: _chunkHWJBDRIGjs.joinPaths.call(void 0, options.projectRoot, "package.json"),
1063
1067
  configObjectFullPath: void 0
1064
1068
  });
1065
1069
  const extractorResult = _apiextractor.Extractor.invoke(extractorConfig, {
@@ -1067,7 +1071,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
1067
1071
  localBuild: true
1068
1072
  });
1069
1073
  if (extractorResult.succeeded === false) {
1070
- _chunkFK6PN2T3js.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
1074
+ _chunkHWJBDRIGjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
1071
1075
  throw new Error("API Extractor completed with errors");
1072
1076
  }
1073
1077
  }
@@ -1086,12 +1090,12 @@ var tscPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, r
1086
1090
  const sourceRoot = resolvedOptions.sourceRoot.replaceAll(resolvedOptions.projectRoot, "");
1087
1091
  const typeOutDir = resolvedOptions.outdir;
1088
1092
  const entryPoint = resolvedOptions.entryPoints[0].replace(sourceRoot, "").replace(/\.ts$/, "");
1089
- const bundlePath = _chunkFK6PN2T3js.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
1093
+ const bundlePath = _chunkHWJBDRIGjs.joinPaths.call(void 0, resolvedOptions.outdir, entryPoint);
1090
1094
  let dtsPath;
1091
- if (_fs.existsSync.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
1092
- dtsPath = _chunkFK6PN2T3js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
1093
- } else if (_fs.existsSync.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
1094
- dtsPath = _chunkFK6PN2T3js.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
1095
+ if (_fs.existsSync.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`))) {
1096
+ dtsPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint}.d.ts`);
1097
+ } else if (_fs.existsSync.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`))) {
1098
+ dtsPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, resolvedOptions.config.workspaceRoot, typeOutDir, `${entryPoint.replace(/^src\//, "")}.d.ts`);
1095
1099
  }
1096
1100
  const ext = resolvedOptions.format === "esm" ? "d.mts" : "d.ts";
1097
1101
  if (process.env.WATCH !== "true" && process.env.DEV !== "true") {
@@ -1108,7 +1112,7 @@ var tscPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (options, r
1108
1112
  function getTypeDependencyPackageName(npmPackage) {
1109
1113
  if (npmPackage.startsWith("@")) {
1110
1114
  const [scope, name] = npmPackage.split("/");
1111
- return `@types/${_optionalChain([scope, 'optionalAccess', _64 => _64.slice, 'call', _65 => _65(1)])}__${name}`;
1115
+ return `@types/${_optionalChain([scope, 'optionalAccess', _68 => _68.slice, 'call', _69 => _69(1)])}__${name}`;
1112
1116
  }
1113
1117
  return `@types/${npmPackage}`;
1114
1118
  }
@@ -1255,8 +1259,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (bund
1255
1259
  const filteredMissingDeps = missingDependencies.filter((dep) => {
1256
1260
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
1257
1261
  });
1258
- _chunkFK6PN2T3js.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
1259
- _chunkFK6PN2T3js.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
1262
+ _chunkHWJBDRIGjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
1263
+ _chunkHWJBDRIGjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
1260
1264
  if (filteredMissingDeps.length > 0) {
1261
1265
  throw new Error(`Missing dependencies detected - please install them:
1262
1266
  ${JSON.stringify(filteredMissingDeps)}
@@ -1324,7 +1328,7 @@ function pipeSync(fn, ...fns) {
1324
1328
  return (...args) => {
1325
1329
  let result = fn(...args);
1326
1330
  for (let i = 0; result !== skip && i < fns.length; ++i) {
1327
- result = _optionalChain([fns, 'access', _66 => _66[i], 'optionalCall', _67 => _67(result)]);
1331
+ result = _optionalChain([fns, 'access', _70 => _70[i], 'optionalCall', _71 => _71(result)]);
1328
1332
  }
1329
1333
  return result;
1330
1334
  };
@@ -1334,7 +1338,7 @@ function pipeAsync(fn, ...fns) {
1334
1338
  return async (...args) => {
1335
1339
  let result = await fn(...args);
1336
1340
  for (let i = 0; result !== skip && i < fns.length; ++i) {
1337
- result = await _optionalChain([fns, 'access', _68 => _68[i], 'optionalCall', _69 => _69(result)]);
1341
+ result = await _optionalChain([fns, 'access', _72 => _72[i], 'optionalCall', _73 => _73(result)]);
1338
1342
  }
1339
1343
  return result;
1340
1344
  };
@@ -1350,13 +1354,13 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1350
1354
  if (!workspaceRoot3) {
1351
1355
  throw new Error("Cannot find Nx workspace root");
1352
1356
  }
1353
- const config = await _chunkH2ML72QFjs.getConfig.call(void 0, workspaceRoot3.dir);
1354
- _chunkFK6PN2T3js.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1355
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, "Build options resolution");
1357
+ const config = await _chunkR32N7B24js.getConfig.call(void 0, workspaceRoot3.dir);
1358
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1359
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, "Build options resolution");
1356
1360
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1357
1361
  exitOnError: true
1358
1362
  });
1359
- const projectJsonPath = _chunkFK6PN2T3js.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1363
+ const projectJsonPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, workspaceRoot3.dir, projectRoot, "project.json");
1360
1364
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
1361
1365
  throw new Error("Cannot find project.json configuration");
1362
1366
  }
@@ -1364,13 +1368,13 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1364
1368
  const projectJson = JSON.parse(projectJsonFile);
1365
1369
  const projectName = projectJson.name;
1366
1370
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
1367
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _70 => _70.projects, 'optionalAccess', _71 => _71[projectName]])) {
1371
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _74 => _74.projects, 'optionalAccess', _75 => _75[projectName]])) {
1368
1372
  throw new Error("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.");
1369
1373
  }
1370
1374
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
1371
1375
  options.name ??= `${projectName}-${options.format}`;
1372
1376
  options.target ??= DEFAULT_TARGET;
1373
- const packageJsonPath = _chunkFK6PN2T3js.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1377
+ const packageJsonPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, workspaceRoot3.dir, options.projectRoot, "package.json");
1374
1378
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1375
1379
  throw new Error("Cannot find package.json configuration");
1376
1380
  }
@@ -1387,19 +1391,19 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1387
1391
  "main"
1388
1392
  ],
1389
1393
  ...userOptions,
1390
- tsconfig: _chunkFK6PN2T3js.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1394
+ tsconfig: _chunkHWJBDRIGjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
1391
1395
  format: options.format || "cjs",
1392
1396
  entryPoints: await getEntryPoints(config, projectRoot, projectJson.sourceRoot, _nullishCoalesce(userOptions.entry, () => ( "./src/index.ts")), userOptions.emitOnAll === true),
1393
- outdir: userOptions.outputPath || _chunkFK6PN2T3js.joinPaths.call(void 0, "dist", projectRoot),
1397
+ outdir: userOptions.outputPath || _chunkHWJBDRIGjs.joinPaths.call(void 0, "dist", projectRoot),
1394
1398
  distDir: userOptions.distDir || "dist",
1395
1399
  plugins: [],
1396
1400
  name: userOptions.name || projectName,
1397
1401
  projectConfigurations,
1398
1402
  projectName,
1399
1403
  projectGraph,
1400
- sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkFK6PN2T3js.joinPaths.call(void 0, projectRoot, "src"),
1404
+ sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkHWJBDRIGjs.joinPaths.call(void 0, projectRoot, "src"),
1401
1405
  minify: userOptions.minify || !userOptions.debug,
1402
- verbose: userOptions.verbose || _chunkFK6PN2T3js.isVerbose.call(void 0, ) || userOptions.debug === true,
1406
+ verbose: userOptions.verbose || _chunkHWJBDRIGjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1403
1407
  includeSrc: userOptions.includeSrc === true,
1404
1408
  metafile: userOptions.metafile !== false,
1405
1409
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1435,13 +1439,18 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1435
1439
  }, {})
1436
1440
  },
1437
1441
  inject: [
1438
- options.format === "cjs" && options.injectShims ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : void 0,
1439
- options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : void 0
1442
+ options.format === "cjs" && options.injectShims ? _chunkHWJBDRIGjs.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : void 0,
1443
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkHWJBDRIGjs.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : void 0
1440
1444
  ].filter(Boolean)
1441
1445
  };
1442
1446
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
1443
1447
  if (options.inject && Array.isArray(options.inject) && options.inject.length > 0) {
1444
- result.inject = _defu2.default.call(void 0, result.inject, options.inject);
1448
+ result.inject = options.inject.reduce((ret, inj) => {
1449
+ if (inj && typeof inj === "string" && ret.includes(inj)) {
1450
+ ret.push(inj);
1451
+ }
1452
+ return ret;
1453
+ }, result.inject);
1445
1454
  }
1446
1455
  delete result.entry;
1447
1456
  delete result.outputPath;
@@ -1449,14 +1458,14 @@ var resolveOptions = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, async
1449
1458
  return result;
1450
1459
  }, "resolveOptions");
1451
1460
  async function generatePackageJson(context2) {
1452
- if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1453
- _chunkFK6PN2T3js.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1454
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, "Write package.json file");
1455
- const packageJsonPath = _chunkFK6PN2T3js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1461
+ if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1462
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1463
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, "Write package.json file");
1464
+ const packageJsonPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1456
1465
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1457
1466
  throw new Error("Cannot find package.json configuration");
1458
1467
  }
1459
- const packageJsonFile = await _promises2.default.readFile(_chunkFK6PN2T3js.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
1468
+ const packageJsonFile = await _promises2.default.readFile(_chunkHWJBDRIGjs.joinPaths.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, "package.json"), "utf8");
1460
1469
  let packageJson = JSON.parse(packageJsonFile);
1461
1470
  if (!packageJson) {
1462
1471
  throw new Error("Cannot find package.json configuration file");
@@ -1498,7 +1507,7 @@ async function generatePackageJson(context2) {
1498
1507
  }
1499
1508
  return ret;
1500
1509
  }, packageJson.exports);
1501
- await _devkit.writeJsonFile.call(void 0, _chunkFK6PN2T3js.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
1510
+ await _devkit.writeJsonFile.call(void 0, _chunkHWJBDRIGjs.joinPaths.call(void 0, context2.options.outdir, "package.json"), packageJson);
1502
1511
  stopwatch();
1503
1512
  }
1504
1513
  return context2;
@@ -1524,8 +1533,8 @@ async function generateContext(getOptions) {
1524
1533
  }
1525
1534
  _chunkJ5SB6L2Ljs.__name.call(void 0, generateContext, "generateContext");
1526
1535
  async function executeEsBuild(context2) {
1527
- _chunkFK6PN2T3js.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1528
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, `${context2.options.name} build`);
1536
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1537
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1529
1538
  if (process.env.STORM_WATCH) {
1530
1539
  const ctx = await esbuild2.context(context2.options);
1531
1540
  watch(ctx, context2.options);
@@ -1533,7 +1542,11 @@ async function executeEsBuild(context2) {
1533
1542
  const options = {
1534
1543
  ...context2.options
1535
1544
  };
1536
- options.outdir = _chunkFK6PN2T3js.joinPaths.call(void 0, context2.options.outdir, context2.options.distDir);
1545
+ options.outdir = _chunkHWJBDRIGjs.joinPaths.call(void 0, context2.options.outdir, context2.options.distDir);
1546
+ if (!options.inject || !Array.isArray(options.inject) || options.inject.length === 0 || // eslint-disable-next-line no-constant-binary-expression, @typescript-eslint/no-explicit-any
1547
+ options.inject === {}) {
1548
+ delete options.inject;
1549
+ }
1537
1550
  delete options.env;
1538
1551
  delete options.name;
1539
1552
  delete options.assets;
@@ -1555,8 +1568,8 @@ async function executeEsBuild(context2) {
1555
1568
  delete options.config;
1556
1569
  delete options.injectShims;
1557
1570
  delete options.external;
1558
- _chunkFK6PN2T3js.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1559
- ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, options)}`, context2.options.config);
1571
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1572
+ ${_chunkHWJBDRIGjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
1560
1573
  const result = await esbuild2.build(options);
1561
1574
  await esbuild2.stop();
1562
1575
  if (result.metafile) {
@@ -1568,9 +1581,9 @@ ${_chunkFK6PN2T3js.formatLogMessage.call(void 0, options)}`, context2.options.co
1568
1581
  }
1569
1582
  _chunkJ5SB6L2Ljs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1570
1583
  async function copyBuildAssets(context2) {
1571
- if (_optionalChain([context2, 'access', _72 => _72.result, 'optionalAccess', _73 => _73.errors, 'access', _74 => _74.length]) === 0) {
1572
- _chunkFK6PN2T3js.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1573
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1584
+ if (_optionalChain([context2, 'access', _76 => _76.result, 'optionalAccess', _77 => _77.errors, 'access', _78 => _78.length]) === 0) {
1585
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1586
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1574
1587
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
1575
1588
  stopwatch();
1576
1589
  }
@@ -1578,11 +1591,11 @@ async function copyBuildAssets(context2) {
1578
1591
  }
1579
1592
  _chunkJ5SB6L2Ljs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1580
1593
  async function reportResults(context2) {
1581
- if (_optionalChain([context2, 'access', _75 => _75.result, 'optionalAccess', _76 => _76.errors, 'access', _77 => _77.length]) === 0) {
1594
+ if (_optionalChain([context2, 'access', _79 => _79.result, 'optionalAccess', _80 => _80.errors, 'access', _81 => _81.length]) === 0) {
1582
1595
  if (context2.result.warnings.length > 0) {
1583
- _chunkFK6PN2T3js.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1596
+ _chunkHWJBDRIGjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1584
1597
  }
1585
- _chunkFK6PN2T3js.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1598
+ _chunkHWJBDRIGjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1586
1599
  }
1587
1600
  }
1588
1601
  _chunkJ5SB6L2Ljs.__name.call(void 0, reportResults, "reportResults");
@@ -1618,8 +1631,8 @@ async function dependencyCheck(options) {
1618
1631
  _chunkJ5SB6L2Ljs.__name.call(void 0, dependencyCheck, "dependencyCheck");
1619
1632
  async function cleanOutputPath(context2) {
1620
1633
  if (context2.options.clean !== false && context2.options.outdir) {
1621
- _chunkFK6PN2T3js.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1622
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1634
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1635
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1623
1636
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
1624
1637
  stopwatch();
1625
1638
  }
@@ -1627,8 +1640,8 @@ async function cleanOutputPath(context2) {
1627
1640
  }
1628
1641
  _chunkJ5SB6L2Ljs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
1629
1642
  async function build3(options) {
1630
- _chunkFK6PN2T3js.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1631
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, "ESBuild pipeline");
1643
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1644
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, "ESBuild pipeline");
1632
1645
  try {
1633
1646
  const opts = Array.isArray(options) ? options : [
1634
1647
  options
@@ -1638,9 +1651,9 @@ async function build3(options) {
1638
1651
  }
1639
1652
  void transduce.async(opts, dependencyCheck);
1640
1653
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
1641
- _chunkFK6PN2T3js.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1654
+ _chunkHWJBDRIGjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1642
1655
  } catch (error) {
1643
- _chunkFK6PN2T3js.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1656
+ _chunkHWJBDRIGjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1644
1657
  throw error;
1645
1658
  } finally {
1646
1659
  stopwatch();
@@ -1668,9 +1681,9 @@ var watch = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (context2, opti
1668
1681
  return context2.rebuild();
1669
1682
  });
1670
1683
  if (rebuildResult instanceof Error) {
1671
- _chunkFK6PN2T3js.writeError.call(void 0, rebuildResult.message);
1684
+ _chunkHWJBDRIGjs.writeError.call(void 0, rebuildResult.message);
1672
1685
  }
1673
- _chunkFK6PN2T3js.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1686
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1674
1687
  }, 10);
1675
1688
  changeWatcher.on("change", fastRebuild);
1676
1689
  return void 0;
@@ -1678,15 +1691,15 @@ var watch = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (context2, opti
1678
1691
 
1679
1692
  // ../workspace-tools/src/executors/esbuild/executor.ts
1680
1693
  async function esbuildExecutorFn(options, context2, config) {
1681
- _chunkFK6PN2T3js.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1682
- if (!_optionalChain([context2, 'access', _78 => _78.projectsConfigurations, 'optionalAccess', _79 => _79.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _80 => _80.projectsConfigurations, 'access', _81 => _81.projects, 'access', _82 => _82[context2.projectName], 'optionalAccess', _83 => _83.root])) {
1694
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1695
+ if (!_optionalChain([context2, 'access', _82 => _82.projectsConfigurations, 'optionalAccess', _83 => _83.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _84 => _84.projectsConfigurations, 'access', _85 => _85.projects, 'access', _86 => _86[context2.projectName], 'optionalAccess', _87 => _87.root])) {
1683
1696
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1684
1697
  }
1685
1698
  await build3({
1686
1699
  ...options,
1687
- projectRoot: _optionalChain([context2, 'access', _84 => _84.projectsConfigurations, 'access', _85 => _85.projects, 'optionalAccess', _86 => _86[context2.projectName], 'access', _87 => _87.root]),
1700
+ projectRoot: _optionalChain([context2, 'access', _88 => _88.projectsConfigurations, 'access', _89 => _89.projects, 'optionalAccess', _90 => _90[context2.projectName], 'access', _91 => _91.root]),
1688
1701
  projectName: context2.projectName,
1689
- sourceRoot: _optionalChain([context2, 'access', _88 => _88.projectsConfigurations, 'access', _89 => _89.projects, 'optionalAccess', _90 => _90[context2.projectName], 'optionalAccess', _91 => _91.sourceRoot]),
1702
+ sourceRoot: _optionalChain([context2, 'access', _92 => _92.projectsConfigurations, 'access', _93 => _93.projects, 'optionalAccess', _94 => _94[context2.projectName], 'optionalAccess', _95 => _95.sourceRoot]),
1690
1703
  format: options.format,
1691
1704
  platform: options.format
1692
1705
  });
@@ -1729,18 +1742,18 @@ var _esbuildwhy = require('@size-limit/esbuild-why'); var _esbuildwhy2 = _intero
1729
1742
  var _file = require('@size-limit/file'); var _file2 = _interopRequireDefault(_file);
1730
1743
  var _sizelimit = require('size-limit'); var _sizelimit2 = _interopRequireDefault(_sizelimit);
1731
1744
  async function sizeLimitExecutorFn(options, context2, config) {
1732
- if (!_optionalChain([context2, 'optionalAccess', _92 => _92.projectName]) || !_optionalChain([context2, 'access', _93 => _93.projectsConfigurations, 'optionalAccess', _94 => _94.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1745
+ if (!_optionalChain([context2, 'optionalAccess', _96 => _96.projectName]) || !_optionalChain([context2, 'access', _97 => _97.projectsConfigurations, 'optionalAccess', _98 => _98.projects]) || !context2.projectsConfigurations.projects[context2.projectName]) {
1733
1746
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
1734
1747
  }
1735
- _chunkFK6PN2T3js.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
1748
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context2.projectName}`, config);
1736
1749
  _sizelimit2.default.call(void 0, [
1737
1750
  _file2.default,
1738
1751
  _esbuild3.default,
1739
1752
  _esbuildwhy2.default
1740
1753
  ], {
1741
- checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _95 => _95.projectsConfigurations, 'access', _96 => _96.projects, 'access', _97 => _97[context2.projectName], 'optionalAccess', _98 => _98.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _99 => _99.projectsConfigurations, 'access', _100 => _100.projects, 'access', _101 => _101[context2.projectName], 'optionalAccess', _102 => _102.root]), () => ( "./")), "src")))
1754
+ checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context2, 'access', _99 => _99.projectsConfigurations, 'access', _100 => _100.projects, 'access', _101 => _101[context2.projectName], 'optionalAccess', _102 => _102.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context2, 'access', _103 => _103.projectsConfigurations, 'access', _104 => _104.projects, 'access', _105 => _105[context2.projectName], 'optionalAccess', _106 => _106.root]), () => ( "./")), "src")))
1742
1755
  }).then((result) => {
1743
- _chunkFK6PN2T3js.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1756
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, `\u{1F4CF} ${context2.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
1744
1757
  });
1745
1758
  return {
1746
1759
  success: true
@@ -1761,11 +1774,11 @@ var _fsextra = require('fs-extra');
1761
1774
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
1762
1775
  async function typiaExecutorFn(options, _, config) {
1763
1776
  if (options.clean !== false) {
1764
- _chunkFK6PN2T3js.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1777
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
1765
1778
  _fsextra.removeSync.call(void 0, options.outputPath);
1766
1779
  }
1767
1780
  await Promise.all(options.entry.map((entry) => {
1768
- _chunkFK6PN2T3js.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1781
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
1769
1782
  return _TypiaProgrammerjs.TypiaProgrammer.build({
1770
1783
  input: entry,
1771
1784
  output: options.outputPath,
@@ -1796,8 +1809,8 @@ var executor_default8 = withRunExecutor("Typia runtime validation generator", ty
1796
1809
 
1797
1810
  var _jiti = require('jiti');
1798
1811
  async function unbuildExecutorFn(options, context2, config) {
1799
- _chunkFK6PN2T3js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1800
- if (!_optionalChain([context2, 'access', _103 => _103.projectsConfigurations, 'optionalAccess', _104 => _104.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1812
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
1813
+ if (!_optionalChain([context2, 'access', _107 => _107.projectsConfigurations, 'optionalAccess', _108 => _108.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName]) {
1801
1814
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
1802
1815
  }
1803
1816
  if (!context2.projectsConfigurations.projects[context2.projectName].root) {
@@ -1807,7 +1820,7 @@ async function unbuildExecutorFn(options, context2, config) {
1807
1820
  throw new Error("The Build process failed because the project's source root is not valid. Please run this command from a workspace root directory.");
1808
1821
  }
1809
1822
  const jiti = _jiti.createJiti.call(void 0, config.workspaceRoot, {
1810
- fsCache: config.skipCache ? false : _chunkFK6PN2T3js.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti"),
1823
+ fsCache: config.skipCache ? false : _chunkHWJBDRIGjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti"),
1811
1824
  interopDefault: true
1812
1825
  });
1813
1826
  const stormUnbuild = await jiti.import(jiti.esmResolve("@storm-software/unbuild/build"));
@@ -1820,7 +1833,7 @@ async function unbuildExecutorFn(options, context2, config) {
1820
1833
  }, {
1821
1834
  stubOptions: {
1822
1835
  jiti: {
1823
- fsCache: config.skipCache ? false : _chunkFK6PN2T3js.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti")
1836
+ fsCache: config.skipCache ? false : _chunkHWJBDRIGjs.joinPaths.call(void 0, config.workspaceRoot, config.directories.cache || "node_modules/.cache/storm", "jiti")
1824
1837
  }
1825
1838
  },
1826
1839
  rollup: {
@@ -1867,58 +1880,58 @@ var executor_default9 = withRunExecutor("TypeScript Unbuild build", unbuildExecu
1867
1880
  var withRunGenerator = /* @__PURE__ */ _chunkJ5SB6L2Ljs.__name.call(void 0, (name, generatorFn, generatorOptions = {
1868
1881
  skipReadingConfig: false
1869
1882
  }) => async (tree, _options) => {
1870
- const stopwatch = _chunkFK6PN2T3js.getStopwatch.call(void 0, name);
1883
+ const stopwatch = _chunkHWJBDRIGjs.getStopwatch.call(void 0, name);
1871
1884
  let options = _options;
1872
1885
  let config;
1873
1886
  try {
1874
- _chunkFK6PN2T3js.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1887
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
1875
1888
 
1876
1889
  `, config);
1877
- const workspaceRoot3 = _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, );
1890
+ const workspaceRoot3 = _chunkHWJBDRIGjs.findWorkspaceRoot.call(void 0, );
1878
1891
  if (!generatorOptions.skipReadingConfig) {
1879
- _chunkFK6PN2T3js.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
1892
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
1880
1893
  - workspaceRoot: ${workspaceRoot3}`, config);
1881
- config = await _chunkH2ML72QFjs.getConfig.call(void 0, workspaceRoot3);
1894
+ config = await _chunkR32N7B24js.getConfig.call(void 0, workspaceRoot3);
1882
1895
  }
1883
- if (_optionalChain([generatorOptions, 'optionalAccess', _105 => _105.hooks, 'optionalAccess', _106 => _106.applyDefaultOptions])) {
1884
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1896
+ if (_optionalChain([generatorOptions, 'optionalAccess', _109 => _109.hooks, 'optionalAccess', _110 => _110.applyDefaultOptions])) {
1897
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
1885
1898
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
1886
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1899
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
1887
1900
  }
1888
- _chunkFK6PN2T3js.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
1901
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
1889
1902
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
1890
1903
  const tokenized = await applyWorkspaceTokens(options, {
1891
1904
  workspaceRoot: tree.root,
1892
1905
  config
1893
1906
  }, applyWorkspaceBaseTokens);
1894
- if (_optionalChain([generatorOptions, 'optionalAccess', _107 => _107.hooks, 'optionalAccess', _108 => _108.preProcess])) {
1895
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the preProcess hook...", config);
1907
+ if (_optionalChain([generatorOptions, 'optionalAccess', _111 => _111.hooks, 'optionalAccess', _112 => _112.preProcess])) {
1908
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
1896
1909
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
1897
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the preProcess hook", config);
1910
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
1898
1911
  }
1899
1912
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
1900
1913
  if (result) {
1901
- if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _109 => _109.error, 'optionalAccess', _110 => _110.message]) && typeof _optionalChain([result, 'optionalAccess', _111 => _111.error, 'optionalAccess', _112 => _112.message]) === "string" && _optionalChain([result, 'optionalAccess', _113 => _113.error, 'optionalAccess', _114 => _114.name]) && typeof _optionalChain([result, 'optionalAccess', _115 => _115.error, 'optionalAccess', _116 => _116.name]) === "string") {
1914
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _113 => _113.error, 'optionalAccess', _114 => _114.message]) && typeof _optionalChain([result, 'optionalAccess', _115 => _115.error, 'optionalAccess', _116 => _116.message]) === "string" && _optionalChain([result, 'optionalAccess', _117 => _117.error, 'optionalAccess', _118 => _118.name]) && typeof _optionalChain([result, 'optionalAccess', _119 => _119.error, 'optionalAccess', _120 => _120.name]) === "string") {
1902
1915
  throw new Error(`The ${name} generator failed to run`, {
1903
- cause: _optionalChain([result, 'optionalAccess', _117 => _117.error])
1916
+ cause: _optionalChain([result, 'optionalAccess', _121 => _121.error])
1904
1917
  });
1905
1918
  } else if (result.success && result.data) {
1906
1919
  return result;
1907
1920
  }
1908
1921
  }
1909
- if (_optionalChain([generatorOptions, 'optionalAccess', _118 => _118.hooks, 'optionalAccess', _119 => _119.postProcess])) {
1910
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Running the postProcess hook...", config);
1922
+ if (_optionalChain([generatorOptions, 'optionalAccess', _122 => _122.hooks, 'optionalAccess', _123 => _123.postProcess])) {
1923
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
1911
1924
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
1912
- _chunkFK6PN2T3js.writeDebug.call(void 0, "Completed the postProcess hook", config);
1925
+ _chunkHWJBDRIGjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
1913
1926
  }
1914
1927
  return () => {
1915
- _chunkFK6PN2T3js.writeSuccess.call(void 0, `Completed running the ${name} generator!
1928
+ _chunkHWJBDRIGjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
1916
1929
  `, config);
1917
1930
  };
1918
1931
  } catch (error) {
1919
1932
  return () => {
1920
- _chunkFK6PN2T3js.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
1921
- _chunkFK6PN2T3js.writeError.call(void 0, `An exception was thrown in the generator's process
1933
+ _chunkHWJBDRIGjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
1934
+ _chunkHWJBDRIGjs.writeError.call(void 0, `An exception was thrown in the generator's process
1922
1935
  - Details: ${error.message}
1923
1936
  - Stacktrace: ${error.stack}`, config);
1924
1937
  };
@@ -1964,7 +1977,7 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1964
1977
  const projectConfig = {
1965
1978
  root: normalized.directory,
1966
1979
  projectType: "library",
1967
- sourceRoot: _chunkFK6PN2T3js.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1980
+ sourceRoot: _chunkHWJBDRIGjs.joinPaths.call(void 0, _nullishCoalesce(normalized.directory, () => ( "")), "src"),
1968
1981
  targets: {
1969
1982
  build: {
1970
1983
  executor: options.buildExecutor,
@@ -1973,11 +1986,11 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
1973
1986
  ],
1974
1987
  options: {
1975
1988
  entry: [
1976
- _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
1989
+ _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.projectRoot, "src", "index.ts")
1977
1990
  ],
1978
1991
  outputPath: getOutputPath(normalized),
1979
- tsconfig: _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1980
- project: _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1992
+ tsconfig: _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json"),
1993
+ project: _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.projectRoot, "package.json"),
1981
1994
  defaultConfiguration: "production",
1982
1995
  platform: "neutral",
1983
1996
  assets: [
@@ -2016,22 +2029,22 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2016
2029
  _devkit.addProjectConfiguration.call(void 0, tree, normalized.name, projectConfig);
2017
2030
  let repository = {
2018
2031
  type: "github",
2019
- url: _optionalChain([config, 'optionalAccess', _120 => _120.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _121 => _121.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _122 => _122.namespace]) || _optionalChain([config, 'optionalAccess', _123 => _123.name]) || "repository"}.git`
2032
+ url: _optionalChain([config, 'optionalAccess', _124 => _124.repository]) || `https://github.com/${_optionalChain([config, 'optionalAccess', _125 => _125.organization]) || "storm-software"}/${_optionalChain([config, 'optionalAccess', _126 => _126.namespace]) || _optionalChain([config, 'optionalAccess', _127 => _127.name]) || "repository"}.git`
2020
2033
  };
2021
2034
  let description = options.description || "A package developed by Storm Software used to create modern, scalable web applications.";
2022
2035
  if (tree.exists("package.json")) {
2023
2036
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2024
- if (_optionalChain([packageJson, 'optionalAccess', _124 => _124.repository])) {
2037
+ if (_optionalChain([packageJson, 'optionalAccess', _128 => _128.repository])) {
2025
2038
  repository = packageJson.repository;
2026
2039
  }
2027
- if (_optionalChain([packageJson, 'optionalAccess', _125 => _125.description])) {
2040
+ if (_optionalChain([packageJson, 'optionalAccess', _129 => _129.description])) {
2028
2041
  description = packageJson.description;
2029
2042
  }
2030
2043
  }
2031
2044
  if (!normalized.importPath) {
2032
2045
  normalized.importPath = normalized.name;
2033
2046
  }
2034
- const packageJsonPath = _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2047
+ const packageJsonPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.projectRoot, "package.json");
2035
2048
  if (tree.exists(packageJsonPath)) {
2036
2049
  _devkit.updateJson.call(void 0, tree, packageJsonPath, (json) => {
2037
2050
  if (!normalized.importPath) {
@@ -2079,30 +2092,30 @@ async function typeScriptLibraryGeneratorFn(tree, options, config) {
2079
2092
  _devkit.updateJson.call(void 0, tree, "package.json", (json) => ({
2080
2093
  ...json,
2081
2094
  pnpm: {
2082
- ..._optionalChain([json, 'optionalAccess', _126 => _126.pnpm]),
2095
+ ..._optionalChain([json, 'optionalAccess', _130 => _130.pnpm]),
2083
2096
  overrides: {
2084
- ..._optionalChain([json, 'optionalAccess', _127 => _127.pnpm, 'optionalAccess', _128 => _128.overrides]),
2097
+ ..._optionalChain([json, 'optionalAccess', _131 => _131.pnpm, 'optionalAccess', _132 => _132.overrides]),
2085
2098
  [_nullishCoalesce(normalized.importPath, () => ( ""))]: "workspace:*"
2086
2099
  }
2087
2100
  }
2088
2101
  }));
2089
2102
  }
2090
2103
  _js.addTsConfigPath.call(void 0, tree, normalized.importPath, [
2091
- _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
2104
+ _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.projectRoot, "./src", `index.${normalized.js ? "js" : "ts"}`)
2092
2105
  ]);
2093
- _js.addTsConfigPath.call(void 0, tree, _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.importPath, "/*"), [
2094
- _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2106
+ _js.addTsConfigPath.call(void 0, tree, _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.importPath, "/*"), [
2107
+ _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.projectRoot, "./src", "/*")
2095
2108
  ]);
2096
2109
  if (tree.exists("package.json")) {
2097
2110
  const packageJson = _devkit.readJson.call(void 0, tree, "package.json");
2098
- if (_optionalChain([packageJson, 'optionalAccess', _129 => _129.repository])) {
2111
+ if (_optionalChain([packageJson, 'optionalAccess', _133 => _133.repository])) {
2099
2112
  repository = packageJson.repository;
2100
2113
  }
2101
- if (_optionalChain([packageJson, 'optionalAccess', _130 => _130.description])) {
2114
+ if (_optionalChain([packageJson, 'optionalAccess', _134 => _134.description])) {
2102
2115
  description = packageJson.description;
2103
2116
  }
2104
2117
  }
2105
- const tsconfigPath = _chunkFK6PN2T3js.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2118
+ const tsconfigPath = _chunkHWJBDRIGjs.joinPaths.call(void 0, normalized.projectRoot, "tsconfig.json");
2106
2119
  if (tree.exists(tsconfigPath)) {
2107
2120
  _devkit.updateJson.call(void 0, tree, tsconfigPath, (json) => {
2108
2121
  json.composite ??= true;
@@ -2140,42 +2153,42 @@ function getOutputPath(options) {
2140
2153
  } else {
2141
2154
  parts.push(options.projectRoot);
2142
2155
  }
2143
- return _chunkFK6PN2T3js.joinPaths.call(void 0, ...parts);
2156
+ return _chunkHWJBDRIGjs.joinPaths.call(void 0, ...parts);
2144
2157
  }
2145
2158
  _chunkJ5SB6L2Ljs.__name.call(void 0, getOutputPath, "getOutputPath");
2146
2159
  function createProjectTsConfigJson(tree, options) {
2147
2160
  const tsconfig = {
2148
2161
  extends: options.rootProject ? void 0 : _js.getRelativePathToRootTsConfig.call(void 0, tree, options.projectRoot),
2149
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _131 => _131.tsconfigOptions]), () => ( {})),
2162
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _135 => _135.tsconfigOptions]), () => ( {})),
2150
2163
  compilerOptions: {
2151
2164
  ...options.rootProject ? _js.tsConfigBaseOptions : {},
2152
- outDir: _chunkFK6PN2T3js.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2165
+ outDir: _chunkHWJBDRIGjs.joinPaths.call(void 0, _devkit.offsetFromRoot.call(void 0, options.projectRoot), "dist/out-tsc"),
2153
2166
  noEmit: true,
2154
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _132 => _132.tsconfigOptions, 'optionalAccess', _133 => _133.compilerOptions]), () => ( {}))
2167
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _136 => _136.tsconfigOptions, 'optionalAccess', _137 => _137.compilerOptions]), () => ( {}))
2155
2168
  },
2156
2169
  files: [
2157
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _134 => _134.tsconfigOptions, 'optionalAccess', _135 => _135.files]), () => ( []))
2170
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _138 => _138.tsconfigOptions, 'optionalAccess', _139 => _139.files]), () => ( []))
2158
2171
  ],
2159
2172
  include: [
2160
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _136 => _136.tsconfigOptions, 'optionalAccess', _137 => _137.include]), () => ( [])),
2173
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _140 => _140.tsconfigOptions, 'optionalAccess', _141 => _141.include]), () => ( [])),
2161
2174
  "src/**/*.ts",
2162
2175
  "src/**/*.js",
2163
2176
  "bin/**/*"
2164
2177
  ],
2165
2178
  exclude: [
2166
- ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _138 => _138.tsconfigOptions, 'optionalAccess', _139 => _139.exclude]), () => ( [])),
2179
+ ..._nullishCoalesce(_optionalChain([options, 'optionalAccess', _142 => _142.tsconfigOptions, 'optionalAccess', _143 => _143.exclude]), () => ( [])),
2167
2180
  "jest.config.ts",
2168
2181
  "src/**/*.spec.ts",
2169
2182
  "src/**/*.test.ts"
2170
2183
  ]
2171
2184
  };
2172
- _devkit.writeJson.call(void 0, tree, _chunkFK6PN2T3js.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2185
+ _devkit.writeJson.call(void 0, tree, _chunkHWJBDRIGjs.joinPaths.call(void 0, options.projectRoot, "tsconfig.json"), tsconfig);
2173
2186
  }
2174
2187
  _chunkJ5SB6L2Ljs.__name.call(void 0, createProjectTsConfigJson, "createProjectTsConfigJson");
2175
2188
  async function normalizeOptions(tree, options, config) {
2176
2189
  let importPath = options.importPath;
2177
- if (!importPath && _optionalChain([config, 'optionalAccess', _140 => _140.namespace])) {
2178
- importPath = `@${_optionalChain([config, 'optionalAccess', _141 => _141.namespace])}/${options.name}`;
2190
+ if (!importPath && _optionalChain([config, 'optionalAccess', _144 => _144.namespace])) {
2191
+ importPath = `@${_optionalChain([config, 'optionalAccess', _145 => _145.namespace])}/${options.name}`;
2179
2192
  }
2180
2193
  if (options.publishable) {
2181
2194
  if (!importPath) {
@@ -2229,7 +2242,7 @@ _chunkJ5SB6L2Ljs.__name.call(void 0, normalizeOptions, "normalizeOptions");
2229
2242
 
2230
2243
  // ../workspace-tools/src/generators/browser-library/generator.ts
2231
2244
  async function browserLibraryGeneratorFn(tree, schema, config) {
2232
- const filesDir = _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
2245
+ const filesDir = _chunkHWJBDRIGjs.joinPaths.call(void 0, __dirname, "src", "generators", "browser-library", "files");
2233
2246
  const tsLibraryGeneratorOptions = {
2234
2247
  buildExecutor: "@storm-software/workspace-tools:unbuild",
2235
2248
  platform: "browser",
@@ -2301,19 +2314,19 @@ var generator_default = withRunGenerator("TypeScript Library Creator (Browser Pl
2301
2314
 
2302
2315
  var _zodtojsonschema = require('zod-to-json-schema');
2303
2316
  async function configSchemaGeneratorFn(tree, options, config) {
2304
- _chunkFK6PN2T3js.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
2305
- _chunkFK6PN2T3js.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
2306
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkFK6PN2T3js.StormConfigSchema, {
2317
+ _chunkHWJBDRIGjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
2318
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
2319
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkHWJBDRIGjs.stormWorkspaceConfigSchema, {
2307
2320
  name: "StormWorkspaceConfiguration"
2308
2321
  });
2309
- _chunkFK6PN2T3js.writeTrace.call(void 0, jsonSchema, config);
2310
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _142 => _142.workspaceRoot]), () => ( _chunkFK6PN2T3js.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _143 => _143.outputFile, 'optionalAccess', _144 => _144.startsWith, 'call', _145 => _145("./")]) ? "" : "./");
2311
- _chunkFK6PN2T3js.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2322
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, jsonSchema, config);
2323
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _146 => _146.workspaceRoot]), () => ( _chunkHWJBDRIGjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _147 => _147.outputFile, 'optionalAccess', _148 => _148.startsWith, 'call', _149 => _149("./")]) ? "" : "./");
2324
+ _chunkHWJBDRIGjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
2312
2325
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
2313
2326
  spaces: 2
2314
2327
  });
2315
2328
  await _devkit.formatFiles.call(void 0, tree);
2316
- _chunkFK6PN2T3js.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
2329
+ _chunkHWJBDRIGjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
2317
2330
  return {
2318
2331
  success: true
2319
2332
  };
@@ -2334,7 +2347,7 @@ var generator_default2 = withRunGenerator("Configuration Schema Creator", config
2334
2347
  // ../workspace-tools/src/generators/neutral-library/generator.ts
2335
2348
 
2336
2349
  async function neutralLibraryGeneratorFn(tree, schema, config) {
2337
- const filesDir = _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
2350
+ const filesDir = _chunkHWJBDRIGjs.joinPaths.call(void 0, __dirname, "src", "generators", "neutral-library", "files");
2338
2351
  const tsLibraryGeneratorOptions = {
2339
2352
  ...schema,
2340
2353
  platform: "neutral",
@@ -2377,7 +2390,7 @@ var generator_default3 = withRunGenerator("TypeScript Library Creator (Neutral P
2377
2390
  // ../workspace-tools/src/generators/node-library/generator.ts
2378
2391
 
2379
2392
  async function nodeLibraryGeneratorFn(tree, schema, config) {
2380
- const filesDir = _chunkFK6PN2T3js.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
2393
+ const filesDir = _chunkHWJBDRIGjs.joinPaths.call(void 0, __dirname, "src", "generators", "node-library", "files");
2381
2394
  const tsLibraryGeneratorOptions = {
2382
2395
  platform: "node",
2383
2396
  devDependencies: {