@storm-software/workspace-tools 1.230.0 → 1.231.0

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 +12 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-CT7IVPJY.js → chunk-22DNWOG2.js} +25 -36
  4. package/dist/{chunk-ESRRKJO5.mjs → chunk-357OS575.mjs} +2 -2
  5. package/dist/{chunk-WTHELTBU.mjs → chunk-3QS2VXIW.mjs} +2 -2
  6. package/dist/{chunk-ZCZVVZBX.js → chunk-4KC6BQY6.js} +3 -3
  7. package/dist/{chunk-B3KIYNGT.mjs → chunk-63CXRJMW.mjs} +1 -1
  8. package/dist/{chunk-6B6IVIMQ.js → chunk-6G34PMHG.js} +3 -3
  9. package/dist/{chunk-DLO5NZQI.mjs → chunk-6S33LGZA.mjs} +3 -3
  10. package/dist/{chunk-DIODSFGH.js → chunk-AEHR536C.js} +41 -41
  11. package/dist/{chunk-I7OZOKTH.js → chunk-AX2GAIC6.js} +3 -3
  12. package/dist/{chunk-GV44QHV3.mjs → chunk-BXRWY5YI.mjs} +3 -3
  13. package/dist/{chunk-NCVJPQSP.js → chunk-CXLDWFA3.js} +15 -15
  14. package/dist/{chunk-PMDV5GKD.js → chunk-DDDV5CIY.js} +3 -3
  15. package/dist/{chunk-3GVBGSCQ.js → chunk-DIPIPI7H.js} +2 -2
  16. package/dist/{chunk-35B5C22H.mjs → chunk-E4RAOLUW.mjs} +2 -2
  17. package/dist/{chunk-7MZQTO7J.js → chunk-EDHSW6KA.js} +12 -12
  18. package/dist/{chunk-JEV3GSS7.js → chunk-EI3PUSCC.js} +9 -9
  19. package/dist/{chunk-W4QV74K2.mjs → chunk-FAD3MJIO.mjs} +1 -1
  20. package/dist/{chunk-UDAQKEJS.mjs → chunk-GFOMWTSR.mjs} +21 -32
  21. package/dist/{chunk-ZXT33DDB.js → chunk-I56CGXM6.js} +3 -3
  22. package/dist/{chunk-FP4PPOO6.js → chunk-IQU4KSXC.js} +3 -3
  23. package/dist/{chunk-36FMHXUD.js → chunk-IX2EZD3F.js} +4 -4
  24. package/dist/{chunk-SFT3A33D.mjs → chunk-JXN5JXWD.mjs} +3 -3
  25. package/dist/{chunk-OA7KWN7D.mjs → chunk-KKDGYFKY.mjs} +3 -3
  26. package/dist/{chunk-WJ5TU6JU.mjs → chunk-KNXGOGL5.mjs} +4 -4
  27. package/dist/{chunk-MSENNRAY.js → chunk-LDCPNOWX.js} +19 -19
  28. package/dist/{chunk-KLEKFCL2.js → chunk-LPWSHG6O.js} +2 -2
  29. package/dist/{chunk-DB7BVAE7.js → chunk-LXPMDNMJ.js} +58 -86
  30. package/dist/{chunk-OESA3G7F.mjs → chunk-NZMTUJGQ.mjs} +3 -3
  31. package/dist/{chunk-PS55UN6T.mjs → chunk-PE2DD2SV.mjs} +1 -1
  32. package/dist/{chunk-JGTW4AJ7.mjs → chunk-S73VA7HH.mjs} +3 -3
  33. package/dist/{chunk-OJ3R7YBK.js → chunk-S7QZCTBR.js} +31 -31
  34. package/dist/{chunk-XSCTGWRG.mjs → chunk-TAJBCIVO.mjs} +3 -3
  35. package/dist/{chunk-F5WI7VDM.js → chunk-TRTFGC6N.js} +3 -3
  36. package/dist/{chunk-6267MSX4.mjs → chunk-UENELRBB.mjs} +4 -4
  37. package/dist/{chunk-MF4RRA4Q.mjs → chunk-UK7LZSMG.mjs} +7 -7
  38. package/dist/{chunk-QMJ7P54Z.mjs → chunk-VHTLAFRU.mjs} +3 -3
  39. package/dist/{chunk-T7IVGU7T.mjs → chunk-X7G7IR2C.mjs} +3 -3
  40. package/dist/{chunk-B7LWGAUI.js → chunk-X7YSSPPZ.js} +5 -5
  41. package/dist/{chunk-TILR7372.js → chunk-Y2IMY233.js} +5 -5
  42. package/dist/{chunk-JMWQGXHM.mjs → chunk-YMGOLNMM.mjs} +33 -61
  43. package/dist/executors.js +17 -17
  44. package/dist/executors.mjs +18 -18
  45. package/dist/generators.js +11 -11
  46. package/dist/generators.mjs +13 -13
  47. package/dist/index.js +47 -47
  48. package/dist/index.mjs +64 -64
  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 +6 -6
  76. package/dist/src/executors/unbuild/executor.mjs +5 -5
  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 +1 -1
  96. package/dist/{chunk-XONECYS4.js → chunk-YESI2BBC.js} +2 -2
  97. package/dist/{chunk-GZPCM2GI.mjs → chunk-Z322IWWR.mjs} +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.231.0 (2025-01-20)
2
+
3
+ ### Features
4
+
5
+ - **unbuild:** Update build process to use cached project graph ([610c94aa](https://github.com/storm-software/storm-ops/commit/610c94aa))
6
+
7
+ ## 1.230.1 (2025-01-20)
8
+
9
+ ### Bug Fixes
10
+
11
+ - **unbuild:** Removed the invalid dependency types from package ([e83d0fcf](https://github.com/storm-software/storm-ops/commit/e83d0fcf))
12
+
1
13
  ## 1.230.0 (2025-01-20)
2
14
 
3
15
  ### 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.1-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 -->
@@ -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');
@@ -27,24 +27,26 @@ var DEFAULT_TARGET = "esnext";
27
27
  var DEFAULT_ORGANIZATION = "storm-software";
28
28
 
29
29
  // ../build-tools/src/utilities/copy-assets.ts
30
- var _node = require('@humanfs/node');
31
30
  var _devkit = require('@nx/devkit');
32
31
  var _js = require('@nx/js');
33
32
  var _glob = require('glob');
33
+ var _promises = require('fs/promises');
34
34
 
35
35
  // ../build-tools/src/utilities/read-nx-config.ts
36
+ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
36
37
 
37
38
  var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot) => {
38
39
  let rootDir = workspaceRoot;
39
40
  if (!rootDir) {
40
- const config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, );
41
+ const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, );
41
42
  rootDir = config.workspaceRoot;
42
43
  }
43
44
  const nxJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, rootDir, "nx.json");
44
- if (!await _node.hfs.isFile(nxJsonPath)) {
45
+ if (!_fs.existsSync.call(void 0, nxJsonPath)) {
45
46
  throw new Error("Cannot find project.json configuration");
46
47
  }
47
- return _node.hfs.json(nxJsonPath);
48
+ const configContent = await _promises.readFile.call(void 0, nxJsonPath, "utf8");
49
+ return JSON.parse(configContent);
48
50
  }, "readNxConfig");
49
51
 
50
52
  // ../build-tools/src/utilities/copy-assets.ts
@@ -79,14 +81,12 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
79
81
  });
80
82
  }
81
83
  const nxJson = readNxConfig(config.workspaceRoot);
82
- const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
83
- exitOnError: true
84
- });
84
+ const projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
85
85
  const projectsConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
86
86
  if (!_optionalChain([projectsConfigurations, 'optionalAccess', _7 => _7.projects, 'optionalAccess', _8 => _8[projectName]])) {
87
87
  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.");
88
88
  }
89
- const buildTarget = _optionalChain([projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[projectName], 'optionalAccess', _11 => _11.targets, 'optionalAccess', _12 => _12.build]);
89
+ const buildTarget = _optionalChain([projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[projectName], 'access', _11 => _11.targets, 'optionalAccess', _12 => _12.build]);
90
90
  if (!buildTarget) {
91
91
  throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
92
92
  }
@@ -103,55 +103,43 @@ 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"),
116
116
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.js"),
117
117
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.jsx")
118
118
  ]);
119
- await Promise.allSettled(files.map(async (file) => _node.hfs.write(file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
119
+ await Promise.allSettled(files.map(async (file) => _promises.writeFile.call(void 0, file, `${banner && typeof banner === "string" ? banner.startsWith("//") ? banner : `// ${banner}` : ""}
120
120
 
121
- ${await _node.hfs.text(file)}
121
+ ${await _promises.readFile.call(void 0, file, "utf8")}
122
122
 
123
123
  ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `// ${footer}` : ""}`)));
124
124
  }
125
125
  }, "copyAssets");
126
126
 
127
127
  // ../build-tools/src/utilities/generate-package-json.ts
128
-
129
128
  var _buildablelibsutils = require('@nx/js/src/utils/buildable-libs-utils');
130
129
 
130
+
131
+
131
132
  var _projectgraph = require('nx/src/project-graph/project-graph');
132
133
  var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot, projectRoot, projectName, packageJson) => {
133
- const projectGraph = await _projectgraph.createProjectGraphAsync.call(void 0, {
134
- exitOnError: true
135
- });
136
- const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
137
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _13 => _13.projects, 'optionalAccess', _14 => _14[projectName]])) {
138
- 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.");
139
- }
140
- const projectJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot, projectRoot, "project.json");
141
- if (!await _node.hfs.isFile(projectJsonPath)) {
142
- throw new Error("Cannot find project.json configuration");
143
- }
144
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _15 => _15.projects, 'optionalAccess', _16 => _16[projectName]])) {
145
- 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.");
146
- }
147
- const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
134
+ const projectDependencies = _buildablelibsutils.calculateProjectBuildableDependencies.call(void 0, void 0, _projectgraph.readCachedProjectGraph.call(void 0, ), workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
148
135
  const localPackages = [];
149
136
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
150
137
  const projectNode = project.node;
151
138
  if (projectNode.data.root) {
152
139
  const projectPackageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
153
- if (await _node.hfs.isFile(projectPackageJsonPath)) {
154
- const projectPackageJson = await _node.hfs.json(projectPackageJsonPath);
140
+ if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
141
+ const projectPackageJsonContent = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
142
+ const projectPackageJson = JSON.parse(projectPackageJsonContent);
155
143
  if (projectPackageJson.private !== false) {
156
144
  localPackages.push(projectPackageJson);
157
145
  }
@@ -159,7 +147,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
159
147
  }
160
148
  }
161
149
  if (localPackages.length > 0) {
162
- _chunk36FMHXUDjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
150
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
163
151
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
164
152
  if (!ret[localPackage.name]) {
165
153
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -181,13 +169,14 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
181
169
  return ret;
182
170
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
183
171
  } else {
184
- _chunk36FMHXUDjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
172
+ _chunkIX2EZD3Fjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
185
173
  }
186
174
  return packageJson;
187
175
  }, "addPackageDependencies");
188
176
  var addWorkspacePackageJsonFields = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, projectRoot, sourceRoot, projectName, includeSrc = false, packageJson) => {
189
177
  const workspaceRoot = config.workspaceRoot ? config.workspaceRoot : _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
190
- const workspacePackageJson = await _node.hfs.json(_chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot, "package.json"));
178
+ const workspacePackageJsonContent = await _promises.readFile.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot, "package.json"), "utf8");
179
+ const workspacePackageJson = JSON.parse(workspacePackageJsonContent);
191
180
  packageJson.type ??= "module";
192
181
  packageJson.sideEffects ??= false;
193
182
  if (includeSrc === true) {
@@ -304,7 +293,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
304
293
  results.push(...files.reduce((ret, filePath) => {
305
294
  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
295
  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);
296
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
308
297
  if (!results.includes(result)) {
309
298
  results.push(result);
310
299
  }
@@ -336,7 +325,7 @@ var getEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (builder, opti
336
325
  var _core = require('@swc/core');
337
326
 
338
327
  // ../build-tools/src/plugins/ts-resolve.ts
339
- var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
328
+
340
329
  var _module = require('module');
341
330
  var _path = require('path'); var _path2 = _interopRequireDefault(_path);
342
331
  var _resolve2 = require('resolve'); var _resolve3 = _interopRequireDefault(_resolve2);
@@ -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
  import {
2
2
  withRunExecutor
3
- } from "./chunk-6267MSX4.mjs";
3
+ } from "./chunk-UENELRBB.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-WJ5TU6JU.mjs";
6
+ } from "./chunk-KNXGOGL5.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-XUV4U54K.mjs";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkLDCPNOWXjs = require('./chunk-LDCPNOWX.js');
3
4
 
4
- var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.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 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 = _chunkLDCPNOWXjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -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";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
+ var _chunkLDCPNOWXjs = require('./chunk-LDCPNOWX.js');
3
4
 
4
- var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.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 = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkLDCPNOWXjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -8,10 +8,10 @@ import {
8
8
  getEntryPoints,
9
9
  getEnv,
10
10
  getOutExtension
11
- } from "./chunk-UDAQKEJS.mjs";
11
+ } from "./chunk-GFOMWTSR.mjs";
12
12
  import {
13
13
  withRunExecutor
14
- } from "./chunk-6267MSX4.mjs";
14
+ } from "./chunk-UENELRBB.mjs";
15
15
  import {
16
16
  getStopwatch,
17
17
  isVerbose,
@@ -23,7 +23,7 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-WJ5TU6JU.mjs";
26
+ } from "./chunk-KNXGOGL5.mjs";
27
27
  import {
28
28
  joinPaths
29
29
  } from "./chunk-PVTEDLBL.mjs";
@@ -8,10 +8,10 @@
8
8
 
9
9
 
10
10
 
11
- var _chunkCT7IVPJYjs = require('./chunk-CT7IVPJY.js');
11
+ var _chunk22DNWOG2js = require('./chunk-22DNWOG2.js');
12
12
 
13
13
 
14
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
14
+ var _chunkLDCPNOWXjs = require('./chunk-LDCPNOWX.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) : _chunk22DNWOG2js.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: _chunk22DNWOG2js.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 ??= _chunk22DNWOG2js.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 = _chunk22DNWOG2js.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 _chunk22DNWOG2js.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 || _chunk22DNWOG2js.DEFAULT_COMPILED_BANNER,
786
+ css: options.banner || _chunk22DNWOG2js.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 _chunk22DNWOG2js.addPackageDependencies.call(void 0, context2.options.config.workspaceRoot, context2.options.projectRoot, context2.options.projectName, packageJson);
829
+ packageJson = await _chunk22DNWOG2js.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["."] ??= _chunk22DNWOG2js.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}`] ??= _chunk22DNWOG2js.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 _chunk22DNWOG2js.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 = _chunkLDCPNOWXjs.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 _chunkCXLDWFA3js = require('./chunk-CXLDWFA3.js');
8
8
 
9
9
 
10
- var _chunkNCVJPQSPjs = require('./chunk-NCVJPQSP.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 = _chunkNCVJPQSPjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
52
+ var generator_default = _chunkCXLDWFA3js.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
+ import {
2
+ withRunExecutor
3
+ } from "./chunk-UENELRBB.mjs";
1
4
  import {
2
5
  buildCargoCommand,
3
6
  cargoCommand
4
7
  } from "./chunk-QZHIWK5Z.mjs";
5
- import {
6
- withRunExecutor
7
- } from "./chunk-6267MSX4.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";