@storm-software/workspace-tools 1.266.5 → 1.266.9

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 (229) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.md +1 -1
  3. package/dist/{chunk-KEPMD5HG.mjs → chunk-2RRVYK6E.mjs} +1 -1
  4. package/dist/{chunk-OUMQELYO.mjs → chunk-36QIKTAL.mjs} +3 -3
  5. package/dist/{chunk-6FKQA2RD.mjs → chunk-3DMOUTDH.mjs} +1 -1
  6. package/dist/{chunk-2FLWFF77.mjs → chunk-474QFQKX.mjs} +1 -1
  7. package/dist/{chunk-NY3AXYUD.js → chunk-4CLX5NBT.js} +2 -2
  8. package/dist/{chunk-3JZIYQVE.mjs → chunk-4FJCOFII.mjs} +3 -3
  9. package/dist/{chunk-24FSFLEJ.mjs → chunk-4UPFP6EX.mjs} +3 -3
  10. package/dist/{chunk-ZV2PR5R3.mjs → chunk-5AVEZVE5.mjs} +5 -4
  11. package/dist/{chunk-TEHJDKUJ.mjs → chunk-5G2XZTUU.mjs} +10 -5
  12. package/dist/{chunk-4Q6PHTY4.mjs → chunk-5NTNN2XK.mjs} +1 -1
  13. package/dist/{chunk-56NOEAUZ.mjs → chunk-7LP6KWJ4.mjs} +3 -3
  14. package/dist/{chunk-IWVTKZHB.mjs → chunk-A2Z3X5GK.mjs} +2 -2
  15. package/dist/{chunk-XFBY2IVQ.js → chunk-BJ6UNKNM.js} +9 -9
  16. package/dist/{chunk-UOEMXTI2.mjs → chunk-D2OJX4DZ.mjs} +3 -3
  17. package/dist/{chunk-TCG7CFMK.js → chunk-E2GASAYN.js} +2 -2
  18. package/dist/{chunk-IOYD4LKE.mjs → chunk-FJ3HUDJN.mjs} +3 -3
  19. package/dist/{chunk-CSGLVAIK.js → chunk-G4S2HWXN.js} +2 -2
  20. package/dist/{chunk-HV2IA26N.mjs → chunk-GEIXDGFR.mjs} +2 -2
  21. package/dist/{chunk-CXXOP7P6.js → chunk-HYRQEEMO.js} +2 -2
  22. package/dist/{chunk-UQTVXA7T.mjs → chunk-IOUCRBHV.mjs} +4 -4
  23. package/dist/{chunk-2BI3RJFP.mjs → chunk-JDFMHRPQ.mjs} +6 -6
  24. package/dist/{chunk-BAJ3JRJC.js → chunk-JL5QGFBX.js} +21 -20
  25. package/dist/{chunk-XB3SJ7YU.mjs → chunk-K7B7YVQF.mjs} +1 -1
  26. package/dist/{chunk-MHTKV6DY.mjs → chunk-KDQGKQHN.mjs} +3 -3
  27. package/dist/{chunk-LBWGCRH2.mjs → chunk-KWARMR7G.mjs} +4 -4
  28. package/dist/{chunk-RHG3FDFP.mjs → chunk-L6BH2OLB.mjs} +1 -1
  29. package/dist/{chunk-HAUXJ6F2.mjs → chunk-LY5IGOQR.mjs} +3 -3
  30. package/dist/{chunk-SN7IJGEE.js → chunk-MP2P2MGP.js} +14 -9
  31. package/dist/{chunk-3FIZEIEU.mjs → chunk-NCTH2PTP.mjs} +3 -3
  32. package/dist/{chunk-JOA2AXGF.js → chunk-NCV26VAW.js} +15 -15
  33. package/dist/{chunk-AKADBPPT.js → chunk-NYP6AVTV.js} +2 -2
  34. package/dist/{chunk-GX74WTEM.js → chunk-OWBD5WVM.js} +41 -41
  35. package/dist/{chunk-JADXJLCF.js → chunk-PKL7UOGQ.js} +4 -4
  36. package/dist/{chunk-CGGBNNFN.mjs → chunk-QDLQJ3QS.mjs} +3 -3
  37. package/dist/{chunk-63YHUBTB.mjs → chunk-QIF3QXOA.mjs} +3 -3
  38. package/dist/{chunk-EXQMY7WD.mjs → chunk-SORZ4BJW.mjs} +4 -4
  39. package/dist/{chunk-GJQKCDGC.js → chunk-SUQKASD7.js} +1 -1
  40. package/dist/{chunk-BP5OIRQR.js → chunk-TBE7H5P7.js} +5 -5
  41. package/dist/{chunk-N5N2BZHB.mjs → chunk-TCZC6XD6.mjs} +17 -12
  42. package/dist/{chunk-5UUINVQE.mjs → chunk-TIOK7TNA.mjs} +4 -4
  43. package/dist/{chunk-KUJS6ESX.mjs → chunk-TKGD3SNO.mjs} +1 -1
  44. package/dist/{chunk-2CXGKOZ6.mjs → chunk-TMCMTZPP.mjs} +1 -1
  45. package/dist/{chunk-HVOODRL3.js → chunk-TPWVZZWY.js} +2 -2
  46. package/dist/{chunk-OCJK2N3G.js → chunk-UBMOQCNN.js} +2 -2
  47. package/dist/{chunk-U5R5FYNX.mjs → chunk-USRO6ZCF.mjs} +2 -2
  48. package/dist/{chunk-44ZYZKMX.mjs → chunk-VFXWLOY7.mjs} +2 -2
  49. package/dist/{chunk-Y4D6KHJP.mjs → chunk-VGSUCQ2S.mjs} +1 -1
  50. package/dist/{chunk-WQRDKC36.mjs → chunk-VUIT3ZAI.mjs} +1 -1
  51. package/dist/{chunk-POI2YR4E.js → chunk-WBNGMFYP.js} +17 -12
  52. package/dist/{chunk-KE7BLB2Y.mjs → chunk-WHITLY6G.mjs} +4 -4
  53. package/dist/{chunk-6YRWQ3TB.mjs → chunk-XGSZL5N7.mjs} +4 -4
  54. package/dist/{chunk-7EBI7UNO.mjs → chunk-XRZPNGM5.mjs} +2 -2
  55. package/dist/{chunk-KLY4F7KE.mjs → chunk-YMFIVYHZ.mjs} +2 -2
  56. package/dist/{chunk-7F4BVKX3.js → chunk-YT3ECNTF.js} +2 -2
  57. package/dist/{chunk-VFGOMBR2.mjs → chunk-YWAH4DHJ.mjs} +4 -4
  58. package/dist/{chunk-OFA5UEOD.js → chunk-YWHLDLKE.js} +5 -5
  59. package/dist/{chunk-PYR5LR3M.js → chunk-Z255YQZR.js} +2 -2
  60. package/dist/{chunk-JJK6CBPN.mjs → chunk-Z2D5X5KJ.mjs} +2 -2
  61. package/dist/{chunk-YD2NC5GN.mjs → chunk-Z4WOCHYB.mjs} +2 -2
  62. package/dist/{executor-DTcKLfcw.d.ts → executor-B3lwM9GM.d.mts} +1 -1
  63. package/dist/{executor-DTcKLfcw.d.mts → executor-B3lwM9GM.d.ts} +1 -1
  64. package/dist/{executor-CsTGaThv.d.mts → executor-B64kh1oi.d.mts} +1 -1
  65. package/dist/{executor-Xwofymys.d.mts → executor-BB2ETtRv.d.mts} +1 -1
  66. package/dist/{executor-2Oxd-ew3.d.ts → executor-BoDeD560.d.ts} +1 -1
  67. package/dist/{executor-BvnlpAbd.d.ts → executor-DGI7S1K6.d.ts} +1 -1
  68. package/dist/{executor-CLYItx2J.d.ts → executor-DJnjBsHi.d.ts} +1 -1
  69. package/dist/{executor-DpaKJJUo.d.mts → executor-DQYta-Bm.d.mts} +1 -1
  70. package/dist/{executor-BD4gkr4O.d.ts → executor-DweIL90b.d.ts} +1 -1
  71. package/dist/{executor-FYb5cygt.d.mts → executor-iAEPRwdw.d.mts} +1 -1
  72. package/dist/executors.d.mts +6 -6
  73. package/dist/executors.d.ts +6 -6
  74. package/dist/executors.js +13 -13
  75. package/dist/executors.mjs +20 -20
  76. package/dist/{generator-BXJFXwbk.d.ts → generator-BHwTuGoc.d.ts} +2 -2
  77. package/dist/{generator-CLFmsVdh.d.ts → generator-Bjo526Ot.d.ts} +1 -1
  78. package/dist/{generator-gUQuyamW.d.mts → generator-BqKMXZ9U.d.mts} +2 -2
  79. package/dist/{generator-D3Kl6o6G.d.mts → generator-DK9vOp3f.d.mts} +2 -2
  80. package/dist/{generator-BPz6wkk9.d.mts → generator-DMoR2v0k.d.mts} +2 -2
  81. package/dist/{generator-BMY6LGPc.d.ts → generator-DRa-qwNt.d.ts} +1 -1
  82. package/dist/{generator-Bw4on8nq.d.mts → generator-Dgh8EO8f.d.mts} +2 -2
  83. package/dist/{generator-D7pW3Ag7.d.mts → generator-Di06Xw7z.d.mts} +1 -1
  84. package/dist/{generator-DPRJ4mde.d.ts → generator-DkZ7aOcA.d.ts} +2 -2
  85. package/dist/{generator-D4IATDWn.d.ts → generator-PTy4kTc1.d.ts} +2 -2
  86. package/dist/{generator-UekCwik8.d.mts → generator-iNjBgmgt.d.mts} +1 -1
  87. package/dist/{generator-EapPsEII.d.ts → generator-qr528Z40.d.ts} +2 -2
  88. package/dist/generators.d.mts +8 -8
  89. package/dist/generators.d.ts +8 -8
  90. package/dist/generators.js +10 -10
  91. package/dist/generators.mjs +21 -21
  92. package/dist/index.d.mts +13 -13
  93. package/dist/index.d.ts +13 -13
  94. package/dist/index.js +21 -21
  95. package/dist/index.mjs +43 -43
  96. package/dist/src/base/base-executor.d.mts +2 -2
  97. package/dist/src/base/base-executor.d.ts +2 -2
  98. package/dist/src/base/base-executor.js +3 -3
  99. package/dist/src/base/base-executor.mjs +6 -6
  100. package/dist/src/base/base-executor.untyped.mjs +1 -1
  101. package/dist/src/base/base-generator.d.mts +2 -2
  102. package/dist/src/base/base-generator.d.ts +2 -2
  103. package/dist/src/base/base-generator.js +3 -3
  104. package/dist/src/base/base-generator.mjs +6 -6
  105. package/dist/src/base/base-generator.untyped.mjs +1 -1
  106. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  107. package/dist/src/base/index.d.mts +2 -2
  108. package/dist/src/base/index.d.ts +2 -2
  109. package/dist/src/base/index.js +4 -4
  110. package/dist/src/base/index.mjs +10 -10
  111. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  112. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  113. package/dist/src/executors/cargo-build/executor.js +4 -4
  114. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  115. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  116. package/dist/src/executors/cargo-check/executor.js +4 -4
  117. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  118. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  119. package/dist/src/executors/cargo-clippy/executor.js +4 -4
  120. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  121. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  122. package/dist/src/executors/cargo-doc/executor.js +4 -4
  123. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  124. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  125. package/dist/src/executors/cargo-format/executor.js +4 -4
  126. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  127. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  128. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  129. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  130. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  131. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  132. package/dist/src/executors/clean-package/executor.js +5 -5
  133. package/dist/src/executors/clean-package/executor.mjs +6 -6
  134. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  135. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  136. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  137. package/dist/src/executors/esbuild/executor.js +4 -4
  138. package/dist/src/executors/esbuild/executor.mjs +7 -7
  139. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  140. package/dist/src/executors/npm-publish/executor.d.mts +1 -1
  141. package/dist/src/executors/npm-publish/executor.d.ts +1 -1
  142. package/dist/src/executors/npm-publish/executor.js +2 -2
  143. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  144. package/dist/src/executors/npm-publish/schema.d.ts +1 -1
  145. package/dist/src/executors/npm-publish/schema.json +1 -1
  146. package/dist/src/executors/npm-publish/schema.md +1 -1
  147. package/dist/src/executors/npm-publish/untyped.js +1 -1
  148. package/dist/src/executors/npm-publish/untyped.mjs +2 -2
  149. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  150. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  151. package/dist/src/executors/size-limit/executor.js +4 -4
  152. package/dist/src/executors/size-limit/executor.mjs +7 -7
  153. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  154. package/dist/src/executors/typia/executor.d.mts +2 -2
  155. package/dist/src/executors/typia/executor.d.ts +2 -2
  156. package/dist/src/executors/typia/executor.js +4 -4
  157. package/dist/src/executors/typia/executor.mjs +7 -7
  158. package/dist/src/executors/typia/untyped.mjs +1 -1
  159. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  160. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  161. package/dist/src/executors/unbuild/executor.js +4 -4
  162. package/dist/src/executors/unbuild/executor.mjs +7 -7
  163. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  164. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  165. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  166. package/dist/src/generators/browser-library/generator.js +4 -4
  167. package/dist/src/generators/browser-library/generator.mjs +9 -9
  168. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  169. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  170. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  171. package/dist/src/generators/config-schema/generator.js +4 -4
  172. package/dist/src/generators/config-schema/generator.mjs +7 -7
  173. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  174. package/dist/src/generators/init/init.mjs +2 -2
  175. package/dist/src/generators/init/untyped.mjs +1 -1
  176. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  177. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  178. package/dist/src/generators/neutral-library/generator.js +4 -4
  179. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  180. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  181. package/dist/src/generators/node-library/generator.d.mts +3 -3
  182. package/dist/src/generators/node-library/generator.d.ts +3 -3
  183. package/dist/src/generators/node-library/generator.js +4 -4
  184. package/dist/src/generators/node-library/generator.mjs +9 -9
  185. package/dist/src/generators/node-library/untyped.mjs +1 -1
  186. package/dist/src/generators/preset/generator.d.mts +3 -3
  187. package/dist/src/generators/preset/generator.d.ts +3 -3
  188. package/dist/src/generators/preset/generator.js +4 -4
  189. package/dist/src/generators/preset/generator.mjs +7 -7
  190. package/dist/src/generators/preset/untyped.mjs +1 -1
  191. package/dist/src/generators/release-version/generator.d.mts +2 -2
  192. package/dist/src/generators/release-version/generator.d.ts +2 -2
  193. package/dist/src/generators/release-version/generator.js +3 -3
  194. package/dist/src/generators/release-version/generator.mjs +6 -6
  195. package/dist/src/generators/release-version/untyped.mjs +1 -1
  196. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  197. package/dist/src/plugins/rust/index.mjs +4 -4
  198. package/dist/src/plugins/typescript/index.mjs +4 -4
  199. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  200. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  201. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  202. package/dist/src/types.d.mts +2 -2
  203. package/dist/src/types.d.ts +2 -2
  204. package/dist/src/types.mjs +1 -1
  205. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  206. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  207. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  208. package/dist/src/utils/cargo.mjs +2 -2
  209. package/dist/src/utils/create-cli-options.mjs +2 -2
  210. package/dist/src/utils/get-project-configurations.mjs +4 -4
  211. package/dist/src/utils/index.d.mts +2 -2
  212. package/dist/src/utils/index.d.ts +2 -2
  213. package/dist/src/utils/index.mjs +14 -14
  214. package/dist/src/utils/lock-file.mjs +2 -2
  215. package/dist/src/utils/package-helpers.mjs +4 -4
  216. package/dist/src/utils/plugin-helpers.mjs +3 -3
  217. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  218. package/dist/src/utils/project-tags.d.mts +2 -2
  219. package/dist/src/utils/project-tags.d.ts +2 -2
  220. package/dist/src/utils/project-tags.mjs +2 -2
  221. package/dist/src/utils/toml.mjs +2 -2
  222. package/dist/src/utils/typia-transform.mjs +2 -2
  223. package/dist/src/utils/versions.mjs +1 -1
  224. package/dist/{types-CUnUfpKk.d.ts → types-DrIOVAV9.d.ts} +1 -1
  225. package/dist/{types-dNjhGseA.d.mts → types-J0DsoZaH.d.mts} +1 -1
  226. package/dist/{types-C3URiht7.d.mts → types-TCjBSz49.d.mts} +2 -2
  227. package/dist/{types-C3URiht7.d.ts → types-TCjBSz49.d.ts} +2 -2
  228. package/docs/api/executors/npm-publish/schema.md +1 -1
  229. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __name
3
- } from "./chunk-Y4D6KHJP.mjs";
3
+ } from "./chunk-VGSUCQ2S.mjs";
4
4
 
5
5
  // src/utils/typia-transform.ts
6
6
  import transform from "typia/lib/transform";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-KEPMD5HG.mjs";
4
+ } from "./chunk-2RRVYK6E.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-ZV2PR5R3.mjs";
7
+ } from "./chunk-5AVEZVE5.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-Y4D6KHJP.mjs";
10
+ } from "./chunk-VGSUCQ2S.mjs";
11
11
 
12
12
  // src/executors/cargo-format/executor.ts
13
13
  async function cargoFormatExecutor(options, context) {
@@ -171,7 +171,7 @@ var stormWorkspaceConfigSchema = _zod2.default.object({
171
171
  "staging",
172
172
  "production"
173
173
  ]).default("production").describe("The current runtime environment mode for the package"),
174
- workspaceRoot: _zod2.default.string().trim().default("").describe("The root directory of the workspace"),
174
+ workspaceRoot: _zod2.default.string().trim().describe("The root directory of the workspace"),
175
175
  externalPackagePatterns: _zod2.default.array(_zod2.default.string()).default([]).describe("The build will use these package patterns to determine if they should be external to the bundle"),
176
176
  skipCache: _zod2.default.boolean().default(false).describe("Should all known types of workspace caching be skipped?"),
177
177
  directories: WorkspaceDirectoryConfigSchema,
@@ -599,7 +599,7 @@ var getConfigFile = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (
599
599
  }
600
600
  }
601
601
  }
602
- if (!config) {
602
+ if (!config || Object.keys(config).length === 0) {
603
603
  return void 0;
604
604
  }
605
605
  config.configFile = configFile;
@@ -1070,7 +1070,7 @@ var setBaseThemeColorConfigEnv = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(vo
1070
1070
  // ../config-tools/src/create-storm-config.ts
1071
1071
  var _extension_cache = /* @__PURE__ */ new WeakMap();
1072
1072
  var _static_cache = void 0;
1073
- var createStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (extensionName, schema, workspaceRoot, skipLogs = false) => {
1073
+ var createStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (extensionName, schema, workspaceRoot, skipLogs = false, useDefault = true) => {
1074
1074
  let result;
1075
1075
  if (!_optionalChain([_static_cache, 'optionalAccess', _54 => _54.data]) || !_optionalChain([_static_cache, 'optionalAccess', _55 => _55.timestamp]) || _static_cache.timestamp < Date.now() - 8e3) {
1076
1076
  let _workspaceRoot = workspaceRoot;
@@ -1078,13 +1078,18 @@ var createStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(vo
1078
1078
  _workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
1079
1079
  }
1080
1080
  const configEnv = getConfigEnv();
1081
- const defaultConfig = await getDefaultConfig(_workspaceRoot);
1082
1081
  const configFile = await getConfigFile(_workspaceRoot);
1083
- if (!configFile && !skipLogs) {
1084
- writeWarning("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", {
1085
- logLevel: "all"
1086
- });
1082
+ if (!configFile) {
1083
+ if (!skipLogs) {
1084
+ writeWarning("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", {
1085
+ logLevel: "all"
1086
+ });
1087
+ }
1088
+ if (useDefault === false) {
1089
+ return void 0;
1090
+ }
1087
1091
  }
1092
+ const defaultConfig = await getDefaultConfig(_workspaceRoot);
1088
1093
  result = await stormWorkspaceConfigSchema.parseAsync(_defu2.default.call(void 0, configEnv, configFile, defaultConfig));
1089
1094
  result.workspaceRoot ??= _workspaceRoot;
1090
1095
  } else {
@@ -1117,7 +1122,7 @@ var createConfigExtension = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0,
1117
1122
  return extension;
1118
1123
  }, "createConfigExtension");
1119
1124
  var loadStormWorkspaceConfig = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (workspaceRoot, skipLogs = false) => {
1120
- const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs);
1125
+ const config = await createStormWorkspaceConfig(void 0, void 0, workspaceRoot, skipLogs, true);
1121
1126
  setConfigEnv(config);
1122
1127
  if (!skipLogs && !config.skipConfigLogging) {
1123
1128
  writeTrace(`\u2699\uFE0F Using Storm Workspace configuration:
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-KEPMD5HG.mjs";
4
+ } from "./chunk-2RRVYK6E.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-ZV2PR5R3.mjs";
7
+ } from "./chunk-5AVEZVE5.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-Y4D6KHJP.mjs";
10
+ } from "./chunk-VGSUCQ2S.mjs";
11
11
 
12
12
  // src/executors/cargo-clippy/executor.ts
13
13
  async function cargoClippyExecutor(options, context) {
@@ -11,7 +11,7 @@ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
14
+ var _chunkMP2P2MGPjs = require('./chunk-MP2P2MGP.js');
15
15
 
16
16
 
17
17
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.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 = _chunkSN7IJGEEjs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkSN7IJGEEjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkMP2P2MGPjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
33
  const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkSN7IJGEEjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkSN7IJGEEjs.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkMP2P2MGPjs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkSN7IJGEEjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkSN7IJGEEjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkSN7IJGEEjs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkMP2P2MGPjs.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 _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
49
  }, _chunkUALZJZUKjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkSN7IJGEEjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkSN7IJGEEjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkMP2P2MGPjs.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
- _chunkSN7IJGEEjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkSN7IJGEEjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkSN7IJGEEjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkMP2P2MGPjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkSN7IJGEEjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkSN7IJGEEjs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkMP2P2MGPjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkMP2P2MGPjs.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
  };
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
7
+ var _chunkJL5QGFBXjs = require('./chunk-JL5QGFBX.js');
8
8
 
9
9
 
10
10
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -20,7 +20,7 @@ async function cargoDocExecutor(options, context) {
20
20
  return await _chunkULBTYC2Bjs.cargoCommand.call(void 0, ...command);
21
21
  }
22
22
  _chunk3GQAWCBQjs.__name.call(void 0, cargoDocExecutor, "cargoDocExecutor");
23
- var executor_default = _chunkBAJ3JRJCjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
+ var executor_default = _chunkJL5QGFBXjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
24
24
  skipReadingConfig: false,
25
25
  hooks: {
26
26
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } var _class;
2
2
 
3
- var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
3
+ var _chunkJL5QGFBXjs = require('./chunk-JL5QGFBX.js');
4
4
 
5
5
 
6
6
 
@@ -13,7 +13,7 @@ var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
16
+ var _chunkMP2P2MGPjs = require('./chunk-MP2P2MGP.js');
17
17
 
18
18
 
19
19
  var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
@@ -83,7 +83,7 @@ var copyAssets = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (con
83
83
  output: "src/"
84
84
  });
85
85
  }
86
- _chunkSN7IJGEEjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
86
+ _chunkMP2P2MGPjs.writeTrace.call(void 0, `\u{1F4DD} Copying the following assets to the output directory:
87
87
  ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, pendingAsset.output)}`).join("\n")}`, config);
88
88
  const assetHandler = new (0, _copyassetshandler.CopyAssetsHandler)({
89
89
  projectDir: projectRoot,
@@ -93,7 +93,7 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
93
93
  });
94
94
  await assetHandler.processAllAssetsOnce();
95
95
  if (includeSrc === true) {
96
- _chunkSN7IJGEEjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
96
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, `\u{1F4DD} Adding banner and writing source files: ${_chunkJTAXCQX6js.joinPaths.call(void 0, outputPath, "src")}`, config);
97
97
  const files = await _glob.glob.call(void 0, [
98
98
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.ts"),
99
99
  _chunkJTAXCQX6js.joinPaths.call(void 0, config.workspaceRoot, outputPath, "src/**/*.tsx"),
@@ -132,7 +132,7 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
132
132
  }
133
133
  }
134
134
  if (localPackages.length > 0) {
135
- _chunkSN7IJGEEjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
135
+ _chunkMP2P2MGPjs.writeTrace.call(void 0, `\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
136
136
  const projectJsonFile = await _promises.readFile.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "project.json"), "utf8");
137
137
  const projectJson = JSON.parse(projectJsonFile);
138
138
  const projectName2 = projectJson.name;
@@ -161,12 +161,12 @@ var addPackageDependencies = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0
161
161
  }, _nullishCoalesce(packageJson.dependencies, () => ( {})));
162
162
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
163
163
  if (!ret[localPackage.name] && _optionalChain([implicitDependencies, 'optionalAccess', _21 => _21.includes, 'call', _22 => _22(localPackage.name)]) && _optionalChain([packageJson, 'access', _23 => _23.dependencies, 'optionalAccess', _24 => _24[localPackage.name]]) === void 0) {
164
- ret[localPackage.name] = localPackage.version || "0.0.1";
164
+ ret[localPackage.name] = `^${localPackage.version || "0.0.1"}`;
165
165
  }
166
166
  return ret;
167
167
  }, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
168
168
  } else {
169
- _chunkSN7IJGEEjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
169
+ _chunkMP2P2MGPjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
170
170
  }
171
171
  return packageJson;
172
172
  }, "addPackageDependencies");
@@ -536,7 +536,7 @@ var onErrorPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (option
536
536
  setup(build4) {
537
537
  build4.onEnd((result) => {
538
538
  if (result.errors.length > 0 && process.env.WATCH !== "true") {
539
- _chunkSN7IJGEEjs.writeError.call(void 0, `The following errors occurred during the build:
539
+ _chunkMP2P2MGPjs.writeError.call(void 0, `The following errors occurred during the build:
540
540
  ${result.errors.map((error) => error.text).join("\n")}
541
541
 
542
542
  `, resolvedOptions.config);
@@ -645,7 +645,7 @@ function bundleTypeDefinitions(filename, outfile, externals, options) {
645
645
  localBuild: true
646
646
  });
647
647
  if (extractorResult.succeeded === false) {
648
- _chunkSN7IJGEEjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
648
+ _chunkMP2P2MGPjs.writeError.call(void 0, `API Extractor completed with ${extractorResult.errorCount} ${extractorResult.errorCount === 1 ? "error" : "errors"}`);
649
649
  throw new Error("API Extractor completed with errors");
650
650
  }
651
651
  }
@@ -833,8 +833,8 @@ var depsCheckPlugin = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (bund
833
833
  const filteredMissingDeps = missingDependencies.filter((dep) => {
834
834
  return !missingIgnore.some((pattern) => dep.match(pattern)) && !peerDependencies.includes(dep);
835
835
  });
836
- _chunkSN7IJGEEjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
837
- _chunkSN7IJGEEjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
836
+ _chunkMP2P2MGPjs.writeWarning.call(void 0, `Unused Dependencies: ${JSON.stringify(filteredUnusedDeps)}`);
837
+ _chunkMP2P2MGPjs.writeError.call(void 0, `Missing Dependencies: ${JSON.stringify(filteredMissingDeps)}`);
838
838
  if (filteredMissingDeps.length > 0) {
839
839
  throw new Error(`Missing dependencies detected - please install them:
840
840
  ${JSON.stringify(filteredMissingDeps)}
@@ -971,7 +971,7 @@ function emitDtsFiles(workspaceConfig, program, host, emitOnlyDtsFiles = true, c
971
971
  });
972
972
  const diagnosticMessage = diagnosticMessages.join("\n");
973
973
  if (diagnosticMessage) {
974
- _chunkSN7IJGEEjs.writeError.call(void 0, `Failed to emit declaration files.
974
+ _chunkMP2P2MGPjs.writeError.call(void 0, `Failed to emit declaration files.
975
975
 
976
976
  ${diagnosticMessage}`, workspaceConfig);
977
977
  throw new Error("TypeScript compilation failed");
@@ -1053,7 +1053,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1053
1053
  paths.push(...files.reduce((ret, filePath) => {
1054
1054
  const result = _chunkJTAXCQX6js.correctPaths.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name).replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, workspaceRoot), "").replaceAll(_chunkJTAXCQX6js.correctPaths.call(void 0, projectRoot), ""));
1055
1055
  if (result) {
1056
- _chunkSN7IJGEEjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
1056
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, `Trying to add entry point ${result} at "${_chunkJTAXCQX6js.joinPaths.call(void 0, filePath.path, filePath.name)}"`, config);
1057
1057
  if (!paths.some((p) => p.in === result)) {
1058
1058
  paths.push({
1059
1059
  in: result,
@@ -1064,7 +1064,7 @@ var getEntryPoints = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1064
1064
  return ret;
1065
1065
  }, []));
1066
1066
  } else {
1067
- _chunkSN7IJGEEjs.writeDebug.call(void 0, `Adding ESBuild entry point
1067
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, `Adding ESBuild entry point
1068
1068
  - Input: ${entryPoint.in}
1069
1069
  - Output: ${entryPoint.out}`, config);
1070
1070
  if (!paths.some((p) => p.out === entryPoint.out)) {
@@ -1157,9 +1157,9 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1157
1157
  if (!workspaceRoot) {
1158
1158
  throw new Error("Cannot find Nx workspace root");
1159
1159
  }
1160
- const config = await _chunkSN7IJGEEjs.getConfig.call(void 0, workspaceRoot.dir);
1161
- _chunkSN7IJGEEjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1162
- const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, "Build options resolution");
1160
+ const config = await _chunkMP2P2MGPjs.getConfig.call(void 0, workspaceRoot.dir);
1161
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
1162
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, "Build options resolution");
1163
1163
  const projectGraph = await _devkit.createProjectGraphAsync.call(void 0, {
1164
1164
  exitOnError: true
1165
1165
  });
@@ -1206,7 +1206,7 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1206
1206
  projectGraph,
1207
1207
  sourceRoot: userOptions.sourceRoot || projectJson.sourceRoot || _chunkJTAXCQX6js.joinPaths.call(void 0, projectRoot, "src"),
1208
1208
  minify: userOptions.minify || !userOptions.debug,
1209
- verbose: userOptions.verbose || _chunkSN7IJGEEjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1209
+ verbose: userOptions.verbose || _chunkMP2P2MGPjs.isVerbose.call(void 0, ) || userOptions.debug === true,
1210
1210
  includeSrc: userOptions.includeSrc === true,
1211
1211
  metafile: userOptions.metafile !== false,
1212
1212
  generatePackageJson: userOptions.generatePackageJson !== false,
@@ -1261,8 +1261,8 @@ var resolveOptions = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async
1261
1261
  }, "resolveOptions");
1262
1262
  async function generatePackageJson(context2) {
1263
1263
  if (context2.options.generatePackageJson !== false && _fs.existsSync.call(void 0, _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "package.json"))) {
1264
- _chunkSN7IJGEEjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1265
- const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, "Write package.json file");
1264
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", context2.options.config);
1265
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, "Write package.json file");
1266
1266
  const packageJsonPath = _chunkJTAXCQX6js.joinPaths.call(void 0, context2.options.projectRoot, "project.json");
1267
1267
  if (!_fs.existsSync.call(void 0, packageJsonPath)) {
1268
1268
  throw new Error("Cannot find package.json configuration");
@@ -1321,8 +1321,8 @@ async function generateContext(getOptions) {
1321
1321
  }
1322
1322
  _chunk3GQAWCBQjs.__name.call(void 0, generateContext, "generateContext");
1323
1323
  async function executeEsBuild(context2) {
1324
- _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1325
- const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1324
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, ` \u{1F680} Running ${context2.options.name} build`, context2.options.config);
1325
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, `${context2.options.name} build`);
1326
1326
  if (process.env.STORM_WATCH) {
1327
1327
  const ctx = await esbuild2.context(context2.options);
1328
1328
  watch(ctx, context2.options);
@@ -1356,8 +1356,8 @@ async function executeEsBuild(context2) {
1356
1356
  delete options.config;
1357
1357
  delete options.injectShims;
1358
1358
  delete options.external;
1359
- _chunkSN7IJGEEjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1360
- ${_chunkSN7IJGEEjs.formatLogMessage.call(void 0, {
1359
+ _chunkMP2P2MGPjs.writeTrace.call(void 0, `Run esbuild (${context2.options.name}) with the following options:
1360
+ ${_chunkMP2P2MGPjs.formatLogMessage.call(void 0, {
1361
1361
  ...options,
1362
1362
  define: "<Hidden>"
1363
1363
  })}`, context2.options.config);
@@ -1373,8 +1373,8 @@ ${_chunkSN7IJGEEjs.formatLogMessage.call(void 0, {
1373
1373
  _chunk3GQAWCBQjs.__name.call(void 0, executeEsBuild, "executeEsBuild");
1374
1374
  async function executeTypescript(context2) {
1375
1375
  if (_optionalChain([context2, 'access', _55 => _55.result, 'optionalAccess', _56 => _56.errors, 'access', _57 => _57.length]) === 0 && context2.options.dts) {
1376
- _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F4CB} Running TypeScript Compiler for ${context2.options.name}`, context2.options.config);
1377
- const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1376
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, ` \u{1F4CB} Running TypeScript Compiler for ${context2.options.name}`, context2.options.config);
1377
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1378
1378
  await emitDts(context2.options.config, context2.options.tsconfig, context2.options.tsconfigRaw, true);
1379
1379
  stopwatch();
1380
1380
  }
@@ -1383,8 +1383,8 @@ async function executeTypescript(context2) {
1383
1383
  _chunk3GQAWCBQjs.__name.call(void 0, executeTypescript, "executeTypescript");
1384
1384
  async function copyBuildAssets(context2) {
1385
1385
  if (_optionalChain([context2, 'access', _58 => _58.result, 'optionalAccess', _59 => _59.errors, 'access', _60 => _60.length]) === 0) {
1386
- _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1387
- const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1386
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, ` \u{1F4CB} Copying asset files to output directory: ${context2.options.outdir}`, context2.options.config);
1387
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, `${context2.options.name} asset copy`);
1388
1388
  await copyAssets(context2.options.config, _nullishCoalesce(context2.options.assets, () => ( [])), context2.options.outdir, context2.options.projectRoot, context2.options.sourceRoot, true, false);
1389
1389
  stopwatch();
1390
1390
  }
@@ -1394,11 +1394,11 @@ _chunk3GQAWCBQjs.__name.call(void 0, copyBuildAssets, "copyBuildAssets");
1394
1394
  async function reportResults(context2) {
1395
1395
  if (_optionalChain([context2, 'access', _61 => _61.result, 'optionalAccess', _62 => _62.errors, 'access', _63 => _63.length]) === 0) {
1396
1396
  if (context2.result.warnings.length > 0) {
1397
- _chunkSN7IJGEEjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1397
+ _chunkMP2P2MGPjs.writeWarning.call(void 0, ` \u{1F6A7} The following warnings occurred during the build: ${context2.result.warnings.map((warning) => warning.text).join("\n")}`, context2.options.config);
1398
1398
  }
1399
- _chunkSN7IJGEEjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1399
+ _chunkMP2P2MGPjs.writeSuccess.call(void 0, ` \u{1F4E6} The ${context2.options.name} build completed successfully`, context2.options.config);
1400
1400
  } else if (_optionalChain([context2, 'access', _64 => _64.result, 'optionalAccess', _65 => _65.errors]) && _optionalChain([context2, 'access', _66 => _66.result, 'optionalAccess', _67 => _67.errors, 'access', _68 => _68.length]) > 0) {
1401
- _chunkSN7IJGEEjs.writeError.call(void 0, ` \u274C The ${context2.options.name} build failed with the following errors: ${context2.result.errors.map((error) => error.text).join("\n")}`, context2.options.config);
1401
+ _chunkMP2P2MGPjs.writeError.call(void 0, ` \u274C The ${context2.options.name} build failed with the following errors: ${context2.result.errors.map((error) => error.text).join("\n")}`, context2.options.config);
1402
1402
  throw new Error(`The ${context2.options.name} build failed with the following errors: ${context2.result.errors.map((error) => error.text).join("\n")}`);
1403
1403
  }
1404
1404
  }
@@ -1435,8 +1435,8 @@ async function dependencyCheck(options) {
1435
1435
  _chunk3GQAWCBQjs.__name.call(void 0, dependencyCheck, "dependencyCheck");
1436
1436
  async function cleanOutputPath(context2) {
1437
1437
  if (context2.options.clean !== false && context2.options.outdir) {
1438
- _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1439
- const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1438
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${context2.options.name} output path: ${context2.options.outdir}`, context2.options.config);
1439
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, `${context2.options.name} output clean`);
1440
1440
  await cleanDirectories(context2.options.name, context2.options.outdir, context2.options.config);
1441
1441
  stopwatch();
1442
1442
  }
@@ -1444,8 +1444,8 @@ async function cleanOutputPath(context2) {
1444
1444
  }
1445
1445
  _chunk3GQAWCBQjs.__name.call(void 0, cleanOutputPath, "cleanOutputPath");
1446
1446
  async function build3(options) {
1447
- _chunkSN7IJGEEjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1448
- const stopwatch = _chunkSN7IJGEEjs.getStopwatch.call(void 0, "ESBuild pipeline");
1447
+ _chunkMP2P2MGPjs.writeDebug.call(void 0, ` \u26A1 Executing Storm ESBuild pipeline`);
1448
+ const stopwatch = _chunkMP2P2MGPjs.getStopwatch.call(void 0, "ESBuild pipeline");
1449
1449
  try {
1450
1450
  const opts = Array.isArray(options) ? options : [
1451
1451
  options
@@ -1455,9 +1455,9 @@ async function build3(options) {
1455
1455
  }
1456
1456
  void transduce.async(opts, dependencyCheck);
1457
1457
  await transduce.async(await createOptions(opts), pipe.async(generateContext, cleanOutputPath, generatePackageJson, executeTypescript, executeEsBuild, copyBuildAssets, reportResults));
1458
- _chunkSN7IJGEEjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1458
+ _chunkMP2P2MGPjs.writeSuccess.call(void 0, " \u{1F3C1} ESBuild pipeline build completed successfully");
1459
1459
  } catch (error) {
1460
- _chunkSN7IJGEEjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1460
+ _chunkMP2P2MGPjs.writeFatal.call(void 0, "Fatal errors that the build process could not recover from have occured. The build process has been terminated.");
1461
1461
  throw error;
1462
1462
  } finally {
1463
1463
  stopwatch();
@@ -1485,9 +1485,9 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1485
1485
  return context2.rebuild();
1486
1486
  });
1487
1487
  if (rebuildResult instanceof Error) {
1488
- _chunkSN7IJGEEjs.writeError.call(void 0, rebuildResult.message);
1488
+ _chunkMP2P2MGPjs.writeError.call(void 0, rebuildResult.message);
1489
1489
  }
1490
- _chunkSN7IJGEEjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1490
+ _chunkMP2P2MGPjs.writeTrace.call(void 0, `${Date.now() - timeBefore}ms [${_nullishCoalesce(options.name, () => ( ""))}]`);
1491
1491
  }, 10);
1492
1492
  changeWatcher.on("change", fastRebuild);
1493
1493
  return void 0;
@@ -1495,7 +1495,7 @@ var watch = /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (context2, opti
1495
1495
 
1496
1496
  // src/executors/esbuild/executor.ts
1497
1497
  async function esbuildExecutorFn(options, context2, config) {
1498
- _chunkSN7IJGEEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1498
+ _chunkMP2P2MGPjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm ESBuild executor on the workspace", config);
1499
1499
  if (!_optionalChain([context2, 'access', _69 => _69.projectsConfigurations, 'optionalAccess', _70 => _70.projects]) || !context2.projectName || !context2.projectsConfigurations.projects[context2.projectName] || !_optionalChain([context2, 'access', _71 => _71.projectsConfigurations, 'access', _72 => _72.projects, 'access', _73 => _73[context2.projectName], 'optionalAccess', _74 => _74.root])) {
1500
1500
  throw new Error("The Build process failed because the context is not valid. Please run this command from a workspace.");
1501
1501
  }
@@ -1512,7 +1512,7 @@ async function esbuildExecutorFn(options, context2, config) {
1512
1512
  };
1513
1513
  }
1514
1514
  _chunk3GQAWCBQjs.__name.call(void 0, esbuildExecutorFn, "esbuildExecutorFn");
1515
- var executor_default = _chunkBAJ3JRJCjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1515
+ var executor_default = _chunkJL5QGFBXjs.withRunExecutor.call(void 0, "Storm ESBuild build", esbuildExecutorFn, {
1516
1516
  skipReadingConfig: false,
1517
1517
  hooks: {
1518
1518
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, async (options, config) => {
@@ -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 _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
3
+ var _chunkJL5QGFBXjs = require('./chunk-JL5QGFBX.js');
4
4
 
5
5
 
6
- var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
6
+ var _chunkMP2P2MGPjs = require('./chunk-MP2P2MGP.js');
7
7
 
8
8
 
9
9
  var _chunkJTAXCQX6js = require('./chunk-JTAXCQX6.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
- _chunkSN7IJGEEjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Unbuild executor on the workspace", config);
18
+ _chunkMP2P2MGPjs.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 = _chunkBAJ3JRJCjs.withRunExecutor.call(void 0, "TypeScript Unbuild build", unbuildExecutorFn, {
66
+ var executor_default = _chunkJL5QGFBXjs.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) => {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  buildCargoCommand,
3
3
  cargoCommand
4
- } from "./chunk-KEPMD5HG.mjs";
4
+ } from "./chunk-2RRVYK6E.mjs";
5
5
  import {
6
6
  withRunExecutor
7
- } from "./chunk-ZV2PR5R3.mjs";
7
+ } from "./chunk-5AVEZVE5.mjs";
8
8
  import {
9
9
  __name
10
- } from "./chunk-Y4D6KHJP.mjs";
10
+ } from "./chunk-VGSUCQ2S.mjs";
11
11
 
12
12
  // src/executors/cargo-build/executor.ts
13
13
  async function cargoBuildExecutor(options, context) {
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  cargoMetadata,
3
3
  isExternal
4
- } from "./chunk-KEPMD5HG.mjs";
4
+ } from "./chunk-2RRVYK6E.mjs";
5
5
  import {
6
6
  ProjectTagConstants,
7
7
  addProjectTag,
8
8
  setDefaultProjectTags
9
- } from "./chunk-WQRDKC36.mjs";
9
+ } from "./chunk-VUIT3ZAI.mjs";
10
10
  import {
11
11
  __name
12
- } from "./chunk-Y4D6KHJP.mjs";
12
+ } from "./chunk-VGSUCQ2S.mjs";
13
13
 
14
14
  // src/plugins/rust/cargo-toml.ts
15
15
  import { createNodesFromFiles, joinPathFragments, readJsonFile, workspaceRoot } from "@nx/devkit";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  withRunGenerator
3
- } from "./chunk-6YRWQ3TB.mjs";
3
+ } from "./chunk-XGSZL5N7.mjs";
4
4
  import {
5
5
  stormWorkspaceConfigSchema,
6
6
  writeInfo,
7
7
  writeSuccess,
8
8
  writeTrace
9
- } from "./chunk-N5N2BZHB.mjs";
9
+ } from "./chunk-TCZC6XD6.mjs";
10
10
  import {
11
11
  findWorkspaceRoot
12
- } from "./chunk-44ZYZKMX.mjs";
12
+ } from "./chunk-VFXWLOY7.mjs";
13
13
  import {
14
14
  __name
15
- } from "./chunk-Y4D6KHJP.mjs";
15
+ } from "./chunk-VGSUCQ2S.mjs";
16
16
 
17
17
  // src/generators/config-schema/generator.ts
18
18
  import { formatFiles, writeJson } from "@nx/devkit";
@@ -224,7 +224,7 @@ Execution response: ${result.toString()}` : ""}
224
224
  try {
225
225
  console.error("\n ********************** \n");
226
226
  console.info("");
227
- console.error("An error occured running pnpm publish.");
227
+ console.error("An error occured running npm publish.");
228
228
  console.error("Please see below for more information:");
229
229
  console.info("");
230
230
  const stdoutData = JSON.parse(_optionalChain([err, 'access', _55 => _55.stdout, 'optionalAccess', _56 => _56.toString, 'call', _57 => _57()]) || "{}");
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkBAJ3JRJCjs = require('./chunk-BAJ3JRJC.js');
3
+ var _chunkJL5QGFBXjs = require('./chunk-JL5QGFBX.js');
4
4
 
5
5
 
6
- var _chunkSN7IJGEEjs = require('./chunk-SN7IJGEE.js');
6
+ var _chunkMP2P2MGPjs = require('./chunk-MP2P2MGP.js');
7
7
 
8
8
 
9
9
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -13,11 +13,11 @@ var _fsextra = require('fs-extra');
13
13
  var _TypiaProgrammerjs = require('typia/lib/programmers/TypiaProgrammer.js');
14
14
  async function typiaExecutorFn(options, _, config) {
15
15
  if (options.clean !== false) {
16
- _chunkSN7IJGEEjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkMP2P2MGPjs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
17
17
  _fsextra.removeSync.call(void 0, options.outputPath);
18
18
  }
19
19
  await Promise.all(options.entry.map((entry) => {
20
- _chunkSN7IJGEEjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkMP2P2MGPjs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
21
21
  return _TypiaProgrammerjs.TypiaProgrammer.build({
22
22
  input: entry,
23
23
  output: options.outputPath,
@@ -29,7 +29,7 @@ async function typiaExecutorFn(options, _, config) {
29
29
  };
30
30
  }
31
31
  _chunk3GQAWCBQjs.__name.call(void 0, typiaExecutorFn, "typiaExecutorFn");
32
- var executor_default = _chunkBAJ3JRJCjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunkJL5QGFBXjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
33
33
  skipReadingConfig: false,
34
34
  hooks: {
35
35
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {