@storm-software/workspace-tools 1.234.0 → 1.234.2

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 (97) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-VWJEKC3P.mjs → chunk-2VVJ73GY.mjs} +3 -3
  4. package/dist/{chunk-BANJXE74.js → chunk-4Q72QV36.js} +3 -3
  5. package/dist/{chunk-OH2QVCID.js → chunk-4XNHDVNL.js} +5 -5
  6. package/dist/{chunk-DOQEFB3U.js → chunk-5E43WELP.js} +5 -5
  7. package/dist/{chunk-QQHYWAVX.mjs → chunk-72NN2WXJ.mjs} +3 -3
  8. package/dist/{chunk-MVCUW6FQ.js → chunk-AVNWYF4W.js} +31 -31
  9. package/dist/{chunk-A3SB76KG.js → chunk-BCLA6IJA.js} +3 -3
  10. package/dist/{chunk-WWSP3KEN.mjs → chunk-CMJNXT73.mjs} +7 -7
  11. package/dist/{chunk-IIMNDUXX.js → chunk-CR3474CZ.js} +9 -9
  12. package/dist/{chunk-YFIHF222.js → chunk-DPZGOT3C.js} +2 -2
  13. package/dist/{chunk-XOIDDNCA.mjs → chunk-EGVA5PP4.mjs} +1 -1
  14. package/dist/{chunk-7PETCK66.js → chunk-G52PV2C4.js} +41 -41
  15. package/dist/{chunk-2NYBFBUU.js → chunk-GGUW7XKH.js} +3 -3
  16. package/dist/{chunk-Y2LDGJCA.js → chunk-GY2WLGUT.js} +3 -3
  17. package/dist/{chunk-AKLDSJTD.mjs → chunk-H3XJJKXF.mjs} +3 -3
  18. package/dist/{chunk-CNX755OY.mjs → chunk-H6T5R4GY.mjs} +3 -3
  19. package/dist/{chunk-2DNLATEG.mjs → chunk-IOCGVIIK.mjs} +1 -1
  20. package/dist/{chunk-VVHGKFCB.mjs → chunk-IYCUBLGZ.mjs} +2 -2
  21. package/dist/{chunk-UW6T77HF.js → chunk-K5Q4B5PP.js} +15 -15
  22. package/dist/{chunk-ZPQJ7P6C.mjs → chunk-L5S3FKZX.mjs} +3 -3
  23. package/dist/{chunk-FQCHDI2P.js → chunk-LCWHKBMG.js} +12 -12
  24. package/dist/{chunk-N4J73OER.mjs → chunk-MAFJC4FD.mjs} +2 -2
  25. package/dist/{chunk-KZGWRL4P.mjs → chunk-MO5U33M5.mjs} +3 -3
  26. package/dist/{chunk-ENBOBX3C.js → chunk-PQPHUTIU.js} +3 -3
  27. package/dist/{chunk-2E2DXYRF.js → chunk-PQVWSBEG.js} +2 -2
  28. package/dist/{chunk-XWYXKDH2.js → chunk-QEWNW5WN.js} +5 -5
  29. package/dist/{chunk-YO7MVS4A.js → chunk-RDPFNECS.js} +19 -19
  30. package/dist/{chunk-7TEC757Y.mjs → chunk-RENOUPVD.mjs} +1 -2
  31. package/dist/{chunk-PSMBZ5DR.mjs → chunk-RF5FJZO3.mjs} +1 -1
  32. package/dist/{chunk-ZJXBN32W.js → chunk-SCINGDII.js} +1 -2
  33. package/dist/{chunk-3GQ6H7GF.mjs → chunk-SGCC5BPM.mjs} +3 -3
  34. package/dist/{chunk-PKR4QUWJ.mjs → chunk-SKHELRGB.mjs} +1 -1
  35. package/dist/{chunk-5Z7CCIIJ.js → chunk-UJ6M3BUH.js} +3 -3
  36. package/dist/{chunk-IVRCEWW4.mjs → chunk-V3GDNLMY.mjs} +2 -2
  37. package/dist/{chunk-FE52EM76.js → chunk-VF3E6O7Z.js} +7 -7
  38. package/dist/{chunk-THMXFMSK.mjs → chunk-VFDAXDTM.mjs} +3 -3
  39. package/dist/{chunk-UROGF3KF.mjs → chunk-VSWQOG36.mjs} +3 -3
  40. package/dist/{chunk-BARR5D5N.mjs → chunk-XOFOKSLS.mjs} +3 -3
  41. package/dist/{chunk-VQMSXER7.js → chunk-Z2IEMJII.js} +3 -3
  42. package/dist/{chunk-4G35AYIJ.mjs → chunk-Z33MYNCC.mjs} +4 -4
  43. package/dist/executors.js +16 -16
  44. package/dist/executors.mjs +15 -15
  45. package/dist/generators.js +10 -10
  46. package/dist/generators.mjs +9 -9
  47. package/dist/index.js +46 -46
  48. package/dist/index.mjs +57 -57
  49. package/dist/src/base/base-executor.js +4 -4
  50. package/dist/src/base/base-executor.mjs +3 -3
  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 +12 -12
  54. package/dist/src/base/index.mjs +14 -14
  55. package/dist/src/executors/cargo-build/executor.js +6 -6
  56. package/dist/src/executors/cargo-build/executor.mjs +5 -5
  57. package/dist/src/executors/cargo-check/executor.js +6 -6
  58. package/dist/src/executors/cargo-check/executor.mjs +5 -5
  59. package/dist/src/executors/cargo-clippy/executor.js +6 -6
  60. package/dist/src/executors/cargo-clippy/executor.mjs +5 -5
  61. package/dist/src/executors/cargo-doc/executor.js +6 -6
  62. package/dist/src/executors/cargo-doc/executor.mjs +5 -5
  63. package/dist/src/executors/cargo-format/executor.js +6 -6
  64. package/dist/src/executors/cargo-format/executor.mjs +5 -5
  65. package/dist/src/executors/clean-package/executor.js +6 -6
  66. package/dist/src/executors/clean-package/executor.mjs +3 -3
  67. package/dist/src/executors/esbuild/executor.js +6 -6
  68. package/dist/src/executors/esbuild/executor.mjs +5 -5
  69. package/dist/src/executors/size-limit/executor.js +5 -5
  70. package/dist/src/executors/size-limit/executor.mjs +4 -4
  71. package/dist/src/executors/tsdown/executor.js +6 -6
  72. package/dist/src/executors/tsdown/executor.mjs +5 -5
  73. package/dist/src/executors/typia/executor.js +5 -5
  74. package/dist/src/executors/typia/executor.mjs +4 -4
  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/dist/src/plugins/rust/cargo-toml.js +3 -3
  90. package/dist/src/plugins/rust/cargo-toml.mjs +2 -2
  91. package/dist/src/plugins/rust/index.js +3 -3
  92. package/dist/src/plugins/rust/index.mjs +2 -2
  93. package/dist/src/utils/index.js +8 -8
  94. package/dist/src/utils/index.mjs +18 -18
  95. package/package.json +5 -5
  96. package/dist/{chunk-XONECYS4.js → chunk-YESI2BBC.js} +2 -2
  97. package/dist/{chunk-GZPCM2GI.mjs → chunk-Z322IWWR.mjs} +4 -4
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkFE52EM76js = require('./chunk-FE52EM76.js');
11
+ var _chunkVF3E6O7Zjs = require('./chunk-VF3E6O7Z.js');
12
12
 
13
13
 
14
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
14
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
15
15
 
16
16
 
17
17
 
@@ -23,7 +23,7 @@ var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
23
23
 
24
24
 
25
25
 
26
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
26
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
212
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${name} output clean`);
211
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
212
+ const stopwatch = _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeError.call(void 0, `The following errors occurred during the build:
333
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
441
+ _chunkSCINGDIIjs.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) : _chunkFE52EM76js.getOutExtension.call(void 0, options.format, pkgType);
490
+ return options.outExtension ? options.outExtension(options.format, pkgType) : _chunkVF3E6O7Zjs.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: _chunkFE52EM76js.DEFAULT_COMPILED_BANNER
538
+ banner: _chunkVF3E6O7Zjs.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
- _chunkZJXBN32Wjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
621
- _chunkZJXBN32Wjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
620
+ _chunkSCINGDIIjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
621
+ _chunkSCINGDIIjs.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 _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot.dir);
716
- _chunkZJXBN32Wjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
717
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "Build options resolution");
715
+ const config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot.dir);
716
+ _chunkSCINGDIIjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
717
+ const stopwatch = _chunkSCINGDIIjs.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 ??= _chunkFE52EM76js.DEFAULT_TARGET;
733
+ options.target ??= _chunkVF3E6O7Zjs.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 = _chunkFE52EM76js.getEnv.call(void 0, "esbuild", options);
740
+ const env = _chunkVF3E6O7Zjs.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 _chunkFE52EM76js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
760
+ entryPoints: await _chunkVF3E6O7Zjs.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 || _chunkZJXBN32Wjs.isVerbose.call(void 0, ) || userOptions.debug === true,
771
+ verbose: userOptions.verbose || _chunkSCINGDIIjs.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 || _chunkFE52EM76js.DEFAULT_COMPILED_BANNER,
786
- css: options.banner || _chunkFE52EM76js.DEFAULT_COMPILED_BANNER
785
+ js: options.banner || _chunkVF3E6O7Zjs.DEFAULT_COMPILED_BANNER,
786
+ css: options.banner || _chunkVF3E6O7Zjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
819
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "Write package.json file");
818
+ _chunkSCINGDIIjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
819
+ const stopwatch = _chunkSCINGDIIjs.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 _chunkFE52EM76js.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
- packageJson = await _chunkFE52EM76js.addWorkspacePackageJsonFields.call(void 0, context2.options.config, context2.options.projectRoot, context2.options.sourceRoot, context2.options.projectName, false, packageJson);
828
+ packageJson = await _chunkVF3E6O7Zjs.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
+ packageJson = await _chunkVF3E6O7Zjs.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["."] ??= _chunkFE52EM76js.addPackageJsonExport.call(void 0, "index", packageJson.type, context2.options.sourceRoot);
832
+ packageJson.exports["."] ??= _chunkVF3E6O7Zjs.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}`] ??= _chunkFE52EM76js.addPackageJsonExport.call(void 0, entry, packageJson.type, context2.options.sourceRoot);
850
+ packageJson.exports[`./${entry}`] ??= _chunkVF3E6O7Zjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
889
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${context2.options.name} build`);
888
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
889
+ const stopwatch = _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
906
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
907
- await _chunkFE52EM76js.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
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
906
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
907
+ await _chunkVF3E6O7Zjs.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
- _chunkZJXBN32Wjs.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
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
918
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
961
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "ESBuild pipeline");
960
+ _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
961
+ const stopwatch = _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
971
+ _chunkSCINGDIIjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
972
972
  } catch (error) {
973
- _chunkZJXBN32Wjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
973
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeError.call(void 0, rebuildResult.message);
1001
+ _chunkSCINGDIIjs.writeError.call(void 0, rebuildResult.message);
1002
1002
  }
1003
- _chunkZJXBN32Wjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1003
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1011
+ _chunkSCINGDIIjs.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 = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1028
+ var executor_default = _chunkRDPFNECSjs.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,10 +4,10 @@
4
4
  var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
7
+ var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
8
8
 
9
9
 
10
- var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
10
+ var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
11
11
 
12
12
 
13
13
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -49,7 +49,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
49
49
  return null;
50
50
  }
51
51
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
52
- var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
52
+ var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
53
53
  hooks: {
54
54
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
55
55
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
3
4
 
4
- var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
7
+ var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoCheckExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoCheckExecutor, "cargoCheckExecutor");
18
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,10 +1,10 @@
1
+ import {
2
+ withRunExecutor
3
+ } from "./chunk-Z33MYNCC.mjs";
1
4
  import {
2
5
  buildCargoCommand,
3
6
  cargoCommand
4
7
  } from "./chunk-QZHIWK5Z.mjs";
5
- import {
6
- withRunExecutor
7
- } from "./chunk-4G35AYIJ.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,10 +1,10 @@
1
+ import {
2
+ withRunExecutor
3
+ } from "./chunk-Z33MYNCC.mjs";
1
4
  import {
2
5
  buildCargoCommand,
3
6
  cargoCommand
4
7
  } from "./chunk-QZHIWK5Z.mjs";
5
- import {
6
- withRunExecutor
7
- } from "./chunk-4G35AYIJ.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  loadStormConfig,
4
4
  writeDebug,
5
5
  writeTrace
6
- } from "./chunk-7TEC757Y.mjs";
6
+ } from "./chunk-RENOUPVD.mjs";
7
7
  import {
8
8
  findWorkspaceRoot
9
9
  } from "./chunk-DMUTOQCB.mjs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-PKR4QUWJ.mjs";
3
+ } from "./chunk-SKHELRGB.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-7TEC757Y.mjs";
9
+ } from "./chunk-RENOUPVD.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-DMUTOQCB.mjs";
@@ -11,7 +11,7 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
14
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
15
15
 
16
16
 
17
17
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkSCINGDIIjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkZJXBN32Wjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkSCINGDIIjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkZJXBN32Wjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkSCINGDIIjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
46
  const tokenized = await _chunk5CPYNJT2js.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunk5CPYNJT2js.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkZJXBN32Wjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkSCINGDIIjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkZJXBN32Wjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkZJXBN32Wjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkSCINGDIIjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkSCINGDIIjs.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -1,10 +1,10 @@
1
+ import {
2
+ withRunExecutor
3
+ } from "./chunk-Z33MYNCC.mjs";
1
4
  import {
2
5
  buildCargoCommand,
3
6
  cargoCommand
4
7
  } from "./chunk-QZHIWK5Z.mjs";
5
- import {
6
- withRunExecutor
7
- } from "./chunk-4G35AYIJ.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -3,17 +3,17 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
7
6
 
8
7
 
9
8
 
10
9
 
10
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
11
11
 
12
12
 
13
13
 
14
14
 
15
15
 
16
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
16
+ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.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
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
251
+ _chunkSCINGDIIjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
252
252
 
253
253
  `, config);
254
- const stopwatch = _chunkZJXBN32Wjs.getStopwatch.call(void 0, "Storm Release Version generator");
254
+ const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Storm Release Version generator");
255
255
  try {
256
256
  const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
257
- _chunkZJXBN32Wjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
257
+ _chunkSCINGDIIjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
258
258
  - workspaceRoot: ${workspaceRoot}`, config);
259
- config = await _chunkZJXBN32Wjs.loadStormConfig.call(void 0, workspaceRoot);
260
- _chunkZJXBN32Wjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
259
+ config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot);
260
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
310
+ _chunkSCINGDIIjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
311
311
  }, "log");
312
- _chunkZJXBN32Wjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
312
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
586
+ _chunkSCINGDIIjs.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
- _chunkZJXBN32Wjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
- _chunkZJXBN32Wjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
620
+ _chunkSCINGDIIjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
+ _chunkSCINGDIIjs.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
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-4G35AYIJ.mjs";
3
+ } from "./chunk-Z33MYNCC.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-7TEC757Y.mjs";
6
+ } from "./chunk-RENOUPVD.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -1,10 +1,10 @@
1
+ import {
2
+ withRunGenerator
3
+ } from "./chunk-SKHELRGB.mjs";
1
4
  import {
2
5
  nodeVersion,
3
6
  pnpmVersion
4
7
  } from "./chunk-EK75QNMS.mjs";
5
- import {
6
- withRunGenerator
7
- } from "./chunk-PKR4QUWJ.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
3
4
 
4
- var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
7
+ var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
18
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunkUW6T77HFjs = require('./chunk-UW6T77HF.js');
7
+ var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -42,7 +42,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
42
42
  return null;
43
43
  }
44
44
  _chunk3GQAWCBQjs.__name.call(void 0, neutralLibraryGeneratorFn, "neutralLibraryGeneratorFn");
45
- var generator_default = _chunkUW6T77HFjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
45
+ var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
46
46
  hooks: {
47
47
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
48
48
  options.description ??= "A library used by Storm Software to support either browser or NodeJs applications";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkYO7MVS4Ajs = require('./chunk-YO7MVS4A.js');
3
+ var _chunkRDPFNECSjs = require('./chunk-RDPFNECS.js');
4
4
 
5
5
 
6
- var _chunkZJXBN32Wjs = require('./chunk-ZJXBN32W.js');
6
+ var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
7
7
 
8
8
 
9
9
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkZJXBN32Wjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkSCINGDIIjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'access', _4 => _4.projects, 'access', _5 => _5[context.projectName], 'optionalAccess', _6 => _6.root])) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
21
21
  }
@@ -23,7 +23,7 @@ async function unbuildExecutorFn(options, context, config) {
23
23
  fsCache: config.skipCache ? false : _chunkXCSSYTCUjs.joinPaths.call(void 0, config.directories.cache || "node_modules/.cache/storm", "jiti"),
24
24
  interopDefault: true
25
25
  });
26
- const stormUnbuild = await jiti.import("@storm-software/unbuild");
26
+ const stormUnbuild = await jiti.import("@storm-software/unbuild/build");
27
27
  await stormUnbuild.build(_defu.defu.call(void 0, {
28
28
  ...options,
29
29
  projectRoot: _optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'optionalAccess', _9 => _9[context.projectName], 'access', _10 => _10.root]),
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkYO7MVS4Ajs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkRDPFNECSjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {