@storm-software/workspace-tools 1.239.5 → 1.239.6

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 (159) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-VTNJFMZL.js → chunk-2VV3TV3C.js} +2 -2
  4. package/dist/{chunk-SOQA673K.mjs → chunk-34RUITCL.mjs} +5 -5
  5. package/dist/{chunk-SMQLC4ZD.js → chunk-3LJCHADS.js} +5 -5
  6. package/dist/{chunk-STENKYWN.js → chunk-4AOGBZNI.js} +2 -2
  7. package/dist/{chunk-CT2M6P5R.js → chunk-4ZKSU75O.js} +11 -11
  8. package/dist/{chunk-KTQJ3BYS.js → chunk-5HAR4KEC.js} +9 -9
  9. package/dist/{chunk-7ZQ2E7DU.mjs → chunk-762D6XMQ.mjs} +1 -1
  10. package/dist/{chunk-PYLFT2B6.mjs → chunk-7HUOKMPU.mjs} +1 -1
  11. package/dist/{chunk-LQSCFXXH.mjs → chunk-AJ7WQHX5.mjs} +1 -1
  12. package/dist/{chunk-UR7LTGOY.js → chunk-APBDTIK2.js} +2 -2
  13. package/dist/{chunk-OCZKMQKV.mjs → chunk-BFKQCOQJ.mjs} +1 -1
  14. package/dist/{chunk-FDQROX6T.js → chunk-BJAK7EVK.js} +4 -4
  15. package/dist/{chunk-B2TMWHSQ.js → chunk-CRMDACYF.js} +20 -20
  16. package/dist/{chunk-TDO6POJN.js → chunk-EGBJI6CN.js} +15 -15
  17. package/dist/{chunk-NOGV45XZ.mjs → chunk-FOYWFRVO.mjs} +3 -3
  18. package/dist/{chunk-BQ6QQEKM.js → chunk-GRU36BAP.js} +41 -41
  19. package/dist/{chunk-IFT7I2FJ.js → chunk-HCEVPME2.js} +9 -9
  20. package/dist/{chunk-VNRL6EUK.mjs → chunk-HLVPVUIE.mjs} +5 -5
  21. package/dist/{chunk-XV2NPRXT.mjs → chunk-HO2DSAZ2.mjs} +1 -1
  22. package/dist/{chunk-3BU4E3N6.mjs → chunk-I5N7XQEK.mjs} +1 -1
  23. package/dist/{chunk-GIIOK5XW.mjs → chunk-INGLAMPC.mjs} +4 -4
  24. package/dist/{chunk-IF2P52VQ.mjs → chunk-JE4JY3YS.mjs} +1 -1
  25. package/dist/{chunk-FTCEJETR.mjs → chunk-JKJK4ONU.mjs} +3 -3
  26. package/dist/{chunk-SLVOLY6P.mjs → chunk-JXMDPU4I.mjs} +3 -3
  27. package/dist/{chunk-YP6KREBX.mjs → chunk-M4PPRKPX.mjs} +2 -2
  28. package/dist/{chunk-JES75APB.mjs → chunk-MFWYLIWY.mjs} +2 -2
  29. package/dist/{chunk-7DG4BPDH.js → chunk-MQAKNE4X.js} +5 -5
  30. package/dist/{chunk-FZRFNRJT.js → chunk-NOVYFOO2.js} +31 -31
  31. package/dist/{chunk-E42HWC4D.js → chunk-NWSV2EYZ.js} +2 -2
  32. package/dist/{chunk-BWUHOT6F.mjs → chunk-NYX3ICKR.mjs} +103 -50
  33. package/dist/{chunk-RER3HTR4.js → chunk-PB6J3FU7.js} +2 -2
  34. package/dist/{chunk-XV57DEOH.mjs → chunk-QLOTS3MH.mjs} +1 -1
  35. package/dist/{chunk-M3X4P6AT.js → chunk-RN4QXP7F.js} +111 -58
  36. package/dist/{chunk-WO3SOZPT.mjs → chunk-RRQ7WHLD.mjs} +2 -2
  37. package/dist/{chunk-3W2Z7D4U.js → chunk-SBHOAJIT.js} +2 -2
  38. package/dist/{chunk-ODVU2NXI.mjs → chunk-SC3ANGC5.mjs} +2 -2
  39. package/dist/{chunk-BUKUNOCV.js → chunk-SGSMEZWT.js} +2 -2
  40. package/dist/{chunk-6SV7BVD4.mjs → chunk-WGNNLNSH.mjs} +1 -1
  41. package/dist/{chunk-BNVJA74D.js → chunk-Y7RQKDIF.js} +2 -2
  42. package/dist/{chunk-LSUHHBAM.js → chunk-YVJY3MXR.js} +2 -2
  43. package/dist/{executor-B4MiexNw.d.ts → executor-BHwhDrL-.d.ts} +1 -1
  44. package/dist/{executor-C8vSwRW1.d.ts → executor-BW_5lER2.d.ts} +1 -1
  45. package/dist/{executor-qCehbH9x.d.mts → executor-Bk4ug-RW.d.mts} +1 -1
  46. package/dist/{executor-BqpvCbj5.d.ts → executor-CIGyZdrv.d.ts} +1 -1
  47. package/dist/{executor-D8m1bXgk.d.mts → executor-C_QU1lUw.d.mts} +1 -1
  48. package/dist/{executor-5Wog21g_.d.mts → executor-D2o23AZj.d.mts} +1 -1
  49. package/dist/{executor-hq_H_ICT.d.mts → executor-DL3jAzFW.d.mts} +1 -1
  50. package/dist/{executor-D5hcfG7B.d.ts → executor-DOFe9F7c.d.ts} +1 -1
  51. package/dist/{executor-U929Bp8J.d.ts → executor-hDJ0Fk_g.d.ts} +1 -1
  52. package/dist/{executor-CqbWU1uP.d.mts → executor-ozBp5rj1.d.mts} +1 -1
  53. package/dist/executors.d.mts +6 -6
  54. package/dist/executors.d.ts +6 -6
  55. package/dist/executors.js +14 -14
  56. package/dist/executors.mjs +13 -13
  57. package/dist/{generator-BLYdn00o.d.mts → generator-BNM0qnMp.d.mts} +1 -1
  58. package/dist/{generator-48_WHnGL.d.mts → generator-BPXY7sqO.d.mts} +1 -1
  59. package/dist/{generator-Dyq3mgZU.d.mts → generator-BS6uKMIL.d.mts} +2 -2
  60. package/dist/{generator-DeKyhxAj.d.mts → generator-BsxAYGR_.d.mts} +2 -2
  61. package/dist/{generator-OLytwpdD.d.ts → generator-CFxhJoNw.d.ts} +2 -2
  62. package/dist/{generator-T2p5gT0C.d.ts → generator-CiDljAEY.d.ts} +2 -2
  63. package/dist/{generator-noL-xIjx.d.ts → generator-CiNaIUED.d.ts} +1 -1
  64. package/dist/{generator-BufhnJev.d.ts → generator-DDW7kns9.d.ts} +2 -2
  65. package/dist/{generator-BqzpDHpv.d.mts → generator-DatrLGpK.d.mts} +2 -2
  66. package/dist/{generator-DeNfAL1R.d.ts → generator-QTX2Ix9P.d.ts} +1 -1
  67. package/dist/{generator-CC8n6BWL.d.mts → generator-c8PBxLhH.d.mts} +2 -2
  68. package/dist/{generator-CtpgcwxE.d.ts → generator-ymaJQAJP.d.ts} +2 -2
  69. package/dist/generators.d.mts +8 -8
  70. package/dist/generators.d.ts +8 -8
  71. package/dist/generators.js +9 -9
  72. package/dist/generators.mjs +8 -8
  73. package/dist/index.d.mts +13 -13
  74. package/dist/index.d.ts +13 -13
  75. package/dist/index.js +21 -21
  76. package/dist/index.mjs +20 -20
  77. package/dist/src/base/base-executor.d.mts +2 -2
  78. package/dist/src/base/base-executor.d.ts +2 -2
  79. package/dist/src/base/base-executor.js +3 -3
  80. package/dist/src/base/base-executor.mjs +2 -2
  81. package/dist/src/base/base-generator.d.mts +2 -2
  82. package/dist/src/base/base-generator.d.ts +2 -2
  83. package/dist/src/base/base-generator.js +3 -3
  84. package/dist/src/base/base-generator.mjs +2 -2
  85. package/dist/src/base/index.d.mts +2 -2
  86. package/dist/src/base/index.d.ts +2 -2
  87. package/dist/src/base/index.js +4 -4
  88. package/dist/src/base/index.mjs +3 -3
  89. package/dist/src/executors/cargo-build/executor.js +4 -4
  90. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  91. package/dist/src/executors/cargo-check/executor.js +4 -4
  92. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  93. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  94. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  95. package/dist/src/executors/cargo-doc/executor.js +4 -4
  96. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  97. package/dist/src/executors/cargo-format/executor.js +4 -4
  98. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  99. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  100. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  101. package/dist/src/executors/clean-package/executor.js +5 -5
  102. package/dist/src/executors/clean-package/executor.mjs +2 -2
  103. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  104. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  105. package/dist/src/executors/esbuild/executor.js +5 -5
  106. package/dist/src/executors/esbuild/executor.mjs +4 -4
  107. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  108. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  109. package/dist/src/executors/size-limit/executor.js +4 -4
  110. package/dist/src/executors/size-limit/executor.mjs +3 -3
  111. package/dist/src/executors/tsdown/executor.d.mts +2 -2
  112. package/dist/src/executors/tsdown/executor.d.ts +2 -2
  113. package/dist/src/executors/tsdown/executor.js +5 -5
  114. package/dist/src/executors/tsdown/executor.mjs +4 -4
  115. package/dist/src/executors/typia/executor.d.mts +2 -2
  116. package/dist/src/executors/typia/executor.d.ts +2 -2
  117. package/dist/src/executors/typia/executor.js +4 -4
  118. package/dist/src/executors/typia/executor.mjs +3 -3
  119. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  120. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  121. package/dist/src/executors/unbuild/executor.js +4 -4
  122. package/dist/src/executors/unbuild/executor.mjs +3 -3
  123. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  124. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  125. package/dist/src/generators/browser-library/generator.js +4 -4
  126. package/dist/src/generators/browser-library/generator.mjs +3 -3
  127. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  128. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  129. package/dist/src/generators/config-schema/generator.js +4 -4
  130. package/dist/src/generators/config-schema/generator.mjs +3 -3
  131. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  132. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  133. package/dist/src/generators/neutral-library/generator.js +4 -4
  134. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  135. package/dist/src/generators/node-library/generator.d.mts +3 -3
  136. package/dist/src/generators/node-library/generator.d.ts +3 -3
  137. package/dist/src/generators/node-library/generator.js +4 -4
  138. package/dist/src/generators/node-library/generator.mjs +3 -3
  139. package/dist/src/generators/preset/generator.d.mts +3 -3
  140. package/dist/src/generators/preset/generator.d.ts +3 -3
  141. package/dist/src/generators/preset/generator.js +4 -4
  142. package/dist/src/generators/preset/generator.mjs +3 -3
  143. package/dist/src/generators/release-version/generator.d.mts +2 -2
  144. package/dist/src/generators/release-version/generator.d.ts +2 -2
  145. package/dist/src/generators/release-version/generator.js +3 -3
  146. package/dist/src/generators/release-version/generator.mjs +2 -2
  147. package/dist/src/types.d.mts +2 -2
  148. package/dist/src/types.d.ts +2 -2
  149. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  150. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  151. package/dist/src/utils/index.d.mts +2 -2
  152. package/dist/src/utils/index.d.ts +2 -2
  153. package/dist/src/utils/project-tags.d.mts +2 -2
  154. package/dist/src/utils/project-tags.d.ts +2 -2
  155. package/dist/{types-BmsLBqaq.d.ts → types-Bd83s-qg.d.ts} +1 -1
  156. package/dist/{types-CQzaS20Q.d.mts → types-CYi2oThM.d.mts} +1 -1
  157. package/dist/{types-D9vU63tt.d.ts → types-zrlItIRw.d.mts} +3 -3
  158. package/dist/{types-D9vU63tt.d.mts → types-zrlItIRw.d.ts} +3 -3
  159. package/package.json +5 -5
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## 1.239.6 (2025-01-22)
2
+
3
+ ### Miscellaneous
4
+
5
+ - **monorepo:** Update the workspace's `storm.json` config to use the new preset repository ([95067c70](https://github.com/storm-software/storm-ops/commit/95067c70))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated prettier to 0.30.3
10
+ - Updated esbuild to 0.21.3
11
+ - Updated unbuild to 0.30.6
12
+ - Updated unbuild to 0.30.6
13
+ - Updated tsdown to 0.22.3
14
+
1
15
  ## 1.239.5 (2025-01-22)
2
16
 
3
17
  ### Bug Fixes
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.239.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.239.5-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 @@
4
4
  var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
5
5
 
6
6
 
7
- var _chunkTDO6POJNjs = require('./chunk-TDO6POJN.js');
7
+ var _chunkEGBJI6CNjs = require('./chunk-EGBJI6CN.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -70,7 +70,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
70
70
  return null;
71
71
  }
72
72
  _chunk3GQAWCBQjs.__name.call(void 0, browserLibraryGeneratorFn, "browserLibraryGeneratorFn");
73
- var generator_default = _chunkTDO6POJNjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
73
+ var generator_default = _chunkEGBJI6CNjs.withRunGenerator.call(void 0, "TypeScript Library Creator (Browser Platform)", browserLibraryGeneratorFn, {
74
74
  hooks: {
75
75
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
76
76
  options.description ??= "A library used by Storm Software to support browser applications";
@@ -8,14 +8,14 @@ import {
8
8
  getEntryPoints,
9
9
  getEnv,
10
10
  getOutExtension
11
- } from "./chunk-GIIOK5XW.mjs";
11
+ } from "./chunk-INGLAMPC.mjs";
12
12
  import {
13
13
  withRunExecutor
14
- } from "./chunk-FTCEJETR.mjs";
14
+ } from "./chunk-JKJK4ONU.mjs";
15
15
  import {
16
+ getConfig,
16
17
  getStopwatch,
17
18
  isVerbose,
18
- loadStormConfig,
19
19
  writeDebug,
20
20
  writeError,
21
21
  writeFatal,
@@ -23,7 +23,7 @@ import {
23
23
  writeSuccess,
24
24
  writeTrace,
25
25
  writeWarning
26
- } from "./chunk-BWUHOT6F.mjs";
26
+ } from "./chunk-NYX3ICKR.mjs";
27
27
  import {
28
28
  joinPaths
29
29
  } from "./chunk-PVTEDLBL.mjs";
@@ -713,7 +713,7 @@ var resolveOptions = /* @__PURE__ */ __name(async (userOptions) => {
713
713
  if (!workspaceRoot) {
714
714
  throw new Error("Cannot find Nx workspace root");
715
715
  }
716
- const config = await loadStormConfig(workspaceRoot.dir);
716
+ const config = await getConfig(workspaceRoot.dir);
717
717
  writeDebug(" \u2699\uFE0F Resolving build options", config);
718
718
  const stopwatch = getStopwatch("Build options resolution");
719
719
  const projectGraph = await createProjectGraphAsync({
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkB2TMWHSQjs = require('./chunk-B2TMWHSQ.js');
3
+ var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
4
4
 
5
5
 
6
- var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
6
+ var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,7 +18,7 @@ async function sizeLimitExecutorFn(options, context, config) {
18
18
  if (!_optionalChain([context, 'optionalAccess', _ => _.projectName]) || !_optionalChain([context, 'access', _2 => _2.projectsConfigurations, 'optionalAccess', _3 => _3.projects]) || !context.projectsConfigurations.projects[context.projectName]) {
19
19
  throw new Error("The Size-Limit process failed because the context is not valid. Please run this command from a workspace.");
20
20
  }
21
- _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
22
22
  _sizelimit2.default.call(void 0, [
23
23
  _file2.default,
24
24
  _esbuild2.default,
@@ -26,14 +26,14 @@ async function sizeLimitExecutorFn(options, context, config) {
26
26
  ], {
27
27
  checks: _nullishCoalesce(_nullishCoalesce(options.entry, () => ( _optionalChain([context, 'access', _4 => _4.projectsConfigurations, 'access', _5 => _5.projects, 'access', _6 => _6[context.projectName], 'optionalAccess', _7 => _7.sourceRoot]))), () => ( _devkit.joinPathFragments.call(void 0, _nullishCoalesce(_optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'access', _9 => _9.projects, 'access', _10 => _10[context.projectName], 'optionalAccess', _11 => _11.root]), () => ( "./")), "src")))
28
28
  }).then((result) => {
29
- _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
30
30
  });
31
31
  return {
32
32
  success: true
33
33
  };
34
34
  }
35
35
  _chunk3GQAWCBQjs.__name.call(void 0, sizeLimitExecutorFn, "sizeLimitExecutorFn");
36
- var executor_default = _chunkB2TMWHSQjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
37
37
  skipReadingConfig: false,
38
38
  hooks: {
39
39
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkB2TMWHSQjs = require('./chunk-B2TMWHSQ.js');
7
+ var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -19,7 +19,7 @@ async function cargoDocExecutor(options, context) {
19
19
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
20
20
  }
21
21
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
22
- var executor_default = _chunkB2TMWHSQjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
22
+ var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
23
  skipReadingConfig: false,
24
24
  hooks: {
25
25
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
16
+ var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
17
17
 
18
18
 
19
19
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -248,16 +248,16 @@ var _version = require('nx/src/command-line/release/version');
248
248
  var _utils = require('nx/src/tasks-runner/utils');
249
249
  var _semver3 = require('semver');
250
250
  async function releaseVersionGeneratorFn(tree, options, config) {
251
- _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
251
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
252
252
 
253
253
  `, config);
254
- const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "Storm Release Version generator");
254
+ const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, "Storm Release Version generator");
255
255
  try {
256
256
  const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
257
- _chunkM3X4P6ATjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
257
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
258
258
  - workspaceRoot: ${workspaceRoot}`, config);
259
- config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, workspaceRoot);
260
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
259
+ config = await _chunkRN4QXP7Fjs.getConfig.call(void 0, workspaceRoot);
260
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
261
261
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
262
262
  const versionData = {};
263
263
  if (options.specifier) {
@@ -307,9 +307,9 @@ To fix this you will either need to add a package.json or Cargo.toml file at tha
307
307
  }
308
308
  const workspaceRelativePackagePath = _path.relative.call(void 0, _nullishCoalesce(_optionalChain([config, 'optionalAccess', _9 => _9.workspaceRoot]), () => ( _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, ))), tree.exists(packageJsonPath) ? packageJsonPath : cargoTomlPath);
309
309
  const log = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (msg) => {
310
- _chunkM3X4P6ATjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
310
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
311
311
  }, "log");
312
- _chunkM3X4P6ATjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
312
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
313
313
  let packageName;
314
314
  let currentVersionFromDisk;
315
315
  if (tree.exists(packageJsonPath)) {
@@ -583,7 +583,7 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
583
583
  }
584
584
  }
585
585
  await _devkit.formatFiles.call(void 0, tree);
586
- _chunkM3X4P6ATjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
586
+ _chunkRN4QXP7Fjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
587
587
  `, config);
588
588
  return {
589
589
  data: versionData,
@@ -617,8 +617,8 @@ Projects with packageRoot configured: ${Array.from(projectNameToPackageRootMap.k
617
617
  }, "callback")
618
618
  };
619
619
  } catch (error) {
620
- _chunkM3X4P6ATjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
- _chunkM3X4P6ATjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
620
+ _chunkRN4QXP7Fjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
+ _chunkRN4QXP7Fjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
622
622
  - Details: ${error.message}
623
623
  - Stacktrace: ${error.stack}`, config);
624
624
  throw new Error(`An exception was thrown in the Storm Release Version generator's process
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
6
+ var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
7
7
 
8
8
 
9
9
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -38,7 +38,7 @@ var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
38
38
  var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot) => {
39
39
  let rootDir = workspaceRoot;
40
40
  if (!rootDir) {
41
- const config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, );
41
+ const config = await _chunkRN4QXP7Fjs.getConfig.call(void 0, );
42
42
  rootDir = config.workspaceRoot;
43
43
  }
44
44
  const nxJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, rootDir, "nx.json");
@@ -53,7 +53,7 @@ var readNxConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (w
53
53
  var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (config, assets, outputPath, projectRoot, projectName, sourceRoot, generatePackageJson = true, includeSrc = false, banner, footer) => {
54
54
  const pendingAssets = Array.from(_nullishCoalesce(assets, () => ( [])));
55
55
  pendingAssets.push({
56
- input: projectRoot,
56
+ input: _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, projectRoot),
57
57
  glob: "*.md",
58
58
  output: "."
59
59
  });
@@ -86,7 +86,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
86
86
  if (!buildTarget) {
87
87
  throw new Error(`The Build process failed because the project does not have a valid build target in the project.json file. Check if the file exists in the root of the project at ${_chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "project.json")}`);
88
88
  }
89
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
89
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
90
90
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
91
91
  const result = await _js.copyAssets.call(void 0, {
92
92
  assets: pendingAssets,
@@ -101,13 +101,13 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
101
101
  projectsConfigurations,
102
102
  nxJsonConfiguration: nxJson,
103
103
  cwd: config.workspaceRoot,
104
- isVerbose: _chunkM3X4P6ATjs.isVerbose.call(void 0, config.logLevel)
104
+ isVerbose: _chunkRN4QXP7Fjs.isVerbose.call(void 0, config.logLevel)
105
105
  });
106
106
  if (!result.success) {
107
107
  throw new Error("The Build process failed trying to copy assets");
108
108
  }
109
109
  if (includeSrc === true) {
110
- _chunkM3X4P6ATjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
110
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkXCSSYTCUjs.joinPaths.call(void 0, outputPath, "src")}`, config);
111
111
  const files = await _glob.glob.call(void 0, [
112
112
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
113
113
  _chunkXCSSYTCUjs.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -145,7 +145,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
145
145
  }
146
146
  }
147
147
  if (localPackages.length > 0) {
148
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
148
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
149
149
  packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
150
150
  if (!ret[localPackage.name]) {
151
151
  ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
@@ -167,7 +167,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
167
167
  return ret;
168
168
  }, _nullishCoalesce(packageJson.peerDependencies, () => ( {})));
169
169
  } else {
170
- _chunkM3X4P6ATjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
170
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
171
171
  }
172
172
  return packageJson;
173
173
  }, "addPackageDependencies");
@@ -263,7 +263,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
263
263
  results.push(...files.reduce((ret, filePath) => {
264
264
  const result = _chunkXCSSYTCUjs.correctPaths.call(void 0, _chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkXCSSYTCUjs.correctPaths.call(void 0, projectRoot), ""));
265
265
  if (result) {
266
- _chunkM3X4P6ATjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
266
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkXCSSYTCUjs.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
267
267
  if (!results.includes(result)) {
268
268
  results.push(result);
269
269
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XSRDTQ5C.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-SLVOLY6P.mjs";
7
+ } from "./chunk-JXMDPU4I.mjs";
8
8
  import {
9
9
  __dirname,
10
10
  __name
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-FTCEJETR.mjs";
7
+ } from "./chunk-JKJK4ONU.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-FTCEJETR.mjs";
7
+ } from "./chunk-JKJK4ONU.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkB2TMWHSQjs = require('./chunk-B2TMWHSQ.js');
7
+ var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.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 = _chunkB2TMWHSQjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkCRMDACYFjs.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-QZHIWK5Z.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-FTCEJETR.mjs";
7
+ } from "./chunk-JKJK4ONU.mjs";
8
8
  import {
9
9
  __name
10
10
  } from "./chunk-XUV4U54K.mjs";
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkB2TMWHSQjs = require('./chunk-B2TMWHSQ.js');
3
+ var _chunkCRMDACYFjs = require('./chunk-CRMDACYF.js');
4
4
 
5
5
 
6
- var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
6
+ var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
7
7
 
8
8
 
9
9
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -15,7 +15,7 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
15
15
  var _defu = require('defu');
16
16
  var _jiti = require('jiti');
17
17
  async function unbuildExecutorFn(options, context, config) {
18
- _chunkM3X4P6ATjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
19
19
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
20
20
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace root directory.");
21
21
  }
@@ -63,7 +63,7 @@ async function unbuildExecutorFn(options, context, config) {
63
63
  };
64
64
  }
65
65
  _chunk3GQAWCBQjs.__name.call(void 0, unbuildExecutorFn, "unbuildExecutorFn");
66
- var executor_default = _chunkB2TMWHSQjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkCRMDACYFjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
67
67
  skipReadingConfig: false,
68
68
  hooks: {
69
69
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -12,7 +12,7 @@ var _chunkXS73BPQSjs = require('./chunk-XS73BPQS.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
15
+ var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
16
16
 
17
17
 
18
18
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.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 = _chunkM3X4P6ATjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config = {};
29
29
  try {
@@ -35,25 +35,25 @@ 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
- _chunkM3X4P6ATjs.writeInfo.call(void 0, `
38
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, `
39
39
  \u26A1 Running the ${name} executor for ${projectName}
40
40
  `, config);
41
41
  if (!executorOptions.skipReadingConfig) {
42
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
42
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
43
43
  - workspaceRoot: ${workspaceRoot}
44
44
  - projectRoot: ${projectRoot}
45
45
  - sourceRoot: ${sourceRoot}
46
46
  - projectName: ${projectName}
47
47
  `, config);
48
- config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, workspaceRoot);
48
+ config = await _chunkRN4QXP7Fjs.getConfig.call(void 0, workspaceRoot);
49
49
  }
50
50
  if (_optionalChain([executorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.applyDefaultOptions])) {
51
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
51
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
52
52
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
53
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
53
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
54
54
  }
55
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
- ${_chunkM3X4P6ATjs.formatLogMessage.call(void 0, options)}
55
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
+ ${_chunkRN4QXP7Fjs.formatLogMessage.call(void 0, options)}
57
57
  `, config);
58
58
  const tokenized = await _chunkXS73BPQSjs.applyWorkspaceTokens.call(void 0, options, _defu.defu.call(void 0, {
59
59
  workspaceRoot,
@@ -62,13 +62,13 @@ ${_chunkM3X4P6ATjs.formatLogMessage.call(void 0, options)}
62
62
  projectName,
63
63
  config
64
64
  }, config, context.projectsConfigurations.projects[context.projectName]), _chunkXS73BPQSjs.applyWorkspaceProjectTokens);
65
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
66
- ${_chunkM3X4P6ATjs.formatLogMessage.call(void 0, tokenized)}
65
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Executor schema tokenized options \u2699\uFE0F
66
+ ${_chunkRN4QXP7Fjs.formatLogMessage.call(void 0, tokenized)}
67
67
  `, config);
68
68
  if (_optionalChain([executorOptions, 'optionalAccess', _5 => _5.hooks, 'optionalAccess', _6 => _6.preProcess])) {
69
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
69
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
70
70
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
71
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
71
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
72
72
  }
73
73
  const ret = executorFn(tokenized, context, config);
74
74
  if (_isFunction(_optionalChain([ret, 'optionalAccess', _7 => _7.next]))) {
@@ -78,26 +78,26 @@ ${_chunkM3X4P6ATjs.formatLogMessage.call(void 0, tokenized)}
78
78
  }
79
79
  const result = await Promise.resolve(ret);
80
80
  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")) {
81
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
82
- ${_chunkM3X4P6ATjs.formatLogMessage.call(void 0, result)}`, config);
81
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
82
+ ${_chunkRN4QXP7Fjs.formatLogMessage.call(void 0, result)}`, config);
83
83
  console.error(result);
84
84
  throw new Error(`The ${name} executor failed to run`, {
85
85
  cause: _optionalChain([result, 'optionalAccess', _16 => _16.error])
86
86
  });
87
87
  }
88
88
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.postProcess])) {
89
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
89
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
90
90
  await Promise.resolve(executorOptions.hooks.postProcess(config));
91
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
91
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
92
92
  }
93
- _chunkM3X4P6ATjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
93
+ _chunkRN4QXP7Fjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
94
94
  `, config);
95
95
  return {
96
96
  success: true
97
97
  };
98
98
  } catch (error) {
99
- _chunkM3X4P6ATjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
100
- _chunkM3X4P6ATjs.writeError.call(void 0, `An exception was thrown in the executor's process
99
+ _chunkRN4QXP7Fjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
100
+ _chunkRN4QXP7Fjs.writeError.call(void 0, `An exception was thrown in the executor's process
101
101
  - Details: ${error.message}
102
102
  - Stacktrace: ${error.stack}`, config);
103
103
  return {
@@ -11,7 +11,7 @@ var _chunkXS73BPQSjs = require('./chunk-XS73BPQS.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
14
+ var _chunkRN4QXP7Fjs = require('./chunk-RN4QXP7F.js');
15
15
 
16
16
 
17
17
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -23,34 +23,34 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
23
23
  var withRunGenerator = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, generatorFn, generatorOptions = {
24
24
  skipReadingConfig: false
25
25
  }) => async (tree, _options) => {
26
- const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkRN4QXP7Fjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkRN4QXP7Fjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkM3X4P6ATjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkRN4QXP7Fjs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkM3X4P6ATjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkRN4QXP7Fjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
45
45
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
46
46
  const tokenized = await _chunkXS73BPQSjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunkXS73BPQSjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
54
54
  }
55
55
  const result = await Promise.resolve(generatorFn(tree, tokenized, config));
56
56
  if (result) {
@@ -63,18 +63,18 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
63
63
  }
64
64
  }
65
65
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
66
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkRN4QXP7Fjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkM3X4P6ATjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkRN4QXP7Fjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkM3X4P6ATjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkM3X4P6ATjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkRN4QXP7Fjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkRN4QXP7Fjs.writeError.call(void 0, `An exception was thrown in the generator's process
78
78
  - Details: ${error.message}
79
79
  - Stacktrace: ${error.stack}`, config);
80
80
  };
@@ -5,15 +5,15 @@ import {
5
5
  stringifyCargoToml
6
6
  } from "./chunk-VYH45FO6.mjs";
7
7
  import {
8
+ getConfig,
8
9
  getStopwatch,
9
- loadStormConfig,
10
10
  writeDebug,
11
11
  writeError,
12
12
  writeFatal,
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-BWUHOT6F.mjs";
16
+ } from "./chunk-NYX3ICKR.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-DMUTOQCB.mjs";
@@ -256,7 +256,7 @@ async function releaseVersionGeneratorFn(tree, options, config) {
256
256
  const workspaceRoot = findWorkspaceRoot();
257
257
  writeDebug(`Loading the Storm Config from environment variables and storm.config.js file...
258
258
  - workspaceRoot: ${workspaceRoot}`, config);
259
- config = await loadStormConfig(workspaceRoot);
259
+ config = await getConfig(workspaceRoot);
260
260
  writeTrace(`Generator schema options \u2699\uFE0F
261
261
  ${Object.keys(options ?? {}).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`, config);
262
262
  const versionData = {};