@storm-software/workspace-tools 1.275.21 → 1.275.22

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 (165) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{chunk-M2RWCXGG.js → chunk-42TNQHCD.js} +2 -2
  3. package/dist/{chunk-VNWWEHIC.js → chunk-5TUFRMTO.js} +2 -2
  4. package/dist/{chunk-WRM3EAQL.js → chunk-6R4A3PB6.js} +21 -21
  5. package/dist/{chunk-RB2UWVCU.mjs → chunk-7B7MO37D.mjs} +1 -1
  6. package/dist/{chunk-Q5PHHZK5.js → chunk-7ZRQQA25.js} +2 -2
  7. package/dist/{chunk-X2JVWB4F.mjs → chunk-C7LHUAYC.mjs} +2 -2
  8. package/dist/{chunk-JYOPSFB4.js → chunk-DKLKGRRG.js} +2 -2
  9. package/dist/{chunk-4AJFY3TU.js → chunk-EN5XS3GB.js} +84 -84
  10. package/dist/{chunk-SLYJ57BS.mjs → chunk-EN6UN4HW.mjs} +1 -1
  11. package/dist/{chunk-323YYPBI.js → chunk-EUAJDEYR.js} +2 -2
  12. package/dist/{chunk-U3ORKFRH.js → chunk-FFOWIU7U.js} +5 -5
  13. package/dist/{chunk-562YIZY6.mjs → chunk-G6EH3PP7.mjs} +2 -2
  14. package/dist/{chunk-AXP4TQEB.mjs → chunk-HMYD5M4B.mjs} +2 -2
  15. package/dist/{chunk-4TKNR4UF.mjs → chunk-HWLOOO2F.mjs} +3 -3
  16. package/dist/{chunk-O6CDIW64.mjs → chunk-I4SUMEDP.mjs} +3 -3
  17. package/dist/{chunk-6IGBLWC7.js → chunk-IK64JJIC.js} +2 -2
  18. package/dist/{chunk-LWMUUMAO.mjs → chunk-JMWUA7I6.mjs} +1 -1
  19. package/dist/{chunk-KK7GLPSX.mjs → chunk-K2CSCQCX.mjs} +1 -1
  20. package/dist/{chunk-HXX2KU7K.js → chunk-L5YPQPPI.js} +2 -2
  21. package/dist/{chunk-UKJES7FE.mjs → chunk-LV23UCVW.mjs} +1 -1
  22. package/dist/{chunk-UER4EE2C.mjs → chunk-M4FI4A7J.mjs} +2 -2
  23. package/dist/chunk-M4MFOGBP.js +67 -0
  24. package/dist/{chunk-JPD34HQ6.js → chunk-N26S5ZZO.js} +4 -4
  25. package/dist/{chunk-62PWDDJ5.js → chunk-N56A46X4.js} +19 -19
  26. package/dist/{chunk-FRSRLLIU.js → chunk-PS2BJ4LE.js} +16 -16
  27. package/dist/{chunk-S3TTYACT.js → chunk-Q4OQNT35.js} +2 -2
  28. package/dist/{chunk-TMWRMTZX.mjs → chunk-RI4DKWHY.mjs} +1 -1
  29. package/dist/{chunk-TA7R5VU7.mjs → chunk-RRSFJSUD.mjs} +1 -1
  30. package/dist/{chunk-FNHLEPRE.js → chunk-SC7EMPTR.js} +2 -2
  31. package/dist/{chunk-GSDPFFZP.mjs → chunk-T37KAYWR.mjs} +10 -7
  32. package/dist/{chunk-F2AQZYX7.js → chunk-TED4ZEH4.js} +2 -2
  33. package/dist/{chunk-WZURLCQH.mjs → chunk-U46LNC6Z.mjs} +1 -1
  34. package/dist/{chunk-HTLPAE2L.js → chunk-UND65LI3.js} +2 -2
  35. package/dist/{chunk-7R5M47RD.mjs → chunk-VM2NJKNU.mjs} +1 -1
  36. package/dist/{chunk-X5WXK44U.js → chunk-VTWK6DYL.js} +2 -2
  37. package/dist/{chunk-5QELRWTW.js → chunk-VXAYID6A.js} +20 -20
  38. package/dist/{chunk-KCYF6ZJO.mjs → chunk-WPS2TBOT.mjs} +2 -2
  39. package/dist/{chunk-PYR2GK7W.mjs → chunk-XUPPPUVL.mjs} +1 -1
  40. package/dist/{chunk-FIHLI4YN.js → chunk-Y2U6VHAA.js} +31 -31
  41. package/dist/{chunk-DR3QHMB4.mjs → chunk-Y47IDRQF.mjs} +1 -1
  42. package/dist/{chunk-AQBADFNP.mjs → chunk-ZBYX46UV.mjs} +1 -1
  43. package/dist/{chunk-SQZZXL5S.mjs → chunk-ZCZPWHWR.mjs} +1 -1
  44. package/dist/{chunk-P2LLJMPH.mjs → chunk-ZMH42O44.mjs} +2 -2
  45. package/dist/{chunk-JIITW5QG.js → chunk-ZTOCNHII.js} +5 -5
  46. package/dist/{executor-D5ne03fk.d.mts → executor-BP-LYnHF.d.mts} +1 -1
  47. package/dist/{executor-CFg--mJ6.d.ts → executor-BSjbUx1A.d.ts} +1 -1
  48. package/dist/{executor-BYF2xhS9.d.ts → executor-BksAOv8G.d.ts} +1 -1
  49. package/dist/{executor-C4qgoGSX.d.ts → executor-C-siLbCm.d.ts} +1 -1
  50. package/dist/{executor-BHzuA3tJ.d.mts → executor-CKiwa5Xq.d.mts} +1 -1
  51. package/dist/{executor-Y9N9Pqs7.d.ts → executor-CTCU7CcG.d.ts} +1 -1
  52. package/dist/{executor-JPxZNI_w.d.mts → executor-Cmx3MWUy.d.mts} +1 -1
  53. package/dist/{executor-BBzyEOFH.d.mts → executor-XS6ys9ih.d.mts} +1 -1
  54. package/dist/executors.d.mts +6 -6
  55. package/dist/executors.d.ts +6 -6
  56. package/dist/executors.js +15 -15
  57. package/dist/executors.mjs +14 -14
  58. package/dist/{generator-DhUKH7iC.d.ts → generator-BXzhsfxo.d.ts} +1 -1
  59. package/dist/{generator-CEGGlFM-.d.ts → generator-BZs3V01e.d.ts} +2 -2
  60. package/dist/{generator-C-imx0M4.d.mts → generator-BtKZw7Ii.d.mts} +1 -1
  61. package/dist/{generator-CYjtZpPF.d.ts → generator-BuRFeV2C.d.ts} +2 -2
  62. package/dist/{generator-D9LfLTBp.d.ts → generator-CCIH4c92.d.ts} +1 -1
  63. package/dist/{generator-BYQUuNd1.d.mts → generator-CVD09mcB.d.mts} +2 -2
  64. package/dist/{generator-CqREcpH1.d.mts → generator-CYG64r2I.d.mts} +2 -2
  65. package/dist/{generator-B5y6fbM9.d.ts → generator-Ca1yHZ_D.d.ts} +3 -3
  66. package/dist/{generator-Bb-wk9zd.d.mts → generator-DjwiJF7J.d.mts} +3 -3
  67. package/dist/{generator-BtJNGRAU.d.mts → generator-MW3X4CCa.d.mts} +2 -2
  68. package/dist/{generator-CcUUjx-4.d.mts → generator-Sdga0BE0.d.mts} +1 -1
  69. package/dist/{generator-BDd_dgNW.d.ts → generator-qXrsuk5E.d.ts} +2 -2
  70. package/dist/generators.d.mts +9 -9
  71. package/dist/generators.d.ts +9 -9
  72. package/dist/generators.js +11 -11
  73. package/dist/generators.mjs +10 -10
  74. package/dist/index.d.mts +13 -13
  75. package/dist/index.d.ts +13 -13
  76. package/dist/index.js +23 -23
  77. package/dist/index.mjs +22 -22
  78. package/dist/src/base/base-executor.d.mts +3 -3
  79. package/dist/src/base/base-executor.d.ts +3 -3
  80. package/dist/src/base/base-executor.js +4 -4
  81. package/dist/src/base/base-executor.mjs +3 -3
  82. package/dist/src/base/base-generator.d.mts +3 -3
  83. package/dist/src/base/base-generator.d.ts +3 -3
  84. package/dist/src/base/base-generator.js +4 -4
  85. package/dist/src/base/base-generator.mjs +3 -3
  86. package/dist/src/base/index.d.mts +3 -3
  87. package/dist/src/base/index.d.ts +3 -3
  88. package/dist/src/base/index.js +5 -5
  89. package/dist/src/base/index.mjs +4 -4
  90. package/dist/src/executors/cargo-build/executor.js +5 -5
  91. package/dist/src/executors/cargo-build/executor.mjs +4 -4
  92. package/dist/src/executors/cargo-check/executor.js +5 -5
  93. package/dist/src/executors/cargo-check/executor.mjs +4 -4
  94. package/dist/src/executors/cargo-clippy/executor.js +5 -5
  95. package/dist/src/executors/cargo-clippy/executor.mjs +4 -4
  96. package/dist/src/executors/cargo-doc/executor.js +5 -5
  97. package/dist/src/executors/cargo-doc/executor.mjs +4 -4
  98. package/dist/src/executors/cargo-format/executor.js +5 -5
  99. package/dist/src/executors/cargo-format/executor.mjs +4 -4
  100. package/dist/src/executors/cargo-publish/executor.js +4 -4
  101. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  102. package/dist/src/executors/clean-package/executor.d.mts +2 -2
  103. package/dist/src/executors/clean-package/executor.d.ts +2 -2
  104. package/dist/src/executors/clean-package/executor.js +6 -6
  105. package/dist/src/executors/clean-package/executor.mjs +3 -3
  106. package/dist/src/executors/esbuild/executor.d.mts +3 -3
  107. package/dist/src/executors/esbuild/executor.d.ts +3 -3
  108. package/dist/src/executors/esbuild/executor.js +5 -5
  109. package/dist/src/executors/esbuild/executor.mjs +4 -4
  110. package/dist/src/executors/size-limit/executor.d.mts +3 -3
  111. package/dist/src/executors/size-limit/executor.d.ts +3 -3
  112. package/dist/src/executors/size-limit/executor.js +5 -5
  113. package/dist/src/executors/size-limit/executor.mjs +4 -4
  114. package/dist/src/executors/typia/executor.d.mts +3 -3
  115. package/dist/src/executors/typia/executor.d.ts +3 -3
  116. package/dist/src/executors/typia/executor.js +5 -5
  117. package/dist/src/executors/typia/executor.mjs +4 -4
  118. package/dist/src/executors/unbuild/executor.d.mts +3 -3
  119. package/dist/src/executors/unbuild/executor.d.ts +3 -3
  120. package/dist/src/executors/unbuild/executor.js +5 -5
  121. package/dist/src/executors/unbuild/executor.mjs +4 -4
  122. package/dist/src/generators/browser-library/generator.d.mts +4 -4
  123. package/dist/src/generators/browser-library/generator.d.ts +4 -4
  124. package/dist/src/generators/browser-library/generator.js +5 -5
  125. package/dist/src/generators/browser-library/generator.mjs +4 -4
  126. package/dist/src/generators/config-schema/generator.d.mts +4 -4
  127. package/dist/src/generators/config-schema/generator.d.ts +4 -4
  128. package/dist/src/generators/config-schema/generator.js +5 -5
  129. package/dist/src/generators/config-schema/generator.mjs +4 -4
  130. package/dist/src/generators/neutral-library/generator.d.mts +4 -4
  131. package/dist/src/generators/neutral-library/generator.d.ts +4 -4
  132. package/dist/src/generators/neutral-library/generator.js +5 -5
  133. package/dist/src/generators/neutral-library/generator.mjs +4 -4
  134. package/dist/src/generators/node-library/generator.d.mts +4 -4
  135. package/dist/src/generators/node-library/generator.d.ts +4 -4
  136. package/dist/src/generators/node-library/generator.js +5 -5
  137. package/dist/src/generators/node-library/generator.mjs +4 -4
  138. package/dist/src/generators/preset/generator.d.mts +4 -4
  139. package/dist/src/generators/preset/generator.d.ts +4 -4
  140. package/dist/src/generators/preset/generator.js +5 -5
  141. package/dist/src/generators/preset/generator.mjs +4 -4
  142. package/dist/src/generators/release-version/generator.d.mts +3 -3
  143. package/dist/src/generators/release-version/generator.d.ts +3 -3
  144. package/dist/src/generators/release-version/generator.js +5 -5
  145. package/dist/src/generators/release-version/generator.mjs +4 -4
  146. package/dist/src/types.d.mts +3 -3
  147. package/dist/src/types.d.ts +3 -3
  148. package/dist/src/utils/apply-workspace-tokens.d.mts +2 -2
  149. package/dist/src/utils/apply-workspace-tokens.d.ts +2 -2
  150. package/dist/src/utils/index.d.mts +3 -3
  151. package/dist/src/utils/index.d.ts +3 -3
  152. package/dist/src/utils/index.js +4 -4
  153. package/dist/src/utils/index.mjs +3 -3
  154. package/dist/src/utils/package-helpers.js +4 -4
  155. package/dist/src/utils/package-helpers.mjs +3 -3
  156. package/dist/src/utils/project-tags.d.mts +3 -3
  157. package/dist/src/utils/project-tags.d.ts +3 -3
  158. package/dist/{types-CS7-qMzU.d.ts → types-CaL51DUL.d.ts} +1 -1
  159. package/dist/{types-DRb7iLoG.d.mts → types-DzO7l4VZ.d.mts} +1 -1
  160. package/dist/types-sLpco176.d.mts +267 -0
  161. package/dist/types-sLpco176.d.ts +267 -0
  162. package/package.json +2 -3
  163. package/dist/chunk-V7XHSQAI.js +0 -64
  164. package/dist/types-20QvkLZ0.d.mts +0 -1322
  165. package/dist/types-20QvkLZ0.d.ts +0 -1322
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-P2LLJMPH.mjs";
3
+ } from "./chunk-ZMH42O44.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-X2JVWB4F.mjs";
6
+ } from "./chunk-C7LHUAYC.mjs";
7
7
  import {
8
8
  joinPaths
9
9
  } from "./chunk-U7JFVMCK.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-X6PHOMFB.mjs";
5
5
  import {
6
6
  getConfig
7
- } from "./chunk-WZURLCQH.mjs";
7
+ } from "./chunk-U46LNC6Z.mjs";
8
8
  import {
9
9
  getStopwatch,
10
10
  writeDebug,
@@ -13,7 +13,7 @@ import {
13
13
  writeInfo,
14
14
  writeSuccess,
15
15
  writeTrace
16
- } from "./chunk-X2JVWB4F.mjs";
16
+ } from "./chunk-C7LHUAYC.mjs";
17
17
  import {
18
18
  findWorkspaceRoot
19
19
  } from "./chunk-LSF4BHCI.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-P2LLJMPH.mjs";
3
+ } from "./chunk-ZMH42O44.mjs";
4
4
  import {
5
5
  getWorkspaceConfig
6
- } from "./chunk-WZURLCQH.mjs";
6
+ } from "./chunk-U46LNC6Z.mjs";
7
7
  import {
8
8
  formatLogMessage,
9
9
  getStopwatch,
@@ -14,7 +14,7 @@ import {
14
14
  writeSuccess,
15
15
  writeTrace,
16
16
  writeWarning
17
- } from "./chunk-X2JVWB4F.mjs";
17
+ } from "./chunk-C7LHUAYC.mjs";
18
18
  import {
19
19
  findWorkspaceRoot
20
20
  } from "./chunk-LSF4BHCI.mjs";
@@ -3,10 +3,10 @@ import {
3
3
  parseCargoToml,
4
4
  parseCargoTomlWithTree,
5
5
  stringifyCargoToml
6
- } from "./chunk-UKJES7FE.mjs";
6
+ } from "./chunk-LV23UCVW.mjs";
7
7
  import {
8
8
  getConfig
9
- } from "./chunk-WZURLCQH.mjs";
9
+ } from "./chunk-U46LNC6Z.mjs";
10
10
  import {
11
11
  getStopwatch,
12
12
  writeDebug,
@@ -15,7 +15,7 @@ import {
15
15
  writeInfo,
16
16
  writeSuccess,
17
17
  writeTrace
18
- } from "./chunk-X2JVWB4F.mjs";
18
+ } from "./chunk-C7LHUAYC.mjs";
19
19
  import {
20
20
  findWorkspaceRoot
21
21
  } from "./chunk-LSF4BHCI.mjs";
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkWRM3EAQLjs = require('./chunk-WRM3EAQL.js');
7
+ var _chunk6R4A3PB6js = require('./chunk-6R4A3PB6.js');
8
8
 
9
9
  // src/executors/cargo-check/executor.ts
10
10
  async function cargoCheckExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "check", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkWRM3EAQLjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk6R4A3PB6js.withRunExecutor.call(void 0,
15
15
  "Cargo - Check",
16
16
  cargoCheckExecutor,
17
17
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-P2LLJMPH.mjs";
7
+ } from "./chunk-ZMH42O44.mjs";
8
8
 
9
9
  // src/executors/cargo-doc/executor.ts
10
10
  async function cargoDocExecutor(options, context) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-P2LLJMPH.mjs";
7
+ } from "./chunk-ZMH42O44.mjs";
8
8
 
9
9
  // src/executors/cargo-clippy/executor.ts
10
10
  async function cargoClippyExecutor(options, context) {
@@ -4,7 +4,7 @@
4
4
  var _chunkVTPEPAEBjs = require('./chunk-VTPEPAEB.js');
5
5
 
6
6
 
7
- var _chunkFRSRLLIUjs = require('./chunk-FRSRLLIU.js');
7
+ var _chunkPS2BJ4LEjs = require('./chunk-PS2BJ4LE.js');
8
8
 
9
9
 
10
10
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -54,7 +54,7 @@ async function neutralLibraryGeneratorFn(tree, schema, config) {
54
54
  await _devkit.formatFiles.call(void 0, tree);
55
55
  return null;
56
56
  }
57
- var generator_default = _chunkFRSRLLIUjs.withRunGenerator.call(void 0,
57
+ var generator_default = _chunkPS2BJ4LEjs.withRunGenerator.call(void 0,
58
58
  "TypeScript Library Creator (Neutral Platform)",
59
59
  neutralLibraryGeneratorFn,
60
60
  {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-X2JVWB4F.mjs";
3
+ } from "./chunk-C7LHUAYC.mjs";
4
4
 
5
5
  // ../config-tools/src/utilities/toml.ts
6
6
  import TOML from "@ltd/j-toml";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-P2LLJMPH.mjs";
3
+ } from "./chunk-ZMH42O44.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-X2JVWB4F.mjs";
6
+ } from "./chunk-C7LHUAYC.mjs";
7
7
 
8
8
  // src/executors/typia/executor.ts
9
9
  import { removeSync } from "fs-extra";
@@ -0,0 +1,67 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _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
+
3
+ var _chunkPS2BJ4LEjs = require('./chunk-PS2BJ4LE.js');
4
+
5
+
6
+
7
+
8
+
9
+ var _chunkEN5XS3GBjs = require('./chunk-EN5XS3GB.js');
10
+
11
+
12
+ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
13
+
14
+ // src/generators/config-schema/generator.ts
15
+ var _devkit = require('@nx/devkit');
16
+ var _v4 = require('zod/v4'); var z = _interopRequireWildcard(_v4);
17
+ async function configSchemaGeneratorFn(tree, options, config) {
18
+ _chunkEN5XS3GBjs.writeInfo.call(void 0,
19
+ "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
20
+ config
21
+ );
22
+ _chunkEN5XS3GBjs.writeTrace.call(void 0,
23
+ `Determining the Storm Workspace Configuration JSON Schema...`,
24
+ config
25
+ );
26
+ const jsonSchema = z.toJSONSchema(_chunkEN5XS3GBjs.stormWorkspaceConfigSchema);
27
+ _chunkEN5XS3GBjs.writeTrace.call(void 0, jsonSchema, config);
28
+ if (!options.outputFile) {
29
+ throw new Error(
30
+ "The `outputFile` option is required. Please specify the output file path."
31
+ );
32
+ }
33
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
34
+ _nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, ))),
35
+ options.outputFile.startsWith("./") ? "" : "./"
36
+ );
37
+ _chunkEN5XS3GBjs.writeTrace.call(void 0,
38
+ `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
39
+ config
40
+ );
41
+ _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, { spaces: 2 });
42
+ await _devkit.formatFiles.call(void 0, tree);
43
+ _chunkEN5XS3GBjs.writeSuccess.call(void 0,
44
+ "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!",
45
+ config
46
+ );
47
+ return {
48
+ success: true
49
+ };
50
+ }
51
+ var generator_default = _chunkPS2BJ4LEjs.withRunGenerator.call(void 0,
52
+ "Configuration Schema Creator",
53
+ configSchemaGeneratorFn,
54
+ {
55
+ hooks: {
56
+ applyDefaultOptions: (options) => {
57
+ options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
58
+ return options;
59
+ }
60
+ }
61
+ }
62
+ );
63
+
64
+
65
+
66
+
67
+ exports.configSchemaGeneratorFn = configSchemaGeneratorFn; exports.generator_default = generator_default;
@@ -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 _chunkWRM3EAQLjs = require('./chunk-WRM3EAQL.js');
3
+ var _chunk6R4A3PB6js = require('./chunk-6R4A3PB6.js');
4
4
 
5
5
 
6
- var _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.js');
6
+ var _chunkEN5XS3GBjs = require('./chunk-EN5XS3GB.js');
7
7
 
8
8
 
9
9
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -12,7 +12,7 @@ var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
12
12
  var _defu = require('defu');
13
13
  var _jiti = require('jiti');
14
14
  async function unbuildExecutorFn(options, context, config) {
15
- _chunk4AJFY3TUjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
15
+ _chunkEN5XS3GBjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
16
16
  if (!_optionalChain([context, 'access', _ => _.projectsConfigurations, 'optionalAccess', _2 => _2.projects]) || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
17
17
  throw new Error(
18
18
  "The Build process failed because the context is not valid. Please run this command from a workspace root directory."
@@ -80,7 +80,7 @@ async function unbuildExecutorFn(options, context, config) {
80
80
  success: true
81
81
  };
82
82
  }
83
- var executor_default = _chunkWRM3EAQLjs.withRunExecutor.call(void 0,
83
+ var executor_default = _chunk6R4A3PB6js.withRunExecutor.call(void 0,
84
84
  "TypeScript Unbuild build",
85
85
  unbuildExecutorFn,
86
86
  {
@@ -12,7 +12,7 @@
12
12
 
13
13
 
14
14
 
15
- var _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.js');
15
+ var _chunkEN5XS3GBjs = require('./chunk-EN5XS3GB.js');
16
16
 
17
17
 
18
18
  var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
@@ -68,7 +68,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
68
68
  let config = result.config;
69
69
  const configFile = result.configFile;
70
70
  if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
71
- _chunk4AJFY3TUjs.writeTrace.call(void 0,
71
+ _chunkEN5XS3GBjs.writeTrace.call(void 0,
72
72
  `Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
73
73
  {
74
74
  logLevel: "all"
@@ -84,7 +84,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
84
84
  for (const result2 of results) {
85
85
  if (_optionalChain([result2, 'optionalAccess', _5 => _5.config]) && _optionalChain([result2, 'optionalAccess', _6 => _6.configFile]) && Object.keys(result2.config).length > 0) {
86
86
  if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
87
- _chunk4AJFY3TUjs.writeTrace.call(void 0,
87
+ _chunkEN5XS3GBjs.writeTrace.call(void 0,
88
88
  `Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
89
89
  {
90
90
  logLevel: "all"
@@ -193,13 +193,13 @@ var getConfigEnv = () => {
193
193
  },
194
194
  logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
195
195
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
196
- ) ? _chunk4AJFY3TUjs.getLogLevelLabel.call(void 0,
196
+ ) ? _chunkEN5XS3GBjs.getLogLevelLabel.call(void 0,
197
197
  Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
198
198
  ) : process.env[`${prefix}LOG_LEVEL`] : void 0,
199
199
  skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
200
200
  };
201
201
  const themeNames = Object.keys(process.env).filter(
202
- (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunk4AJFY3TUjs.COLOR_KEYS.every(
202
+ (envKey) => envKey.startsWith(`${prefix}COLOR_`) && _chunkEN5XS3GBjs.COLOR_KEYS.every(
203
203
  (colorKey) => !envKey.startsWith(`${prefix}COLOR_LIGHT_${colorKey}`) && !envKey.startsWith(`${prefix}COLOR_DARK_${colorKey}`)
204
204
  )
205
205
  );
@@ -210,16 +210,16 @@ var getConfigEnv = () => {
210
210
  },
211
211
  {}
212
212
  ) : getThemeColorConfigEnv(prefix);
213
- if (config.docs === _chunk4AJFY3TUjs.STORM_DEFAULT_DOCS) {
214
- if (config.homepage === _chunk4AJFY3TUjs.STORM_DEFAULT_HOMEPAGE) {
215
- config.docs = `${_chunk4AJFY3TUjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
213
+ if (config.docs === _chunkEN5XS3GBjs.STORM_DEFAULT_DOCS) {
214
+ if (config.homepage === _chunkEN5XS3GBjs.STORM_DEFAULT_HOMEPAGE) {
215
+ config.docs = `${_chunkEN5XS3GBjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/docs`;
216
216
  } else {
217
217
  config.docs = `${config.homepage}/docs`;
218
218
  }
219
219
  }
220
- if (config.licensing === _chunk4AJFY3TUjs.STORM_DEFAULT_LICENSING) {
221
- if (config.homepage === _chunk4AJFY3TUjs.STORM_DEFAULT_HOMEPAGE) {
222
- config.licensing = `${_chunk4AJFY3TUjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
220
+ if (config.licensing === _chunkEN5XS3GBjs.STORM_DEFAULT_LICENSING) {
221
+ if (config.homepage === _chunkEN5XS3GBjs.STORM_DEFAULT_HOMEPAGE) {
222
+ config.licensing = `${_chunkEN5XS3GBjs.STORM_DEFAULT_HOMEPAGE}/projects/${config.name}/licensing`;
223
223
  } else {
224
224
  config.licensing = `${config.homepage}/docs`;
225
225
  }
@@ -520,9 +520,9 @@ var setConfigEnv = (config) => {
520
520
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
521
521
  process.env.LOG_LEVEL = String(config.logLevel);
522
522
  process.env.NX_VERBOSE_LOGGING = String(
523
- _chunk4AJFY3TUjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4AJFY3TUjs.LogLevel.DEBUG ? true : false
523
+ _chunkEN5XS3GBjs.getLogLevel.call(void 0, config.logLevel) >= _chunkEN5XS3GBjs.LogLevel.DEBUG ? true : false
524
524
  );
525
- process.env.RUST_BACKTRACE = _chunk4AJFY3TUjs.getLogLevel.call(void 0, config.logLevel) >= _chunk4AJFY3TUjs.LogLevel.DEBUG ? "full" : "none";
525
+ process.env.RUST_BACKTRACE = _chunkEN5XS3GBjs.getLogLevel.call(void 0, config.logLevel) >= _chunkEN5XS3GBjs.LogLevel.DEBUG ? "full" : "none";
526
526
  }
527
527
  if (config.skipConfigLogging !== void 0) {
528
528
  process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
@@ -648,7 +648,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
648
648
  const configFile = await getConfigFile(_workspaceRoot);
649
649
  if (!configFile) {
650
650
  if (!skipLogs) {
651
- _chunk4AJFY3TUjs.writeWarning.call(void 0,
651
+ _chunkEN5XS3GBjs.writeWarning.call(void 0,
652
652
  "No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
653
653
  { logLevel: "all" }
654
654
  );
@@ -657,9 +657,9 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
657
657
  return void 0;
658
658
  }
659
659
  }
660
- const defaultConfig = await _chunk4AJFY3TUjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
661
- result = _chunk4AJFY3TUjs.applyDefaultConfig.call(void 0,
662
- await _chunk4AJFY3TUjs.stormWorkspaceConfigSchema.parseAsync(
660
+ const defaultConfig = await _chunkEN5XS3GBjs.getPackageJsonConfig.call(void 0, _workspaceRoot);
661
+ result = _chunkEN5XS3GBjs.applyDefaultConfig.call(void 0,
662
+ await _chunkEN5XS3GBjs.stormWorkspaceConfigSchema.parseAsync(
663
663
  _defu2.default.call(void 0, configEnv, configFile, defaultConfig)
664
664
  )
665
665
  );
@@ -701,9 +701,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
701
701
  );
702
702
  setConfigEnv(config);
703
703
  if (!skipLogs && !config.skipConfigLogging) {
704
- _chunk4AJFY3TUjs.writeTrace.call(void 0,
704
+ _chunkEN5XS3GBjs.writeTrace.call(void 0,
705
705
  `\u2699\uFE0F Using Storm Workspace configuration:
706
- ${_chunk4AJFY3TUjs.formatLogMessage.call(void 0, config)}`,
706
+ ${_chunkEN5XS3GBjs.formatLogMessage.call(void 0, config)}`,
707
707
  config
708
708
  );
709
709
  }
@@ -4,7 +4,7 @@
4
4
  var _chunkJ2Z4WP3Ejs = require('./chunk-J2Z4WP3E.js');
5
5
 
6
6
 
7
- var _chunk62PWDDJ5js = require('./chunk-62PWDDJ5.js');
7
+ var _chunkN56A46X4js = require('./chunk-N56A46X4.js');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _chunk62PWDDJ5js = require('./chunk-62PWDDJ5.js');
13
13
 
14
14
 
15
15
 
16
- var _chunk4AJFY3TUjs = require('./chunk-4AJFY3TU.js');
16
+ var _chunkEN5XS3GBjs = require('./chunk-EN5XS3GB.js');
17
17
 
18
18
 
19
19
  var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
@@ -22,30 +22,30 @@ var _chunk4WHSR4FKjs = require('./chunk-4WHSR4FK.js');
22
22
  var withRunGenerator = (name, generatorFn, generatorOptions = {
23
23
  skipReadingConfig: false
24
24
  }) => async (tree, _options) => {
25
- const stopwatch = _chunk4AJFY3TUjs.getStopwatch.call(void 0, name);
25
+ const stopwatch = _chunkEN5XS3GBjs.getStopwatch.call(void 0, name);
26
26
  let options = _options;
27
27
  let config;
28
28
  try {
29
- _chunk4AJFY3TUjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
29
+ _chunkEN5XS3GBjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
30
 
31
31
  `, config);
32
32
  const workspaceRoot = _chunk4WHSR4FKjs.findWorkspaceRoot.call(void 0, );
33
33
  if (!generatorOptions.skipReadingConfig) {
34
- _chunk4AJFY3TUjs.writeDebug.call(void 0,
34
+ _chunkEN5XS3GBjs.writeDebug.call(void 0,
35
35
  `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`,
37
37
  config
38
38
  );
39
- config = await _chunk62PWDDJ5js.getConfig.call(void 0, workspaceRoot);
39
+ config = await _chunkN56A46X4js.getConfig.call(void 0, workspaceRoot);
40
40
  }
41
41
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
42
- _chunk4AJFY3TUjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
42
+ _chunkEN5XS3GBjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
43
43
  options = await Promise.resolve(
44
44
  generatorOptions.hooks.applyDefaultOptions(options, config)
45
45
  );
46
- _chunk4AJFY3TUjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
46
+ _chunkEN5XS3GBjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
47
47
  }
48
- _chunk4AJFY3TUjs.writeTrace.call(void 0,
48
+ _chunkEN5XS3GBjs.writeTrace.call(void 0,
49
49
  `Generator schema options \u2699\uFE0F
50
50
  ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
51
51
  config
@@ -56,11 +56,11 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
56
56
  _chunkJ2Z4WP3Ejs.applyWorkspaceBaseTokens
57
57
  );
58
58
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
59
- _chunk4AJFY3TUjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
59
+ _chunkEN5XS3GBjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
60
60
  await Promise.resolve(
61
61
  generatorOptions.hooks.preProcess(tokenized, config)
62
62
  );
63
- _chunk4AJFY3TUjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
63
+ _chunkEN5XS3GBjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
64
64
  }
65
65
  const result = await Promise.resolve(
66
66
  generatorFn(tree, tokenized, config)
@@ -75,21 +75,21 @@ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${
75
75
  }
76
76
  }
77
77
  if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
78
- _chunk4AJFY3TUjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
78
+ _chunkEN5XS3GBjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
79
79
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
80
- _chunk4AJFY3TUjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
80
+ _chunkEN5XS3GBjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
81
81
  }
82
82
  return () => {
83
- _chunk4AJFY3TUjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
83
+ _chunkEN5XS3GBjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
84
84
  `, config);
85
85
  };
86
86
  } catch (error) {
87
87
  return () => {
88
- _chunk4AJFY3TUjs.writeFatal.call(void 0,
88
+ _chunkEN5XS3GBjs.writeFatal.call(void 0,
89
89
  "A fatal error occurred while running the generator - the process was forced to terminate",
90
90
  config
91
91
  );
92
- _chunk4AJFY3TUjs.writeError.call(void 0,
92
+ _chunkEN5XS3GBjs.writeError.call(void 0,
93
93
  `An exception was thrown in the generator's process
94
94
  - Details: ${error.message}
95
95
  - Stacktrace: ${error.stack}`,
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkWRM3EAQLjs = require('./chunk-WRM3EAQL.js');
7
+ var _chunk6R4A3PB6js = require('./chunk-6R4A3PB6.js');
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "fmt", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkWRM3EAQLjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk6R4A3PB6js.withRunExecutor.call(void 0,
15
15
  "Cargo - Format",
16
16
  cargoFormatExecutor,
17
17
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-P2LLJMPH.mjs";
7
+ } from "./chunk-ZMH42O44.mjs";
8
8
 
9
9
  // src/executors/cargo-format/executor.ts
10
10
  async function cargoFormatExecutor(options, context) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6LP3KKXE.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-P2LLJMPH.mjs";
7
+ } from "./chunk-ZMH42O44.mjs";
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
@@ -7,7 +7,7 @@ var _chunkVTPEPAEBjs = require('./chunk-VTPEPAEB.js');
7
7
  var _chunkHI4G4OOGjs = require('./chunk-HI4G4OOG.js');
8
8
 
9
9
 
10
- var _chunkFRSRLLIUjs = require('./chunk-FRSRLLIU.js');
10
+ var _chunkPS2BJ4LEjs = require('./chunk-PS2BJ4LE.js');
11
11
 
12
12
 
13
13
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -59,7 +59,7 @@ async function nodeLibraryGeneratorFn(tree, schema, config) {
59
59
  await _devkit.formatFiles.call(void 0, tree);
60
60
  return null;
61
61
  }
62
- var generator_default = _chunkFRSRLLIUjs.withRunGenerator.call(void 0,
62
+ var generator_default = _chunkPS2BJ4LEjs.withRunGenerator.call(void 0,
63
63
  "TypeScript Library Creator (NodeJs Platform)",
64
64
  nodeLibraryGeneratorFn,
65
65
  {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-AXP4TQEB.mjs";
3
+ } from "./chunk-HMYD5M4B.mjs";
4
4
  import {
5
5
  stormWorkspaceConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-X2JVWB4F.mjs";
9
+ } from "./chunk-C7LHUAYC.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
12
  } from "./chunk-LSF4BHCI.mjs";
13
13
 
14
14
  // src/generators/config-schema/generator.ts
15
15
  import { formatFiles, writeJson } from "@nx/devkit";
16
- import { zodToJsonSchema } from "zod-to-json-schema";
16
+ import * as z from "zod/v4";
17
17
  async function configSchemaGeneratorFn(tree, options, config) {
18
18
  writeInfo(
19
19
  "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator",
@@ -23,13 +23,16 @@ async function configSchemaGeneratorFn(tree, options, config) {
23
23
  `Determining the Storm Workspace Configuration JSON Schema...`,
24
24
  config
25
25
  );
26
- const jsonSchema = zodToJsonSchema(stormWorkspaceConfigSchema, {
27
- name: "StormWorkspaceConfiguration"
28
- });
26
+ const jsonSchema = z.toJSONSchema(stormWorkspaceConfigSchema);
29
27
  writeTrace(jsonSchema, config);
28
+ if (!options.outputFile) {
29
+ throw new Error(
30
+ "The `outputFile` option is required. Please specify the output file path."
31
+ );
32
+ }
30
33
  const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(
31
34
  config?.workspaceRoot ?? findWorkspaceRoot(),
32
- options.outputFile?.startsWith("./") ? "" : "./"
35
+ options.outputFile.startsWith("./") ? "" : "./"
33
36
  );
34
37
  writeTrace(
35
38
  `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`,
@@ -4,7 +4,7 @@
4
4
  var _chunkVTPEPAEBjs = require('./chunk-VTPEPAEB.js');
5
5
 
6
6
 
7
- var _chunkFRSRLLIUjs = require('./chunk-FRSRLLIU.js');
7
+ var _chunkPS2BJ4LEjs = require('./chunk-PS2BJ4LE.js');
8
8
 
9
9
 
10
10
  var _chunk53DNHF7Bjs = require('./chunk-53DNHF7B.js');
@@ -82,7 +82,7 @@ async function browserLibraryGeneratorFn(tree, schema, config) {
82
82
  await _devkit.formatFiles.call(void 0, tree);
83
83
  return null;
84
84
  }
85
- var generator_default = _chunkFRSRLLIUjs.withRunGenerator.call(void 0,
85
+ var generator_default = _chunkPS2BJ4LEjs.withRunGenerator.call(void 0,
86
86
  "TypeScript Library Creator (Browser Platform)",
87
87
  browserLibraryGeneratorFn,
88
88
  {
@@ -12,7 +12,7 @@ import {
12
12
  stormWorkspaceConfigSchema,
13
13
  writeTrace,
14
14
  writeWarning
15
- } from "./chunk-X2JVWB4F.mjs";
15
+ } from "./chunk-C7LHUAYC.mjs";
16
16
  import {
17
17
  findWorkspaceRoot
18
18
  } from "./chunk-LSF4BHCI.mjs";
@@ -4,14 +4,14 @@
4
4
  var _chunkLJDV7HFTjs = require('./chunk-LJDV7HFT.js');
5
5
 
6
6
 
7
- var _chunkWRM3EAQLjs = require('./chunk-WRM3EAQL.js');
7
+ var _chunk6R4A3PB6js = require('./chunk-6R4A3PB6.js');
8
8
 
9
9
  // src/executors/cargo-build/executor.ts
10
10
  async function cargoBuildExecutor(options, context) {
11
11
  const command = _chunkLJDV7HFTjs.buildCargoCommand.call(void 0, "build", options, context);
12
12
  return await _chunkLJDV7HFTjs.cargoCommand.call(void 0, ...command);
13
13
  }
14
- var executor_default = _chunkWRM3EAQLjs.withRunExecutor.call(void 0,
14
+ var executor_default = _chunk6R4A3PB6js.withRunExecutor.call(void 0,
15
15
  "Cargo - Build",
16
16
  cargoBuildExecutor,
17
17
  {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-EK75QNMS.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-AXP4TQEB.mjs";
7
+ } from "./chunk-HMYD5M4B.mjs";
8
8
  import {
9
9
  __dirname
10
10
  } from "./chunk-LPNTTZ7I.mjs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } 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 _chunkVNWWEHICjs = require('./chunk-VNWWEHIC.js');
3
+ var _chunk5TUFRMTOjs = require('./chunk-5TUFRMTO.js');
4
4
 
5
5
  // src/executors/cargo-publish/executor.ts
6
6
  var _devkit = require('@nx/devkit');
@@ -25,7 +25,7 @@ async function runExecutor(options, context) {
25
25
  context.root,
26
26
  options.packageRoot ? options.packageRoot : root
27
27
  );
28
- const cargoToml = _chunkVNWWEHICjs.parseCargoToml.call(void 0,
28
+ const cargoToml = _chunk5TUFRMTOjs.parseCargoToml.call(void 0,
29
29
  _fs.readFileSync.call(void 0, _devkit.joinPathFragments.call(void 0, packageRoot, "Cargo.toml"), "utf-8")
30
30
  );
31
31
  try {