@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
package/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.230.1 (2025-01-20)
2
+
3
+ ### Bug Fixes
4
+
5
+ - **unbuild:** Removed the invalid dependency types from package ([e83d0fcf](https://github.com/storm-software/storm-ops/commit/e83d0fcf))
6
+
1
7
  ## 1.230.0 (2025-01-20)
2
8
 
3
9
  ### Features
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.227.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.230.0-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-B3KIYNGT.mjs";
3
+ } from "./chunk-63CXRJMW.mjs";
4
4
  import {
5
5
  StormConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-WJ5TU6JU.mjs";
9
+ } from "./chunk-KNXGOGL5.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-DMUTOQCB.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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 _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
3
+ var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
4
4
 
5
5
 
6
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
6
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunk36FMHXUDjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunk36FMHXUDjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
6
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
7
7
 
8
8
 
9
9
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -37,7 +37,7 @@ var _glob = require('glob');
37
37
  var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot) => {
38
38
  let rootDir = workspaceRoot;
39
39
  if (!rootDir) {
40
- const config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, );
40
+ const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, );
41
41
  rootDir = config.workspaceRoot;
42
42
  }
43
43
  const nxJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, rootDir, "nx.json");
@@ -103,13 +103,13 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
103
103
  projectsConfigurations,
104
104
  nxJsonConfiguration: nxJson,
105
105
  cwd: config.workspaceRoot,
106
- isVerbose: _chunk36FMHXUDjs.isVerbose.call(void 0, config.logLevel)
106
+ isVerbose: _chunkIX2EZD3Fjs.isVerbose.call(void 0, config.logLevel)
107
107
  });
108
108
  if (!result.success) {
109
109
  throw new Error("The Build process failed trying to copy assets");
110
110
  }
111
111
  if (includeSrc === true) {
112
- _chunk36FMHXUDjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
112
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
113
113
  const files = await _glob.glob.call(void 0, [
114
114
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
115
115
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -159,7 +159,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
159
159
  }
160
160
  }
161
161
  if (localPackages.length > 0) {
162
- _chunk36FMHXUDjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
162
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
163
163
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
164
164
  if (!ret[localPackage.name]) {
165
165
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -181,7 +181,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
181
181
  return ret;
182
182
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
183
183
  } else {
184
- _chunk36FMHXUDjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
184
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
185
185
  }
186
186
  return packageJson;
187
187
  }, "addPackageDependencies");
@@ -304,7 +304,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
304
304
  results.push(...files.reduce((ret, filePath) => {
305
305
  const result = _chunkXCSSYTCUjs.correctPaths.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, projectRoot), ""));
306
306
  if (result) {
307
- _chunk36FMHXUDjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
307
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
308
308
  if (!results.includes(result)) {
309
309
  results.push(result);
310
310
  }
@@ -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";
@@ -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";
@@ -3,7 +3,7 @@ import {
3
3
  loadStormConfig,
4
4
  writeDebug,
5
5
  writeTrace
6
- } from "./chunk-WJ5TU6JU.mjs";
6
+ } from "./chunk-KNXGOGL5.mjs";
7
7
  import {
8
8
  findWorkspaceRoot
9
9
  } from "./chunk-DMUTOQCB.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  writeInfo,
12
12
  writeSuccess,
13
13
  writeTrace
14
- } from "./chunk-WJ5TU6JU.mjs";
14
+ } from "./chunk-KNXGOGL5.mjs";
15
15
  import {
16
16
  findWorkspaceRoot
17
17
  } from "./chunk-DMUTOQCB.mjs";
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkCT7IVPJYjs = require('./chunk-CT7IVPJY.js');
6
+ var _chunk3SXUH27Jjs = require('./chunk-3SXUH27J.js');
7
7
 
8
8
 
9
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
9
+ var _chunk72H4B5NBjs = require('./chunk-72H4B5NB.js');
10
10
 
11
11
 
12
12
 
@@ -18,13 +18,12 @@ var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
18
18
 
19
19
 
20
20
 
21
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
21
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
22
22
 
23
23
 
24
24
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
25
25
 
26
26
 
27
-
28
27
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
29
28
 
30
29
  // ../unbuild/src/build.ts
@@ -41,8 +40,8 @@ var _unbuild = require('unbuild');
41
40
  // ../unbuild/src/clean.ts
42
41
 
43
42
  async function clean(name = "Unbuild", directory, config) {
44
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
45
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${name} output clean`);
43
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
44
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${name} output clean`);
46
45
  await _promises.rm.call(void 0, directory, {
47
46
  recursive: true,
48
47
  force: true
@@ -71,7 +70,7 @@ var analyzePlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
71
70
  renderChunk(source, chunk) {
72
71
  const sourceBytes = formatBytes(source.length);
73
72
  const fileName = chunk.fileName;
74
- _chunk36FMHXUDjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, resolvedOptions.config);
73
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, resolvedOptions.config);
75
74
  }
76
75
  };
77
76
  }, "analyzePlugin");
@@ -81,7 +80,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
81
80
  name: "storm:on-error",
82
81
  buildEnd(error) {
83
82
  if (error) {
84
- _chunk36FMHXUDjs.writeError.call(void 0, `The following errors occurred during the build:
83
+ _chunkIX2EZD3Fjs.writeError.call(void 0, `The following errors occurred during the build:
85
84
  ${error ? error.message : "Unknown build error"}
86
85
 
87
86
  `, resolvedOptions.config);
@@ -89,7 +88,7 @@ ${error ? error.message : "Unknown build error"}
89
88
  }
90
89
  },
91
90
  renderError(error) {
92
- _chunk36FMHXUDjs.writeError.call(void 0, `The following errors occurred during the build:
91
+ _chunkIX2EZD3Fjs.writeError.call(void 0, `The following errors occurred during the build:
93
92
  ${error ? error.message : "Unknown build error"}
94
93
 
95
94
  `, resolvedOptions.config);
@@ -97,26 +96,6 @@ ${error ? error.message : "Unknown build error"}
97
96
  }
98
97
  }), "onErrorPlugin");
99
98
 
100
- // ../unbuild/src/plugins/swc.ts
101
- var swcPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => {
102
- const { transform } = _chunk3GQAWCBQjs.__require.call(void 0, "@swc/core");
103
- return {
104
- name: "storm:swc",
105
- transform(code, filename) {
106
- return transform(code, {
107
- filename,
108
- jsc: {
109
- transform: {
110
- react: {
111
- runtime: "automatic"
112
- }
113
- }
114
- }
115
- });
116
- }
117
- };
118
- }, "swcPlugin");
119
-
120
99
  // ../unbuild/src/plugins/tsc.ts
121
100
 
122
101
 
@@ -144,16 +123,14 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
144
123
  declaration: true,
145
124
  paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
146
125
  };
147
- _chunk36FMHXUDjs.writeTrace.call(void 0, compilerOptions, config);
126
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, compilerOptions, config);
148
127
  return compilerOptions;
149
128
  }
150
129
  _chunk3GQAWCBQjs.__name.call(void 0, createTsCompilerOptions, "createTsCompilerOptions");
151
130
 
152
131
  // ../unbuild/src/plugins/tsc.ts
153
132
  var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, resolvedOptions) => {
154
- const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
155
- exitOnError: true
156
- });
133
+ const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
157
134
  const result = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, resolvedOptions.config.workspaceRoot, resolvedOptions.projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
158
135
  let dependencies = result.dependencies;
159
136
  const tsLibDependency = _compilerhelperdependency.getHelperDependency.call(void 0, _compilerhelperdependency.HelperDependency.tsc, resolvedOptions.tsconfig, dependencies, projectGraph, true);
@@ -172,37 +149,39 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (opti
172
149
 
173
150
  // ../unbuild/src/plugins/type-definitions.ts
174
151
 
175
- var typeDefinitions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, resolvedOptions) => ({
176
- name: "storm:dts-bundle",
177
- async generateBundle(_opts, bundle) {
178
- for (const file of Object.values(bundle)) {
179
- if (file.type === "asset" || !file.isEntry || file.facadeModuleId == null) {
180
- continue;
181
- }
182
- const hasDefaultExport = file.exports.includes("default");
183
- const entrySourceFileName = _path.relative.call(void 0, options.projectRoot, file.facadeModuleId);
184
- const entrySourceDtsName = entrySourceFileName.replace(/\.[cm]?[jt]sx?$/, "");
185
- const dtsFileName = file.fileName.replace(/\.[cm]?js$/, ".d.ts");
186
- const relativeSourceDtsName = JSON.stringify("./" + entrySourceDtsName);
187
- const dtsFileSource = hasDefaultExport ? `
152
+ function typeDefinitions(projectRoot) {
153
+ return {
154
+ name: "storm:dts-bundle",
155
+ async generateBundle(_opts, bundle) {
156
+ for (const file of Object.values(bundle)) {
157
+ if (file.type === "asset" || !file.isEntry || file.facadeModuleId == null) {
158
+ continue;
159
+ }
160
+ const hasDefaultExport = file.exports.includes("default");
161
+ const entrySourceFileName = _path.relative.call(void 0, projectRoot, file.facadeModuleId);
162
+ const entrySourceDtsName = entrySourceFileName.replace(/\.[cm]?[jt]sx?$/, "");
163
+ const dtsFileName = file.fileName.replace(/\.[cm]?js$/, ".d.ts");
164
+ const relativeSourceDtsName = JSON.stringify("./" + entrySourceDtsName);
165
+ const dtsFileSource = hasDefaultExport ? `
188
166
  export * from ${relativeSourceDtsName};
189
167
  export { default } from ${relativeSourceDtsName};
190
168
  ` : `export * from ${relativeSourceDtsName};
191
169
  `;
192
- this.emitFile({
193
- type: "asset",
194
- fileName: dtsFileName,
195
- source: dtsFileSource
196
- });
170
+ this.emitFile({
171
+ type: "asset",
172
+ fileName: dtsFileName,
173
+ source: dtsFileSource
174
+ });
175
+ }
197
176
  }
198
- }
199
- }), "typeDefinitions");
177
+ };
178
+ }
179
+ _chunk3GQAWCBQjs.__name.call(void 0, typeDefinitions, "typeDefinitions");
200
180
 
201
181
  // ../unbuild/src/config.ts
202
182
  var getDefaultBuildPlugins = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, resolvedOptions) => Promise.all([
203
183
  analyzePlugin(options, resolvedOptions),
204
- swcPlugin(options, resolvedOptions),
205
- typeDefinitions(options, resolvedOptions),
184
+ typeDefinitions(resolvedOptions.projectRoot),
206
185
  tscPlugin(options, resolvedOptions),
207
186
  onErrorPlugin(options, resolvedOptions)
208
187
  ].map((plugin) => Promise.resolve(plugin))), "getDefaultBuildPlugins");
@@ -218,18 +197,16 @@ async function resolveOptions(options) {
218
197
  if (!workspaceRoot) {
219
198
  throw new Error("Cannot find workspace root");
220
199
  }
221
- const config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, workspaceRoot.dir);
222
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
223
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Build options resolution");
200
+ const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot.dir);
201
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
202
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Build options resolution");
224
203
  if (options.configPath) {
225
204
  const configFile = await loadConfig(options.configPath);
226
205
  if (configFile) {
227
206
  options = _defu2.default.call(void 0, options, configFile);
228
207
  }
229
208
  }
230
- const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
231
- exitOnError: true
232
- });
209
+ const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
233
210
  const projectJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot, "project.json");
234
211
  if (!_fs.existsSync.call(void 0, projectJsonPath)) {
235
212
  throw new Error("Cannot find project.json configuration");
@@ -257,10 +234,6 @@ async function resolveOptions(options) {
257
234
  if (!_fs.existsSync.call(void 0, sourceRoot)) {
258
235
  throw new Error("Cannot find sourceRoot directory");
259
236
  }
260
- const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
261
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _ => _.projects, 'optionalAccess', _2 => _2[projectName]])) {
262
- 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.");
263
- }
264
237
  const result = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot.dir, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
265
238
  let dependencies = result.dependencies;
266
239
  const tsLibDependency = _js.getHelperDependency.call(void 0, _js.HelperDependency.tsc, tsconfig, dependencies, projectGraph, true);
@@ -345,7 +318,7 @@ async function resolveOptions(options) {
345
318
  splitting: options.splitting !== false,
346
319
  treeShaking: options.treeShaking !== false,
347
320
  color: true,
348
- logLevel: config.logLevel === _chunk36FMHXUDjs.LogLevelLabel.FATAL ? _chunk36FMHXUDjs.LogLevelLabel.ERROR : _chunk36FMHXUDjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
321
+ logLevel: config.logLevel === _chunkIX2EZD3Fjs.LogLevelLabel.FATAL ? _chunkIX2EZD3Fjs.LogLevelLabel.ERROR : _chunkIX2EZD3Fjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
349
322
  }
350
323
  }
351
324
  };
@@ -382,8 +355,8 @@ async function resolveOptions(options) {
382
355
  _chunk3GQAWCBQjs.__name.call(void 0, resolveOptions, "resolveOptions");
383
356
  async function generatePackageJson(options) {
384
357
  if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
385
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
386
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Write package.json file");
358
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
359
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Write package.json file");
387
360
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
388
361
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
389
362
  throw new Error("Cannot find package.json configuration");
@@ -393,18 +366,17 @@ async function generatePackageJson(options) {
393
366
  throw new Error("Cannot find package.json configuration file");
394
367
  }
395
368
  let packageJson = JSON.parse(packageJsonContent);
396
- packageJson = await _chunkCT7IVPJYjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
397
- packageJson = await _chunkCT7IVPJYjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
398
- packageJson = await _chunkCT7IVPJYjs.addPackageJsonExports.call(void 0, options.sourceRoot, packageJson);
399
- await _devkit.writeJsonFile.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, options.outDir, "package.json"), packageJson);
369
+ packageJson = await _chunk3SXUH27Jjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
370
+ packageJson = await _chunk3SXUH27Jjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
371
+ await _devkit.writeJsonFile.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, options.outDir, "package.json"), await _chunk3SXUH27Jjs.addPackageJsonExports.call(void 0, options.sourceRoot, packageJson));
400
372
  stopwatch();
401
373
  }
402
374
  return options;
403
375
  }
404
376
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
405
377
  async function executeUnbuild(options) {
406
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
407
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
378
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} (${options.projectRoot}) build`, options.config);
379
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} (${options.projectRoot}) build`);
408
380
  try {
409
381
  await _unbuild.build.call(void 0, options.projectRoot, false, {
410
382
  ...options,
@@ -417,9 +389,9 @@ async function executeUnbuild(options) {
417
389
  }
418
390
  _chunk3GQAWCBQjs.__name.call(void 0, executeUnbuild, "executeUnbuild");
419
391
  async function copyBuildAssets(options) {
420
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
421
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${options.name} asset copy`);
422
- await _chunkCT7IVPJYjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outDir, options.projectRoot, options.projectName, options.sourceRoot, options.generatePackageJson, options.includeSrc);
392
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`, options.config);
393
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} asset copy`);
394
+ await _chunk3SXUH27Jjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outDir, options.projectRoot, options.projectName, options.sourceRoot, options.generatePackageJson, options.includeSrc);
423
395
  stopwatch();
424
396
  return options;
425
397
  }
@@ -432,17 +404,17 @@ async function cleanOutputPath(options) {
432
404
  }
433
405
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
434
406
  async function build(options) {
435
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`);
436
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Unbuild pipeline");
407
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u26A1 Executing Storm Unbuild pipeline`);
408
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Unbuild pipeline");
437
409
  try {
438
410
  const resolvedOptions = await resolveOptions(options);
439
411
  await cleanOutputPath(resolvedOptions);
440
412
  await generatePackageJson(resolvedOptions);
441
413
  await executeUnbuild(resolvedOptions);
442
414
  await copyBuildAssets(resolvedOptions);
443
- _chunk36FMHXUDjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, resolvedOptions.config);
415
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, ` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`, resolvedOptions.config);
444
416
  } catch (error) {
445
- _chunk36FMHXUDjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
417
+ _chunkIX2EZD3Fjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
446
418
  throw error;
447
419
  } finally {
448
420
  stopwatch();
@@ -453,15 +425,15 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
453
425
  // src/executors/unbuild/executor.ts
454
426
 
455
427
  async function unbuildExecutorFn(options, context, config) {
456
- _chunk36FMHXUDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
457
- 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])) {
428
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
429
+ 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])) {
458
430
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
459
431
  }
460
432
  await build(_defu.defu.call(void 0, {
461
433
  ...options,
462
- projectRoot: _optionalChain([context, 'access', _9 => _9.projectsConfigurations, 'access', _10 => _10.projects, 'optionalAccess', _11 => _11[context.projectName], 'access', _12 => _12.root]),
434
+ projectRoot: _optionalChain([context, 'access', _7 => _7.projectsConfigurations, 'access', _8 => _8.projects, 'optionalAccess', _9 => _9[context.projectName], 'access', _10 => _10.root]),
463
435
  projectName: context.projectName,
464
- sourceRoot: _optionalChain([context, 'access', _13 => _13.projectsConfigurations, 'access', _14 => _14.projects, 'optionalAccess', _15 => _15[context.projectName], 'optionalAccess', _16 => _16.sourceRoot]),
436
+ sourceRoot: _optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'optionalAccess', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.sourceRoot]),
465
437
  platform: options.platform,
466
438
  name: context.projectName
467
439
  }, {
@@ -496,7 +468,7 @@ async function unbuildExecutorFn(options, context, config) {
496
468
  };
497
469
  }
498
470
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
499
- var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
471
+ var executor_default = _chunk72H4B5NBjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
500
472
  skipReadingConfig: false,
501
473
  hooks: {
502
474
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -14,7 +14,7 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
17
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
18
18
 
19
19
 
20
20
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -24,11 +24,11 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
24
24
 
25
25
  // src/base/base-executor.ts
26
26
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
27
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, name);
27
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, name);
28
28
  let options = _options;
29
29
  let config = {};
30
30
  try {
31
- _chunk36FMHXUDjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
31
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
32
32
  `, config);
33
33
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
34
34
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
@@ -39,20 +39,20 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
39
39
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
40
40
  config.workspaceRoot = workspaceRoot;
41
41
  if (!executorOptions.skipReadingConfig) {
42
- _chunk36FMHXUDjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
42
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
45
45
  - sourceRoot: ${sourceRoot}
46
46
  - projectName: ${projectName}
47
47
  `, config);
48
- config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, workspaceRoot);
48
+ config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot);
49
49
  }
50
50
  if (_optionalChain([executorOptions, 'optionalAccess', _15 => _15.hooks, 'optionalAccess', _16 => _16.applyDefaultOptions])) {
51
- _chunk36FMHXUDjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
51
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
52
52
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
53
- _chunk36FMHXUDjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
53
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
54
54
  }
55
- _chunk36FMHXUDjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
55
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
56
  ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<function>" : JSON.stringify(options[key])}`).join("\n")}`, config);
57
57
  const tokenized = await _chunk5CPYNJT2js.applyWorkspaceTokens.call(void 0, options, {
58
58
  config,
@@ -64,9 +64,9 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
64
64
  ...executorOptions
65
65
  }, _chunkBWFTYFWMjs.applyWorkspaceExecutorTokens);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.preProcess])) {
67
- _chunk36FMHXUDjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunk36FMHXUDjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
70
70
  }
71
71
  const ret = executorFn(tokenized, context, config);
72
72
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _19 => _19.next]))) {
@@ -76,26 +76,26 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _20 => _20.error, 'optionalAccess', _21 => _21.message]) && typeof _optionalChain([result, 'optionalAccess', _22 => _22.error, 'optionalAccess', _23 => _23.message]) === "string" && _optionalChain([result, 'optionalAccess', _24 => _24.error, 'optionalAccess', _25 => _25.name]) && typeof _optionalChain([result, 'optionalAccess', _26 => _26.error, 'optionalAccess', _27 => _27.name]) === "string")) {
79
- _chunk36FMHXUDjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunk36FMHXUDjs.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkIX2EZD3Fjs.formatLogMessage.call(void 0, result)}`, config);
81
81
  console.error(result);
82
82
  throw new Error(`The ${name} executor failed to run`, {
83
83
  cause: _optionalChain([result, 'optionalAccess', _28 => _28.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _29 => _29.hooks, 'optionalAccess', _30 => _30.postProcess])) {
87
- _chunk36FMHXUDjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunk36FMHXUDjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunk36FMHXUDjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
92
92
  `, config);
93
93
  return {
94
94
  success: true
95
95
  };
96
96
  } catch (error) {
97
- _chunk36FMHXUDjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunk36FMHXUDjs.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkIX2EZD3Fjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkIX2EZD3Fjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
99
  - Details: ${error.message}
100
100
  - Stacktrace: ${error.stack}`, config);
101
101
  return {
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-EK75QNMS.mjs";
8
8
  import {
9
9
  withRunGenerator
10
- } from "./chunk-B3KIYNGT.mjs";
10
+ } from "./chunk-63CXRJMW.mjs";
11
11
  import {
12
12
  __dirname,
13
13
  __name