@storm-software/workspace-tools 1.230.0 → 1.230.1

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 (89) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-ESRRKJO5.mjs → chunk-357OS575.mjs} +2 -2
  4. package/dist/{chunk-TILR7372.js → chunk-3O66TDXL.js} +5 -5
  5. package/dist/{chunk-CT7IVPJY.js → chunk-3SXUH27J.js} +7 -7
  6. package/dist/{chunk-XSCTGWRG.mjs → chunk-46HPJEJW.mjs} +1 -1
  7. package/dist/{chunk-JGTW4AJ7.mjs → chunk-4CWRH5ZE.mjs} +1 -1
  8. package/dist/{chunk-UDAQKEJS.mjs → chunk-55PB3HGB.mjs} +1 -1
  9. package/dist/{chunk-B3KIYNGT.mjs → chunk-63CXRJMW.mjs} +1 -1
  10. package/dist/{chunk-DB7BVAE7.js → chunk-6NIVQXVH.js} +58 -86
  11. package/dist/{chunk-MSENNRAY.js → chunk-72H4B5NB.js} +17 -17
  12. package/dist/{chunk-OA7KWN7D.mjs → chunk-A5H74FJO.mjs} +1 -1
  13. package/dist/{chunk-B7LWGAUI.js → chunk-AP62YOGH.js} +5 -5
  14. package/dist/{chunk-I7OZOKTH.js → chunk-AXC2MN2T.js} +2 -2
  15. package/dist/{chunk-SFT3A33D.mjs → chunk-BCM66MXI.mjs} +1 -1
  16. package/dist/{chunk-NCVJPQSP.js → chunk-CXLDWFA3.js} +15 -15
  17. package/dist/{chunk-6B6IVIMQ.js → chunk-CZJZJQ6D.js} +2 -2
  18. package/dist/{chunk-3GVBGSCQ.js → chunk-DIPIPI7H.js} +2 -2
  19. package/dist/{chunk-JEV3GSS7.js → chunk-EI3PUSCC.js} +9 -9
  20. package/dist/{chunk-W4QV74K2.mjs → chunk-FAD3MJIO.mjs} +1 -1
  21. package/dist/{chunk-35B5C22H.mjs → chunk-H3UJL3I6.mjs} +2 -2
  22. package/dist/{chunk-DLO5NZQI.mjs → chunk-HLPAP24L.mjs} +3 -3
  23. package/dist/{chunk-ZXT33DDB.js → chunk-IR6D2ZXA.js} +2 -2
  24. package/dist/{chunk-36FMHXUD.js → chunk-IX2EZD3F.js} +4 -4
  25. package/dist/{chunk-6267MSX4.mjs → chunk-J4POXWGW.mjs} +1 -1
  26. package/dist/{chunk-JMWQGXHM.mjs → chunk-JAWTCSKA.mjs} +33 -61
  27. package/dist/{chunk-F5WI7VDM.js → chunk-K7MNWUOY.js} +2 -2
  28. package/dist/{chunk-WJ5TU6JU.mjs → chunk-KNXGOGL5.mjs} +4 -4
  29. package/dist/{chunk-GV44QHV3.mjs → chunk-KS44WFBU.mjs} +1 -1
  30. package/dist/{chunk-KLEKFCL2.js → chunk-LPWSHG6O.js} +2 -2
  31. package/dist/{chunk-FP4PPOO6.js → chunk-MBCXSLG7.js} +2 -2
  32. package/dist/{chunk-WTHELTBU.mjs → chunk-MPOEEZVK.mjs} +2 -2
  33. package/dist/{chunk-PS55UN6T.mjs → chunk-PE2DD2SV.mjs} +1 -1
  34. package/dist/{chunk-PMDV5GKD.js → chunk-PHWTI5FA.js} +2 -2
  35. package/dist/{chunk-T7IVGU7T.mjs → chunk-RMRYTZQJ.mjs} +3 -3
  36. package/dist/{chunk-MF4RRA4Q.mjs → chunk-SON5KDOS.mjs} +1 -1
  37. package/dist/{chunk-QMJ7P54Z.mjs → chunk-TIKTN6ZZ.mjs} +1 -1
  38. package/dist/{chunk-OESA3G7F.mjs → chunk-UHT3YMUI.mjs} +1 -1
  39. package/dist/{chunk-7MZQTO7J.js → chunk-X5FFOC7V.js} +11 -11
  40. package/dist/{chunk-DIODSFGH.js → chunk-XW4IO5F6.js} +41 -41
  41. package/dist/{chunk-ZCZVVZBX.js → chunk-YCJU7YTL.js} +2 -2
  42. package/dist/{chunk-OJ3R7YBK.js → chunk-ZHQOK3NF.js} +31 -31
  43. package/dist/executors.js +14 -14
  44. package/dist/executors.mjs +13 -13
  45. package/dist/generators.js +9 -9
  46. package/dist/generators.mjs +8 -8
  47. package/dist/index.js +21 -21
  48. package/dist/index.mjs +20 -20
  49. package/dist/src/base/base-executor.js +3 -3
  50. package/dist/src/base/base-executor.mjs +2 -2
  51. package/dist/src/base/base-generator.js +3 -3
  52. package/dist/src/base/base-generator.mjs +2 -2
  53. package/dist/src/base/index.js +4 -4
  54. package/dist/src/base/index.mjs +3 -3
  55. package/dist/src/executors/cargo-build/executor.js +4 -4
  56. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  57. package/dist/src/executors/cargo-check/executor.js +4 -4
  58. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  59. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  60. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  61. package/dist/src/executors/cargo-doc/executor.js +4 -4
  62. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  63. package/dist/src/executors/cargo-format/executor.js +4 -4
  64. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  65. package/dist/src/executors/clean-package/executor.js +5 -5
  66. package/dist/src/executors/clean-package/executor.mjs +2 -2
  67. package/dist/src/executors/esbuild/executor.js +5 -5
  68. package/dist/src/executors/esbuild/executor.mjs +4 -4
  69. package/dist/src/executors/size-limit/executor.js +4 -4
  70. package/dist/src/executors/size-limit/executor.mjs +3 -3
  71. package/dist/src/executors/tsdown/executor.js +5 -5
  72. package/dist/src/executors/tsdown/executor.mjs +4 -4
  73. package/dist/src/executors/typia/executor.js +4 -4
  74. package/dist/src/executors/typia/executor.mjs +3 -3
  75. package/dist/src/executors/unbuild/executor.js +5 -5
  76. package/dist/src/executors/unbuild/executor.mjs +4 -4
  77. package/dist/src/generators/browser-library/generator.js +4 -4
  78. package/dist/src/generators/browser-library/generator.mjs +3 -3
  79. package/dist/src/generators/config-schema/generator.js +4 -4
  80. package/dist/src/generators/config-schema/generator.mjs +3 -3
  81. package/dist/src/generators/neutral-library/generator.js +4 -4
  82. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  83. package/dist/src/generators/node-library/generator.js +4 -4
  84. package/dist/src/generators/node-library/generator.mjs +3 -3
  85. package/dist/src/generators/preset/generator.js +4 -4
  86. package/dist/src/generators/preset/generator.mjs +3 -3
  87. package/dist/src/generators/release-version/generator.js +3 -3
  88. package/dist/src/generators/release-version/generator.mjs +2 -2
  89. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkNCVJPQSPjs = require('./chunk-NCVJPQSP.js');
7
+ var _chunkCXLDWFA3js = require('./chunk-CXLDWFA3.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -232,7 +232,7 @@ async function presetGeneratorFn(tree, options) {
232
232
  return null;
233
233
  }
234
234
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
235
- var generator_default = _chunkNCVJPQSPjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
235
+ var generator_default = _chunkCXLDWFA3js.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
236
236
 
237
237
 
238
238
 
@@ -6,10 +6,10 @@ import {
6
6
  copyAssets,
7
7
  getEntryPoints,
8
8
  getEnv
9
- } from "./chunk-UDAQKEJS.mjs";
9
+ } from "./chunk-55PB3HGB.mjs";
10
10
  import {
11
11
  withRunExecutor
12
- } from "./chunk-6267MSX4.mjs";
12
+ } from "./chunk-J4POXWGW.mjs";
13
13
  import {
14
14
  getStopwatch,
15
15
  isVerbose,
@@ -19,7 +19,7 @@ import {
19
19
  writeInfo,
20
20
  writeSuccess,
21
21
  writeWarning
22
- } from "./chunk-WJ5TU6JU.mjs";
22
+ } from "./chunk-KNXGOGL5.mjs";
23
23
  import {
24
24
  joinPaths
25
25
  } from "./chunk-PVTEDLBL.mjs";
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-WJ5TU6JU.mjs";
16
+ } from "./chunk-KNXGOGL5.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-DMUTOQCB.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-B3KIYNGT.mjs";
7
+ } from "./chunk-63CXRJMW.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-6267MSX4.mjs";
7
+ } from "./chunk-J4POXWGW.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
16
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
17
17
 
18
18
 
19
19
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -248,16 +248,16 @@ var _version = require('nx/src/command-line/release/version');
248
248
  var _utils = require('nx/src/tasks-runner/utils');
249
249
  var _semver3 = require('semver');
250
250
  async function releaseVersionGeneratorFn(tree, options, config) {
251
- _chunk36FMHXUDjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
251
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
252
252
 
253
253
  `, config);
254
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Storm Release Version generator");
254
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Storm Release Version generator");
255
255
  try {
256
256
  const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
257
- _chunk36FMHXUDjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
257
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
258
258
  - workspaceRoot: ${workspaceRoot}`, config);
259
- config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, workspaceRoot);
260
- _chunk36FMHXUDjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
259
+ config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot);
260
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
261
261
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
262
262
  const versionData = {};
263
263
  if (options.specifier) {
@@ -307,9 +307,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
307
307
  }
308
308
  const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
309
309
  const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
310
- _chunk36FMHXUDjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
310
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
311
311
  }, "log");
312
- _chunk36FMHXUDjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
312
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
313
313
  let packageName;
314
314
  let currentVersionFromDisk;
315
315
  if (tree.exists(packageJsonPath)) {
@@ -583,7 +583,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
583
583
  }
584
584
  }
585
585
  await _devkit.formatFiles.call(void 0, tree);
586
- _chunk36FMHXUDjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
586
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
587
587
  `, config);
588
588
  return {
589
589
  data: versionData,
@@ -617,8 +617,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
617
617
  }, "callback")
618
618
  };
619
619
  } catch (error) {
620
- _chunk36FMHXUDjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
- _chunk36FMHXUDjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
620
+ _chunkIX2EZD3Fjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
+ _chunkIX2EZD3Fjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
622
622
  - Details: ${error.message}
623
623
  - Stacktrace: ${error.stack}`, config);
624
624
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkCT7IVPJYjs = require('./chunk-CT7IVPJY.js');
11
+ var _chunk3SXUH27Jjs = require('./chunk-3SXUH27J.js');
12
12
 
13
13
 
14
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
14
+ var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
15
15
 
16
16
 
17
17
 
@@ -23,7 +23,7 @@ var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
23
23
 
24
24
 
25
25
 
26
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
26
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
27
27
 
28
28
 
29
29
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -208,8 +208,8 @@ var RendererEngine = class {
208
208
  // ../esbuild/src/clean.ts
209
209
 
210
210
  async function clean(name = "ESBuild", directory, config) {
211
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
212
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${name} output clean`);
211
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
212
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${name} output clean`);
213
213
  await _node.hfs.deleteAll(directory);
214
214
  stopwatch();
215
215
  }
@@ -330,7 +330,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
330
330
  setup(build4) {
331
331
  build4.onEnd((result) => {
332
332
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
333
- _chunk36FMHXUDjs.writeError.call(void 0, `The following errors occurred during the build:
333
+ _chunkIX2EZD3Fjs.writeError.call(void 0, `The following errors occurred during the build:
334
334
  ${result.errors.map((error) => error.text).join("\n")}
335
335
 
336
336
  `, resolvedOptions.config);
@@ -438,7 +438,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
438
438
  localBuild: true
439
439
  });
440
440
  if (extractorResult.succeeded === false) {
441
- _chunk36FMHXUDjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
441
+ _chunkIX2EZD3Fjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
442
442
  throw new Error("API Extractor completed with errors");
443
443
  }
444
444
  }
@@ -487,7 +487,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, getTypeDependencyPackageName, "getTypeDepen
487
487
 
488
488
  // ../esbuild/src/config.ts
489
489
  var getOutputExtensionMap = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, pkgType) => {
490
- return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkCT7IVPJYjs.getOutExtension.call(void 0, options.format, pkgType);
490
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunk3SXUH27Jjs.getOutExtension.call(void 0, options.format, pkgType);
491
491
  }, "getOutputExtensionMap");
492
492
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => [
493
493
  nodeProtocolPlugin(options, resolvedOptions),
@@ -535,7 +535,7 @@ var DEFAULT_BUILD_OPTIONS = {
535
535
  ".woff": "file",
536
536
  ".woff2": "file"
537
537
  },
538
- banner: _chunkCT7IVPJYjs.DEFAULT_COMPILED_BANNER
538
+ banner: _chunk3SXUH27Jjs.DEFAULT_COMPILED_BANNER
539
539
  };
540
540
 
541
541
  // ../esbuild/src/plugins/deps-check.ts
@@ -617,8 +617,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
617
617
  const filteredMissingDeps = missingDependencies.filter((dep) => {
618
618
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
619
619
  });
620
- _chunk36FMHXUDjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
621
- _chunk36FMHXUDjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
620
+ _chunkIX2EZD3Fjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
621
+ _chunkIX2EZD3Fjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
622
622
  if (filteredMissingDeps.length > 0) {
623
623
  throw new Error(`Missing dependencies detected - please install them:
624
624
  ${JSON.stringify(filteredMissingDeps)}
@@ -712,9 +712,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
712
712
  if (!workspaceRoot) {
713
713
  throw new Error("Cannot find Nx workspace root");
714
714
  }
715
- const config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, workspaceRoot.dir);
716
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
717
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Build options resolution");
715
+ const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot.dir);
716
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
717
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Build options resolution");
718
718
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
719
719
  exitOnError: true
720
720
  });
@@ -730,14 +730,14 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
730
730
  }
731
731
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
732
732
  options.name ??= `${projectName}-${options.format}`;
733
- options.target ??= _chunkCT7IVPJYjs.DEFAULT_TARGET;
733
+ options.target ??= _chunk3SXUH27Jjs.DEFAULT_TARGET;
734
734
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
735
735
  if (!await _node.hfs.isFile(packageJsonPath)) {
736
736
  throw new Error("Cannot find package.json configuration");
737
737
  }
738
738
  const packageJson = await _node.hfs.json(packageJsonPath);
739
739
  const outExtension = getOutputExtensionMap(options, packageJson.type);
740
- const env = _chunkCT7IVPJYjs.getEnv.call(void 0, "esbuild", options);
740
+ const env = _chunk3SXUH27Jjs.getEnv.call(void 0, "esbuild", options);
741
741
  const result = {
742
742
  ...options,
743
743
  config,
@@ -757,7 +757,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
757
757
  ...userOptions,
758
758
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
759
759
  format: options.format || "cjs",
760
- entryPoints: await _chunkCT7IVPJYjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
760
+ entryPoints: await _chunk3SXUH27Jjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
761
761
  "./src/index.ts"
762
762
  ], userOptions.emitOnAll),
763
763
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -768,7 +768,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
768
768
  projectGraph,
769
769
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
770
770
  minify: userOptions.minify || !userOptions.debug,
771
- verbose: userOptions.verbose || _chunk36FMHXUDjs.isVerbose.call(void 0, ) || userOptions.debug === true,
771
+ verbose: userOptions.verbose || _chunkIX2EZD3Fjs.isVerbose.call(void 0, ) || userOptions.debug === true,
772
772
  includeSrc: userOptions.includeSrc === true,
773
773
  metafile: userOptions.metafile !== false,
774
774
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -782,8 +782,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
782
782
  outExtension,
783
783
  footer: userOptions.footer,
784
784
  banner: {
785
- js: options.banner || _chunkCT7IVPJYjs.DEFAULT_COMPILED_BANNER,
786
- css: options.banner || _chunkCT7IVPJYjs.DEFAULT_COMPILED_BANNER
785
+ js: options.banner || _chunk3SXUH27Jjs.DEFAULT_COMPILED_BANNER,
786
+ css: options.banner || _chunk3SXUH27Jjs.DEFAULT_COMPILED_BANNER
787
787
  },
788
788
  splitting: options.format === "iife" ? false : typeof options.splitting === "boolean" ? options.splitting : options.format === "esm",
789
789
  treeShaking: options.format === "esm",
@@ -815,8 +815,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
815
815
  }, "resolveOptions");
816
816
  async function generatePackageJson(context2) {
817
817
  if (context2.options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
818
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
819
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Write package.json file");
818
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
819
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Write package.json file");
820
820
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
821
821
  if (!await _node.hfs.isFile(packageJsonPath)) {
822
822
  throw new Error("Cannot find package.json configuration");
@@ -825,11 +825,11 @@ async function generatePackageJson(context2) {
825
825
  if (!packageJson) {
826
826
  throw new Error("Cannot find package.json configuration file");
827
827
  }
828
- packageJson = await _chunkCT7IVPJYjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
- packageJson = await _chunkCT7IVPJYjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
828
+ packageJson = await _chunk3SXUH27Jjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
+ packageJson = await _chunk3SXUH27Jjs.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
830
830
  packageJson.exports ??= {};
831
831
  packageJson.exports["./package.json"] ??= "./package.json";
832
- packageJson.exports["."] ??= _chunkCT7IVPJYjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
832
+ packageJson.exports["."] ??= _chunk3SXUH27Jjs.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
833
833
  let entryPoints = [
834
834
  {
835
835
  in: "./src/index.ts",
@@ -847,7 +847,7 @@ async function generatePackageJson(context2) {
847
847
  const split = entryPoint.out.split(".");
848
848
  split.pop();
849
849
  const entry = split.join(".").replaceAll("\\", "/");
850
- packageJson.exports[`./${entry}`] ??= _chunkCT7IVPJYjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
850
+ packageJson.exports[`./${entry}`] ??= _chunk3SXUH27Jjs.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
851
851
  }
852
852
  }
853
853
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -885,8 +885,8 @@ async function generateContext(getOptions) {
885
885
  }
886
886
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
887
887
  async function executeEsBuild(context2) {
888
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
889
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${context2.options.name} build`);
888
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
889
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${context2.options.name} build`);
890
890
  if (process.env.WATCH === "true") {
891
891
  const ctx = await esbuild2.context(context2.options);
892
892
  watch(ctx, context2.options);
@@ -902,9 +902,9 @@ async function executeEsBuild(context2) {
902
902
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
903
903
  async function copyBuildAssets(context2) {
904
904
  if (_optionalChain([context2, 'access', _26 => _26.result, 'optionalAccess', _27 => _27.errors, 'access', _28 => _28.length]) === 0) {
905
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
906
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
907
- await _chunkCT7IVPJYjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
905
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
906
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
907
+ await _chunk3SXUH27Jjs.copyAssets.call(void 0, context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.projectName, context2.options.sourceRoot, true, false);
908
908
  stopwatch();
909
909
  }
910
910
  return context2;
@@ -913,9 +913,9 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
913
913
  async function reportResults(context2) {
914
914
  if (_optionalChain([context2, 'access', _29 => _29.result, 'optionalAccess', _30 => _30.errors, 'access', _31 => _31.length]) === 0) {
915
915
  if (context2.result.warnings.length > 0) {
916
- _chunk36FMHXUDjs.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);
916
+ _chunkIX2EZD3Fjs.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);
917
917
  }
918
- _chunk36FMHXUDjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
918
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
919
919
  }
920
920
  }
921
921
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -957,8 +957,8 @@ async function cleanOutputPath(context2) {
957
957
  }
958
958
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
959
959
  async function build3(options) {
960
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
961
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "ESBuild pipeline");
960
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
961
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "ESBuild pipeline");
962
962
  try {
963
963
  const opts = Array.isArray(options) ? options : [
964
964
  options
@@ -968,9 +968,9 @@ async function build3(options) {
968
968
  }
969
969
  void transduce.async(opts, dependencyCheck);
970
970
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
971
- _chunk36FMHXUDjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
971
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
972
972
  } catch (error) {
973
- _chunk36FMHXUDjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
973
+ _chunkIX2EZD3Fjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
974
974
  throw error;
975
975
  } finally {
976
976
  stopwatch();
@@ -998,9 +998,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
998
998
  return context2.rebuild();
999
999
  });
1000
1000
  if (rebuildResult instanceof Error) {
1001
- _chunk36FMHXUDjs.writeError.call(void 0, rebuildResult.message);
1001
+ _chunkIX2EZD3Fjs.writeError.call(void 0, rebuildResult.message);
1002
1002
  }
1003
- _chunk36FMHXUDjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1003
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1004
1004
  }, 10);
1005
1005
  changeWatcher.on("change", fastRebuild);
1006
1006
  return void 0;
@@ -1008,7 +1008,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1008
1008
 
1009
1009
  // src/executors/esbuild/executor.ts
1010
1010
  async function esbuildExecutorFn(options, context2, config) {
1011
- _chunk36FMHXUDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1011
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1012
1012
  if (!_optionalChain([context2, 'access', _32 => _32.projectsConfigurations, 'optionalAccess', _33 => _33.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _34 => _34.projectsConfigurations, 'access', _35 => _35.projects, 'access', _36 => _36[context2.projectName], 'optionalAccess', _37 => _37.root])) {
1013
1013
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1014
1014
  }
@@ -1025,7 +1025,7 @@ async function esbuildExecutorFn(options, context2, config) {
1025
1025
  };
1026
1026
  }
1027
1027
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1028
- var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1028
+ var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1029
1029
  skipReadingConfig: false,
1030
1030
  hooks: {
1031
1031
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
7
+ var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoFormatExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoFormatExecutor, "cargoFormatExecutor");
18
- var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkCT7IVPJYjs = require('./chunk-CT7IVPJY.js');
9
+ var _chunk3SXUH27Jjs = require('./chunk-3SXUH27J.js');
10
10
 
11
11
 
12
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
12
+ var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
19
19
 
20
20
 
21
21
 
22
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
22
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
23
23
 
24
24
 
25
25
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -37,8 +37,8 @@ var _tsdown = require('tsdown');
37
37
  // ../tsdown/src/clean.ts
38
38
 
39
39
  async function clean(name = "ESBuild", directory, config) {
40
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${name} output clean`);
40
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${name} output clean`);
42
42
  await _node.hfs.deleteAll(directory);
43
43
  stopwatch();
44
44
  }
@@ -73,9 +73,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
73
73
  if (!workspaceRoot) {
74
74
  throw new Error("Cannot find Nx workspace root");
75
75
  }
76
- const config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Build options resolution");
76
+ const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Build options resolution");
79
79
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
80
80
  exitOnError: true
81
81
  });
@@ -91,19 +91,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
91
91
  }
92
92
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
93
93
  options.name ??= `${projectName}-${options.format}`;
94
- options.target ??= _chunkCT7IVPJYjs.DEFAULT_TARGET;
94
+ options.target ??= _chunk3SXUH27Jjs.DEFAULT_TARGET;
95
95
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
96
96
  if (!await _node.hfs.isFile(packageJsonPath)) {
97
97
  throw new Error("Cannot find package.json configuration");
98
98
  }
99
- const env = _chunkCT7IVPJYjs.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunk3SXUH27Jjs.getEnv.call(void 0, "tsdown", options);
100
100
  const result = {
101
101
  ...options,
102
102
  config,
103
103
  ...userOptions,
104
104
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
105
105
  format: options.format || "cjs",
106
- entryPoints: await _chunkCT7IVPJYjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunk3SXUH27Jjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
107
107
  "./src/index.ts"
108
108
  ], userOptions.emitOnAll),
109
109
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -114,7 +114,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
114
114
  projectGraph,
115
115
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
116
116
  minify: userOptions.minify || !userOptions.debug,
117
- verbose: userOptions.verbose || _chunk36FMHXUDjs.isVerbose.call(void 0, ) || userOptions.debug === true,
117
+ verbose: userOptions.verbose || _chunkIX2EZD3Fjs.isVerbose.call(void 0, ) || userOptions.debug === true,
118
118
  includeSrc: userOptions.includeSrc === true,
119
119
  metafile: userOptions.metafile !== false,
120
120
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -149,8 +149,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
149
149
  }, "resolveOptions");
150
150
  async function generatePackageJson(options) {
151
151
  if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
152
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Write package.json file");
152
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Write package.json file");
154
154
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
155
155
  if (!await _node.hfs.isFile(packageJsonPath)) {
156
156
  throw new Error("Cannot find package.json configuration");
@@ -159,11 +159,11 @@ async function generatePackageJson(options) {
159
159
  if (!packageJson) {
160
160
  throw new Error("Cannot find package.json configuration file");
161
161
  }
162
- packageJson = await _chunkCT7IVPJYjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunkCT7IVPJYjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunk3SXUH27Jjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunk3SXUH27Jjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
164
164
  packageJson.exports ??= {};
165
165
  packageJson.exports["./package.json"] ??= "./package.json";
166
- packageJson.exports["."] ??= _chunkCT7IVPJYjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunk3SXUH27Jjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
167
167
  let entryPoints = [
168
168
  {
169
169
  in: "./src/index.ts",
@@ -181,7 +181,7 @@ async function generatePackageJson(options) {
181
181
  const split = entryPoint.out.split(".");
182
182
  split.pop();
183
183
  const entry = split.join(".").replaceAll("\\", "/");
184
- packageJson.exports[`./${entry}`] ??= _chunkCT7IVPJYjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunk3SXUH27Jjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
185
185
  }
186
186
  }
187
187
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -200,8 +200,8 @@ async function generatePackageJson(options) {
200
200
  }
201
201
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
202
202
  async function executeTSDown(options) {
203
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${options.name} build`);
203
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} build`);
205
205
  await _tsdown.build.call(void 0, {
206
206
  ...options,
207
207
  entry: options.entryPoints,
@@ -213,15 +213,15 @@ async function executeTSDown(options) {
213
213
  }
214
214
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunkCT7IVPJYjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
216
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
+ await _chunk3SXUH27Jjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
222
222
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
223
223
  async function reportResults(options) {
224
- _chunk36FMHXUDjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
224
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
225
225
  }
226
226
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
227
227
  async function cleanOutputPath(options) {
@@ -232,8 +232,8 @@ async function cleanOutputPath(options) {
232
232
  }
233
233
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
234
234
  async function build(options) {
235
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "TSDown pipeline");
235
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "TSDown pipeline");
237
237
  try {
238
238
  const opts = Array.isArray(options) ? options : [
239
239
  options
@@ -251,11 +251,11 @@ async function build(options) {
251
251
  await reportResults(opt);
252
252
  }));
253
253
  } else {
254
- _chunk36FMHXUDjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
254
+ _chunkIX2EZD3Fjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
255
255
  }
256
- _chunk36FMHXUDjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
256
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
257
257
  } catch (error) {
258
- _chunk36FMHXUDjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
258
+ _chunkIX2EZD3Fjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
259
259
  throw error;
260
260
  } finally {
261
261
  stopwatch();
@@ -265,7 +265,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
265
265
 
266
266
  // src/executors/tsdown/executor.ts
267
267
  async function tsdownExecutorFn(options, context, config) {
268
- _chunk36FMHXUDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
268
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
269
269
  if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
270
270
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
271
271
  }
@@ -282,7 +282,7 @@ async function tsdownExecutorFn(options, context, config) {
282
282
  };
283
283
  }
284
284
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
285
- var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
285
+ var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
286
286
  skipReadingConfig: false,
287
287
  hooks: {
288
288
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {