@storm-software/workspace-tools 1.264.15 → 1.264.17

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 (149) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-NZRTKA3D.mjs → chunk-2PGDSXZU.mjs} +1 -1
  4. package/dist/{chunk-CSZN7VQD.js → chunk-3A63PAQ2.js} +2 -2
  5. package/dist/{chunk-ITGXQQ7X.js → chunk-3BGF7S7Y.js} +20 -20
  6. package/dist/{chunk-VV2T7QY3.js → chunk-5CXGHQW2.js} +2 -2
  7. package/dist/{chunk-R7DA3F5M.mjs → chunk-5QD6IIAF.mjs} +2 -2
  8. package/dist/{chunk-G7HJQH2D.js → chunk-67DAOFEW.js} +2 -2
  9. package/dist/{chunk-3VVZ4ODK.mjs → chunk-6D23MHU6.mjs} +1 -1
  10. package/dist/{chunk-CCWQEPFL.mjs → chunk-6JF3H2QJ.mjs} +1 -1
  11. package/dist/{chunk-EYDUDKOK.js → chunk-6LF4YU2P.js} +61 -62
  12. package/dist/{chunk-R7JGBUZZ.js → chunk-6V33DY44.js} +5 -5
  13. package/dist/{chunk-5YFVM4NO.js → chunk-6WLEYOQF.js} +2 -2
  14. package/dist/{chunk-BMSP2AHQ.mjs → chunk-B44EGIA5.mjs} +1 -1
  15. package/dist/{chunk-V4BVJDF2.js → chunk-BTRCUZD7.js} +2 -2
  16. package/dist/{chunk-RVVYSXH2.mjs → chunk-EBP7GL4L.mjs} +27 -1
  17. package/dist/{chunk-D2WGOX7Q.mjs → chunk-F5AJY62N.mjs} +1 -4
  18. package/dist/{chunk-MUBQL23Z.js → chunk-F5NIZKZT.js} +4 -4
  19. package/dist/{chunk-GW35E3FL.mjs → chunk-KGZ2OZNW.mjs} +1 -1
  20. package/dist/{chunk-KLU4BFDM.mjs → chunk-KLUSECE7.mjs} +2 -2
  21. package/dist/{chunk-FVGGQRHY.mjs → chunk-KURISY5P.mjs} +1 -1
  22. package/dist/{chunk-BWMEPOEZ.js → chunk-LPQBGYFC.js} +15 -15
  23. package/dist/{chunk-W2L5PTZQ.mjs → chunk-LRNQGMXF.mjs} +1 -1
  24. package/dist/{chunk-EWP64H6O.mjs → chunk-MCODRLX6.mjs} +2 -2
  25. package/dist/{chunk-PUYQ5DG6.mjs → chunk-NIW5HNFD.mjs} +1 -1
  26. package/dist/{chunk-BWKZE7VQ.js → chunk-NSBUY2J2.js} +2 -2
  27. package/dist/{chunk-DW6Z5YY4.js → chunk-NXTMYDCW.js} +2 -2
  28. package/dist/{chunk-LE7KUSOJ.mjs → chunk-OK2RRJWB.mjs} +6 -7
  29. package/dist/{chunk-EVVPILUO.mjs → chunk-PGIKB4LI.mjs} +1 -1
  30. package/dist/{chunk-VCWONYXO.mjs → chunk-PQ27QZOF.mjs} +1 -1
  31. package/dist/{chunk-5PRX6HB4.mjs → chunk-PQLZX2GO.mjs} +2 -2
  32. package/dist/{chunk-YZU3GXGK.js → chunk-PRBNESA3.js} +12 -15
  33. package/dist/{chunk-AIR6S5P7.js → chunk-R7MJYMRC.js} +9 -9
  34. package/dist/{chunk-3NDDIOHB.mjs → chunk-RYGPTY75.mjs} +1 -1
  35. package/dist/{chunk-3QWOG3CX.js → chunk-VYAFH7RM.js} +27 -1
  36. package/dist/{chunk-DCYMF7VO.js → chunk-Y6GFDAJL.js} +2 -2
  37. package/dist/{chunk-DRDUABBP.js → chunk-YET5WGHJ.js} +5 -5
  38. package/dist/{chunk-3CQXNQEH.js → chunk-ZOJJNUIU.js} +2 -2
  39. package/dist/{executor-DFZM1IRb.d.mts → executor-BbBStgiZ.d.mts} +1 -1
  40. package/dist/{executor-C_TfLA0a.d.ts → executor-C4zk52YE.d.ts} +1 -1
  41. package/dist/{executor-rWFext3F.d.ts → executor-CHRmY7wn.d.ts} +1 -1
  42. package/dist/{executor-BLSVtRwG.d.mts → executor-CfTJx0E3.d.mts} +1 -1
  43. package/dist/{executor-Be5Fd52r.d.ts → executor-DotcoNb5.d.ts} +1 -1
  44. package/dist/{executor-D7hQFdok.d.mts → executor-KnByZ3Vj.d.mts} +1 -1
  45. package/dist/{executor-Cn6-xbcu.d.ts → executor-R_44c8dN.d.ts} +1 -1
  46. package/dist/{executor-Bce2bwmv.d.mts → executor-kLAG_Uh0.d.mts} +1 -1
  47. package/dist/executors.d.mts +5 -5
  48. package/dist/executors.d.ts +5 -5
  49. package/dist/executors.js +12 -12
  50. package/dist/executors.mjs +11 -11
  51. package/dist/{generator-XDHzC_Tb.d.mts → generator-7Qr_nsE2.d.mts} +1 -1
  52. package/dist/{generator-CDnWruqm.d.ts → generator-BEUPPjjZ.d.ts} +2 -2
  53. package/dist/{generator-BlI_P2Wx.d.ts → generator-CbgW0ZB8.d.ts} +2 -2
  54. package/dist/{generator-Boug2ukK.d.mts → generator-Cbq0Bpwx.d.mts} +2 -2
  55. package/dist/{generator-Mz3RW03i.d.mts → generator-DIdGmT2e.d.mts} +1 -1
  56. package/dist/{generator-CWhc4hwg.d.mts → generator-DWF0x5-p.d.mts} +2 -2
  57. package/dist/{generator-D7OgP7cF.d.mts → generator-DWLUcY-m.d.mts} +2 -2
  58. package/dist/{generator-RNiDtdN6.d.ts → generator-DhBo_-BD.d.ts} +1 -1
  59. package/dist/{generator-gSneYaPS.d.mts → generator-DkLHbk1Q.d.mts} +2 -2
  60. package/dist/{generator-Q7K2v4XK.d.ts → generator-Ufzc88Fb.d.ts} +1 -1
  61. package/dist/{generator-vajo9_If.d.ts → generator-W-hgMr9s.d.ts} +2 -2
  62. package/dist/{generator-DbQxnpL0.d.ts → generator-bQ0iNtEG.d.ts} +2 -2
  63. package/dist/generators.d.mts +8 -8
  64. package/dist/generators.d.ts +8 -8
  65. package/dist/generators.js +9 -9
  66. package/dist/generators.mjs +8 -8
  67. package/dist/index.d.mts +12 -12
  68. package/dist/index.d.ts +12 -12
  69. package/dist/index.js +19 -19
  70. package/dist/index.mjs +18 -18
  71. package/dist/src/base/base-executor.d.mts +2 -2
  72. package/dist/src/base/base-executor.d.ts +2 -2
  73. package/dist/src/base/base-executor.js +3 -3
  74. package/dist/src/base/base-executor.mjs +2 -2
  75. package/dist/src/base/base-generator.d.mts +2 -2
  76. package/dist/src/base/base-generator.d.ts +2 -2
  77. package/dist/src/base/base-generator.js +3 -3
  78. package/dist/src/base/base-generator.mjs +2 -2
  79. package/dist/src/base/index.d.mts +2 -2
  80. package/dist/src/base/index.d.ts +2 -2
  81. package/dist/src/base/index.js +4 -4
  82. package/dist/src/base/index.mjs +3 -3
  83. package/dist/src/executors/cargo-build/executor.js +4 -4
  84. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  85. package/dist/src/executors/cargo-check/executor.js +4 -4
  86. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  87. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  88. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  89. package/dist/src/executors/cargo-doc/executor.js +4 -4
  90. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  91. package/dist/src/executors/cargo-format/executor.js +4 -4
  92. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  93. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  94. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  95. package/dist/src/executors/clean-package/executor.js +5 -5
  96. package/dist/src/executors/clean-package/executor.mjs +2 -2
  97. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  98. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  99. package/dist/src/executors/esbuild/executor.js +4 -4
  100. package/dist/src/executors/esbuild/executor.mjs +3 -3
  101. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  102. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  103. package/dist/src/executors/size-limit/executor.js +4 -4
  104. package/dist/src/executors/size-limit/executor.mjs +3 -3
  105. package/dist/src/executors/typia/executor.d.mts +2 -2
  106. package/dist/src/executors/typia/executor.d.ts +2 -2
  107. package/dist/src/executors/typia/executor.js +4 -4
  108. package/dist/src/executors/typia/executor.mjs +3 -3
  109. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  110. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  111. package/dist/src/executors/unbuild/executor.js +4 -4
  112. package/dist/src/executors/unbuild/executor.mjs +3 -3
  113. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  114. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  115. package/dist/src/generators/browser-library/generator.js +4 -4
  116. package/dist/src/generators/browser-library/generator.mjs +3 -3
  117. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  118. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  119. package/dist/src/generators/config-schema/generator.js +4 -4
  120. package/dist/src/generators/config-schema/generator.mjs +3 -3
  121. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  122. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  123. package/dist/src/generators/neutral-library/generator.js +4 -4
  124. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  125. package/dist/src/generators/node-library/generator.d.mts +3 -3
  126. package/dist/src/generators/node-library/generator.d.ts +3 -3
  127. package/dist/src/generators/node-library/generator.js +4 -4
  128. package/dist/src/generators/node-library/generator.mjs +3 -3
  129. package/dist/src/generators/preset/generator.d.mts +3 -3
  130. package/dist/src/generators/preset/generator.d.ts +3 -3
  131. package/dist/src/generators/preset/generator.js +4 -4
  132. package/dist/src/generators/preset/generator.mjs +3 -3
  133. package/dist/src/generators/release-version/generator.d.mts +2 -2
  134. package/dist/src/generators/release-version/generator.d.ts +2 -2
  135. package/dist/src/generators/release-version/generator.js +3 -3
  136. package/dist/src/generators/release-version/generator.mjs +2 -2
  137. package/dist/src/types.d.mts +2 -2
  138. package/dist/src/types.d.ts +2 -2
  139. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  140. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  141. package/dist/src/utils/index.d.mts +2 -2
  142. package/dist/src/utils/index.d.ts +2 -2
  143. package/dist/src/utils/project-tags.d.mts +2 -2
  144. package/dist/src/utils/project-tags.d.ts +2 -2
  145. package/dist/{types-DJVJD8fA.d.mts → types-CKlmYL_p.d.mts} +1 -1
  146. package/dist/{types-C5TJM8DH.d.ts → types-Cj24nD9S.d.ts} +1 -1
  147. package/dist/{types-D6pIdih6.d.mts → types-ZPi96OtS.d.mts} +23 -0
  148. package/dist/{types-D6pIdih6.d.ts → types-ZPi96OtS.d.ts} +23 -0
  149. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+
2
+
3
+ ## 1.264.16 (2025-03-12)
4
+
5
+ ### Miscellaneous
6
+
7
+ - **monorepo:** Regenerate README markdown files ([abaffb6b4](https://github.com/storm-software/storm-ops/commit/abaffb6b4))
8
+
1
9
  ## 1.264.15 (2025-03-12)
2
10
 
3
11
  ### Miscellaneous
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.264.14-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.264.16-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 -->
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-YZLAY7R4.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-W2L5PTZQ.mjs";
7
+ } from "./chunk-LRNQGMXF.mjs";
8
8
  import {
9
9
  joinPaths
10
10
  } from "./chunk-ATIBREWM.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
7
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.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 = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -12,7 +12,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
15
+ var _chunkVYAFH7RMjs = require('./chunk-VYAFH7RM.js');
16
16
 
17
17
 
18
18
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -23,7 +23,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  // src/base/base-executor.ts
24
24
  var _defu = require('defu');
25
25
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
26
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
@@ -35,23 +35,23 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
35
35
  const sourceRoot = context.projectsConfigurations.projects[context.projectName].sourceRoot || projectRoot || workspaceRoot;
36
36
  const projectName = context.projectName;
37
37
  config.workspaceRoot = workspaceRoot;
38
- _chunk3QWOG3CXjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
38
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor for ${projectName} `, config);
39
39
  if (!executorOptions.skipReadingConfig) {
40
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
40
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
41
41
  - workspaceRoot: ${workspaceRoot}
42
42
  - projectRoot: ${projectRoot}
43
43
  - sourceRoot: ${sourceRoot}
44
44
  - projectName: ${projectName}
45
45
  `, config);
46
- config = await _chunk3QWOG3CXjs.getConfig.call(void 0, workspaceRoot);
46
+ config = await _chunkVYAFH7RMjs.getConfig.call(void 0, workspaceRoot);
47
47
  }
48
48
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
49
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
49
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
50
50
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
51
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
51
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
52
52
  }
53
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
- ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, options)}
53
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
54
+ ${_chunkVYAFH7RMjs.formatLogMessage.call(void 0, options)}
55
55
  `, config);
56
56
  const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
57
57
  workspaceRoot,
@@ -60,13 +60,13 @@ ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, options)}
60
60
  projectName,
61
61
  config
62
62
  }, config, context.projectsConfigurations.projects[context.projectName]), _chunkUALZJZUKjs.applyWorkspaceProjectTokens);
63
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
- ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, tokenized)}
63
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
64
+ ${_chunkVYAFH7RMjs.formatLogMessage.call(void 0, tokenized)}
65
65
  `, config);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
67
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
70
70
  }
71
71
  const ret = executorFn(tokenized, context, config);
72
72
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -76,26 +76,26 @@ ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, tokenized)}
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  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")) {
79
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkVYAFH7RMjs.formatLogMessage.call(void 0, result)}`, config);
81
81
  console.error(result);
82
82
  throw new Error(`The ${name} executor failed to run`, {
83
83
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
87
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunk3QWOG3CXjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkVYAFH7RMjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
92
92
  `, config);
93
93
  return {
94
94
  success: true
95
95
  };
96
96
  } catch (error) {
97
- _chunk3QWOG3CXjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunk3QWOG3CXjs.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkVYAFH7RMjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkVYAFH7RMjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
99
  - Details: ${error.message}
100
100
  - Stacktrace: ${error.stack}`, config);
101
101
  return {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
7
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.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 = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-BMSP2AHQ.mjs";
3
+ } from "./chunk-B44EGIA5.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-RVVYSXH2.mjs";
6
+ } from "./chunk-EBP7GL4L.mjs";
7
7
  import {
8
8
  __name
9
9
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
7
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoBuildExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoBuildExecutor, "cargoBuildExecutor");
18
- var executor_default = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-JIAGNEII.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-BMSP2AHQ.mjs";
7
+ } from "./chunk-B44EGIA5.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-2BPV2XV2.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-W2L5PTZQ.mjs";
7
+ } from "./chunk-LRNQGMXF.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
3
+ var _chunk3BGF7S7Yjs = require('./chunk-3BGF7S7Y.js');
4
4
 
5
5
 
6
6
 
@@ -13,7 +13,7 @@ var _chunkITGXQQ7Xjs = require('./chunk-ITGXQQ7X.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk3QWOG3CXjs = require('./chunk-3QWOG3CX.js');
16
+ var _chunkVYAFH7RMjs = require('./chunk-VYAFH7RM.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -83,7 +83,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
83
83
  output: "src/"
84
84
  });
85
85
  }
86
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
86
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
87
87
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
88
88
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
89
89
  projectDir: projectRoot,
@@ -93,7 +93,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
93
93
  });
94
94
  await assetHandler.processAllAssetsOnce();
95
95
  if (includeSrc === true) {
96
- _chunk3QWOG3CXjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
96
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
97
97
  const files = await _glob.glob.call(void 0, [
98
98
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
99
99
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -118,7 +118,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
118
118
  const projectGraph = _projectgraph.readCachedProjectGraph.call(void 0, );
119
119
  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);
120
120
  const localPackages = [];
121
- for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
121
+ for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && _optionalChain([dep, 'access', _2 => _2.node, 'access', _3 => _3.data, 'optionalAccess', _4 => _4.root]) !== projectRoot && _optionalChain([dep, 'access', _5 => _5.node, 'access', _6 => _6.data, 'optionalAccess', _7 => _7.root]) !== workspaceRoot)) {
122
122
  const projectNode = project.node;
123
123
  if (projectNode.data.root) {
124
124
  const projectPackageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, projectNode.data.root, "package.json");
@@ -132,16 +132,16 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
132
132
  }
133
133
  }
134
134
  if (localPackages.length > 0) {
135
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
135
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
136
136
  const projectJsonFile = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
137
137
  const projectJson = JSON.parse(projectJsonFile);
138
138
  const projectName2 = projectJson.name;
139
139
  const projectConfigurations = _projectgraph.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
140
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _2 => _2.projects, 'optionalAccess', _3 => _3[projectName2]])) {
140
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _8 => _8.projects, 'optionalAccess', _9 => _9[projectName2]])) {
141
141
  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.");
142
142
  }
143
- const implicitDependencies = _optionalChain([projectConfigurations, 'access', _4 => _4.projects, 'optionalAccess', _5 => _5[projectName2], 'access', _6 => _6.implicitDependencies, 'optionalAccess', _7 => _7.reduce, 'call', _8 => _8((ret, dep) => {
144
- if (_optionalChain([projectConfigurations, 'access', _9 => _9.projects, 'optionalAccess', _10 => _10[dep]])) {
143
+ const implicitDependencies = _optionalChain([projectConfigurations, 'access', _10 => _10.projects, 'optionalAccess', _11 => _11[projectName2], 'access', _12 => _12.implicitDependencies, 'optionalAccess', _13 => _13.reduce, 'call', _14 => _14((ret, dep) => {
144
+ if (_optionalChain([projectConfigurations, 'access', _15 => _15.projects, 'optionalAccess', _16 => _16[dep]])) {
145
145
  const depPackageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
146
146
  if (_fs.existsSync.call(void 0, depPackageJsonPath)) {
147
147
  const depPackageJsonContent = _fs.readFileSync.call(void 0, depPackageJsonPath, "utf8");
@@ -154,19 +154,19 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
154
154
  return ret;
155
155
  }, [])]);
156
156
  packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
157
- if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _11 => _11.includes, 'call', _12 => _12(localPackage.name)])) {
157
+ if (!ret[localPackage.name] && !_optionalChain([implicitDependencies, 'optionalAccess', _17 => _17.includes, 'call', _18 => _18(localPackage.name)])) {
158
158
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
159
159
  }
160
160
  return ret;
161
161
  }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
162
162
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
163
- if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _13 => _13.includes, 'call', _14 => _14(localPackage.name)])) {
163
+ if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _19 => _19.includes, 'call', _20 => _20(localPackage.name)])) {
164
164
  ret[localPackage.name] = localPackage.version || "0.0.1";
165
165
  }
166
166
  return ret;
167
167
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
168
168
  } else {
169
- _chunk3QWOG3CXjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
169
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
170
170
  }
171
171
  return packageJson;
172
172
  }, "addPackageDependencies");
@@ -264,7 +264,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
264
264
  paths.push(...files.reduce((ret, filePath) => {
265
265
  const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
266
266
  if (result) {
267
- _chunk3QWOG3CXjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
267
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
268
268
  if (!paths.includes(result)) {
269
269
  paths.push(result);
270
270
  }
@@ -384,15 +384,15 @@ var RendererEngine = class {
384
384
  if (!relativePath.startsWith("\\\\?\\")) {
385
385
  relativePath = relativePath.replace(/\\/g, "/");
386
386
  }
387
- const meta = _optionalChain([metafile, 'optionalAccess', _15 => _15.outputs, 'access', _16 => _16[relativePath]]);
387
+ const meta = _optionalChain([metafile, 'optionalAccess', _21 => _21.outputs, 'access', _22 => _22[relativePath]]);
388
388
  return {
389
389
  type: "chunk",
390
390
  path: file.path,
391
391
  code: file.text,
392
- map: _optionalChain([outputFiles, 'access', _17 => _17.find, 'call', _18 => _18((f) => f.path === `${file.path}.map`), 'optionalAccess', _19 => _19.text]),
393
- entryPoint: _optionalChain([meta, 'optionalAccess', _20 => _20.entryPoint]),
394
- exports: _optionalChain([meta, 'optionalAccess', _21 => _21.exports]),
395
- imports: _optionalChain([meta, 'optionalAccess', _22 => _22.imports])
392
+ map: _optionalChain([outputFiles, 'access', _23 => _23.find, 'call', _24 => _24((f) => f.path === `${file.path}.map`), 'optionalAccess', _25 => _25.text]),
393
+ entryPoint: _optionalChain([meta, 'optionalAccess', _26 => _26.entryPoint]),
394
+ exports: _optionalChain([meta, 'optionalAccess', _27 => _27.exports]),
395
+ imports: _optionalChain([meta, 'optionalAccess', _28 => _28.imports])
396
396
  };
397
397
  } else {
398
398
  return {
@@ -475,7 +475,7 @@ var esmSplitCodeToCjsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void
475
475
  name: "storm:esm-split-code-to-cjs",
476
476
  setup(build4) {
477
477
  build4.onEnd(async (result) => {
478
- const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _23 => _23.metafile, 'optionalAccess', _24 => _24.outputs]), () => ( {})));
478
+ const outFiles = Object.keys(_nullishCoalesce(_optionalChain([result, 'access', _29 => _29.metafile, 'optionalAccess', _30 => _30.outputs]), () => ( {})));
479
479
  const jsFiles = outFiles.filter((f) => f.endsWith("js"));
480
480
  await esbuild.build({
481
481
  outdir: resolvedOptions.outdir,
@@ -584,7 +584,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
584
584
  setup(build4) {
585
585
  build4.onEnd((result) => {
586
586
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
587
- _chunk3QWOG3CXjs.writeError.call(void 0, `The following errors occurred during the build:
587
+ _chunkVYAFH7RMjs.writeError.call(void 0, `The following errors occurred during the build:
588
588
  ${result.errors.map((error) => error.text).join("\n")}
589
589
 
590
590
  `, resolvedOptions.config);
@@ -597,7 +597,7 @@ ${result.errors.map((error) => error.text).join("\n")}
597
597
  // ../esbuild/src/plugins/resolve-paths.ts
598
598
 
599
599
  function resolvePathsConfig(options, cwd) {
600
- if (_optionalChain([options, 'optionalAccess', _25 => _25.compilerOptions, 'optionalAccess', _26 => _26.paths])) {
600
+ if (_optionalChain([options, 'optionalAccess', _31 => _31.compilerOptions, 'optionalAccess', _32 => _32.paths])) {
601
601
  const paths = Object.entries(options.compilerOptions.paths);
602
602
  const resolvedPaths = paths.map(([key, paths2]) => {
603
603
  return [
@@ -625,7 +625,7 @@ var resolvePathsPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (o
625
625
  build4.onResolve({
626
626
  filter: packagesRegex
627
627
  }, (args) => {
628
- if (_optionalChain([build4, 'access', _27 => _27.initialOptions, 'access', _28 => _28.external, 'optionalAccess', _29 => _29.includes, 'call', _30 => _30(args.path)])) {
628
+ if (_optionalChain([build4, 'access', _33 => _33.initialOptions, 'access', _34 => _34.external, 'optionalAccess', _35 => _35.includes, 'call', _36 => _36(args.path)])) {
629
629
  return {
630
630
  path: args.path,
631
631
  external: true
@@ -693,7 +693,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
693
693
  localBuild: true
694
694
  });
695
695
  if (extractorResult.succeeded === false) {
696
- _chunk3QWOG3CXjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
696
+ _chunkVYAFH7RMjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
697
697
  throw new Error("API Extractor completed with errors");
698
698
  }
699
699
  }
@@ -734,7 +734,7 @@ var tscPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options, r
734
734
  function getTypeDependencyPackageName(npmPackage) {
735
735
  if (npmPackage.startsWith("@")) {
736
736
  const [scope, name] = npmPackage.split("/");
737
- return `@types/${_optionalChain([scope, 'optionalAccess', _31 => _31.slice, 'call', _32 => _32(1)])}__${name}`;
737
+ return `@types/${_optionalChain([scope, 'optionalAccess', _37 => _37.slice, 'call', _38 => _38(1)])}__${name}`;
738
738
  }
739
739
  return `@types/${npmPackage}`;
740
740
  }
@@ -881,8 +881,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
881
881
  const filteredMissingDeps = missingDependencies.filter((dep) => {
882
882
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
883
883
  });
884
- _chunk3QWOG3CXjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
885
- _chunk3QWOG3CXjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
884
+ _chunkVYAFH7RMjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
885
+ _chunkVYAFH7RMjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
886
886
  if (filteredMissingDeps.length > 0) {
887
887
  throw new Error(`Missing dependencies detected - please install them:
888
888
  ${JSON.stringify(filteredMissingDeps)}
@@ -950,7 +950,7 @@ function pipeSync(fn, ...fns) {
950
950
  return (...args) => {
951
951
  let result = fn(...args);
952
952
  for (let i = 0; result !== skip && i < fns.length; ++i) {
953
- result = _optionalChain([fns, 'access', _33 => _33[i], 'optionalCall', _34 => _34(result)]);
953
+ result = _optionalChain([fns, 'access', _39 => _39[i], 'optionalCall', _40 => _40(result)]);
954
954
  }
955
955
  return result;
956
956
  };
@@ -960,7 +960,7 @@ function pipeAsync(fn, ...fns) {
960
960
  return async (...args) => {
961
961
  let result = await fn(...args);
962
962
  for (let i = 0; result !== skip && i < fns.length; ++i) {
963
- result = await _optionalChain([fns, 'access', _35 => _35[i], 'optionalCall', _36 => _36(result)]);
963
+ result = await _optionalChain([fns, 'access', _41 => _41[i], 'optionalCall', _42 => _42(result)]);
964
964
  }
965
965
  return result;
966
966
  };
@@ -976,9 +976,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
976
976
  if (!workspaceRoot) {
977
977
  throw new Error("Cannot find Nx workspace root");
978
978
  }
979
- const config = await _chunk3QWOG3CXjs.getConfig.call(void 0, workspaceRoot.dir);
980
- _chunk3QWOG3CXjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
981
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, "Build options resolution");
979
+ const config = await _chunkVYAFH7RMjs.getConfig.call(void 0, workspaceRoot.dir);
980
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
981
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, "Build options resolution");
982
982
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
983
983
  exitOnError: true
984
984
  });
@@ -990,7 +990,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
990
990
  const projectJson = JSON.parse(projectJsonFile);
991
991
  const projectName = projectJson.name;
992
992
  const projectConfigurations = _devkit.readProjectsConfigurationFromProjectGraph.call(void 0, projectGraph);
993
- if (!_optionalChain([projectConfigurations, 'optionalAccess', _37 => _37.projects, 'optionalAccess', _38 => _38[projectName]])) {
993
+ if (!_optionalChain([projectConfigurations, 'optionalAccess', _43 => _43.projects, 'optionalAccess', _44 => _44[projectName]])) {
994
994
  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.");
995
995
  }
996
996
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
@@ -1025,7 +1025,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1025
1025
  projectGraph,
1026
1026
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
1027
1027
  minify: userOptions.minify || !userOptions.debug,
1028
- verbose: userOptions.verbose || _chunk3QWOG3CXjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1028
+ verbose: userOptions.verbose || _chunkVYAFH7RMjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1029
1029
  includeSrc: userOptions.includeSrc === true,
1030
1030
  metafile: userOptions.metafile !== false,
1031
1031
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1060,11 +1060,10 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1060
1060
  };
1061
1061
  }, {})
1062
1062
  },
1063
- inject: [
1063
+ inject: _defu2.default.call(void 0, [
1064
1064
  options.format === "cjs" && options.injectShims ? _chunkJTAXCQX6js.joinPaths.call(void 0, __dirname, "../assets/cjs_shims.js") : "",
1065
- options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkJTAXCQX6js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : "",
1066
- ..._nullishCoalesce(options.inject, () => ( []))
1067
- ].filter(Boolean)
1065
+ options.format === "esm" && options.injectShims && options.platform === "node" ? _chunkJTAXCQX6js.joinPaths.call(void 0, __dirname, "../assets/esm_shims.js") : ""
1066
+ ], _nullishCoalesce(options.inject, () => ( []))).filter(Boolean)
1068
1067
  };
1069
1068
  result.plugins = _nullishCoalesce(userOptions.plugins, () => ( getDefaultBuildPlugins(userOptions, result)));
1070
1069
  delete result.entry;
@@ -1074,8 +1073,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1074
1073
  }, "resolveOptions");
1075
1074
  async function generatePackageJson(context2) {
1076
1075
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1077
- _chunk3QWOG3CXjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1078
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, "Write package.json file");
1076
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1077
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, "Write package.json file");
1079
1078
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1080
1079
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1081
1080
  throw new Error("Cannot find package.json configuration");
@@ -1148,8 +1147,8 @@ async function generateContext(getOptions) {
1148
1147
  }
1149
1148
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
1150
1149
  async function executeEsBuild(context2) {
1151
- _chunk3QWOG3CXjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1152
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1150
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1151
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1153
1152
  if (process.env.STORM_WATCH) {
1154
1153
  const ctx = await esbuild2.context(context2.options);
1155
1154
  watch(ctx, context2.options);
@@ -1178,8 +1177,8 @@ async function executeEsBuild(context2) {
1178
1177
  delete options.renderers;
1179
1178
  delete options.config;
1180
1179
  delete options.injectShims;
1181
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1182
- ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
1180
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1181
+ ${_chunkVYAFH7RMjs.formatLogMessage.call(void 0, options)}`, context2.options.config);
1183
1182
  const result = await esbuild2.build(options);
1184
1183
  await esbuild2.stop();
1185
1184
  if (result.metafile) {
@@ -1191,9 +1190,9 @@ ${_chunk3QWOG3CXjs.formatLogMessage.call(void 0, options)}`, context2.options.co
1191
1190
  }
1192
1191
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1193
1192
  async function copyBuildAssets(context2) {
1194
- if (_optionalChain([context2, 'access', _39 => _39.result, 'optionalAccess', _40 => _40.errors, 'access', _41 => _41.length]) === 0) {
1195
- _chunk3QWOG3CXjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1196
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1193
+ if (_optionalChain([context2, 'access', _45 => _45.result, 'optionalAccess', _46 => _46.errors, 'access', _47 => _47.length]) === 0) {
1194
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1195
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1197
1196
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
1198
1197
  stopwatch();
1199
1198
  }
@@ -1201,11 +1200,11 @@ async function copyBuildAssets(context2) {
1201
1200
  }
1202
1201
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1203
1202
  async function reportResults(context2) {
1204
- if (_optionalChain([context2, 'access', _42 => _42.result, 'optionalAccess', _43 => _43.errors, 'access', _44 => _44.length]) === 0) {
1203
+ if (_optionalChain([context2, 'access', _48 => _48.result, 'optionalAccess', _49 => _49.errors, 'access', _50 => _50.length]) === 0) {
1205
1204
  if (context2.result.warnings.length > 0) {
1206
- _chunk3QWOG3CXjs.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);
1205
+ _chunkVYAFH7RMjs.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);
1207
1206
  }
1208
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1207
+ _chunkVYAFH7RMjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1209
1208
  }
1210
1209
  }
1211
1210
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
@@ -1241,8 +1240,8 @@ async function dependencyCheck(options) {
1241
1240
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
1242
1241
  async function cleanOutputPath(context2) {
1243
1242
  if (context2.options.clean !== false && context2.options.outdir) {
1244
- _chunk3QWOG3CXjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1245
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1243
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1244
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1246
1245
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
1247
1246
  stopwatch();
1248
1247
  }
@@ -1250,8 +1249,8 @@ async function cleanOutputPath(context2) {
1250
1249
  }
1251
1250
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
1252
1251
  async function build3(options) {
1253
- _chunk3QWOG3CXjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1254
- const stopwatch = _chunk3QWOG3CXjs.getStopwatch.call(void 0, "ESBuild pipeline");
1252
+ _chunkVYAFH7RMjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1253
+ const stopwatch = _chunkVYAFH7RMjs.getStopwatch.call(void 0, "ESBuild pipeline");
1255
1254
  try {
1256
1255
  const opts = Array.isArray(options) ? options : [
1257
1256
  options
@@ -1261,9 +1260,9 @@ async function build3(options) {
1261
1260
  }
1262
1261
  void transduce.async(opts, dependencyCheck);
1263
1262
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeEsBuild, copyBuildAssets, reportResults));
1264
- _chunk3QWOG3CXjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1263
+ _chunkVYAFH7RMjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1265
1264
  } catch (error) {
1266
- _chunk3QWOG3CXjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1265
+ _chunkVYAFH7RMjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1267
1266
  throw error;
1268
1267
  } finally {
1269
1268
  stopwatch();
@@ -1291,9 +1290,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1291
1290
  return context2.rebuild();
1292
1291
  });
1293
1292
  if (rebuildResult instanceof Error) {
1294
- _chunk3QWOG3CXjs.writeError.call(void 0, rebuildResult.message);
1293
+ _chunkVYAFH7RMjs.writeError.call(void 0, rebuildResult.message);
1295
1294
  }
1296
- _chunk3QWOG3CXjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1295
+ _chunkVYAFH7RMjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1297
1296
  }, 10);
1298
1297
  changeWatcher.on("change", fastRebuild);
1299
1298
  return void 0;
@@ -1301,15 +1300,15 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1301
1300
 
1302
1301
  // src/executors/esbuild/executor.ts
1303
1302
  async function esbuildExecutorFn(options, context2, config) {
1304
- _chunk3QWOG3CXjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1305
- if (!_optionalChain([context2, 'access', _45 => _45.projectsConfigurations, 'optionalAccess', _46 => _46.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _47 => _47.projectsConfigurations, 'access', _48 => _48.projects, 'access', _49 => _49[context2.projectName], 'optionalAccess', _50 => _50.root])) {
1303
+ _chunkVYAFH7RMjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1304
+ if (!_optionalChain([context2, 'access', _51 => _51.projectsConfigurations, 'optionalAccess', _52 => _52.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _53 => _53.projectsConfigurations, 'access', _54 => _54.projects, 'access', _55 => _55[context2.projectName], 'optionalAccess', _56 => _56.root])) {
1306
1305
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1307
1306
  }
1308
1307
  await build3({
1309
1308
  ...options,
1310
- projectRoot: _optionalChain([context2, 'access', _51 => _51.projectsConfigurations, 'access', _52 => _52.projects, 'optionalAccess', _53 => _53[context2.projectName], 'access', _54 => _54.root]),
1309
+ projectRoot: _optionalChain([context2, 'access', _57 => _57.projectsConfigurations, 'access', _58 => _58.projects, 'optionalAccess', _59 => _59[context2.projectName], 'access', _60 => _60.root]),
1311
1310
  projectName: context2.projectName,
1312
- sourceRoot: _optionalChain([context2, 'access', _55 => _55.projectsConfigurations, 'access', _56 => _56.projects, 'optionalAccess', _57 => _57[context2.projectName], 'optionalAccess', _58 => _58.sourceRoot]),
1311
+ sourceRoot: _optionalChain([context2, 'access', _61 => _61.projectsConfigurations, 'access', _62 => _62.projects, 'optionalAccess', _63 => _63[context2.projectName], 'optionalAccess', _64 => _64.sourceRoot]),
1313
1312
  format: options.format,
1314
1313
  platform: options.format
1315
1314
  });
@@ -1318,7 +1317,7 @@ async function esbuildExecutorFn(options, context2, config) {
1318
1317
  };
1319
1318
  }
1320
1319
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1321
- var executor_default = _chunkITGXQQ7Xjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1320
+ var executor_default = _chunk3BGF7S7Yjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1322
1321
  skipReadingConfig: false,
1323
1322
  hooks: {
1324
1323
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {