@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
@@ -4,7 +4,7 @@
4
4
  var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunkNCVJPQSPjs = require('./chunk-NCVJPQSP.js');
7
+ var _chunkCXLDWFA3js = require('./chunk-CXLDWFA3.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -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 = _chunkNCVJPQSPjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Neutral Platform)", neutralLibraryGeneratorFn, {
45
+ var generator_default = _chunkCXLDWFA3js.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";
@@ -3,10 +3,10 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkCT7IVPJYjs = require('./chunk-CT7IVPJY.js');
6
+ var _chunk22DNWOG2js = require('./chunk-22DNWOG2.js');
7
7
 
8
8
 
9
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
9
+ var _chunkLDCPNOWXjs = require('./chunk-LDCPNOWX.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 _chunk22DNWOG2js.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
370
+ packageJson = await _chunk22DNWOG2js.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 _chunk22DNWOG2js.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 _chunk22DNWOG2js.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 = _chunkLDCPNOWXjs.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) => {
@@ -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";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XSRDTQ5C.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-B3KIYNGT.mjs";
7
+ } from "./chunk-63CXRJMW.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -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";
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkCT7IVPJYjs = require('./chunk-CT7IVPJY.js');
9
+ var _chunk22DNWOG2js = require('./chunk-22DNWOG2.js');
10
10
 
11
11
 
12
- var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
12
+ var _chunkLDCPNOWXjs = require('./chunk-LDCPNOWX.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkMSENNRAYjs = require('./chunk-MSENNRAY.js');
19
19
 
20
20
 
21
21
 
22
- var _chunk36FMHXUDjs = require('./chunk-36FMHXUD.js');
22
+ var _chunkIX2EZD3Fjs = require('./chunk-IX2EZD3F.js');
23
23
 
24
24
 
25
25
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -37,8 +37,8 @@ var _tsdown = require('tsdown');
37
37
  // ../tsdown/src/clean.ts
38
38
 
39
39
  async function clean(name = "ESBuild", directory, config) {
40
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${name} output clean`);
40
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${name} output clean`);
42
42
  await _node.hfs.deleteAll(directory);
43
43
  stopwatch();
44
44
  }
@@ -73,9 +73,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
73
73
  if (!workspaceRoot) {
74
74
  throw new Error("Cannot find Nx workspace root");
75
75
  }
76
- const config = await _chunk36FMHXUDjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Build options resolution");
76
+ const config = await _chunkIX2EZD3Fjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Build options resolution");
79
79
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
80
80
  exitOnError: true
81
81
  });
@@ -91,19 +91,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
91
91
  }
92
92
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
93
93
  options.name ??= `${projectName}-${options.format}`;
94
- options.target ??= _chunkCT7IVPJYjs.DEFAULT_TARGET;
94
+ options.target ??= _chunk22DNWOG2js.DEFAULT_TARGET;
95
95
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
96
96
  if (!await _node.hfs.isFile(packageJsonPath)) {
97
97
  throw new Error("Cannot find package.json configuration");
98
98
  }
99
- const env = _chunkCT7IVPJYjs.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunk22DNWOG2js.getEnv.call(void 0, "tsdown", options);
100
100
  const result = {
101
101
  ...options,
102
102
  config,
103
103
  ...userOptions,
104
104
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
105
105
  format: options.format || "cjs",
106
- entryPoints: await _chunkCT7IVPJYjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunk22DNWOG2js.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
107
107
  "./src/index.ts"
108
108
  ], userOptions.emitOnAll),
109
109
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -114,7 +114,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
114
114
  projectGraph,
115
115
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
116
116
  minify: userOptions.minify || !userOptions.debug,
117
- verbose: userOptions.verbose || _chunk36FMHXUDjs.isVerbose.call(void 0, ) || userOptions.debug === true,
117
+ verbose: userOptions.verbose || _chunkIX2EZD3Fjs.isVerbose.call(void 0, ) || userOptions.debug === true,
118
118
  includeSrc: userOptions.includeSrc === true,
119
119
  metafile: userOptions.metafile !== false,
120
120
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -149,8 +149,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
149
149
  }, "resolveOptions");
150
150
  async function generatePackageJson(options) {
151
151
  if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
152
- _chunk36FMHXUDjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "Write package.json file");
152
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "Write package.json file");
154
154
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
155
155
  if (!await _node.hfs.isFile(packageJsonPath)) {
156
156
  throw new Error("Cannot find package.json configuration");
@@ -159,11 +159,11 @@ async function generatePackageJson(options) {
159
159
  if (!packageJson) {
160
160
  throw new Error("Cannot find package.json configuration file");
161
161
  }
162
- packageJson = await _chunkCT7IVPJYjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunkCT7IVPJYjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunk22DNWOG2js.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunk22DNWOG2js.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
164
164
  packageJson.exports ??= {};
165
165
  packageJson.exports["./package.json"] ??= "./package.json";
166
- packageJson.exports["."] ??= _chunkCT7IVPJYjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunk22DNWOG2js.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
167
167
  let entryPoints = [
168
168
  {
169
169
  in: "./src/index.ts",
@@ -181,7 +181,7 @@ async function generatePackageJson(options) {
181
181
  const split = entryPoint.out.split(".");
182
182
  split.pop();
183
183
  const entry = split.join(".").replaceAll("\\", "/");
184
- packageJson.exports[`./${entry}`] ??= _chunkCT7IVPJYjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunk22DNWOG2js.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
185
185
  }
186
186
  }
187
187
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -200,8 +200,8 @@ async function generatePackageJson(options) {
200
200
  }
201
201
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
202
202
  async function executeTSDown(options) {
203
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${options.name} build`);
203
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} build`);
205
205
  await _tsdown.build.call(void 0, {
206
206
  ...options,
207
207
  entry: options.entryPoints,
@@ -213,15 +213,15 @@ async function executeTSDown(options) {
213
213
  }
214
214
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunkCT7IVPJYjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
216
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
+ await _chunk22DNWOG2js.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
222
222
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
223
223
  async function reportResults(options) {
224
- _chunk36FMHXUDjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
224
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
225
225
  }
226
226
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
227
227
  async function cleanOutputPath(options) {
@@ -232,8 +232,8 @@ async function cleanOutputPath(options) {
232
232
  }
233
233
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
234
234
  async function build(options) {
235
- _chunk36FMHXUDjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
- const stopwatch = _chunk36FMHXUDjs.getStopwatch.call(void 0, "TSDown pipeline");
235
+ _chunkIX2EZD3Fjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
+ const stopwatch = _chunkIX2EZD3Fjs.getStopwatch.call(void 0, "TSDown pipeline");
237
237
  try {
238
238
  const opts = Array.isArray(options) ? options : [
239
239
  options
@@ -251,11 +251,11 @@ async function build(options) {
251
251
  await reportResults(opt);
252
252
  }));
253
253
  } else {
254
- _chunk36FMHXUDjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
254
+ _chunkIX2EZD3Fjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
255
255
  }
256
- _chunk36FMHXUDjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
256
+ _chunkIX2EZD3Fjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
257
257
  } catch (error) {
258
- _chunk36FMHXUDjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
258
+ _chunkIX2EZD3Fjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
259
259
  throw error;
260
260
  } finally {
261
261
  stopwatch();
@@ -265,7 +265,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
265
265
 
266
266
  // src/executors/tsdown/executor.ts
267
267
  async function tsdownExecutorFn(options, context, config) {
268
- _chunk36FMHXUDjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
268
+ _chunkIX2EZD3Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
269
269
  if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
270
270
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
271
271
  }
@@ -282,7 +282,7 @@ async function tsdownExecutorFn(options, context, config) {
282
282
  };
283
283
  }
284
284
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
285
- var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
285
+ var executor_default = _chunkLDCPNOWXjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
286
286
  skipReadingConfig: false,
287
287
  hooks: {
288
288
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -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";
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
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');
@@ -19,7 +19,7 @@ async function cargoDocExecutor(options, context) {
19
19
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
20
20
  }
21
21
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
22
- var executor_default = _chunkMSENNRAYjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
22
+ var executor_default = _chunkLDCPNOWXjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
23
  skipReadingConfig: false,
24
24
  hooks: {
25
25
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,6 +1,3 @@
1
- import {
2
- applyWorkspaceExecutorTokens
3
- } from "./chunk-FFBZYD6R.mjs";
4
1
  import {
5
2
  applyWorkspaceTokens
6
3
  } from "./chunk-NDDXQD7R.mjs";
@@ -14,7 +11,10 @@ import {
14
11
  writeInfo,
15
12
  writeSuccess,
16
13
  writeTrace
17
- } from "./chunk-WJ5TU6JU.mjs";
14
+ } from "./chunk-KNXGOGL5.mjs";
15
+ import {
16
+ applyWorkspaceExecutorTokens
17
+ } from "./chunk-FFBZYD6R.mjs";
18
18
  import {
19
19
  findWorkspaceRoot
20
20
  } from "./chunk-DMUTOQCB.mjs";
@@ -1,9 +1,3 @@
1
- import {
2
- modifyCargoTable,
3
- parseCargoToml,
4
- parseCargoTomlWithTree,
5
- stringifyCargoToml
6
- } from "./chunk-VYH45FO6.mjs";
7
1
  import {
8
2
  getStopwatch,
9
3
  loadStormConfig,
@@ -13,7 +7,13 @@ import {
13
7
  writeInfo,
14
8
  writeSuccess,
15
9
  writeTrace
16
- } from "./chunk-WJ5TU6JU.mjs";
10
+ } from "./chunk-KNXGOGL5.mjs";
11
+ import {
12
+ modifyCargoTable,
13
+ parseCargoToml,
14
+ parseCargoTomlWithTree,
15
+ stringifyCargoToml
16
+ } from "./chunk-VYH45FO6.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-DMUTOQCB.mjs";