@storm-software/workspace-tools 1.246.3 → 1.247.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +1 -1
  3. package/config/{nx-default.json → base.json} +46 -48
  4. package/dist/{chunk-WPYYDD5F.js → chunk-24AOAWKM.js} +2 -2
  5. package/dist/{chunk-P4ALYDGC.js → chunk-2HIEYKTF.js} +5 -5
  6. package/dist/{chunk-BBRVJL4A.mjs → chunk-2LIE7SJ3.mjs} +32 -19
  7. package/dist/{chunk-KPKHTJWT.mjs → chunk-3IY2B44Z.mjs} +4 -4
  8. package/dist/{chunk-66FRJGIN.js → chunk-4AJFP7HM.js} +20 -20
  9. package/dist/{chunk-6V5GP3U4.js → chunk-4JOIS7WW.js} +24 -14
  10. package/dist/{chunk-BYLPQCIB.js → chunk-5CXC7ITO.js} +11 -11
  11. package/dist/{chunk-TJ6WVBYM.mjs → chunk-5EWLM3N6.mjs} +4 -4
  12. package/dist/{chunk-XI4BWTXX.mjs → chunk-5GLAGFHA.mjs} +3 -3
  13. package/dist/{chunk-N7VQR5KC.mjs → chunk-5JXVOE56.mjs} +3 -3
  14. package/dist/{chunk-AY5HELLN.js → chunk-5LEU7C3E.js} +25 -25
  15. package/dist/{chunk-GZPCM2GI.mjs → chunk-7MZLWLLT.mjs} +3 -3
  16. package/dist/{chunk-H5XURNDS.js → chunk-AC5SI4YZ.js} +2 -2
  17. package/dist/{chunk-2AKLJNKO.mjs → chunk-AHTDYOCZ.mjs} +20 -13
  18. package/dist/{chunk-BC3QVHAH.mjs → chunk-ATMJKNFF.mjs} +5 -5
  19. package/dist/{chunk-LZNWOO4B.js → chunk-B5YTVDRU.js} +5 -5
  20. package/dist/{chunk-4F75KA7J.mjs → chunk-BLSGWUGX.mjs} +3 -3
  21. package/dist/{chunk-ZQPK5G4U.js → chunk-BRWRLQDC.js} +22 -15
  22. package/dist/{chunk-BLG6LLHW.mjs → chunk-C5YDISDP.mjs} +26 -16
  23. package/dist/{chunk-FZI3TKFY.mjs → chunk-D7VXZZFG.mjs} +1 -1
  24. package/dist/{chunk-G3AMYMML.js → chunk-DVR7HEPK.js} +36 -23
  25. package/dist/{chunk-U4AQXXXF.mjs → chunk-E52NPVHL.mjs} +4 -4
  26. package/dist/{chunk-VYH45FO6.mjs → chunk-EIM3O6HY.mjs} +1 -1
  27. package/dist/{chunk-HK26KBWU.mjs → chunk-EPZT247P.mjs} +4 -4
  28. package/dist/{chunk-N3WLDHSN.js → chunk-ETVB65M4.js} +2 -2
  29. package/dist/{chunk-SLCOHXD3.mjs → chunk-F2GYXQ5H.mjs} +5 -4
  30. package/dist/{chunk-Z6E637KA.js → chunk-GDHENHPI.js} +41 -41
  31. package/dist/{chunk-AWPP7DRY.js → chunk-GKL4BY2Y.js} +2 -2
  32. package/dist/{chunk-GQ6ZBQ6I.mjs → chunk-H7GRZIKQ.mjs} +4 -4
  33. package/dist/{chunk-I6BCQJPP.mjs → chunk-HDWS7GST.mjs} +3 -3
  34. package/dist/{chunk-LUQIF4A3.mjs → chunk-HUCDWLQ3.mjs} +2 -2
  35. package/dist/{chunk-FBIVTCSJ.mjs → chunk-JB4KCMSB.mjs} +2 -2
  36. package/dist/{chunk-O3ZLX7S5.mjs → chunk-JQCRK5FU.mjs} +3 -3
  37. package/dist/{chunk-NCFX2MWO.mjs → chunk-KZJCDAOU.mjs} +1 -1
  38. package/dist/{chunk-WCIY3TEF.mjs → chunk-LWUP4RIM.mjs} +2 -2
  39. package/dist/{chunk-U3TVR7B3.js → chunk-MOPEW5LB.js} +5 -5
  40. package/dist/{chunk-7QVGAOPQ.mjs → chunk-MQE5KGI7.mjs} +3 -3
  41. package/dist/{chunk-4YODDZMS.mjs → chunk-NH75ORHH.mjs} +3 -3
  42. package/dist/{chunk-USUT2GLD.mjs → chunk-OHEABZJW.mjs} +1 -1
  43. package/dist/{chunk-KV7YB4MU.mjs → chunk-OM7XDCE7.mjs} +3 -3
  44. package/dist/{chunk-ZKWGOANM.mjs → chunk-OS3ZHOJP.mjs} +5 -5
  45. package/dist/{chunk-3SPGOKCO.mjs → chunk-OVR2BAKA.mjs} +2 -2
  46. package/dist/{chunk-3ORCJSUT.mjs → chunk-P2SLAYFV.mjs} +3 -3
  47. package/dist/{chunk-U7TEDNQF.js → chunk-PKBJIHOW.js} +31 -31
  48. package/dist/{chunk-Q2DU6KGV.js → chunk-PQQYCAXU.js} +5 -5
  49. package/dist/{chunk-ZVP6NBMF.js → chunk-QMXS4YBR.js} +2 -2
  50. package/dist/{chunk-IPMZQTRA.mjs → chunk-R6RTCWUK.mjs} +2 -2
  51. package/dist/{chunk-XUV4U54K.mjs → chunk-R7DU2APC.mjs} +1 -1
  52. package/dist/{chunk-ECSCURQQ.js → chunk-RBU35LQW.js} +2 -1
  53. package/dist/{chunk-RWDBQOGV.js → chunk-SJY2MQ7F.js} +5 -5
  54. package/dist/{chunk-NJ2QOT34.mjs → chunk-U7LV2H52.mjs} +1 -1
  55. package/dist/{chunk-34JK7ZOU.js → chunk-UALZJZUK.js} +2 -2
  56. package/dist/{chunk-LIYZBMAM.mjs → chunk-UH565HF3.mjs} +1 -1
  57. package/dist/{chunk-ZAE2P6GK.js → chunk-UKNWS4VZ.js} +4 -4
  58. package/dist/{chunk-R7VJ7ZHV.mjs → chunk-V7IOKRJA.mjs} +2 -2
  59. package/dist/{chunk-X7XA6QPV.mjs → chunk-VBPOZVKY.mjs} +3 -3
  60. package/dist/{chunk-EIL3PQQL.js → chunk-VBROJHZZ.js} +2 -2
  61. package/dist/{chunk-FDPZRNKZ.js → chunk-VBYEJNI3.js} +15 -15
  62. package/dist/{chunk-AQLXZBXJ.mjs → chunk-VCU6XMJC.mjs} +4 -4
  63. package/dist/{chunk-66TYTM73.mjs → chunk-W3SWWT4A.mjs} +1 -1
  64. package/dist/{chunk-ITL2GPJB.js → chunk-WAZC2KG4.js} +2 -2
  65. package/dist/{chunk-J5SXKBBU.mjs → chunk-X3GPVZMH.mjs} +1 -1
  66. package/dist/{chunk-QZHIWK5Z.mjs → chunk-XK3FSWMA.mjs} +1 -1
  67. package/dist/{chunk-6ZQ3QYXH.mjs → chunk-XUYTELRS.mjs} +2 -2
  68. package/dist/{chunk-Q47LFUGL.mjs → chunk-YHV3GYYF.mjs} +4 -4
  69. package/dist/{chunk-TBQLIKD4.mjs → chunk-YK676R5F.mjs} +6 -6
  70. package/dist/{chunk-BNYY2WQJ.js → chunk-ZDN367AN.js} +2 -2
  71. package/dist/{executor-CnnrgXKr.d.mts → executor-BDL9OXAe.d.mts} +1 -1
  72. package/dist/{executor-De29T5QB.d.mts → executor-BOz02M0D.d.mts} +1 -1
  73. package/dist/{executor-DZ-0sX_w.d.ts → executor-BzM1aAMj.d.ts} +1 -1
  74. package/dist/{executor-B2I8lRie.d.mts → executor-CJ2sUUqC.d.mts} +1 -1
  75. package/dist/{executor-B3LJ1461.d.mts → executor-D9Lkezla.d.mts} +1 -1
  76. package/dist/{executor-SU5oGftF.d.ts → executor-DIeaVupa.d.ts} +1 -1
  77. package/dist/{executor-D04WPR2V.d.ts → executor-DLeeL4eB.d.ts} +1 -1
  78. package/dist/{executor-B1mTS_M5.d.ts → executor-DdnyhsRE.d.ts} +1 -1
  79. package/dist/{executor-9k0vy4BU.d.mts → executor-DvKywXQM.d.mts} +1 -1
  80. package/dist/{executor-Dfot53CG.d.ts → executor-DxeOzkYd.d.ts} +1 -1
  81. package/dist/executors.d.mts +6 -6
  82. package/dist/executors.d.ts +6 -6
  83. package/dist/executors.js +16 -16
  84. package/dist/executors.mjs +22 -22
  85. package/dist/{generator-BCkqWM1d.d.ts → generator-8l8dnSzj.d.ts} +1 -1
  86. package/dist/{generator-DBa9-HbU.d.ts → generator-96lYy3vU.d.ts} +1 -1
  87. package/dist/{generator-BAbOohf7.d.mts → generator-ANcVdjRd.d.mts} +2 -2
  88. package/dist/{generator-CrR9QK6B.d.mts → generator-BXQhJBFX.d.mts} +2 -2
  89. package/dist/{generator-AFivysTp.d.ts → generator-Br48n2Qc.d.ts} +2 -2
  90. package/dist/{generator-CRiDjsPp.d.mts → generator-CAGPcZQ4.d.mts} +1 -1
  91. package/dist/{generator-rf62OraH.d.ts → generator-Cg5cXOd-.d.ts} +2 -2
  92. package/dist/{generator-B_HN13az.d.mts → generator-Ci71Fj-h.d.mts} +2 -2
  93. package/dist/{generator-DpXgF55u.d.mts → generator-D4l8BFsS.d.mts} +1 -1
  94. package/dist/{generator-DATsTV1E.d.mts → generator-DDFJK57t.d.mts} +2 -2
  95. package/dist/{generator-DNdirMec.d.ts → generator-DcKIyM9v.d.ts} +2 -2
  96. package/dist/{generator-F6EuzmJD.d.ts → generator-SVDta1L0.d.ts} +2 -2
  97. package/dist/generators.d.mts +8 -8
  98. package/dist/generators.d.ts +8 -8
  99. package/dist/generators.js +12 -12
  100. package/dist/generators.mjs +16 -16
  101. package/dist/index.d.mts +13 -13
  102. package/dist/index.d.ts +13 -13
  103. package/dist/index.js +26 -26
  104. package/dist/index.mjs +40 -40
  105. package/dist/src/base/base-executor.d.mts +2 -2
  106. package/dist/src/base/base-executor.d.ts +2 -2
  107. package/dist/src/base/base-executor.js +5 -5
  108. package/dist/src/base/base-executor.mjs +6 -6
  109. package/dist/src/base/base-executor.untyped.mjs +1 -1
  110. package/dist/src/base/base-generator.d.mts +2 -2
  111. package/dist/src/base/base-generator.d.ts +2 -2
  112. package/dist/src/base/base-generator.js +5 -5
  113. package/dist/src/base/base-generator.mjs +6 -6
  114. package/dist/src/base/base-generator.untyped.mjs +1 -1
  115. package/dist/src/base/cargo-base-executor.untyped.mjs +1 -1
  116. package/dist/src/base/index.d.mts +2 -2
  117. package/dist/src/base/index.d.ts +2 -2
  118. package/dist/src/base/index.js +7 -7
  119. package/dist/src/base/index.mjs +10 -10
  120. package/dist/src/base/typescript-build-executor.untyped.mjs +2 -2
  121. package/dist/src/base/typescript-library-generator.untyped.mjs +1 -1
  122. package/dist/src/executors/cargo-build/executor.js +6 -6
  123. package/dist/src/executors/cargo-build/executor.mjs +8 -8
  124. package/dist/src/executors/cargo-build/untyped.mjs +1 -1
  125. package/dist/src/executors/cargo-check/executor.js +6 -6
  126. package/dist/src/executors/cargo-check/executor.mjs +8 -8
  127. package/dist/src/executors/cargo-check/untyped.mjs +1 -1
  128. package/dist/src/executors/cargo-clippy/executor.js +6 -6
  129. package/dist/src/executors/cargo-clippy/executor.mjs +8 -8
  130. package/dist/src/executors/cargo-clippy/untyped.mjs +1 -1
  131. package/dist/src/executors/cargo-doc/executor.js +6 -6
  132. package/dist/src/executors/cargo-doc/executor.mjs +8 -8
  133. package/dist/src/executors/cargo-doc/untyped.mjs +1 -1
  134. package/dist/src/executors/cargo-format/executor.js +6 -6
  135. package/dist/src/executors/cargo-format/executor.mjs +8 -8
  136. package/dist/src/executors/cargo-format/untyped.mjs +1 -1
  137. package/dist/src/executors/cargo-publish/executor.mjs +3 -3
  138. package/dist/src/executors/cargo-publish/untyped.mjs +1 -1
  139. package/dist/src/executors/clean-package/executor.d.mts +1 -1
  140. package/dist/src/executors/clean-package/executor.d.ts +1 -1
  141. package/dist/src/executors/clean-package/executor.js +7 -7
  142. package/dist/src/executors/clean-package/executor.mjs +6 -6
  143. package/dist/src/executors/clean-package/untyped.mjs +1 -1
  144. package/dist/src/executors/esbuild/executor.d.mts +2 -2
  145. package/dist/src/executors/esbuild/executor.d.ts +2 -2
  146. package/dist/src/executors/esbuild/executor.js +7 -7
  147. package/dist/src/executors/esbuild/executor.mjs +8 -8
  148. package/dist/src/executors/esbuild/untyped.mjs +2 -2
  149. package/dist/src/executors/npm-publish/executor.mjs +4 -4
  150. package/dist/src/executors/npm-publish/untyped.mjs +1 -1
  151. package/dist/src/executors/size-limit/executor.d.mts +2 -2
  152. package/dist/src/executors/size-limit/executor.d.ts +2 -2
  153. package/dist/src/executors/size-limit/executor.js +6 -6
  154. package/dist/src/executors/size-limit/executor.mjs +7 -7
  155. package/dist/src/executors/size-limit/untyped.mjs +1 -1
  156. package/dist/src/executors/tsdown/executor.d.mts +2 -2
  157. package/dist/src/executors/tsdown/executor.d.ts +2 -2
  158. package/dist/src/executors/tsdown/executor.js +7 -7
  159. package/dist/src/executors/tsdown/executor.mjs +8 -8
  160. package/dist/src/executors/tsdown/untyped.mjs +2 -2
  161. package/dist/src/executors/typia/executor.d.mts +2 -2
  162. package/dist/src/executors/typia/executor.d.ts +2 -2
  163. package/dist/src/executors/typia/executor.js +6 -6
  164. package/dist/src/executors/typia/executor.mjs +7 -7
  165. package/dist/src/executors/typia/untyped.mjs +1 -1
  166. package/dist/src/executors/unbuild/executor.d.mts +2 -2
  167. package/dist/src/executors/unbuild/executor.d.ts +2 -2
  168. package/dist/src/executors/unbuild/executor.js +6 -6
  169. package/dist/src/executors/unbuild/executor.mjs +7 -7
  170. package/dist/src/executors/unbuild/untyped.mjs +2 -2
  171. package/dist/src/generators/browser-library/generator.d.mts +3 -3
  172. package/dist/src/generators/browser-library/generator.d.ts +3 -3
  173. package/dist/src/generators/browser-library/generator.js +7 -7
  174. package/dist/src/generators/browser-library/generator.mjs +9 -9
  175. package/dist/src/generators/browser-library/untyped.mjs +1 -1
  176. package/dist/src/generators/config-schema/generator.d.mts +3 -3
  177. package/dist/src/generators/config-schema/generator.d.ts +3 -3
  178. package/dist/src/generators/config-schema/generator.js +6 -6
  179. package/dist/src/generators/config-schema/generator.mjs +7 -7
  180. package/dist/src/generators/config-schema/untyped.mjs +1 -1
  181. package/dist/src/generators/init/init.mjs +2 -2
  182. package/dist/src/generators/init/untyped.mjs +1 -1
  183. package/dist/src/generators/neutral-library/generator.d.mts +3 -3
  184. package/dist/src/generators/neutral-library/generator.d.ts +3 -3
  185. package/dist/src/generators/neutral-library/generator.js +7 -7
  186. package/dist/src/generators/neutral-library/generator.mjs +9 -9
  187. package/dist/src/generators/neutral-library/untyped.mjs +1 -1
  188. package/dist/src/generators/node-library/generator.d.mts +3 -3
  189. package/dist/src/generators/node-library/generator.d.ts +3 -3
  190. package/dist/src/generators/node-library/generator.js +7 -7
  191. package/dist/src/generators/node-library/generator.mjs +9 -9
  192. package/dist/src/generators/node-library/untyped.mjs +1 -1
  193. package/dist/src/generators/preset/generator.d.mts +3 -3
  194. package/dist/src/generators/preset/generator.d.ts +3 -3
  195. package/dist/src/generators/preset/generator.js +6 -6
  196. package/dist/src/generators/preset/generator.mjs +7 -7
  197. package/dist/src/generators/preset/untyped.mjs +1 -1
  198. package/dist/src/generators/release-version/generator.d.mts +2 -2
  199. package/dist/src/generators/release-version/generator.d.ts +2 -2
  200. package/dist/src/generators/release-version/generator.js +4 -4
  201. package/dist/src/generators/release-version/generator.mjs +6 -6
  202. package/dist/src/generators/release-version/untyped.mjs +1 -1
  203. package/dist/src/plugins/rust/cargo-toml.mjs +4 -4
  204. package/dist/src/plugins/rust/index.mjs +4 -4
  205. package/dist/src/plugins/typescript/index.mjs +4 -4
  206. package/dist/src/plugins/typescript/project-config.mjs +4 -4
  207. package/dist/src/plugins/typescript/tsdown.mjs +2 -2
  208. package/dist/src/plugins/typescript/tsup.mjs +2 -2
  209. package/dist/src/plugins/typescript/untyped-schema.mjs +2 -2
  210. package/dist/src/types.d.mts +2 -2
  211. package/dist/src/types.d.ts +2 -2
  212. package/dist/src/types.mjs +1 -1
  213. package/dist/src/utils/apply-workspace-tokens.d.mts +1 -1
  214. package/dist/src/utils/apply-workspace-tokens.d.ts +1 -1
  215. package/dist/src/utils/apply-workspace-tokens.js +3 -3
  216. package/dist/src/utils/apply-workspace-tokens.mjs +4 -4
  217. package/dist/src/utils/cargo.mjs +2 -2
  218. package/dist/src/utils/create-cli-options.mjs +2 -2
  219. package/dist/src/utils/get-project-configurations.js +3 -3
  220. package/dist/src/utils/get-project-configurations.mjs +4 -4
  221. package/dist/src/utils/index.d.mts +2 -2
  222. package/dist/src/utils/index.d.ts +2 -2
  223. package/dist/src/utils/index.js +4 -4
  224. package/dist/src/utils/index.mjs +14 -14
  225. package/dist/src/utils/lock-file.mjs +2 -2
  226. package/dist/src/utils/package-helpers.mjs +4 -4
  227. package/dist/src/utils/plugin-helpers.mjs +3 -3
  228. package/dist/src/utils/pnpm-deps-update.mjs +3 -3
  229. package/dist/src/utils/project-tags.d.mts +2 -2
  230. package/dist/src/utils/project-tags.d.ts +2 -2
  231. package/dist/src/utils/project-tags.mjs +2 -2
  232. package/dist/src/utils/toml.mjs +2 -2
  233. package/dist/src/utils/typia-transform.mjs +2 -2
  234. package/dist/src/utils/versions.mjs +1 -1
  235. package/dist/{types-B5IG4iSJ.d.ts → types-BbEVA-sX.d.mts} +3 -0
  236. package/dist/{types-B5IG4iSJ.d.mts → types-BbEVA-sX.d.ts} +3 -0
  237. package/dist/{types-DpaECebR.d.ts → types-DLS_kod0.d.ts} +1 -1
  238. package/dist/{types-44XkV3HO.d.mts → types-DM_AJ5NA.d.mts} +1 -1
  239. package/package.json +2 -3
  240. package/config/nx-cloud.json +0 -459
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## 1.247.0 (2025-02-01)
2
+
3
+ ### Features
4
+
5
+ - **config:** Renamed config file from `storm.json` to `storm-workspace.json` ([3ce65c15](https://github.com/storm-software/storm-ops/commit/3ce65c15))
6
+
7
+ ## 1.246.4 (2025-01-29)
8
+
9
+ ### Miscellaneous
10
+
11
+ - **monorepo:** Regenerate README markdown files ([a1b6717d](https://github.com/storm-software/storm-ops/commit/a1b6717d))
12
+
1
13
  ## 1.246.3 (2025-01-29)
2
14
 
3
15
  ### Miscellaneous
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.246.2-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.246.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
@@ -45,19 +45,24 @@
45
45
  "{workspaceRoot}/.gitignore",
46
46
  "{workspaceRoot}/nx.json",
47
47
  "{workspaceRoot}/.nxignore",
48
- "{workspaceRoot}/storm.json",
49
- "{workspaceRoot}/storm.*.json",
50
- "{workspaceRoot}/.storm/config.json",
51
- "{workspaceRoot}/.storm/config.*.json",
52
- "{workspaceRoot}/storm.yaml",
53
- "{workspaceRoot}/storm.*.yaml",
54
- "{workspaceRoot}/.storm/config.yaml",
55
- "{workspaceRoot}/.storm/config.*.yaml",
56
- "{workspaceRoot}/storm.toml",
57
- "{workspaceRoot}/storm.*.toml",
58
- "{workspaceRoot}/.storm/config.toml",
59
- "{workspaceRoot}/.storm/config.*.toml",
60
- "{workspaceRoot}/storm.config.js",
48
+ "{workspaceRoot}/storm-workspace.json",
49
+ "{workspaceRoot}/storm-workspace.*.json",
50
+ "{workspaceRoot}/.storm-workspace/config.json",
51
+ "{workspaceRoot}/.storm-workspace/config.*.json",
52
+ "{workspaceRoot}/storm-workspace.yaml",
53
+ "{workspaceRoot}/storm-workspace.*.yaml",
54
+ "{workspaceRoot}/.storm-workspace/config.yaml",
55
+ "{workspaceRoot}/.storm-workspace/config.*.yaml",
56
+ "{workspaceRoot}/storm-workspace.toml",
57
+ "{workspaceRoot}/storm-workspace.*.toml",
58
+ "{workspaceRoot}/.storm-workspace/config.toml",
59
+ "{workspaceRoot}/.storm-workspace/config.*.toml",
60
+ "{workspaceRoot}/storm-workspace.config.js",
61
+ "{workspaceRoot}/.storm-workspace/config.js",
62
+ "{workspaceRoot}/.storm-workspace/config.*.js",
63
+ "{workspaceRoot}/storm-workspace.config.ts",
64
+ "{workspaceRoot}/.storm-workspace/config.ts",
65
+ "{workspaceRoot}/.storm-workspace/config.*.ts",
61
66
  "{workspaceRoot}/.env",
62
67
  "{workspaceRoot}/.env.local"
63
68
  ],
@@ -302,15 +307,7 @@
302
307
  ]
303
308
  },
304
309
  "targetDefaults": {
305
- "lint-docs": {
306
- "cache": true,
307
- "outputs": ["{projectRoot}/**/*"],
308
- "inputs": ["linting", "documentation", "default", "^production"],
309
- "executor": "nx:run-commands",
310
- "dependsOn": ["build", "^lint-docs"]
311
- },
312
310
  "lint-ls": {
313
- "cache": true,
314
311
  "outputs": ["{projectRoot}/**/*"],
315
312
  "inputs": ["linting", "default", "^production"],
316
313
  "dependsOn": ["^lint-ls"],
@@ -321,7 +318,6 @@
321
318
  }
322
319
  },
323
320
  "lint-sherif": {
324
- "cache": true,
325
321
  "outputs": ["{projectRoot}/package.json"],
326
322
  "inputs": ["{workspaceRoot}/package.json", "{projectRoot}/package.json"],
327
323
  "executor": "nx:run-commands",
@@ -330,7 +326,6 @@
330
326
  }
331
327
  },
332
328
  "lint-knip": {
333
- "cache": true,
334
329
  "inputs": ["linting", "default", "^production"],
335
330
  "executor": "nx:run-commands",
336
331
  "options": {
@@ -338,18 +333,21 @@
338
333
  }
339
334
  },
340
335
  "lint": {
341
- "cache": true,
342
336
  "outputs": ["{projectRoot}"],
343
337
  "inputs": ["linting", "default", "^production"],
344
- "dependsOn": ["lint-ls", "lint-sherif", "lint-knip", "lint-docs", "^lint"]
345
- },
346
- "format-sherif": {
347
- "cache": true,
348
- "inputs": ["linting", "default", "^production"],
349
- "executor": "nx:run-commands"
338
+ "dependsOn": [
339
+ "lint-ls",
340
+ "lint-sherif",
341
+ "lint-knip",
342
+ "lint-docs",
343
+ "^lint"
344
+ ],
345
+ "executor": "nx:run-commands",
346
+ "options": {
347
+ "command": "echo Linted the project files in \"{projectRoot}\" "
348
+ }
350
349
  },
351
350
  "format-toml": {
352
- "cache": true,
353
351
  "inputs": ["linting", "{projectRoot}/**/*.toml"],
354
352
  "outputs": ["{projectRoot}/**/*.toml"],
355
353
  "dependsOn": ["^format-toml"],
@@ -360,7 +358,6 @@
360
358
  }
361
359
  },
362
360
  "format-readme": {
363
- "cache": true,
364
361
  "inputs": [
365
362
  "linting",
366
363
  "documentation",
@@ -377,7 +374,6 @@
377
374
  }
378
375
  },
379
376
  "format-prettier": {
380
- "cache": true,
381
377
  "inputs": ["linting", "default", "^production"],
382
378
  "dependsOn": ["^format-prettier"],
383
379
  "executor": "nx:run-commands",
@@ -387,41 +383,47 @@
387
383
  }
388
384
  },
389
385
  "format": {
390
- "cache": true,
391
386
  "inputs": ["linting", "default", "^production"],
392
387
  "outputs": ["{projectRoot}"],
388
+ "dependsOn": [
389
+ "format-toml",
390
+ "format-readme",
391
+ "format-prettier",
392
+ "^format"
393
+ ],
393
394
  "executor": "nx:run-commands",
394
395
  "options": {
395
- "command": "echo Formatting the project files in \"{projectRoot}\" ",
396
- "color": true
396
+ "command": "echo Formatted the project files in \"{projectRoot}\" "
397
397
  }
398
398
  },
399
399
  "clean": {
400
- "cache": true,
401
400
  "inputs": ["default", "^production"],
401
+ "outputs": "NX_DEFAULT_BUILD_OUTPUTS",
402
+ "dependsOn": ["^clean"],
402
403
  "executor": "nx:run-commands",
403
- "dependsOn": ["^clean"]
404
+ "options": {
405
+ "commands": [
406
+ "pnpm exec rimraf --glob {projectRoot}/dist",
407
+ "pnpm exec rimraf dist/{projectRoot}"
408
+ ]
409
+ }
404
410
  },
405
411
  "build-untyped": {
406
- "cache": true,
407
412
  "dependsOn": ["^build"]
408
413
  },
409
414
  "build-base": {
410
- "cache": true,
411
- "dependsOn": ["clean", "build-untyped", "^build"]
415
+ "dependsOn": ["build-untyped", "^build"]
412
416
  },
413
417
  "build-local": {
414
- "cache": true,
415
418
  "inputs": ["default", "^production"],
416
419
  "dependsOn": ["build-base", "build-untyped", "^build"]
417
420
  },
418
421
  "build": {
419
- "cache": true,
420
422
  "inputs": ["default", "^production"],
423
+ "outputs": "NX_DEFAULT_BUILD_OUTPUTS",
421
424
  "dependsOn": ["build-base", "build-untyped", "^build"]
422
425
  },
423
426
  "rebuild": {
424
- "cache": false,
425
427
  "inputs": ["default", "^production"],
426
428
  "executor": "nx:run-commands",
427
429
  "dependsOn": ["clean", "^build"],
@@ -432,23 +434,19 @@
432
434
  }
433
435
  },
434
436
  "docs": {
435
- "cache": true,
436
437
  "outputs": ["{options.outputPath}"],
437
438
  "inputs": ["linting", "documentation", "default", "^production"],
438
439
  "dependsOn": ["build", "format-readme", "lint-docs", "^docs"]
439
440
  },
440
441
  "test": {
441
- "cache": true,
442
442
  "inputs": ["testing", "default", "^production"],
443
443
  "dependsOn": ["build", "^test"]
444
444
  },
445
445
  "e2e": {
446
- "cache": true,
447
446
  "inputs": ["testing", "default", "^production"],
448
447
  "dependsOn": ["test", "^e2e"]
449
448
  },
450
449
  "nx-release-publish": {
451
- "cache": true,
452
450
  "inputs": ["default", "^production"],
453
451
  "dependsOn": ["build", "^nx-release-publish"]
454
452
  }
@@ -4,7 +4,7 @@
4
4
  var _chunkULBTYC2Bjs = require('./chunk-ULBTYC2B.js');
5
5
 
6
6
 
7
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
7
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.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 = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Cargo Doc", cargoDocExecutor, {
23
+ var executor_default = _chunk5LEU7C3Ejs.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,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkAY5HELLNjs = require('./chunk-AY5HELLN.js');
3
+ var _chunk5LEU7C3Ejs = require('./chunk-5LEU7C3E.js');
4
4
 
5
5
 
6
- var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
6
+ var _chunkBRWRLQDCjs = require('./chunk-BRWRLQDC.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
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, `\u{1F9F9} Cleaning output path: ${options.outputPath}`, config);
16
+ _chunkBRWRLQDCjs.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
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, `\u{1F680} Running Typia on entry: ${entry}`, config);
20
+ _chunkBRWRLQDCjs.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 = _chunkAY5HELLNjs.withRunExecutor.call(void 0, "Typia runtime validation generator", typiaExecutorFn, {
32
+ var executor_default = _chunk5LEU7C3Ejs.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) => {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  writeDebug,
3
3
  writeTrace
4
- } from "./chunk-2AKLJNKO.mjs";
4
+ } from "./chunk-AHTDYOCZ.mjs";
5
5
  import {
6
6
  findWorkspaceRoot
7
- } from "./chunk-BLG6LLHW.mjs";
7
+ } from "./chunk-C5YDISDP.mjs";
8
8
  import {
9
9
  correctPaths,
10
10
  joinPaths
11
- } from "./chunk-NCFX2MWO.mjs";
11
+ } from "./chunk-KZJCDAOU.mjs";
12
12
  import {
13
13
  __name
14
- } from "./chunk-XUV4U54K.mjs";
14
+ } from "./chunk-R7DU2APC.mjs";
15
15
 
16
16
  // ../build-tools/src/config.ts
17
17
  var DEFAULT_COMPILED_BANNER = `
@@ -82,11 +82,12 @@ ${footer && typeof footer === "string" ? footer.startsWith("//") ? footer : `//
82
82
  // ../build-tools/src/utilities/generate-package-json.ts
83
83
  import { calculateProjectBuildableDependencies } from "@nx/js/src/utils/buildable-libs-utils";
84
84
  import { Glob } from "glob";
85
- import { existsSync } from "node:fs";
85
+ import { existsSync, readFileSync } from "node:fs";
86
86
  import { readFile as readFile2 } from "node:fs/promises";
87
- import { readCachedProjectGraph } from "nx/src/project-graph/project-graph";
87
+ import { readCachedProjectGraph, readProjectsConfigurationFromProjectGraph } from "nx/src/project-graph/project-graph";
88
88
  var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projectRoot, projectName, packageJson) => {
89
- const projectDependencies = calculateProjectBuildableDependencies(void 0, readCachedProjectGraph(), workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
89
+ const projectGraph = readCachedProjectGraph();
90
+ const projectDependencies = calculateProjectBuildableDependencies(void 0, projectGraph, workspaceRoot, projectName, process.env.NX_TASK_TARGET_TARGET || "build", process.env.NX_TASK_TARGET_CONFIGURATION || "production", true);
90
91
  const localPackages = [];
91
92
  for (const project of projectDependencies.dependencies.filter((dep) => dep.node.type === "lib" && dep.node.data.root !== projectRoot && dep.node.data.root !== workspaceRoot)) {
92
93
  const projectNode = project.node;
@@ -103,26 +104,38 @@ var addPackageDependencies = /* @__PURE__ */ __name(async (workspaceRoot, projec
103
104
  }
104
105
  if (localPackages.length > 0) {
105
106
  writeTrace(`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`);
106
- packageJson.peerDependencies = localPackages.reduce((ret, localPackage) => {
107
- if (!ret[localPackage.name]) {
108
- ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
107
+ const projectJsonFile = await readFile2(joinPaths(projectRoot, "project.json"), "utf8");
108
+ const projectJson = JSON.parse(projectJsonFile);
109
+ const projectName2 = projectJson.name;
110
+ const projectConfigurations = readProjectsConfigurationFromProjectGraph(projectGraph);
111
+ if (!projectConfigurations?.projects?.[projectName2]) {
112
+ throw new Error("The Build process failed because the project does not have a valid configuration in the project.json file. Check if the file exists in the root of the project.");
113
+ }
114
+ const implicitDependencies = projectConfigurations.projects?.[projectName2].implicitDependencies?.reduce((ret, dep) => {
115
+ if (projectConfigurations.projects?.[dep]) {
116
+ const depPackageJsonPath = joinPaths(workspaceRoot, projectConfigurations.projects[dep].root, "package.json");
117
+ if (existsSync(depPackageJsonPath)) {
118
+ const depPackageJsonContent = readFileSync(depPackageJsonPath, "utf8");
119
+ const depPackageJson = JSON.parse(depPackageJsonContent);
120
+ if (depPackageJson.private !== true && !ret.includes(depPackageJson.name)) {
121
+ ret.push(depPackageJson.name);
122
+ }
123
+ }
109
124
  }
110
125
  return ret;
111
- }, packageJson.peerDependencies ?? {});
112
- packageJson.peerDependenciesMeta = localPackages.reduce((ret, localPackage) => {
113
- if (!ret[localPackage.name]) {
114
- ret[localPackage.name] = {
115
- optional: false
116
- };
126
+ }, []);
127
+ packageJson.dependencies = localPackages.reduce((ret, localPackage) => {
128
+ if (!ret[localPackage.name] && !implicitDependencies?.includes(localPackage.name)) {
129
+ ret[localPackage.name] = `>=${localPackage.version || "0.0.1"}`;
117
130
  }
118
131
  return ret;
119
- }, packageJson.peerDependenciesMeta ?? {});
132
+ }, packageJson.dependencies ?? {});
120
133
  packageJson.devDependencies = localPackages.reduce((ret, localPackage) => {
121
- if (!ret[localPackage.name]) {
134
+ if (!ret[localPackage.name] && implicitDependencies?.includes(localPackage.name)) {
122
135
  ret[localPackage.name] = localPackage.version || "0.0.1";
123
136
  }
124
137
  return ret;
125
- }, packageJson.peerDependencies ?? {});
138
+ }, packageJson.devDependencies ?? {});
126
139
  } else {
127
140
  writeTrace("\u{1F4E6} No local packages dependencies to add to package.json");
128
141
  }
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  normalizeOptions,
3
3
  typeScriptLibraryGeneratorFn
4
- } from "./chunk-SLCOHXD3.mjs";
4
+ } from "./chunk-F2GYXQ5H.mjs";
5
5
  import {
6
6
  withRunGenerator
7
- } from "./chunk-GQ6ZBQ6I.mjs";
7
+ } from "./chunk-H7GRZIKQ.mjs";
8
8
  import {
9
9
  joinPaths
10
- } from "./chunk-NCFX2MWO.mjs";
10
+ } from "./chunk-KZJCDAOU.mjs";
11
11
  import {
12
12
  __dirname,
13
13
  __name
14
- } from "./chunk-XUV4U54K.mjs";
14
+ } from "./chunk-R7DU2APC.mjs";
15
15
 
16
16
  // src/generators/browser-library/generator.ts
17
17
  import { formatFiles, generateFiles, names, offsetFromRoot } from "@nx/devkit";
@@ -1,7 +1,7 @@
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
3
 
4
- var _chunk34JK7ZOUjs = require('./chunk-34JK7ZOU.js');
4
+ var _chunkUALZJZUKjs = require('./chunk-UALZJZUK.js');
5
5
 
6
6
 
7
7
 
@@ -11,10 +11,10 @@ var _chunk34JK7ZOUjs = require('./chunk-34JK7ZOU.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
14
+ var _chunkBRWRLQDCjs = require('./chunk-BRWRLQDC.js');
15
15
 
16
16
 
17
- var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
17
+ var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
18
18
 
19
19
 
20
20
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.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 = _chunkZQPK5G4Ujs.getStopwatch.call(void 0, name);
26
+ const stopwatch = _chunkBRWRLQDCjs.getStopwatch.call(void 0, name);
27
27
  let options = _options;
28
28
  let config;
29
29
  try {
30
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
30
+ _chunkBRWRLQDCjs.writeInfo.call(void 0, `\u26A1 Running the ${name} generator...
31
31
 
32
32
  `, config);
33
- const workspaceRoot = _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, );
33
+ const workspaceRoot = _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, );
34
34
  if (!generatorOptions.skipReadingConfig) {
35
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
35
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, `Loading the Storm Config from environment variables and storm.config.js file...
36
36
  - workspaceRoot: ${workspaceRoot}`, config);
37
- config = await _chunkZQPK5G4Ujs.getConfig.call(void 0, workspaceRoot);
37
+ config = await _chunkBRWRLQDCjs.getConfig.call(void 0, workspaceRoot);
38
38
  }
39
39
  if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
40
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
40
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
41
41
  options = await Promise.resolve(generatorOptions.hooks.applyDefaultOptions(options, config));
42
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
42
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
43
43
  }
44
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Generator schema options \u2699\uFE0F
44
+ _chunkBRWRLQDCjs.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
- const tokenized = await _chunk34JK7ZOUjs.applyWorkspaceTokens.call(void 0, options, {
46
+ const tokenized = await _chunkUALZJZUKjs.applyWorkspaceTokens.call(void 0, options, {
47
47
  workspaceRoot: tree.root,
48
48
  config
49
- }, _chunk34JK7ZOUjs.applyWorkspaceBaseTokens);
49
+ }, _chunkUALZJZUKjs.applyWorkspaceBaseTokens);
50
50
  if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
51
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the preProcess hook...", config);
51
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
52
52
  await Promise.resolve(generatorOptions.hooks.preProcess(tokenized, config));
53
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the preProcess hook", config);
53
+ _chunkBRWRLQDCjs.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
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Running the postProcess hook...", config);
66
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
67
67
  await Promise.resolve(generatorOptions.hooks.postProcess(config));
68
- _chunkZQPK5G4Ujs.writeDebug.call(void 0, "Completed the postProcess hook", config);
68
+ _chunkBRWRLQDCjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
69
69
  }
70
70
  return () => {
71
- _chunkZQPK5G4Ujs.writeSuccess.call(void 0, `Completed running the ${name} generator!
71
+ _chunkBRWRLQDCjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
72
72
  `, config);
73
73
  };
74
74
  } catch (error) {
75
75
  return () => {
76
- _chunkZQPK5G4Ujs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
- _chunkZQPK5G4Ujs.writeError.call(void 0, `An exception was thrown in the generator's process
76
+ _chunkBRWRLQDCjs.writeFatal.call(void 0, "A fatal error occurred while running the generator - the process was forced to terminate", config);
77
+ _chunkBRWRLQDCjs.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
  };
@@ -10,14 +10,17 @@ var _fs = require('fs');
10
10
  var _path = require('path');
11
11
  var MAX_PATH_SEARCH_DEPTH = 30;
12
12
  var depth = 0;
13
- function findFolderUp(startPath, endFileNames) {
13
+ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
14
14
  const _startPath = _nullishCoalesce(startPath, () => ( process.cwd()));
15
+ if (endDirectoryNames.some((endDirName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endDirName)))) {
16
+ return _startPath;
17
+ }
15
18
  if (endFileNames.some((endFileName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endFileName)))) {
16
19
  return _startPath;
17
20
  }
18
21
  if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
19
22
  const parent = _path.join.call(void 0, _startPath, "..");
20
- return findFolderUp(parent, endFileNames);
23
+ return findFolderUp(parent, endFileNames, endDirectoryNames);
21
24
  }
22
25
  return void 0;
23
26
  }
@@ -25,17 +28,17 @@ _chunk3GQAWCBQjs.__name.call(void 0, findFolderUp, "findFolderUp");
25
28
 
26
29
  // ../config-tools/src/utilities/find-workspace-root.ts
27
30
  var rootFiles = [
28
- "storm.json",
29
- "storm.json",
30
- "storm.yaml",
31
- "storm.yml",
32
- "storm.js",
33
- "storm.ts",
34
- ".storm.json",
35
- ".storm.yaml",
36
- ".storm.yml",
37
- ".storm.js",
38
- ".storm.ts",
31
+ "storm-workspace.json",
32
+ "storm-workspace.json",
33
+ "storm-workspace.yaml",
34
+ "storm-workspace.yml",
35
+ "storm-workspace.js",
36
+ "storm-workspace.ts",
37
+ ".storm-workspace.json",
38
+ ".storm-workspace.yaml",
39
+ ".storm-workspace.yml",
40
+ ".storm-workspace.js",
41
+ ".storm-workspace.ts",
39
42
  "lerna.json",
40
43
  "nx.json",
41
44
  "turbo.json",
@@ -59,11 +62,18 @@ var rootFiles = [
59
62
  "pnpm-lock.yml",
60
63
  "bun.lockb"
61
64
  ];
65
+ var rootDirectories = [
66
+ ".storm-workspace",
67
+ ".nx",
68
+ ".github",
69
+ ".vscode",
70
+ ".verdaccio"
71
+ ];
62
72
  function findWorkspaceRootSafe(pathInsideMonorepo) {
63
73
  if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
64
74
  return _chunkJTAXCQX6js.correctPaths.call(void 0, _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH)));
65
75
  }
66
- return _chunkJTAXCQX6js.correctPaths.call(void 0, findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles));
76
+ return _chunkJTAXCQX6js.correctPaths.call(void 0, findFolderUp(_nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())), rootFiles, rootDirectories));
67
77
  }
68
78
  _chunk3GQAWCBQjs.__name.call(void 0, findWorkspaceRootSafe, "findWorkspaceRootSafe");
69
79
  function findWorkspaceRoot(pathInsideMonorepo) {
@@ -1,15 +1,15 @@
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 _chunk66FRJGINjs = require('./chunk-66FRJGIN.js');
3
+ var _chunk4AJFP7HMjs = require('./chunk-4AJFP7HM.js');
4
4
 
5
5
 
6
6
 
7
7
 
8
8
 
9
- var _chunkZQPK5G4Ujs = require('./chunk-ZQPK5G4U.js');
9
+ var _chunkBRWRLQDCjs = require('./chunk-BRWRLQDC.js');
10
10
 
11
11
 
12
- var _chunk6V5GP3U4js = require('./chunk-6V5GP3U4.js');
12
+ var _chunk4JOIS7WWjs = require('./chunk-4JOIS7WW.js');
13
13
 
14
14
 
15
15
  var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
@@ -18,25 +18,25 @@ var _chunk3GQAWCBQjs = require('./chunk-3GQAWCBQ.js');
18
18
  var _devkit = require('@nx/devkit');
19
19
  var _zodtojsonschema = require('zod-to-json-schema');
20
20
  async function configSchemaGeneratorFn(tree, options, config) {
21
- _chunkZQPK5G4Ujs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Configuration JSON Schema generator", config);
22
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, `Determining the Storm Configuration JSON Schema...`, config);
23
- const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkZQPK5G4Ujs.StormConfigSchema, {
21
+ _chunkBRWRLQDCjs.writeInfo.call(void 0, "\u{1F4E6} Running Storm Workspace Configuration JSON Schema generator", config);
22
+ _chunkBRWRLQDCjs.writeTrace.call(void 0, `Determining the Storm Workspace Configuration JSON Schema...`, config);
23
+ const jsonSchema = _zodtojsonschema.zodToJsonSchema.call(void 0, _chunkBRWRLQDCjs.StormConfigSchema, {
24
24
  name: "StormWorkspaceConfiguration"
25
25
  });
26
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, jsonSchema, config);
27
- const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk6V5GP3U4js.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
- _chunkZQPK5G4Ujs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
26
+ _chunkBRWRLQDCjs.writeTrace.call(void 0, jsonSchema, config);
27
+ const outputPath = options.outputFile.replaceAll("{workspaceRoot}", "").replaceAll(_nullishCoalesce(_optionalChain([config, 'optionalAccess', _ => _.workspaceRoot]), () => ( _chunk4JOIS7WWjs.findWorkspaceRoot.call(void 0, ))), _optionalChain([options, 'access', _2 => _2.outputFile, 'optionalAccess', _3 => _3.startsWith, 'call', _4 => _4("./")]) ? "" : "./");
28
+ _chunkBRWRLQDCjs.writeTrace.call(void 0, `\u{1F4DD} Writing Storm Configuration JSON Schema to "${outputPath}"`, config);
29
29
  _devkit.writeJson.call(void 0, tree, outputPath, jsonSchema, {
30
30
  spaces: 2
31
31
  });
32
32
  await _devkit.formatFiles.call(void 0, tree);
33
- _chunkZQPK5G4Ujs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
33
+ _chunkBRWRLQDCjs.writeSuccess.call(void 0, "\u{1F680} Storm Configuration JSON Schema creation has completed successfully!", config);
34
34
  return {
35
35
  success: true
36
36
  };
37
37
  }
38
38
  _chunk3GQAWCBQjs.__name.call(void 0, configSchemaGeneratorFn, "configSchemaGeneratorFn");
39
- var generator_default = _chunk66FRJGINjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
39
+ var generator_default = _chunk4AJFP7HMjs.withRunGenerator.call(void 0, "Configuration Schema Creator", configSchemaGeneratorFn, {
40
40
  hooks: {
41
41
  applyDefaultOptions: /* @__PURE__ */ _chunk3GQAWCBQjs.__name.call(void 0, (options) => {
42
42
  options.outputFile ??= "{workspaceRoot}/storm-workspace.schema.json";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-AQLXZBXJ.mjs";
3
+ } from "./chunk-VCU6XMJC.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-2AKLJNKO.mjs";
6
+ } from "./chunk-AHTDYOCZ.mjs";
7
7
  import {
8
8
  joinPaths
9
- } from "./chunk-NCFX2MWO.mjs";
9
+ } from "./chunk-KZJCDAOU.mjs";
10
10
  import {
11
11
  __name
12
- } from "./chunk-XUV4U54K.mjs";
12
+ } from "./chunk-R7DU2APC.mjs";
13
13
 
14
14
  // src/executors/unbuild/executor.ts
15
15
  import { defu } from "defu";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  withRunExecutor
3
- } from "./chunk-AQLXZBXJ.mjs";
3
+ } from "./chunk-VCU6XMJC.mjs";
4
4
  import {
5
5
  writeInfo
6
- } from "./chunk-2AKLJNKO.mjs";
6
+ } from "./chunk-AHTDYOCZ.mjs";
7
7
  import {
8
8
  __name
9
- } from "./chunk-XUV4U54K.mjs";
9
+ } from "./chunk-R7DU2APC.mjs";
10
10
 
11
11
  // src/executors/typia/executor.ts
12
12
  import { removeSync } from "fs-extra";