@storm-software/workspace-tools 1.236.0 → 1.237.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-SGU5DQPK.js → chunk-376H4FPQ.js} +2 -2
  4. package/dist/{chunk-EFW3QYJ6.js → chunk-5H2MAX6J.js} +2 -2
  5. package/dist/{chunk-HGS743HN.js → chunk-6JJRTIJE.js} +2 -2
  6. package/dist/{chunk-DXI4NLLG.js → chunk-B56EPXXD.js} +31 -31
  7. package/dist/{chunk-R7LPJA7B.js → chunk-BEQ7SG6P.js} +2 -2
  8. package/dist/{chunk-RENOUPVD.mjs → chunk-BWUHOT6F.mjs} +15 -8
  9. package/dist/{chunk-Y6LAHFQL.js → chunk-CGDGEBZS.js} +2 -2
  10. package/dist/{chunk-WHFR5DFC.js → chunk-COE4MDQZ.js} +17 -17
  11. package/dist/{chunk-AAFUDPY3.js → chunk-CT2M6P5R.js} +11 -11
  12. package/dist/{chunk-MD3SSS3I.js → chunk-EF2AYADZ.js} +2 -2
  13. package/dist/{chunk-CZJW5H5T.mjs → chunk-FZI3TKFY.mjs} +4 -8
  14. package/dist/{chunk-ZW7MPYNT.js → chunk-G4RFND4J.js} +5 -5
  15. package/dist/{chunk-EGVA5PP4.mjs → chunk-GO4TPJGC.mjs} +1 -1
  16. package/dist/{chunk-JNBBP3XY.mjs → chunk-HFYUSCRU.mjs} +1 -1
  17. package/dist/{chunk-2EGD2QSN.js → chunk-IWCQL3AQ.js} +4 -8
  18. package/dist/{chunk-TRN4HIGQ.mjs → chunk-KD5LMZ2A.mjs} +2 -2
  19. package/dist/{chunk-5A2SMUAH.js → chunk-KM2743VP.js} +5 -5
  20. package/dist/{chunk-OQA7D4YP.mjs → chunk-KM2H5RYL.mjs} +1 -1
  21. package/dist/{chunk-AARL4ARR.mjs → chunk-LCGEM7Q4.mjs} +1 -1
  22. package/dist/{chunk-SCINGDII.js → chunk-M3X4P6AT.js} +15 -8
  23. package/dist/{chunk-SKHELRGB.mjs → chunk-MKWGJTCZ.mjs} +1 -1
  24. package/dist/{chunk-5ORRKBYL.js → chunk-MVFTFAFJ.js} +41 -41
  25. package/dist/{chunk-BVOY5ZPI.mjs → chunk-NOGV45XZ.mjs} +1 -1
  26. package/dist/{chunk-XWTEAECW.js → chunk-PJVQQPVY.js} +2 -2
  27. package/dist/{chunk-IOCGVIIK.mjs → chunk-Q3EM343U.mjs} +12 -16
  28. package/dist/{chunk-IYCUBLGZ.mjs → chunk-QDMY7CT5.mjs} +2 -2
  29. package/dist/{chunk-K5Q4B5PP.js → chunk-QIE4V5VC.js} +15 -15
  30. package/dist/{chunk-CR3474CZ.js → chunk-QJSB767L.js} +9 -9
  31. package/dist/{chunk-OVHQ2TQ4.mjs → chunk-QNPWZQ3H.mjs} +3 -3
  32. package/dist/{chunk-RF5FJZO3.mjs → chunk-RHYFYBYC.mjs} +1 -1
  33. package/dist/{chunk-VF3E6O7Z.js → chunk-SEZJIRER.js} +20 -24
  34. package/dist/{chunk-Y4VMFPV4.mjs → chunk-TUB644GP.mjs} +1 -1
  35. package/dist/{chunk-O5Z6RPC6.mjs → chunk-UTSK4MXW.mjs} +1 -1
  36. package/dist/{chunk-PQVWSBEG.js → chunk-V5JX4ONQ.js} +2 -2
  37. package/dist/{chunk-N7SOH3SO.mjs → chunk-VPZNFU57.mjs} +5 -2
  38. package/dist/{chunk-6CGXYDNY.mjs → chunk-VXCCFT5N.mjs} +1 -1
  39. package/dist/{chunk-CF5MRW36.mjs → chunk-WISLBMNQ.mjs} +3 -3
  40. package/dist/{chunk-DPZGOT3C.js → chunk-XOXDKSS6.js} +2 -2
  41. package/dist/{chunk-NSVH52UL.mjs → chunk-XYFHKZNM.mjs} +1 -1
  42. package/dist/{chunk-UXAZCLME.mjs → chunk-ZOE6ZUZK.mjs} +2 -2
  43. package/dist/{chunk-G4SRVNXB.mjs → chunk-ZQMYL7BB.mjs} +1 -1
  44. package/dist/{chunk-U3J3WWUI.js → chunk-ZSONE7KT.js} +7 -4
  45. package/dist/{executor-wWkM11v5.d.ts → executor-B4MiexNw.d.ts} +6 -10
  46. package/dist/{executor-sYaxQf5n.d.ts → executor-BqpvCbj5.d.ts} +0 -4
  47. package/dist/{executor-DlTSIchw.d.ts → executor-C8vSwRW1.d.ts} +0 -4
  48. package/dist/{executor-BSXWmnE3.d.mts → executor-CqbWU1uP.d.mts} +6 -10
  49. package/dist/{executor-C5AtaKvj.d.mts → executor-hq_H_ICT.d.mts} +0 -4
  50. package/dist/{executor-B8unq_QL.d.mts → executor-qCehbH9x.d.mts} +0 -4
  51. package/dist/executors.d.mts +3 -3
  52. package/dist/executors.d.ts +3 -3
  53. package/dist/executors.js +15 -15
  54. package/dist/executors.mjs +16 -16
  55. package/dist/generators.js +9 -9
  56. package/dist/generators.mjs +8 -8
  57. package/dist/index.d.mts +3 -3
  58. package/dist/index.d.ts +3 -3
  59. package/dist/index.js +23 -23
  60. package/dist/index.mjs +24 -24
  61. package/dist/src/base/base-executor.js +3 -3
  62. package/dist/src/base/base-executor.mjs +2 -2
  63. package/dist/src/base/base-generator.js +3 -3
  64. package/dist/src/base/base-generator.mjs +2 -2
  65. package/dist/src/base/index.js +5 -5
  66. package/dist/src/base/index.mjs +4 -4
  67. package/dist/src/base/typescript-build-executor.schema.d.ts +0 -4
  68. package/dist/src/base/typescript-build-executor.schema.json +4 -12
  69. package/dist/src/base/typescript-build-executor.schema.md +0 -4
  70. package/dist/src/base/typescript-build-executor.untyped.js +2 -2
  71. package/dist/src/base/typescript-build-executor.untyped.mjs +1 -1
  72. package/dist/src/executors/cargo-build/executor.js +4 -4
  73. package/dist/src/executors/cargo-build/executor.mjs +3 -3
  74. package/dist/src/executors/cargo-check/executor.js +4 -4
  75. package/dist/src/executors/cargo-check/executor.mjs +3 -3
  76. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  77. package/dist/src/executors/cargo-clippy/executor.mjs +3 -3
  78. package/dist/src/executors/cargo-doc/executor.js +4 -4
  79. package/dist/src/executors/cargo-doc/executor.mjs +3 -3
  80. package/dist/src/executors/cargo-format/executor.js +4 -4
  81. package/dist/src/executors/cargo-format/executor.mjs +3 -3
  82. package/dist/src/executors/clean-package/executor.js +5 -5
  83. package/dist/src/executors/clean-package/executor.mjs +2 -2
  84. package/dist/src/executors/esbuild/executor.d.mts +1 -1
  85. package/dist/src/executors/esbuild/executor.d.ts +1 -1
  86. package/dist/src/executors/esbuild/executor.js +5 -5
  87. package/dist/src/executors/esbuild/executor.mjs +4 -4
  88. package/dist/src/executors/esbuild/schema.d.ts +0 -4
  89. package/dist/src/executors/esbuild/schema.json +4 -12
  90. package/dist/src/executors/esbuild/schema.md +0 -4
  91. package/dist/src/executors/esbuild/untyped.js +2 -2
  92. package/dist/src/executors/esbuild/untyped.mjs +1 -1
  93. package/dist/src/executors/size-limit/executor.js +4 -4
  94. package/dist/src/executors/size-limit/executor.mjs +3 -3
  95. package/dist/src/executors/tsdown/executor.d.mts +1 -1
  96. package/dist/src/executors/tsdown/executor.d.ts +1 -1
  97. package/dist/src/executors/tsdown/executor.js +5 -5
  98. package/dist/src/executors/tsdown/executor.mjs +4 -4
  99. package/dist/src/executors/tsdown/schema.d.ts +0 -4
  100. package/dist/src/executors/tsdown/schema.json +4 -12
  101. package/dist/src/executors/tsdown/schema.md +0 -4
  102. package/dist/src/executors/tsdown/untyped.js +2 -2
  103. package/dist/src/executors/tsdown/untyped.mjs +1 -1
  104. package/dist/src/executors/typia/executor.js +4 -4
  105. package/dist/src/executors/typia/executor.mjs +3 -3
  106. package/dist/src/executors/unbuild/executor.d.mts +1 -1
  107. package/dist/src/executors/unbuild/executor.d.ts +1 -1
  108. package/dist/src/executors/unbuild/executor.js +4 -4
  109. package/dist/src/executors/unbuild/executor.mjs +3 -3
  110. package/dist/src/executors/unbuild/schema.d.ts +6 -10
  111. package/dist/src/executors/unbuild/schema.json +17 -27
  112. package/dist/src/executors/unbuild/schema.md +4 -11
  113. package/dist/src/executors/unbuild/untyped.js +28 -16
  114. package/dist/src/executors/unbuild/untyped.mjs +27 -15
  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.js +4 -4
  118. package/dist/src/generators/config-schema/generator.mjs +3 -3
  119. package/dist/src/generators/neutral-library/generator.js +4 -4
  120. package/dist/src/generators/neutral-library/generator.mjs +3 -3
  121. package/dist/src/generators/node-library/generator.js +4 -4
  122. package/dist/src/generators/node-library/generator.mjs +3 -3
  123. package/dist/src/generators/preset/generator.js +4 -4
  124. package/dist/src/generators/preset/generator.mjs +3 -3
  125. package/dist/src/generators/release-version/generator.js +3 -3
  126. package/dist/src/generators/release-version/generator.mjs +2 -2
  127. package/docs/api/base/typescript-build-executor.schema.md +0 -4
  128. package/docs/api/executors/esbuild/schema.md +0 -4
  129. package/docs/api/executors/tsdown/schema.md +0 -4
  130. package/docs/api/executors/unbuild/schema.md +4 -11
  131. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## 1.237.0 (2025-01-21)
2
+
3
+ ### Features
4
+
5
+ - **unbuild:** Added the `entry` parameter to allow configurable/multiple directories ([ed51dde7](https://github.com/storm-software/storm-ops/commit/ed51dde7))
6
+
7
+ ### 🧱 Updated Dependencies
8
+
9
+ - Updated unbuild to 0.28.0
10
+ - Updated unbuild to 0.28.0
11
+
1
12
  ## 1.236.0 (2025-01-21)
2
13
 
3
14
  ### Features
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.235.3-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.236.0-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 _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
7
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.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 = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Build", cargoBuildExecutor, {
18
+ var executor_default = _chunkCOE4MDQZjs.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 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
7
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -15,7 +15,7 @@ async function cargoClippyExecutor(options, context) {
15
15
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
16
16
  }
17
17
  _chunk3GQAWCBQjs.__name.call(void 0, cargoClippyExecutor, "cargoClippyExecutor");
18
- var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
18
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Cargo Clippy", cargoClippyExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  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 _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
7
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.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 = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
18
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Cargo Format", cargoFormatExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -6,10 +6,10 @@
6
6
 
7
7
 
8
8
 
9
- var _chunkVF3E6O7Zjs = require('./chunk-VF3E6O7Z.js');
9
+ var _chunkSEZJIRERjs = require('./chunk-SEZJIRER.js');
10
10
 
11
11
 
12
- var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
12
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.js');
13
13
 
14
14
 
15
15
 
@@ -19,7 +19,7 @@ var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
19
19
 
20
20
 
21
21
 
22
- var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
22
+ var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
23
23
 
24
24
 
25
25
  var _chunkXCSSYTCUjs = require('./chunk-XCSSYTCU.js');
@@ -37,8 +37,8 @@ var _tsdown = require('tsdown');
37
37
  // ../tsdown/src/clean.ts
38
38
 
39
39
  async function clean(name = "ESBuild", directory, config) {
40
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${name} output clean`);
40
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
41
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, `${name} output clean`);
42
42
  await _node.hfs.deleteAll(directory);
43
43
  stopwatch();
44
44
  }
@@ -73,9 +73,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
73
73
  if (!workspaceRoot) {
74
74
  throw new Error("Cannot find Nx workspace root");
75
75
  }
76
- const config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
- _chunkSCINGDIIjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Build options resolution");
76
+ const config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, workspaceRoot.dir);
77
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
78
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "Build options resolution");
79
79
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
80
80
  exitOnError: true
81
81
  });
@@ -91,19 +91,19 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
91
91
  }
92
92
  const options = _defu2.default.call(void 0, userOptions, DEFAULT_BUILD_OPTIONS);
93
93
  options.name ??= `${projectName}-${options.format}`;
94
- options.target ??= _chunkVF3E6O7Zjs.DEFAULT_TARGET;
94
+ options.target ??= _chunkSEZJIRERjs.DEFAULT_TARGET;
95
95
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, workspaceRoot.dir, options.projectRoot, "package.json");
96
96
  if (!await _node.hfs.isFile(packageJsonPath)) {
97
97
  throw new Error("Cannot find package.json configuration");
98
98
  }
99
- const env = _chunkVF3E6O7Zjs.getEnv.call(void 0, "tsdown", options);
99
+ const env = _chunkSEZJIRERjs.getEnv.call(void 0, "tsdown", options);
100
100
  const result = {
101
101
  ...options,
102
102
  config,
103
103
  ...userOptions,
104
104
  tsconfig: _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, userOptions.tsconfig ? userOptions.tsconfig.replace(projectRoot, "") : "tsconfig.json"),
105
105
  format: options.format || "cjs",
106
- entryPoints: await _chunkVF3E6O7Zjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
106
+ entryPoints: await _chunkSEZJIRERjs.getEntryPoints.call(void 0, config, projectRoot, projectJson.sourceRoot, userOptions.entry || [
107
107
  "./src/index.ts"
108
108
  ], userOptions.emitOnAll),
109
109
  outdir: userOptions.outputPath || _chunkXCSSYTCUjs.joinPaths.call(void 0, "dist", projectRoot),
@@ -114,7 +114,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
114
114
  projectGraph,
115
115
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkXCSSYTCUjs.joinPaths.call(void 0, projectRoot, "src"),
116
116
  minify: userOptions.minify || !userOptions.debug,
117
- verbose: userOptions.verbose || _chunkSCINGDIIjs.isVerbose.call(void 0, ) || userOptions.debug === true,
117
+ verbose: userOptions.verbose || _chunkM3X4P6ATjs.isVerbose.call(void 0, ) || userOptions.debug === true,
118
118
  includeSrc: userOptions.includeSrc === true,
119
119
  metafile: userOptions.metafile !== false,
120
120
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -149,8 +149,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
149
149
  }, "resolveOptions");
150
150
  async function generatePackageJson(options) {
151
151
  if (options.generatePackageJson !== false && await _node.hfs.isFile(_chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "package.json"))) {
152
- _chunkSCINGDIIjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Write package.json file");
152
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
153
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "Write package.json file");
154
154
  const packageJsonPath = _chunkXCSSYTCUjs.joinPaths.call(void 0, options.projectRoot, "project.json");
155
155
  if (!await _node.hfs.isFile(packageJsonPath)) {
156
156
  throw new Error("Cannot find package.json configuration");
@@ -159,11 +159,11 @@ async function generatePackageJson(options) {
159
159
  if (!packageJson) {
160
160
  throw new Error("Cannot find package.json configuration file");
161
161
  }
162
- packageJson = await _chunkVF3E6O7Zjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
- packageJson = await _chunkVF3E6O7Zjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
162
+ packageJson = await _chunkSEZJIRERjs.addPackageDependencies.call(void 0, options.config.workspaceRoot, options.projectRoot, options.projectName, packageJson);
163
+ packageJson = await _chunkSEZJIRERjs.addWorkspacePackageJsonFields.call(void 0, options.config, options.projectRoot, options.sourceRoot, options.projectName, false, packageJson);
164
164
  packageJson.exports ??= {};
165
165
  packageJson.exports["./package.json"] ??= "./package.json";
166
- packageJson.exports["."] ??= _chunkVF3E6O7Zjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
166
+ packageJson.exports["."] ??= _chunkSEZJIRERjs.addPackageJsonExport.call(void 0, "index", packageJson.type, options.sourceRoot);
167
167
  let entryPoints = [
168
168
  {
169
169
  in: "./src/index.ts",
@@ -181,7 +181,7 @@ async function generatePackageJson(options) {
181
181
  const split = entryPoint.out.split(".");
182
182
  split.pop();
183
183
  const entry = split.join(".").replaceAll("\\", "/");
184
- packageJson.exports[`./${entry}`] ??= _chunkVF3E6O7Zjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
184
+ packageJson.exports[`./${entry}`] ??= _chunkSEZJIRERjs.addPackageJsonExport.call(void 0, entry, packageJson.type, options.sourceRoot);
185
185
  }
186
186
  }
187
187
  packageJson.main = packageJson.type === "commonjs" ? "./dist/index.js" : "./dist/index.cjs";
@@ -200,8 +200,8 @@ async function generatePackageJson(options) {
200
200
  }
201
201
  _chunk3GQAWCBQjs.__name.call(void 0, generatePackageJson, "generatePackageJson");
202
202
  async function executeTSDown(options) {
203
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${options.name} build`);
203
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u{1F680} Running ${options.name} build`, options.config);
204
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, `${options.name} build`);
205
205
  await _tsdown.build.call(void 0, {
206
206
  ...options,
207
207
  entry: options.entryPoints,
@@ -213,15 +213,15 @@ async function executeTSDown(options) {
213
213
  }
214
214
  _chunk3GQAWCBQjs.__name.call(void 0, executeTSDown, "executeTSDown");
215
215
  async function copyBuildAssets(options) {
216
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
- await _chunkVF3E6O7Zjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
216
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${options.outdir}`, options.config);
217
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, `${options.name} asset copy`);
218
+ await _chunkSEZJIRERjs.copyAssets.call(void 0, options.config, _nullishCoalesce(options.assets, () => ( [])), options.outdir, options.projectRoot, options.projectName, options.sourceRoot, true, false);
219
219
  stopwatch();
220
220
  return options;
221
221
  }
222
222
  _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
223
223
  async function reportResults(options) {
224
- _chunkSCINGDIIjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
224
+ _chunkM3X4P6ATjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${options.name} build completed successfully`, options.config);
225
225
  }
226
226
  _chunk3GQAWCBQjs.__name.call(void 0, reportResults, "reportResults");
227
227
  async function cleanOutputPath(options) {
@@ -232,8 +232,8 @@ async function cleanOutputPath(options) {
232
232
  }
233
233
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
234
234
  async function build(options) {
235
- _chunkSCINGDIIjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "TSDown pipeline");
235
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, ` \u26A1 Executing Storm TSDown pipeline`);
236
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "TSDown pipeline");
237
237
  try {
238
238
  const opts = Array.isArray(options) ? options : [
239
239
  options
@@ -251,11 +251,11 @@ async function build(options) {
251
251
  await reportResults(opt);
252
252
  }));
253
253
  } else {
254
- _chunkSCINGDIIjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
254
+ _chunkM3X4P6ATjs.writeWarning.call(void 0, " \u{1F6A7} No options were passed to TSBuild. Please check the parameters passed to the `build` function.");
255
255
  }
256
- _chunkSCINGDIIjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
256
+ _chunkM3X4P6ATjs.writeSuccess.call(void 0, " \u{1F3C1} TSDown pipeline build completed successfully");
257
257
  } catch (error) {
258
- _chunkSCINGDIIjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
258
+ _chunkM3X4P6ATjs.writeFatal.call(void 0, " \u274C Fatal errors occurred during the build that could not be recovered from. The build process has been terminated.");
259
259
  throw error;
260
260
  } finally {
261
261
  stopwatch();
@@ -265,7 +265,7 @@ _chunk3GQAWCBQjs.__name.call(void 0, build, "build");
265
265
 
266
266
  // src/executors/tsdown/executor.ts
267
267
  async function tsdownExecutorFn(options, context, config) {
268
- _chunkSCINGDIIjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
268
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm TSDown build executor on the workspace", config);
269
269
  if (!_optionalChain([context, 'access', _3 => _3.projectsConfigurations, 'optionalAccess', _4 => _4.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName] || !_optionalChain([context, 'access', _5 => _5.projectsConfigurations, 'access', _6 => _6.projects, 'access', _7 => _7[context.projectName], 'optionalAccess', _8 => _8.root])) {
270
270
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
271
271
  }
@@ -282,7 +282,7 @@ async function tsdownExecutorFn(options, context, config) {
282
282
  };
283
283
  }
284
284
  _chunk3GQAWCBQjs.__name.call(void 0, tsdownExecutorFn, "tsdownExecutorFn");
285
- var executor_default = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
285
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Storm TSDown build executor", tsdownExecutorFn, {
286
286
  skipReadingConfig: false,
287
287
  hooks: {
288
288
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
7
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.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 = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
18
+ var executor_default = _chunkCOE4MDQZjs.withRunExecutor.call(void 0, "Cargo Check", cargoCheckExecutor, {
19
19
  skipReadingConfig: false,
20
20
  hooks: {
21
21
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -398,49 +398,56 @@ var isVerbose = /* @__PURE__ */ __name((label = LogLevelLabel.SILENT) => {
398
398
  var getLogFn = /* @__PURE__ */ __name((logLevel = LogLevel.INFO, config = {}, _chalk = getChalk()) => {
399
399
  const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
400
400
  const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
401
- if (typeof logLevel === "number" && (logLevel >= getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT) || typeof logLevel === "string" && getLogLevel(logLevel) >= getLogLevel(configLogLevel)) {
401
+ if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
402
402
  return (_) => {
403
403
  };
404
404
  }
405
- if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel || typeof logLevel === "string" && LogLevel.FATAL >= getLogLevel(logLevel)) {
405
+ if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
406
406
  return (message) => {
407
407
  console.error(`
408
408
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.fatal ?? "#7d1a1a")(`[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
409
409
  `);
410
410
  };
411
411
  }
412
- if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel || typeof logLevel === "string" && LogLevel.ERROR >= getLogLevel(logLevel)) {
412
+ if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
413
413
  return (message) => {
414
414
  console.error(`
415
415
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.danger ?? "#f85149")(`[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
416
416
  `);
417
417
  };
418
418
  }
419
- if (typeof logLevel === "number" && LogLevel.WARN >= logLevel || typeof logLevel === "string" && LogLevel.WARN >= getLogLevel(logLevel)) {
419
+ if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
420
420
  return (message) => {
421
421
  console.warn(`
422
422
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.warning ?? "#e3b341")(`[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
423
423
  `);
424
424
  };
425
425
  }
426
- if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel || typeof logLevel === "string" && LogLevel.SUCCESS >= getLogLevel(logLevel)) {
426
+ if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
427
427
  return (message) => {
428
428
  console.info(`
429
429
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.success ?? "#56d364")(`[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
430
430
  `);
431
431
  };
432
432
  }
433
- if (typeof logLevel === "number" && LogLevel.INFO >= logLevel || typeof logLevel === "string" && LogLevel.INFO >= getLogLevel(logLevel)) {
433
+ if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
434
434
  return (message) => {
435
435
  console.info(`
436
436
  ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.info ?? "#58a6ff")(`[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
437
437
  `);
438
438
  };
439
439
  }
440
- if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel || typeof logLevel === "string" && LogLevel.TRACE >= getLogLevel(logLevel)) {
440
+ if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
441
441
  return (message) => {
442
442
  console.debug(`
443
- ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
443
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
444
+ `);
445
+ };
446
+ }
447
+ if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
448
+ return (message) => {
449
+ console.debug(`
450
+ ${_chalk.gray(formatTimestamp())} ${_chalk.hex(colors.brand ?? "#1fb2a6")(`[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace]`)} ${_chalk.bold.whiteBright(formatLogMessage(message))}
444
451
  `);
445
452
  };
446
453
  }
@@ -7,7 +7,7 @@ var _chunkFBLF4KJFjs = require('./chunk-FBLF4KJF.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
10
+ var _chunkQIE4V5VCjs = require('./chunk-QIE4V5VC.js');
11
11
 
12
12
 
13
13
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -49,7 +49,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
49
49
  return null;
50
50
  }
51
51
  _chunk3GQAWCBQjs.__name.call(void 0, nodeLibraryGeneratorFn, "nodeLibraryGeneratorFn");
52
- var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
52
+ var generator_default = _chunkQIE4V5VCjs.withRunGenerator.call(void 0, "TypeScript Library Creator (NodeJs Platform)", nodeLibraryGeneratorFn, {
53
53
  hooks: {
54
54
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
55
55
  options.description ??= "A library used by Storm Software to support NodeJs applications";
@@ -14,7 +14,7 @@ var _chunk5CPYNJT2js = require('./chunk-5CPYNJT2.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
17
+ var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.js');
18
18
 
19
19
 
20
20
  var _chunk5MKQX2FEjs = require('./chunk-5MKQX2FE.js');
@@ -24,11 +24,11 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
24
24
 
25
25
  // src/base/base-executor.ts
26
26
  var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name, executorFn, executorOptions = {}) => async (_options, context) => {
27
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, name);
27
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, name);
28
28
  let options = _options;
29
29
  let config = {};
30
30
  try {
31
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
31
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u26A1 Running the ${name} executor...
32
32
  `, config);
33
33
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
34
34
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
@@ -39,20 +39,20 @@ var withRunExecutor = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (name
39
39
  const projectName = _nullishCoalesce(_optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.name]), () => ( context.projectName));
40
40
  config.workspaceRoot = workspaceRoot;
41
41
  if (!executorOptions.skipReadingConfig) {
42
- _chunkSCINGDIIjs.writeTrace.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
42
+ _chunkM3X4P6ATjs.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 _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot);
48
+ config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, workspaceRoot);
49
49
  }
50
50
  if (_optionalChain([executorOptions, 'optionalAccess', _15 => _15.hooks, 'optionalAccess', _16 => _16.applyDefaultOptions])) {
51
- _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
51
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
52
52
  options = await Promise.resolve(executorOptions.hooks.applyDefaultOptions(options, config));
53
- _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
53
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
54
54
  }
55
- _chunkSCINGDIIjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
55
+ _chunkM3X4P6ATjs.writeTrace.call(void 0, `Executor schema options \u2699\uFE0F
56
56
  ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<function>" : JSON.stringify(options[key])}`).join("\n")}`, config);
57
57
  const tokenized = await _chunk5CPYNJT2js.applyWorkspaceTokens.call(void 0, options, {
58
58
  config,
@@ -64,9 +64,9 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
64
64
  ...executorOptions
65
65
  }, _chunkBWFTYFWMjs.applyWorkspaceExecutorTokens);
66
66
  if (_optionalChain([executorOptions, 'optionalAccess', _17 => _17.hooks, 'optionalAccess', _18 => _18.preProcess])) {
67
- _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
67
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
68
68
  await Promise.resolve(executorOptions.hooks.preProcess(tokenized, config));
69
- _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
69
+ _chunkM3X4P6ATjs.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', _19 => _19.next]))) {
@@ -76,26 +76,26 @@ ${Object.keys(options).map((key) => ` - ${key}=${_isFunction(options[key]) ? "<f
76
76
  }
77
77
  const result = await Promise.resolve(ret);
78
78
  if (result && (!result.success || result.error && _optionalChain([result, 'optionalAccess', _20 => _20.error, 'optionalAccess', _21 => _21.message]) && typeof _optionalChain([result, 'optionalAccess', _22 => _22.error, 'optionalAccess', _23 => _23.message]) === "string" && _optionalChain([result, 'optionalAccess', _24 => _24.error, 'optionalAccess', _25 => _25.name]) && typeof _optionalChain([result, 'optionalAccess', _26 => _26.error, 'optionalAccess', _27 => _27.name]) === "string")) {
79
- _chunkSCINGDIIjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
- ${_chunkSCINGDIIjs.formatLogMessage.call(void 0, result)}`, config);
79
+ _chunkM3X4P6ATjs.writeTrace.call(void 0, `Failure determined by the ${name} executor
80
+ ${_chunkM3X4P6ATjs.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', _28 => _28.error])
84
84
  });
85
85
  }
86
86
  if (_optionalChain([executorOptions, 'optionalAccess', _29 => _29.hooks, 'optionalAccess', _30 => _30.postProcess])) {
87
- _chunkSCINGDIIjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
87
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
88
88
  await Promise.resolve(executorOptions.hooks.postProcess(config));
89
- _chunkSCINGDIIjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
89
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
90
90
  }
91
- _chunkSCINGDIIjs.writeSuccess.call(void 0, `Completed running the ${name} task executor!
91
+ _chunkM3X4P6ATjs.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
- _chunkSCINGDIIjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
- _chunkSCINGDIIjs.writeError.call(void 0, `An exception was thrown in the executor's process
97
+ _chunkM3X4P6ATjs.writeFatal.call(void 0, "A fatal error occurred while running the executor - the process was forced to terminate", config);
98
+ _chunkM3X4P6ATjs.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 {
@@ -13,7 +13,7 @@ var _chunkZMFVKBRMjs = require('./chunk-ZMFVKBRM.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
16
+ var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.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
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
251
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, `\u26A1 Running the Storm Release Version generator...
252
252
 
253
253
  `, config);
254
- const stopwatch = _chunkSCINGDIIjs.getStopwatch.call(void 0, "Storm Release Version generator");
254
+ const stopwatch = _chunkM3X4P6ATjs.getStopwatch.call(void 0, "Storm Release Version generator");
255
255
  try {
256
256
  const workspaceRoot = _chunk5MKQX2FEjs.findWorkspaceRoot.call(void 0, );
257
- _chunkSCINGDIIjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
257
+ _chunkM3X4P6ATjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
258
258
  - workspaceRoot: ${workspaceRoot}`, config);
259
- config = await _chunkSCINGDIIjs.loadStormConfig.call(void 0, workspaceRoot);
260
- _chunkSCINGDIIjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
259
+ config = await _chunkM3X4P6ATjs.loadStormConfig.call(void 0, workspaceRoot);
260
+ _chunkM3X4P6ATjs.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
- _chunkSCINGDIIjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
310
+ _chunkM3X4P6ATjs.writeInfo.call(void 0, `${projectName}: ${msg}`, config);
311
311
  }, "log");
312
- _chunkSCINGDIIjs.writeInfo.call(void 0, `Running release version for project: ${project.name}`, config);
312
+ _chunkM3X4P6ATjs.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
- _chunkSCINGDIIjs.writeSuccess.call(void 0, `Completed running the Storm Release Version generator!
586
+ _chunkM3X4P6ATjs.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
- _chunkSCINGDIIjs.writeFatal.call(void 0, "A fatal error occurred while running the Storm Release Version generator - the process was forced to terminate", config);
621
- _chunkSCINGDIIjs.writeError.call(void 0, `An exception was thrown in the Storm Release Version generator's process
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
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
@@ -4,7 +4,7 @@
4
4
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
5
5
 
6
6
 
7
- var _chunkK5Q4B5PPjs = require('./chunk-K5Q4B5PP.js');
7
+ var _chunkQIE4V5VCjs = require('./chunk-QIE4V5VC.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -232,7 +232,7 @@ async function presetGeneratorFn(tree, options) {
232
232
  return null;
233
233
  }
234
234
  _chunk3GQAWCBQjs.__name.call(void 0, presetGeneratorFn, "presetGeneratorFn");
235
- var generator_default = _chunkK5Q4B5PPjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
235
+ var generator_default = _chunkQIE4V5VCjs.withRunGenerator.call(void 0, "Storm Workspace Preset Generator", presetGeneratorFn);
236
236
 
237
237
 
238
238
 
@@ -46,32 +46,28 @@ var typescript_build_executor_untyped_default = defineUntypedSchema({
46
46
  title: "Bundle",
47
47
  type: "boolean",
48
48
  description: "Bundle the output"
49
- },
50
- $default: false
49
+ }
51
50
  },
52
51
  minify: {
53
52
  $schema: {
54
53
  title: "Minify",
55
54
  type: "boolean",
56
55
  description: "Minify the output"
57
- },
58
- $default: false
56
+ }
59
57
  },
60
58
  debug: {
61
59
  $schema: {
62
60
  title: "Debug",
63
61
  type: "boolean",
64
62
  description: "Debug the output"
65
- },
66
- $default: false
63
+ }
67
64
  },
68
65
  sourcemap: {
69
66
  $schema: {
70
67
  title: "Sourcemap",
71
68
  type: "boolean",
72
69
  description: "Generate a sourcemap"
73
- },
74
- $default: false
70
+ }
75
71
  },
76
72
  silent: {
77
73
  $schema: {
@@ -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 _chunkWHFR5DFCjs = require('./chunk-WHFR5DFC.js');
3
+ var _chunkCOE4MDQZjs = require('./chunk-COE4MDQZ.js');
4
4
 
5
5
 
6
- var _chunkSCINGDIIjs = require('./chunk-SCINGDII.js');
6
+ var _chunkM3X4P6ATjs = require('./chunk-M3X4P6AT.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
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F4CF} Running Size-Limit on ${context.projectName}`, config);
21
+ _chunkM3X4P6ATjs.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
- _chunkSCINGDIIjs.writeInfo.call(void 0, `\u{1F4CF} ${context.projectName} Size-Limit result: ${JSON.stringify(result)}`, config);
29
+ _chunkM3X4P6ATjs.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 = _chunkWHFR5DFCjs.withRunExecutor.call(void 0, "Size-Limit Performance Test Executor", sizeLimitExecutorFn, {
36
+ var executor_default = _chunkCOE4MDQZjs.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) => {