@storm-software/workspace-tools 1.294.23 → 1.294.25

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 (116) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{chunk-UUWZMAV4.js → chunk-2NJGL2TI.js} +30 -30
  3. package/dist/{chunk-VLO2HY6J.js → chunk-2RVRHK5X.js} +34 -34
  4. package/dist/{chunk-GDKXPNWV.js → chunk-3S3ECO2P.js} +20 -20
  5. package/dist/{chunk-FOQC5GHL.mjs → chunk-3TNILWMY.mjs} +1 -1
  6. package/dist/{chunk-PKVUHXO7.js → chunk-4BLFRRAU.js} +12 -12
  7. package/dist/{chunk-E3QUFDT5.mjs → chunk-4F7QVAV4.mjs} +1 -1
  8. package/dist/{chunk-PCXRIDP7.mjs → chunk-4HTNEKMP.mjs} +1 -1
  9. package/dist/{chunk-XJ2VKQNH.js → chunk-4NAHZGF2.js} +2 -2
  10. package/dist/{chunk-LU2AUK5R.mjs → chunk-54TSX5JF.mjs} +1 -1
  11. package/dist/{chunk-MB6AQKEM.mjs → chunk-5UC3BYGW.mjs} +1 -1
  12. package/dist/{chunk-WUXDWEEW.mjs → chunk-5WAINHJG.mjs} +4 -4
  13. package/dist/{chunk-7DDSFP3I.mjs → chunk-6FLLUGUF.mjs} +2 -2
  14. package/dist/{chunk-3QJHAILV.mjs → chunk-7ME734DI.mjs} +1 -1
  15. package/dist/{chunk-E566FKPB.mjs → chunk-BW353I42.mjs} +1 -1
  16. package/dist/{chunk-WOC65XYH.mjs → chunk-C2V3ONEW.mjs} +1 -1
  17. package/dist/{chunk-44BBGI2A.js → chunk-C6VRM4FR.js} +41 -11
  18. package/dist/{chunk-JGSTESA2.js → chunk-C7JD44IU.js} +2 -2
  19. package/dist/{chunk-KYF35U5H.mjs → chunk-CA46YTWV.mjs} +2 -2
  20. package/dist/{chunk-LT6HABKS.js → chunk-CDE6PVTR.js} +2 -2
  21. package/dist/{chunk-FR7Q4DI3.js → chunk-CQ4XK3KB.js} +16 -16
  22. package/dist/{chunk-R2YWPTGT.js → chunk-DK64V7OM.js} +10 -10
  23. package/dist/{chunk-EYAMFI7D.js → chunk-ERW6FMLX.js} +2 -2
  24. package/dist/{chunk-MYVCMGXZ.mjs → chunk-FS5FXBEU.mjs} +1 -1
  25. package/dist/{chunk-K5U7AXCP.js → chunk-GLXI6TSE.js} +6 -6
  26. package/dist/{chunk-M3GIMCUS.js → chunk-GPGFEHZS.js} +4 -4
  27. package/dist/{chunk-4RS25MXA.mjs → chunk-GRTWE432.mjs} +1 -1
  28. package/dist/{chunk-LGDWG3TS.mjs → chunk-GSNIJD6H.mjs} +2 -2
  29. package/dist/{chunk-M7PSICO4.js → chunk-GXUESV2V.js} +2 -2
  30. package/dist/{chunk-IQGZG64W.mjs → chunk-HWZH4YPQ.mjs} +1 -1
  31. package/dist/{chunk-OOVL4X5X.mjs → chunk-JFFINA6G.mjs} +3 -3
  32. package/dist/{chunk-3KQCOKHR.mjs → chunk-JWBCOV5V.mjs} +2 -2
  33. package/dist/{chunk-NYWAVN3K.mjs → chunk-K45IJANL.mjs} +1 -1
  34. package/dist/{chunk-6NYDBV23.js → chunk-LL2ZDCBE.js} +2 -2
  35. package/dist/{chunk-JFTB2MZS.mjs → chunk-LYU4P6X3.mjs} +2 -2
  36. package/dist/{chunk-SPA3KPYJ.js → chunk-NSD4P5QK.js} +5 -5
  37. package/dist/{chunk-DY45LR4B.js → chunk-OEDORFRQ.js} +2 -2
  38. package/dist/{chunk-XWAMKDVR.js → chunk-OF2KR2GF.js} +2 -2
  39. package/dist/{chunk-T26MOHEW.mjs → chunk-PLJLDJO3.mjs} +1 -1
  40. package/dist/{chunk-KGBMBIMD.js → chunk-PMRFT5WV.js} +2 -2
  41. package/dist/{chunk-GV3NH3O3.js → chunk-Q2S3VKFE.js} +2 -2
  42. package/dist/{chunk-73ALUS6R.mjs → chunk-Q4Z7ZWH2.mjs} +4 -4
  43. package/dist/{chunk-O2O6OMNY.js → chunk-Q73EB4Y6.js} +4 -4
  44. package/dist/{chunk-3X6RG4EG.js → chunk-QKU75RHX.js} +2 -2
  45. package/dist/{chunk-YSQAKVSC.mjs → chunk-QR3G4OD6.mjs} +41 -11
  46. package/dist/{chunk-ONY5XVLY.mjs → chunk-R55AVCBI.mjs} +1 -1
  47. package/dist/{chunk-6UHWGGM5.mjs → chunk-R5P7EFSH.mjs} +1 -1
  48. package/dist/{chunk-REBYV6UF.js → chunk-TBEXCUCY.js} +11 -11
  49. package/dist/{chunk-MHDUK7AG.mjs → chunk-U6J37DIY.mjs} +2 -2
  50. package/dist/{chunk-X6XVS2G3.js → chunk-U7DOJ5Z4.js} +2 -2
  51. package/dist/{chunk-NECOAJIF.js → chunk-UVPMJRGC.js} +2 -2
  52. package/dist/{chunk-SW324EZL.js → chunk-XEMXSQHD.js} +5 -5
  53. package/dist/{chunk-C22BY3WI.mjs → chunk-XQR4GBDW.mjs} +2 -2
  54. package/dist/{chunk-ZB64FD5X.mjs → chunk-XXZQGOLV.mjs} +1 -1
  55. package/dist/{chunk-DFKALALI.js → chunk-ZLJDMEVQ.js} +2 -2
  56. package/dist/executors.js +20 -20
  57. package/dist/executors.mjs +19 -19
  58. package/dist/generators.js +10 -10
  59. package/dist/generators.mjs +12 -12
  60. package/dist/index.js +29 -29
  61. package/dist/index.mjs +31 -31
  62. package/dist/src/base/base-executor.js +4 -4
  63. package/dist/src/base/base-executor.mjs +3 -3
  64. package/dist/src/base/base-generator.js +4 -4
  65. package/dist/src/base/base-generator.mjs +3 -3
  66. package/dist/src/base/index.js +5 -5
  67. package/dist/src/base/index.mjs +4 -4
  68. package/dist/src/executors/cargo-build/executor.js +5 -5
  69. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  70. package/dist/src/executors/cargo-check/executor.js +5 -5
  71. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  72. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  73. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  74. package/dist/src/executors/cargo-doc/executor.js +5 -5
  75. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  76. package/dist/src/executors/cargo-format/executor.js +5 -5
  77. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  78. package/dist/src/executors/cargo-publish/executor.js +4 -4
  79. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  80. package/dist/src/executors/clean-package/executor.js +6 -6
  81. package/dist/src/executors/clean-package/executor.mjs +3 -3
  82. package/dist/src/executors/esbuild/executor.js +6 -6
  83. package/dist/src/executors/esbuild/executor.mjs +5 -5
  84. package/dist/src/executors/napi/executor.js +5 -5
  85. package/dist/src/executors/napi/executor.mjs +4 -4
  86. package/dist/src/executors/npm-publish/executor.js +6 -6
  87. package/dist/src/executors/npm-publish/executor.mjs +5 -5
  88. package/dist/src/executors/size-limit/executor.js +5 -5
  89. package/dist/src/executors/size-limit/executor.mjs +4 -4
  90. package/dist/src/executors/tsdown/executor.js +6 -6
  91. package/dist/src/executors/tsdown/executor.mjs +5 -5
  92. package/dist/src/executors/typia/executor.js +5 -5
  93. package/dist/src/executors/typia/executor.mjs +4 -4
  94. package/dist/src/executors/unbuild/executor.js +5 -5
  95. package/dist/src/executors/unbuild/executor.mjs +4 -4
  96. package/dist/src/generators/browser-library/generator.js +5 -5
  97. package/dist/src/generators/browser-library/generator.mjs +4 -4
  98. package/dist/src/generators/config-schema/generator.js +5 -5
  99. package/dist/src/generators/config-schema/generator.mjs +4 -4
  100. package/dist/src/generators/neutral-library/generator.js +5 -5
  101. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  102. package/dist/src/generators/node-library/generator.js +5 -5
  103. package/dist/src/generators/node-library/generator.mjs +4 -4
  104. package/dist/src/generators/preset/generator.js +5 -5
  105. package/dist/src/generators/preset/generator.mjs +4 -4
  106. package/dist/src/release/index.js +6 -6
  107. package/dist/src/release/index.mjs +5 -5
  108. package/dist/src/release/js-version-actions.js +4 -4
  109. package/dist/src/release/js-version-actions.mjs +3 -3
  110. package/dist/src/release/rust-version-actions.js +5 -5
  111. package/dist/src/release/rust-version-actions.mjs +4 -4
  112. package/dist/src/utils/index.js +4 -4
  113. package/dist/src/utils/index.mjs +3 -3
  114. package/dist/src/utils/package-helpers.js +4 -4
  115. package/dist/src/utils/package-helpers.mjs +3 -3
  116. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -2,6 +2,28 @@
2
2
 
3
3
  # Changelog for Storm Ops - Workspace Tools
4
4
 
5
+ ## [1.294.24](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.24) (01/14/2026)
6
+
7
+ ### Updated Dependencies
8
+
9
+ - Updated **config-tools** to **v1.188.78**
10
+ - Updated **pnpm-tools** to **v0.6.80**
11
+ - Updated **npm-tools** to **v0.6.35**
12
+ - Updated **esbuild** to **v0.53.78**
13
+ - Updated **unbuild** to **v0.57.78**
14
+ - Updated **tsdown** to **v0.45.78**
15
+
16
+ ## [1.294.23](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.23) (01/14/2026)
17
+
18
+ ### Updated Dependencies
19
+
20
+ - Updated **config-tools** to **v1.188.77**
21
+ - Updated **pnpm-tools** to **v0.6.79**
22
+ - Updated **npm-tools** to **v0.6.34**
23
+ - Updated **esbuild** to **v0.53.77**
24
+ - Updated **unbuild** to **v0.57.77**
25
+ - Updated **tsdown** to **v0.45.77**
26
+
5
27
  ## [1.294.22](https://github.com/storm-software/storm-ops/releases/tag/workspace-tools%401.294.22) (01/14/2026)
6
28
 
7
29
  ### Updated Dependencies
@@ -5,13 +5,13 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkK5U7AXCPjs = require('./chunk-K5U7AXCP.js');
8
+ var _chunkGLXI6TSEjs = require('./chunk-GLXI6TSE.js');
9
9
 
10
10
 
11
- var _chunkGDKXPNWVjs = require('./chunk-GDKXPNWV.js');
11
+ var _chunk3S3ECO2Pjs = require('./chunk-3S3ECO2P.js');
12
12
 
13
13
 
14
- var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
14
+ var _chunkDK64V7OMjs = require('./chunk-DK64V7OM.js');
15
15
 
16
16
 
17
17
 
@@ -19,7 +19,7 @@ var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
19
19
 
20
20
 
21
21
 
22
- var _chunk44BBGI2Ajs = require('./chunk-44BBGI2A.js');
22
+ var _chunkC6VRM4FRjs = require('./chunk-C6VRM4FR.js');
23
23
 
24
24
 
25
25
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -79,11 +79,11 @@ var resolveOptions = async (userOptions) => {
79
79
  if (!workspaceRoot) {
80
80
  throw new Error("Cannot find Nx workspace root");
81
81
  }
82
- const workspaceConfig = await _chunkR2YWPTGTjs.getWorkspaceConfig.call(void 0, options.debug === true, {
82
+ const workspaceConfig = await _chunkDK64V7OMjs.getWorkspaceConfig.call(void 0, options.debug === true, {
83
83
  workspaceRoot
84
84
  });
85
- _chunk44BBGI2Ajs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
86
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Build options resolution");
85
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
86
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, "Build options resolution");
87
87
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
88
88
  exitOnError: true
89
89
  });
@@ -117,7 +117,7 @@ var resolveOptions = async (userOptions) => {
117
117
  const result = {
118
118
  name: projectName,
119
119
  mode: "production",
120
- target: _chunkK5U7AXCPjs.DEFAULT_TARGET,
120
+ target: _chunkGLXI6TSEjs.DEFAULT_TARGET,
121
121
  generatePackageJson: true,
122
122
  outDir: _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", options.projectRoot),
123
123
  minify: !debug,
@@ -149,15 +149,15 @@ var resolveOptions = async (userOptions) => {
149
149
  };
150
150
  result.env = _defu2.default.call(void 0,
151
151
  options.env,
152
- _chunkK5U7AXCPjs.getEnv.call(void 0, "tsdown", result)
152
+ _chunkGLXI6TSEjs.getEnv.call(void 0, "tsdown", result)
153
153
  );
154
154
  stopwatch();
155
155
  return result;
156
156
  };
157
157
  async function generatePackageJson(options) {
158
158
  if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
159
- _chunk44BBGI2Ajs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
160
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Write package.json file");
159
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.workspaceConfig);
160
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, "Write package.json file");
161
161
  const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, options.projectRoot, "project.json");
162
162
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
163
163
  throw new Error("Cannot find package.json configuration");
@@ -174,13 +174,13 @@ async function generatePackageJson(options) {
174
174
  throw new Error("Cannot find package.json configuration file");
175
175
  }
176
176
  let packageJson = JSON.parse(packageJsonFile);
177
- packageJson = await _chunkK5U7AXCPjs.addPackageDependencies.call(void 0,
177
+ packageJson = await _chunkGLXI6TSEjs.addPackageDependencies.call(void 0,
178
178
  options.workspaceConfig.workspaceRoot,
179
179
  options.projectRoot,
180
180
  options.projectName,
181
181
  packageJson
182
182
  );
183
- packageJson = await _chunkK5U7AXCPjs.addWorkspacePackageJsonFields.call(void 0,
183
+ packageJson = await _chunkGLXI6TSEjs.addWorkspacePackageJsonFields.call(void 0,
184
184
  options.workspaceConfig,
185
185
  options.projectRoot,
186
186
  options.sourceRoot,
@@ -190,7 +190,7 @@ async function generatePackageJson(options) {
190
190
  );
191
191
  packageJson.exports ??= {};
192
192
  packageJson.exports["./package.json"] ??= "./package.json";
193
- packageJson.exports["."] ??= _chunkK5U7AXCPjs.addPackageJsonExport.call(void 0,
193
+ packageJson.exports["."] ??= _chunkGLXI6TSEjs.addPackageJsonExport.call(void 0,
194
194
  "index",
195
195
  packageJson.type,
196
196
  options.sourceRoot
@@ -206,7 +206,7 @@ async function generatePackageJson(options) {
206
206
  const split = entryPoint.out.split(".");
207
207
  split.pop();
208
208
  const entry2 = split.join(".").replaceAll("\\", "/");
209
- packageJson.exports[`./${entry2}`] ??= _chunkK5U7AXCPjs.addPackageJsonExport.call(void 0,
209
+ packageJson.exports[`./${entry2}`] ??= _chunkGLXI6TSEjs.addPackageJsonExport.call(void 0,
210
210
  entry2,
211
211
  options.fixedExtension ? "fixed" : packageJson.type,
212
212
  options.sourceRoot
@@ -231,8 +231,8 @@ async function generatePackageJson(options) {
231
231
  return options;
232
232
  }
233
233
  async function executeTSDown(options) {
234
- _chunk44BBGI2Ajs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
235
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name} build`);
234
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.workspaceConfig);
235
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, `${options.name} build`);
236
236
  await _tsdown.build.call(void 0, {
237
237
  ...options,
238
238
  entry: options.entry,
@@ -242,12 +242,12 @@ async function executeTSDown(options) {
242
242
  return options;
243
243
  }
244
244
  async function copyBuildAssets(options) {
245
- _chunk44BBGI2Ajs.writeDebug.call(void 0,
245
+ _chunkC6VRM4FRjs.writeDebug.call(void 0,
246
246
  ` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
247
247
  options.workspaceConfig
248
248
  );
249
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name} asset copy`);
250
- await _chunkK5U7AXCPjs.copyAssets.call(void 0,
249
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, `${options.name} asset copy`);
250
+ await _chunkGLXI6TSEjs.copyAssets.call(void 0,
251
251
  options.workspaceConfig,
252
252
  _nullishCoalesce(options.assets, () => ( [])),
253
253
  options.outDir,
@@ -260,18 +260,18 @@ async function copyBuildAssets(options) {
260
260
  return options;
261
261
  }
262
262
  async function reportResults(options) {
263
- _chunk44BBGI2Ajs.writeSuccess.call(void 0,
263
+ _chunkC6VRM4FRjs.writeSuccess.call(void 0,
264
264
  ` \u{1F4E6} The ${options.name} build completed successfully`,
265
265
  options.workspaceConfig
266
266
  );
267
267
  }
268
268
  async function cleanOutputPath(options) {
269
269
  if (options.clean !== false && options.workspaceConfig) {
270
- _chunk44BBGI2Ajs.writeDebug.call(void 0,
270
+ _chunkC6VRM4FRjs.writeDebug.call(void 0,
271
271
  ` \u{1F9F9} Cleaning ${options.name} output path: ${options.workspaceConfig}`,
272
272
  options.workspaceConfig
273
273
  );
274
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name} output clean`);
274
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, `${options.name} output clean`);
275
275
  await cleanDirectories(
276
276
  options.name,
277
277
  options.outDir,
@@ -282,8 +282,8 @@ async function cleanOutputPath(options) {
282
282
  return options;
283
283
  }
284
284
  async function build(options) {
285
- _chunk44BBGI2Ajs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
286
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "TSDown pipeline");
285
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
286
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, "TSDown pipeline");
287
287
  try {
288
288
  const opts = Array.isArray(options) ? options : [options];
289
289
  if (opts.length === 0) {
@@ -303,13 +303,13 @@ async function build(options) {
303
303
  })
304
304
  );
305
305
  } else {
306
- _chunk44BBGI2Ajs.writeWarning.call(void 0,
306
+ _chunkC6VRM4FRjs.writeWarning.call(void 0,
307
307
  " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function."
308
308
  );
309
309
  }
310
- _chunk44BBGI2Ajs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
310
+ _chunkC6VRM4FRjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
311
311
  } catch (error) {
312
- _chunk44BBGI2Ajs.writeFatal.call(void 0,
312
+ _chunkC6VRM4FRjs.writeFatal.call(void 0,
313
313
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
314
314
  );
315
315
  throw error;
@@ -320,7 +320,7 @@ async function build(options) {
320
320
 
321
321
  // src/executors/tsdown/executor.ts
322
322
  async function tsdownExecutorFn(options, context, config) {
323
- _chunk44BBGI2Ajs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
323
+ _chunkC6VRM4FRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown executor on the workspace", config);
324
324
  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])) {
325
325
  throw new Error(
326
326
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -341,7 +341,7 @@ async function tsdownExecutorFn(options, context, config) {
341
341
  success: true
342
342
  };
343
343
  }
344
- var executor_default = _chunkGDKXPNWVjs.withRunExecutor.call(void 0,
344
+ var executor_default = _chunk3S3ECO2Pjs.withRunExecutor.call(void 0,
345
345
  "Storm TSDown build",
346
346
  tsdownExecutorFn,
347
347
  {
@@ -5,13 +5,13 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkK5U7AXCPjs = require('./chunk-K5U7AXCP.js');
8
+ var _chunkGLXI6TSEjs = require('./chunk-GLXI6TSE.js');
9
9
 
10
10
 
11
- var _chunkGDKXPNWVjs = require('./chunk-GDKXPNWV.js');
11
+ var _chunk3S3ECO2Pjs = require('./chunk-3S3ECO2P.js');
12
12
 
13
13
 
14
- var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
14
+ var _chunkDK64V7OMjs = require('./chunk-DK64V7OM.js');
15
15
 
16
16
 
17
17
 
@@ -21,7 +21,7 @@ var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
21
21
 
22
22
 
23
23
 
24
- var _chunk44BBGI2Ajs = require('./chunk-44BBGI2A.js');
24
+ var _chunkC6VRM4FRjs = require('./chunk-C6VRM4FR.js');
25
25
 
26
26
 
27
27
  var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
@@ -29,12 +29,12 @@ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
29
29
  // ../esbuild/src/assets.ts
30
30
  async function copyBuildAssets(context) {
31
31
  if (!_optionalChain([context, 'access', _ => _.result, 'optionalAccess', _2 => _2.errors, 'access', _3 => _3.length]) && _optionalChain([context, 'access', _4 => _4.options, 'access', _5 => _5.assets, 'optionalAccess', _6 => _6.length])) {
32
- _chunk44BBGI2Ajs.writeDebug.call(void 0,
32
+ _chunkC6VRM4FRjs.writeDebug.call(void 0,
33
33
  ` \u{1F4CB} Copying ${context.options.assets.length} asset files to output directory: ${context.outputPath}`,
34
34
  context.workspaceConfig
35
35
  );
36
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
37
- await _chunkK5U7AXCPjs.copyAssets.call(void 0,
36
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, `${context.options.name} asset copy`);
37
+ await _chunkGLXI6TSEjs.copyAssets.call(void 0,
38
38
  context.workspaceConfig,
39
39
  _nullishCoalesce(context.options.assets, () => ( [])),
40
40
  context.outputPath,
@@ -102,8 +102,8 @@ var DEFAULT_BUILD_OPTIONS = {
102
102
  ".woff2": "file"
103
103
  },
104
104
  banner: {
105
- js: _chunkK5U7AXCPjs.DEFAULT_JS_BANNER,
106
- css: _chunkK5U7AXCPjs.DEFAULT_CSS_BANNER
105
+ js: _chunkGLXI6TSEjs.DEFAULT_JS_BANNER,
106
+ css: _chunkGLXI6TSEjs.DEFAULT_CSS_BANNER
107
107
  }
108
108
  };
109
109
 
@@ -114,11 +114,11 @@ async function resolveContext(userOptions) {
114
114
  if (!workspaceRoot) {
115
115
  throw new Error("Cannot find Nx workspace root");
116
116
  }
117
- const workspaceConfig = await _chunkR2YWPTGTjs.getWorkspaceConfig.call(void 0, true, {
117
+ const workspaceConfig = await _chunkDK64V7OMjs.getWorkspaceConfig.call(void 0, true, {
118
118
  workspaceRoot: workspaceRoot.dir
119
119
  });
120
- _chunk44BBGI2Ajs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
121
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Build options resolution");
120
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", workspaceConfig);
121
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, "Build options resolution");
122
122
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
123
123
  exitOnError: true
124
124
  });
@@ -149,7 +149,7 @@ async function resolveContext(userOptions) {
149
149
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
150
150
  throw new Error("Cannot find package.json configuration");
151
151
  }
152
- const env = _chunkK5U7AXCPjs.getEnv.call(void 0, "esbuild", options);
152
+ const env = _chunkGLXI6TSEjs.getEnv.call(void 0, "esbuild", options);
153
153
  const define = _defu2.default.call(void 0, _nullishCoalesce(options.define, () => ( {})), _nullishCoalesce(env, () => ( {})));
154
154
  const resolvedOptions = {
155
155
  ...options,
@@ -188,10 +188,10 @@ async function resolveContext(userOptions) {
188
188
  };
189
189
  context.options.esbuildPlugins = [..._nullishCoalesce(context.options.esbuildPlugins, () => ( []))];
190
190
  if (context.options.verbose) {
191
- _chunk44BBGI2Ajs.writeDebug.call(void 0,
191
+ _chunkC6VRM4FRjs.writeDebug.call(void 0,
192
192
  ` \u2699\uFE0F Build options resolved:
193
193
 
194
- ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0, context.options)}`,
194
+ ${_chunkC6VRM4FRjs.formatLogMessage.call(void 0, context.options)}`,
195
195
  workspaceConfig
196
196
  );
197
197
  }
@@ -204,8 +204,8 @@ ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0, context.options)}`,
204
204
 
205
205
  async function generatePackageJson(context) {
206
206
  if (context.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkCQDBLKPFjs.joinPaths.call(void 0, context.options.projectRoot, "package.json"))) {
207
- _chunk44BBGI2Ajs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
208
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "Write package.json file");
207
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context.workspaceConfig);
208
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, "Write package.json file");
209
209
  const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
210
210
  context.options.projectRoot,
211
211
  "project.json"
@@ -225,13 +225,13 @@ async function generatePackageJson(context) {
225
225
  if (!packageJson) {
226
226
  throw new Error("Cannot find package.json configuration file");
227
227
  }
228
- packageJson = await _chunkK5U7AXCPjs.addPackageDependencies.call(void 0,
228
+ packageJson = await _chunkGLXI6TSEjs.addPackageDependencies.call(void 0,
229
229
  context.workspaceConfig.workspaceRoot,
230
230
  context.options.projectRoot,
231
231
  context.projectName,
232
232
  packageJson
233
233
  );
234
- packageJson = await _chunkK5U7AXCPjs.addWorkspacePackageJsonFields.call(void 0,
234
+ packageJson = await _chunkGLXI6TSEjs.addWorkspacePackageJsonFields.call(void 0,
235
235
  context.workspaceConfig,
236
236
  context.options.projectRoot,
237
237
  context.sourceRoot,
@@ -332,12 +332,12 @@ async function generatePackageJson(context) {
332
332
  var _tsup = require('tsup');
333
333
  async function build(options) {
334
334
  if (!options.silent) {
335
- _chunk44BBGI2Ajs.writeDebug.call(void 0,
335
+ _chunkC6VRM4FRjs.writeDebug.call(void 0,
336
336
  ` \u{1F680} Running ${options.name || "tsup"} build`,
337
337
  options.workspaceConfig
338
338
  );
339
339
  }
340
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
340
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, `${options.name || "tsup"} build`);
341
341
  await _tsup.build.call(void 0, options);
342
342
  if (!options.silent) {
343
343
  stopwatch();
@@ -346,11 +346,11 @@ async function build(options) {
346
346
 
347
347
  // ../esbuild/src/tsup.ts
348
348
  async function executeTsup(context) {
349
- _chunk44BBGI2Ajs.writeDebug.call(void 0,
349
+ _chunkC6VRM4FRjs.writeDebug.call(void 0,
350
350
  ` \u{1F680} Running ${context.options.name} build`,
351
351
  context.workspaceConfig
352
352
  );
353
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${context.options.name} build`);
353
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, `${context.options.name} build`);
354
354
  await build({
355
355
  ...context.options,
356
356
  outDir: context.options.distDir ? _chunkCQDBLKPFjs.joinPaths.call(void 0, context.outputPath, context.options.distDir) : context.outputPath,
@@ -364,17 +364,17 @@ async function executeTsup(context) {
364
364
  async function reportResults(context) {
365
365
  if (_optionalChain([context, 'access', _9 => _9.result, 'optionalAccess', _10 => _10.errors, 'access', _11 => _11.length]) === 0) {
366
366
  if (context.result.warnings.length > 0) {
367
- _chunk44BBGI2Ajs.writeWarning.call(void 0,
367
+ _chunkC6VRM4FRjs.writeWarning.call(void 0,
368
368
  ` \u{1F6A7} The following warnings occurred during the build: ${context.result.warnings.map((warning) => warning.text).join("\n")}`,
369
369
  context.workspaceConfig
370
370
  );
371
371
  }
372
- _chunk44BBGI2Ajs.writeSuccess.call(void 0,
372
+ _chunkC6VRM4FRjs.writeSuccess.call(void 0,
373
373
  ` \u{1F4E6} The ${context.options.name} build completed successfully`,
374
374
  context.workspaceConfig
375
375
  );
376
376
  } else if (_optionalChain([context, 'access', _12 => _12.result, 'optionalAccess', _13 => _13.errors]) && _optionalChain([context, 'access', _14 => _14.result, 'optionalAccess', _15 => _15.errors, 'access', _16 => _16.length]) > 0) {
377
- _chunk44BBGI2Ajs.writeError.call(void 0,
377
+ _chunkC6VRM4FRjs.writeError.call(void 0,
378
378
  ` \u274C The ${context.options.name} build failed with the following errors: ${context.result.errors.map((error) => error.text).join("\n")}`,
379
379
  context.workspaceConfig
380
380
  );
@@ -385,19 +385,19 @@ async function reportResults(context) {
385
385
  }
386
386
  async function cleanOutputPath(context) {
387
387
  if (context.clean !== false && context.outputPath) {
388
- _chunk44BBGI2Ajs.writeDebug.call(void 0,
388
+ _chunkC6VRM4FRjs.writeDebug.call(void 0,
389
389
  ` \u{1F9F9} Cleaning ${context.options.name} output path: ${context.outputPath}`,
390
390
  context.workspaceConfig
391
391
  );
392
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, `${context.options.name} output clean`);
392
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, `${context.options.name} output clean`);
393
393
  await cleanDirectories(context.outputPath);
394
394
  stopwatch();
395
395
  }
396
396
  return context;
397
397
  }
398
398
  async function build2(options) {
399
- _chunk44BBGI2Ajs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
400
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, "ESBuild pipeline");
399
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
400
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, "ESBuild pipeline");
401
401
  try {
402
402
  const opts = Array.isArray(options) ? options : [options];
403
403
  if (opts.length === 0) {
@@ -412,9 +412,9 @@ async function build2(options) {
412
412
  executeTsup(context)
413
413
  ]);
414
414
  await reportResults(context);
415
- _chunk44BBGI2Ajs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
415
+ _chunkC6VRM4FRjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
416
416
  } catch (error) {
417
- _chunk44BBGI2Ajs.writeFatal.call(void 0,
417
+ _chunkC6VRM4FRjs.writeFatal.call(void 0,
418
418
  "Fatal errors that the build process could not recover from have occured. The build process has been terminated."
419
419
  );
420
420
  throw error;
@@ -425,7 +425,7 @@ async function build2(options) {
425
425
 
426
426
  // src/executors/esbuild/executor.ts
427
427
  async function esbuildExecutorFn(options, context, config) {
428
- _chunk44BBGI2Ajs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
428
+ _chunkC6VRM4FRjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
429
429
  if (!_optionalChain([context, 'access', _17 => _17.projectsConfigurations, 'optionalAccess', _18 => _18.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _19 => _19.projectsConfigurations, 'access', _20 => _20.projects, 'access', _21 => _21[context.projectName], 'optionalAccess', _22 => _22.root])) {
430
430
  throw new Error(
431
431
  "The Build process failed because the context is not valid. Please run this command from a workspace."
@@ -446,7 +446,7 @@ async function esbuildExecutorFn(options, context, config) {
446
446
  success: true
447
447
  };
448
448
  }
449
- var executor_default = _chunkGDKXPNWVjs.withRunExecutor.call(void 0,
449
+ var executor_default = _chunk3S3ECO2Pjs.withRunExecutor.call(void 0,
450
450
  "Storm ESBuild build",
451
451
  esbuildExecutorFn,
452
452
  {
@@ -4,7 +4,7 @@
4
4
  var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
5
5
 
6
6
 
7
- var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
7
+ var _chunkDK64V7OMjs = require('./chunk-DK64V7OM.js');
8
8
 
9
9
 
10
10
 
@@ -14,7 +14,7 @@ var _chunkR2YWPTGTjs = require('./chunk-R2YWPTGT.js');
14
14
 
15
15
 
16
16
 
17
- var _chunk44BBGI2Ajs = require('./chunk-44BBGI2A.js');
17
+ var _chunkC6VRM4FRjs = require('./chunk-C6VRM4FR.js');
18
18
 
19
19
 
20
20
  var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
@@ -22,7 +22,7 @@ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
22
22
  // src/base/base-executor.ts
23
23
  var _defu = require('defu');
24
24
  var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_options, context) => {
25
- const stopwatch = _chunk44BBGI2Ajs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunkC6VRM4FRjs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config = {};
28
28
  try {
@@ -36,9 +36,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
36
36
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
37
37
  const projectName = context.projectName;
38
38
  config.workspaceRoot = workspaceRoot;
39
- _chunk44BBGI2Ajs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
+ _chunkC6VRM4FRjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
40
40
  if (!executorOptions.skipReadingConfig) {
41
- _chunk44BBGI2Ajs.writeTrace.call(void 0,
41
+ _chunkC6VRM4FRjs.writeTrace.call(void 0,
42
42
  `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
@@ -47,18 +47,18 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
47
47
  `,
48
48
  config
49
49
  );
50
- config = await _chunkR2YWPTGTjs.getConfig.call(void 0, workspaceRoot);
50
+ config = await _chunkDK64V7OMjs.getConfig.call(void 0, workspaceRoot);
51
51
  }
52
52
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
53
- _chunk44BBGI2Ajs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
53
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
54
54
  options = await Promise.resolve(
55
55
  executorOptions.hooks.applyDefaultOptions(options, config)
56
56
  );
57
- _chunk44BBGI2Ajs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
57
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
58
58
  }
59
- _chunk44BBGI2Ajs.writeTrace.call(void 0,
59
+ _chunkC6VRM4FRjs.writeTrace.call(void 0,
60
60
  `Executor schema options \u2699\uFE0F
61
- ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0, options)}
61
+ ${_chunkC6VRM4FRjs.formatLogMessage.call(void 0, options)}
62
62
  `,
63
63
  config
64
64
  );
@@ -71,18 +71,18 @@ ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0, options)}
71
71
  ),
72
72
  _chunkHXQRGLIIjs.applyWorkspaceProjectTokens
73
73
  );
74
- _chunk44BBGI2Ajs.writeTrace.call(void 0,
74
+ _chunkC6VRM4FRjs.writeTrace.call(void 0,
75
75
  `Executor schema tokenized options \u2699\uFE0F
76
- ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0, tokenized)}
76
+ ${_chunkC6VRM4FRjs.formatLogMessage.call(void 0, tokenized)}
77
77
  `,
78
78
  config
79
79
  );
80
80
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
81
- _chunk44BBGI2Ajs.writeDebug.call(void 0, "Running the preProcess hook...", config);
81
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
82
82
  await Promise.resolve(
83
83
  executorOptions.hooks.preProcess(tokenized, config)
84
84
  );
85
- _chunk44BBGI2Ajs.writeDebug.call(void 0, "Completed the preProcess hook", config);
85
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
86
86
  }
87
87
  const ret = executorFn(tokenized, context, config);
88
88
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -97,7 +97,7 @@ ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0, tokenized)}
97
97
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _8 => _8.error, 'optionalAccess', _9 => _9.message]) && typeof _optionalChain([result, 'optionalAccess', _10 => _10.error, 'optionalAccess', _11 => _11.message]) === "string" && _optionalChain([result, 'optionalAccess', _12 => _12.error, 'optionalAccess', _13 => _13.name]) && typeof _optionalChain([result, 'optionalAccess', _14 => _14.error, 'optionalAccess', _15 => _15.name]) === "string")) {
98
98
  throw new Error(
99
99
  `Failure determined while running the ${name} executor
100
- ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0,
100
+ ${_chunkC6VRM4FRjs.formatLogMessage.call(void 0,
101
101
  result
102
102
  )}`,
103
103
  {
@@ -106,21 +106,21 @@ ${_chunk44BBGI2Ajs.formatLogMessage.call(void 0,
106
106
  );
107
107
  }
108
108
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
109
- _chunk44BBGI2Ajs.writeDebug.call(void 0, "Running the postProcess hook...", config);
109
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
110
110
  await Promise.resolve(executorOptions.hooks.postProcess(config));
111
- _chunk44BBGI2Ajs.writeDebug.call(void 0, "Completed the postProcess hook", config);
111
+ _chunkC6VRM4FRjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
112
112
  }
113
- _chunk44BBGI2Ajs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
113
+ _chunkC6VRM4FRjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
114
114
  `, config);
115
115
  return {
116
116
  success: true
117
117
  };
118
118
  } catch (error) {
119
- _chunk44BBGI2Ajs.writeFatal.call(void 0,
119
+ _chunkC6VRM4FRjs.writeFatal.call(void 0,
120
120
  "A fatal error occurred while running the executor - the process was forced to terminate",
121
121
  config
122
122
  );
123
- _chunk44BBGI2Ajs.writeError.call(void 0,
123
+ _chunkC6VRM4FRjs.writeError.call(void 0,
124
124
  `An exception was thrown in the executor's process
125
125
  - Details: ${error.message}
126
126
  - Stacktrace: ${error.stack}`,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-ZTN2676G.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-JFTB2MZS.mjs";
7
+ } from "./chunk-LYU4P6X3.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {