@storm-software/workspace-tools 1.295.86 → 1.296.1

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 (546) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +603 -0
  3. package/assets/cjs_shims.js +11 -0
  4. package/assets/esm_shims.js +9 -0
  5. package/config/base.json +324 -0
  6. package/config/recommended.json +328 -0
  7. package/dist/chunk-2AVWFUXP.js +112 -0
  8. package/dist/chunk-2CXXVFU4.js +213 -0
  9. package/dist/chunk-2GQSCZ3J.mjs +128 -0
  10. package/dist/chunk-2L7ICILU.js +364 -0
  11. package/dist/chunk-2QMGYIOO.mjs +81 -0
  12. package/dist/chunk-32KQVUCF.js +163 -0
  13. package/dist/chunk-34LSWMWV.mjs +20 -0
  14. package/dist/chunk-35ERFW7I.mjs +150 -0
  15. package/dist/chunk-35G4LHK2.mjs +1510 -0
  16. package/dist/chunk-3J2CP54B.mjs +100 -0
  17. package/dist/chunk-3WCWA5OH.mjs +105 -0
  18. package/dist/chunk-437WGH2M.mjs +32 -0
  19. package/dist/chunk-4AKDRRML.js +339 -0
  20. package/dist/chunk-4AR5RJMF.mjs +402 -0
  21. package/dist/chunk-4VWDSVQJ.mjs +321 -0
  22. package/dist/chunk-54BBSJHK.mjs +40 -0
  23. package/dist/chunk-57OGFZNB.js +321 -0
  24. package/dist/chunk-5GZC2PF6.mjs +0 -0
  25. package/dist/chunk-5JYAH2VL.mjs +388 -0
  26. package/dist/chunk-5OS7GV5T.mjs +51 -0
  27. package/dist/chunk-6EMYX25V.js +7 -0
  28. package/dist/chunk-6HJ4EEBB.js +102 -0
  29. package/dist/chunk-6IXJEWJR.js +93 -0
  30. package/dist/chunk-77B77QNY.mjs +148 -0
  31. package/dist/chunk-7CJRMBX3.js +20 -0
  32. package/dist/chunk-7JRL2LE3.js +21 -0
  33. package/dist/chunk-7MM5MBEP.mjs +32 -0
  34. package/dist/chunk-AH7KAAQJ.mjs +17 -0
  35. package/dist/chunk-ALL63TSY.mjs +110 -0
  36. package/dist/chunk-ANHKV7HZ.js +22 -0
  37. package/dist/chunk-AY3HOPOX.js +41 -0
  38. package/dist/chunk-BAPFD3TO.js +79 -0
  39. package/dist/chunk-BAYA5SVP.mjs +319 -0
  40. package/dist/chunk-BT7OBRJT.mjs +76 -0
  41. package/dist/chunk-C3NYIWL4.mjs +10 -0
  42. package/dist/chunk-C3TC7AUW.js +1 -0
  43. package/dist/chunk-CBVZ57E6.js +150 -0
  44. package/dist/chunk-CQDBLKPF.js +172 -0
  45. package/dist/chunk-CQIILJEF.js +1510 -0
  46. package/dist/chunk-DEP6TIXL.js +50 -0
  47. package/dist/chunk-DIUWF7BW.js +17 -0
  48. package/dist/chunk-DJZX3XBE.mjs +105 -0
  49. package/dist/chunk-DO2X7OZO.js +1 -0
  50. package/dist/chunk-EGI64HQ2.mjs +22 -0
  51. package/dist/chunk-EMX7LTEI.mjs +50 -0
  52. package/dist/chunk-EQMVQ3I7.mjs +213 -0
  53. package/dist/chunk-ETSIRKO5.js +79 -0
  54. package/dist/chunk-EYO6EPEG.mjs +93 -0
  55. package/dist/chunk-FFEJNAFP.js +250 -0
  56. package/dist/chunk-FQX7ZBQS.mjs +32 -0
  57. package/dist/chunk-GED6QYLK.mjs +117 -0
  58. package/dist/chunk-GHQJKIMQ.mjs +0 -0
  59. package/dist/chunk-GKLFEOKK.mjs +163 -0
  60. package/dist/chunk-GZA2CV3C.js +402 -0
  61. package/dist/chunk-HXQRGLII.js +81 -0
  62. package/dist/chunk-IETUQQJT.mjs +52 -0
  63. package/dist/chunk-IIFXLZEH.js +319 -0
  64. package/dist/chunk-J4MHHL63.mjs +253 -0
  65. package/dist/chunk-JDDKEYTF.js +469 -0
  66. package/dist/chunk-JIWQM3MH.mjs +77 -0
  67. package/dist/chunk-JPOHRWVM.mjs +31 -0
  68. package/dist/chunk-K4QMCCQB.mjs +79 -0
  69. package/dist/chunk-KBJ7IEXI.js +1 -0
  70. package/dist/chunk-KR72GKIT.mjs +7 -0
  71. package/dist/chunk-LMYTVXGX.js +100 -0
  72. package/dist/chunk-LQHVZMFV.js +79 -0
  73. package/dist/chunk-LULOWPU2.js +110 -0
  74. package/dist/chunk-LZ3H2OH5.mjs +158 -0
  75. package/dist/chunk-MKJITWLN.js +40 -0
  76. package/dist/chunk-MNA3AU4B.mjs +49 -0
  77. package/dist/chunk-NIETCJS4.mjs +82 -0
  78. package/dist/chunk-NUGNYGBF.js +105 -0
  79. package/dist/chunk-O7Z2YGFU.js +52 -0
  80. package/dist/chunk-OKSECMVK.js +32 -0
  81. package/dist/chunk-OL6ZWI4R.mjs +514 -0
  82. package/dist/chunk-P56QF3XG.js +74 -0
  83. package/dist/chunk-P5P43FOZ.mjs +0 -0
  84. package/dist/chunk-P6HSE7LH.js +1 -0
  85. package/dist/chunk-PB5565L7.js +37 -0
  86. package/dist/chunk-PICVMVJQ.mjs +364 -0
  87. package/dist/chunk-PMPKOMMD.js +158 -0
  88. package/dist/chunk-PRW5IUAC.js +31 -0
  89. package/dist/chunk-QC5ON3X4.mjs +40 -0
  90. package/dist/chunk-QQB6GFYM.mjs +79 -0
  91. package/dist/chunk-QSNWB7A5.mjs +41 -0
  92. package/dist/chunk-QVYCDING.js +23 -0
  93. package/dist/chunk-RLJFRJ2F.js +514 -0
  94. package/dist/chunk-S2KOD2HL.mjs +128 -0
  95. package/dist/chunk-SAIDGUHG.mjs +0 -0
  96. package/dist/chunk-SW2E5MQJ.mjs +112 -0
  97. package/dist/chunk-SZWM7COV.js +40 -0
  98. package/dist/chunk-TAP26ZJQ.js +128 -0
  99. package/dist/chunk-TBW5MCN6.mjs +172 -0
  100. package/dist/chunk-THA4SGMV.js +32 -0
  101. package/dist/chunk-TM2CRDJW.js +148 -0
  102. package/dist/chunk-U5JPGO47.js +117 -0
  103. package/dist/chunk-UBVTASOE.mjs +62 -0
  104. package/dist/chunk-UV6QIFS3.js +388 -0
  105. package/dist/chunk-V5K2PDVY.mjs +339 -0
  106. package/dist/chunk-VC4FGY7P.js +49 -0
  107. package/dist/chunk-VXHOSAQ7.js +62 -0
  108. package/dist/chunk-W2C5IGWW.mjs +23 -0
  109. package/dist/chunk-WJ5AG2IU.js +76 -0
  110. package/dist/chunk-WQUWUZZ4.mjs +32 -0
  111. package/dist/chunk-WTWQAZUM.js +128 -0
  112. package/dist/chunk-X2UWPTFU.mjs +37 -0
  113. package/dist/chunk-X3HC3R2I.js +51 -0
  114. package/dist/chunk-XCVH63OO.mjs +0 -0
  115. package/dist/chunk-XNHWWPSK.js +32 -0
  116. package/dist/chunk-YRGMZRC3.mjs +469 -0
  117. package/dist/chunk-YYLV7UA6.js +1 -0
  118. package/dist/chunk-ZCTECGQS.mjs +21 -0
  119. package/dist/chunk-ZYI527ZS.js +32 -0
  120. package/dist/executor-BAeunL4c.d.mts +143 -0
  121. package/dist/executor-BF7_LjrR.d.mts +75 -0
  122. package/dist/executor-BF7_LjrR.d.ts +75 -0
  123. package/dist/executor-BKdjKo-J.d.mts +93 -0
  124. package/dist/executor-BKdjKo-J.d.ts +93 -0
  125. package/dist/executor-BbIkDktz.d.mts +103 -0
  126. package/dist/executor-BbIkDktz.d.ts +103 -0
  127. package/dist/executor-BxzAij2P.d.ts +57 -0
  128. package/dist/executor-C4Ddk0eB.d.mts +145 -0
  129. package/dist/executor-CPBR709C.d.ts +143 -0
  130. package/dist/executor-CPh7sG83.d.mts +57 -0
  131. package/dist/executor-CVgzIGPj.d.mts +95 -0
  132. package/dist/executor-CVgzIGPj.d.ts +95 -0
  133. package/dist/executor-CWRRdIo2.d.mts +95 -0
  134. package/dist/executor-CWRRdIo2.d.ts +95 -0
  135. package/dist/executor-DA8yyqTK.d.mts +33 -0
  136. package/dist/executor-DJOXX8-N.d.mts +267 -0
  137. package/dist/executor-DcKEmf82.d.ts +305 -0
  138. package/dist/executor-DpEbHA1f.d.mts +131 -0
  139. package/dist/executor-DpEbHA1f.d.ts +131 -0
  140. package/dist/executor-DvfMQSTP.d.mts +305 -0
  141. package/dist/executor-HMyCQrhV.d.ts +33 -0
  142. package/dist/executor-YAjz4bej.d.ts +267 -0
  143. package/dist/executor-jYQ7uQ13.d.mts +121 -0
  144. package/dist/executor-jYQ7uQ13.d.ts +121 -0
  145. package/dist/executor-lCseKo3l.d.ts +145 -0
  146. package/dist/executors.d.mts +18 -0
  147. package/dist/executors.d.ts +18 -0
  148. package/dist/executors.js +67 -0
  149. package/dist/executors.mjs +68 -0
  150. package/dist/generator-B9nl4zZh.d.mts +38 -0
  151. package/dist/generator-BKKfRfw5.d.mts +108 -0
  152. package/dist/generator-CKzlyVl8.d.ts +38 -0
  153. package/dist/generator-CPAEsIX9.d.ts +108 -0
  154. package/dist/generator-Ce5Jjv19.d.mts +130 -0
  155. package/dist/generator-DMnwA7AM.d.ts +130 -0
  156. package/dist/generator-DN9Th4ZG.d.ts +130 -0
  157. package/dist/generator-DVJjzR9Q.d.mts +130 -0
  158. package/dist/generator-DX2foast.d.ts +130 -0
  159. package/dist/generator-rIlu4Sq2.d.mts +130 -0
  160. package/dist/generators.d.mts +13 -0
  161. package/dist/generators.d.ts +13 -0
  162. package/dist/generators.js +36 -0
  163. package/dist/generators.mjs +37 -0
  164. package/dist/index.d.mts +62 -0
  165. package/dist/index.d.ts +62 -0
  166. package/dist/index.js +303 -0
  167. package/dist/index.mjs +304 -0
  168. package/dist/init-6Nmtv8d5.d.mts +19 -0
  169. package/dist/init-6Nmtv8d5.d.ts +19 -0
  170. package/dist/schema.d-B9y7rRms.d.mts +59 -0
  171. package/dist/schema.d-B9y7rRms.d.ts +59 -0
  172. package/dist/src/base/base-executor.d.mts +11 -0
  173. package/dist/src/base/base-executor.d.ts +11 -0
  174. package/dist/src/base/base-executor.js +11 -0
  175. package/dist/src/base/base-executor.mjs +12 -0
  176. package/dist/src/base/base-executor.schema.d.ts +16 -0
  177. package/dist/src/base/base-executor.schema.json +16 -0
  178. package/dist/src/base/base-executor.untyped.d.mts +5 -0
  179. package/dist/src/base/base-executor.untyped.d.ts +5 -0
  180. package/dist/src/base/base-executor.untyped.js +6 -0
  181. package/dist/src/base/base-executor.untyped.mjs +7 -0
  182. package/dist/src/base/base-generator.d.mts +11 -0
  183. package/dist/src/base/base-generator.d.ts +11 -0
  184. package/dist/src/base/base-generator.js +11 -0
  185. package/dist/src/base/base-generator.mjs +12 -0
  186. package/dist/src/base/base-generator.schema.d.ts +14 -0
  187. package/dist/src/base/base-generator.schema.json +15 -0
  188. package/dist/src/base/base-generator.untyped.d.mts +5 -0
  189. package/dist/src/base/base-generator.untyped.d.ts +5 -0
  190. package/dist/src/base/base-generator.untyped.js +6 -0
  191. package/dist/src/base/base-generator.untyped.mjs +7 -0
  192. package/dist/src/base/cargo-base-executor.schema.d.ts +88 -0
  193. package/dist/src/base/cargo-base-executor.schema.json +86 -0
  194. package/dist/src/base/cargo-base-executor.untyped.d.mts +5 -0
  195. package/dist/src/base/cargo-base-executor.untyped.d.ts +5 -0
  196. package/dist/src/base/cargo-base-executor.untyped.js +7 -0
  197. package/dist/src/base/cargo-base-executor.untyped.mjs +8 -0
  198. package/dist/src/base/index.d.mts +155 -0
  199. package/dist/src/base/index.d.ts +155 -0
  200. package/dist/src/base/index.js +48 -0
  201. package/dist/src/base/index.mjs +49 -0
  202. package/dist/src/base/typescript-build-executor.schema.d.ts +134 -0
  203. package/dist/src/base/typescript-build-executor.schema.json +176 -0
  204. package/dist/src/base/typescript-build-executor.untyped.d.mts +5 -0
  205. package/dist/src/base/typescript-build-executor.untyped.d.ts +5 -0
  206. package/dist/src/base/typescript-build-executor.untyped.js +7 -0
  207. package/dist/src/base/typescript-build-executor.untyped.mjs +8 -0
  208. package/dist/src/base/typescript-library-generator.schema.d.ts +122 -0
  209. package/dist/src/base/typescript-library-generator.schema.json +119 -0
  210. package/dist/src/base/typescript-library-generator.untyped.d.mts +5 -0
  211. package/dist/src/base/typescript-library-generator.untyped.d.ts +5 -0
  212. package/dist/src/base/typescript-library-generator.untyped.js +7 -0
  213. package/dist/src/base/typescript-library-generator.untyped.mjs +8 -0
  214. package/dist/src/executors/cargo-build/executor.d.mts +2 -0
  215. package/dist/src/executors/cargo-build/executor.d.ts +2 -0
  216. package/dist/src/executors/cargo-build/executor.js +15 -0
  217. package/dist/src/executors/cargo-build/executor.mjs +16 -0
  218. package/dist/src/executors/cargo-build/schema.d.ts +86 -0
  219. package/dist/src/executors/cargo-build/schema.json +85 -0
  220. package/dist/src/executors/cargo-build/untyped.d.mts +5 -0
  221. package/dist/src/executors/cargo-build/untyped.d.ts +5 -0
  222. package/dist/src/executors/cargo-build/untyped.js +25 -0
  223. package/dist/src/executors/cargo-build/untyped.mjs +26 -0
  224. package/dist/src/executors/cargo-check/executor.d.mts +2 -0
  225. package/dist/src/executors/cargo-check/executor.d.ts +2 -0
  226. package/dist/src/executors/cargo-check/executor.js +15 -0
  227. package/dist/src/executors/cargo-check/executor.mjs +16 -0
  228. package/dist/src/executors/cargo-check/schema.d.ts +88 -0
  229. package/dist/src/executors/cargo-check/schema.json +86 -0
  230. package/dist/src/executors/cargo-check/untyped.d.mts +5 -0
  231. package/dist/src/executors/cargo-check/untyped.d.ts +5 -0
  232. package/dist/src/executors/cargo-check/untyped.js +18 -0
  233. package/dist/src/executors/cargo-check/untyped.mjs +19 -0
  234. package/dist/src/executors/cargo-clippy/executor.d.mts +2 -0
  235. package/dist/src/executors/cargo-clippy/executor.d.ts +2 -0
  236. package/dist/src/executors/cargo-clippy/executor.js +15 -0
  237. package/dist/src/executors/cargo-clippy/executor.mjs +16 -0
  238. package/dist/src/executors/cargo-clippy/schema.d.ts +96 -0
  239. package/dist/src/executors/cargo-clippy/schema.json +92 -0
  240. package/dist/src/executors/cargo-clippy/untyped.d.mts +5 -0
  241. package/dist/src/executors/cargo-clippy/untyped.d.ts +5 -0
  242. package/dist/src/executors/cargo-clippy/untyped.js +25 -0
  243. package/dist/src/executors/cargo-clippy/untyped.mjs +26 -0
  244. package/dist/src/executors/cargo-doc/executor.d.mts +2 -0
  245. package/dist/src/executors/cargo-doc/executor.d.ts +2 -0
  246. package/dist/src/executors/cargo-doc/executor.js +15 -0
  247. package/dist/src/executors/cargo-doc/executor.mjs +16 -0
  248. package/dist/src/executors/cargo-doc/schema.d.ts +124 -0
  249. package/dist/src/executors/cargo-doc/schema.json +162 -0
  250. package/dist/src/executors/cargo-doc/untyped.d.mts +5 -0
  251. package/dist/src/executors/cargo-doc/untyped.d.ts +5 -0
  252. package/dist/src/executors/cargo-doc/untyped.js +50 -0
  253. package/dist/src/executors/cargo-doc/untyped.mjs +51 -0
  254. package/dist/src/executors/cargo-format/executor.d.mts +2 -0
  255. package/dist/src/executors/cargo-format/executor.d.ts +2 -0
  256. package/dist/src/executors/cargo-format/executor.js +15 -0
  257. package/dist/src/executors/cargo-format/executor.mjs +16 -0
  258. package/dist/src/executors/cargo-format/schema.d.ts +88 -0
  259. package/dist/src/executors/cargo-format/schema.json +86 -0
  260. package/dist/src/executors/cargo-format/untyped.d.mts +5 -0
  261. package/dist/src/executors/cargo-format/untyped.d.ts +5 -0
  262. package/dist/src/executors/cargo-format/untyped.js +18 -0
  263. package/dist/src/executors/cargo-format/untyped.mjs +19 -0
  264. package/dist/src/executors/cargo-publish/executor.d.mts +2 -0
  265. package/dist/src/executors/cargo-publish/executor.d.ts +2 -0
  266. package/dist/src/executors/cargo-publish/executor.js +10 -0
  267. package/dist/src/executors/cargo-publish/executor.mjs +11 -0
  268. package/dist/src/executors/cargo-publish/schema.d.ts +114 -0
  269. package/dist/src/executors/cargo-publish/schema.json +105 -0
  270. package/dist/src/executors/cargo-publish/untyped.d.mts +5 -0
  271. package/dist/src/executors/cargo-publish/untyped.d.ts +5 -0
  272. package/dist/src/executors/cargo-publish/untyped.js +40 -0
  273. package/dist/src/executors/cargo-publish/untyped.mjs +41 -0
  274. package/dist/src/executors/clean-package/executor.d.mts +13 -0
  275. package/dist/src/executors/clean-package/executor.d.ts +13 -0
  276. package/dist/src/executors/clean-package/executor.js +325 -0
  277. package/dist/src/executors/clean-package/executor.mjs +326 -0
  278. package/dist/src/executors/clean-package/schema.d.ts +59 -0
  279. package/dist/src/executors/clean-package/schema.json +55 -0
  280. package/dist/src/executors/clean-package/untyped.d.mts +5 -0
  281. package/dist/src/executors/clean-package/untyped.d.ts +5 -0
  282. package/dist/src/executors/clean-package/untyped.js +64 -0
  283. package/dist/src/executors/clean-package/untyped.mjs +65 -0
  284. package/dist/src/executors/esbuild/executor.d.mts +5 -0
  285. package/dist/src/executors/esbuild/executor.d.ts +5 -0
  286. package/dist/src/executors/esbuild/executor.js +15 -0
  287. package/dist/src/executors/esbuild/executor.mjs +16 -0
  288. package/dist/src/executors/esbuild/schema.d.ts +136 -0
  289. package/dist/src/executors/esbuild/schema.json +163 -0
  290. package/dist/src/executors/esbuild/untyped.d.mts +5 -0
  291. package/dist/src/executors/esbuild/untyped.d.ts +5 -0
  292. package/dist/src/executors/esbuild/untyped.js +27 -0
  293. package/dist/src/executors/esbuild/untyped.mjs +28 -0
  294. package/dist/src/executors/napi/executor.d.mts +5 -0
  295. package/dist/src/executors/napi/executor.d.ts +5 -0
  296. package/dist/src/executors/napi/executor.js +15 -0
  297. package/dist/src/executors/napi/executor.mjs +16 -0
  298. package/dist/src/executors/napi/schema.d.ts +282 -0
  299. package/dist/src/executors/napi/schema.json +235 -0
  300. package/dist/src/executors/napi/untyped.d.mts +5 -0
  301. package/dist/src/executors/napi/untyped.d.ts +5 -0
  302. package/dist/src/executors/napi/untyped.js +241 -0
  303. package/dist/src/executors/napi/untyped.mjs +242 -0
  304. package/dist/src/executors/npm-publish/executor.d.mts +2 -0
  305. package/dist/src/executors/npm-publish/executor.d.ts +2 -0
  306. package/dist/src/executors/npm-publish/executor.js +16 -0
  307. package/dist/src/executors/npm-publish/executor.mjs +17 -0
  308. package/dist/src/executors/npm-publish/schema.d.ts +68 -0
  309. package/dist/src/executors/npm-publish/schema.json +61 -0
  310. package/dist/src/executors/npm-publish/untyped.d.mts +5 -0
  311. package/dist/src/executors/npm-publish/untyped.d.ts +5 -0
  312. package/dist/src/executors/npm-publish/untyped.js +66 -0
  313. package/dist/src/executors/npm-publish/untyped.mjs +68 -0
  314. package/dist/src/executors/size-limit/executor.d.mts +5 -0
  315. package/dist/src/executors/size-limit/executor.d.ts +5 -0
  316. package/dist/src/executors/size-limit/executor.js +14 -0
  317. package/dist/src/executors/size-limit/executor.mjs +15 -0
  318. package/dist/src/executors/size-limit/schema.d.ts +24 -0
  319. package/dist/src/executors/size-limit/schema.json +26 -0
  320. package/dist/src/executors/size-limit/untyped.d.mts +5 -0
  321. package/dist/src/executors/size-limit/untyped.d.ts +5 -0
  322. package/dist/src/executors/size-limit/untyped.js +28 -0
  323. package/dist/src/executors/size-limit/untyped.mjs +29 -0
  324. package/dist/src/executors/tsdown/executor.d.mts +5 -0
  325. package/dist/src/executors/tsdown/executor.d.ts +5 -0
  326. package/dist/src/executors/tsdown/executor.js +15 -0
  327. package/dist/src/executors/tsdown/executor.mjs +16 -0
  328. package/dist/src/executors/tsdown/schema.d.ts +134 -0
  329. package/dist/src/executors/tsdown/schema.json +172 -0
  330. package/dist/src/executors/tsdown/untyped.d.mts +5 -0
  331. package/dist/src/executors/tsdown/untyped.d.ts +5 -0
  332. package/dist/src/executors/tsdown/untyped.js +18 -0
  333. package/dist/src/executors/tsdown/untyped.mjs +19 -0
  334. package/dist/src/executors/typia/executor.d.mts +5 -0
  335. package/dist/src/executors/typia/executor.d.ts +5 -0
  336. package/dist/src/executors/typia/executor.js +14 -0
  337. package/dist/src/executors/typia/executor.mjs +15 -0
  338. package/dist/src/executors/typia/schema.d.ts +48 -0
  339. package/dist/src/executors/typia/schema.json +57 -0
  340. package/dist/src/executors/typia/untyped.d.mts +5 -0
  341. package/dist/src/executors/typia/untyped.d.ts +5 -0
  342. package/dist/src/executors/typia/untyped.js +54 -0
  343. package/dist/src/executors/typia/untyped.mjs +55 -0
  344. package/dist/src/executors/unbuild/executor.d.mts +5 -0
  345. package/dist/src/executors/unbuild/executor.d.ts +5 -0
  346. package/dist/src/executors/unbuild/executor.js +14 -0
  347. package/dist/src/executors/unbuild/executor.mjs +15 -0
  348. package/dist/src/executors/unbuild/schema.d.ts +258 -0
  349. package/dist/src/executors/unbuild/schema.json +301 -0
  350. package/dist/src/executors/unbuild/untyped.d.mts +5 -0
  351. package/dist/src/executors/unbuild/untyped.d.ts +5 -0
  352. package/dist/src/executors/unbuild/untyped.js +158 -0
  353. package/dist/src/executors/unbuild/untyped.mjs +159 -0
  354. package/dist/src/generators/browser-library/generator.d.mts +8 -0
  355. package/dist/src/generators/browser-library/generator.d.ts +8 -0
  356. package/dist/src/generators/browser-library/generator.js +17 -0
  357. package/dist/src/generators/browser-library/generator.mjs +18 -0
  358. package/dist/src/generators/browser-library/schema.d.ts +122 -0
  359. package/dist/src/generators/browser-library/schema.json +117 -0
  360. package/dist/src/generators/browser-library/untyped.d.mts +5 -0
  361. package/dist/src/generators/browser-library/untyped.d.ts +5 -0
  362. package/dist/src/generators/browser-library/untyped.js +36 -0
  363. package/dist/src/generators/browser-library/untyped.mjs +37 -0
  364. package/dist/src/generators/config-schema/generator.d.mts +8 -0
  365. package/dist/src/generators/config-schema/generator.d.ts +8 -0
  366. package/dist/src/generators/config-schema/generator.js +14 -0
  367. package/dist/src/generators/config-schema/generator.mjs +15 -0
  368. package/dist/src/generators/config-schema/schema.d.ts +23 -0
  369. package/dist/src/generators/config-schema/schema.json +24 -0
  370. package/dist/src/generators/config-schema/untyped.d.mts +5 -0
  371. package/dist/src/generators/config-schema/untyped.d.ts +5 -0
  372. package/dist/src/generators/config-schema/untyped.js +25 -0
  373. package/dist/src/generators/config-schema/untyped.mjs +26 -0
  374. package/dist/src/generators/init/init.d.mts +2 -0
  375. package/dist/src/generators/init/init.d.ts +2 -0
  376. package/dist/src/generators/init/init.js +8 -0
  377. package/dist/src/generators/init/init.mjs +9 -0
  378. package/dist/src/generators/init/schema.d.ts +14 -0
  379. package/dist/src/generators/init/schema.json +15 -0
  380. package/dist/src/generators/init/untyped.d.mts +5 -0
  381. package/dist/src/generators/init/untyped.d.ts +5 -0
  382. package/dist/src/generators/init/untyped.js +19 -0
  383. package/dist/src/generators/init/untyped.mjs +21 -0
  384. package/dist/src/generators/neutral-library/generator.d.mts +8 -0
  385. package/dist/src/generators/neutral-library/generator.d.ts +8 -0
  386. package/dist/src/generators/neutral-library/generator.js +17 -0
  387. package/dist/src/generators/neutral-library/generator.mjs +18 -0
  388. package/dist/src/generators/neutral-library/schema.d.ts +122 -0
  389. package/dist/src/generators/neutral-library/schema.json +116 -0
  390. package/dist/src/generators/neutral-library/untyped.d.mts +5 -0
  391. package/dist/src/generators/neutral-library/untyped.d.ts +5 -0
  392. package/dist/src/generators/neutral-library/untyped.js +36 -0
  393. package/dist/src/generators/neutral-library/untyped.mjs +37 -0
  394. package/dist/src/generators/node-library/generator.d.mts +8 -0
  395. package/dist/src/generators/node-library/generator.d.ts +8 -0
  396. package/dist/src/generators/node-library/generator.js +17 -0
  397. package/dist/src/generators/node-library/generator.mjs +18 -0
  398. package/dist/src/generators/node-library/schema.d.ts +122 -0
  399. package/dist/src/generators/node-library/schema.json +117 -0
  400. package/dist/src/generators/node-library/untyped.d.mts +5 -0
  401. package/dist/src/generators/node-library/untyped.d.ts +5 -0
  402. package/dist/src/generators/node-library/untyped.js +36 -0
  403. package/dist/src/generators/node-library/untyped.mjs +37 -0
  404. package/dist/src/generators/preset/generator.d.mts +8 -0
  405. package/dist/src/generators/preset/generator.d.ts +8 -0
  406. package/dist/src/generators/preset/generator.js +15 -0
  407. package/dist/src/generators/preset/generator.mjs +16 -0
  408. package/dist/src/generators/preset/schema.d.ts +101 -0
  409. package/dist/src/generators/preset/schema.json +96 -0
  410. package/dist/src/generators/preset/untyped.d.mts +5 -0
  411. package/dist/src/generators/preset/untyped.d.ts +5 -0
  412. package/dist/src/generators/preset/untyped.js +94 -0
  413. package/dist/src/generators/preset/untyped.mjs +95 -0
  414. package/dist/src/plugins/rust/cargo-toml.d.mts +47 -0
  415. package/dist/src/plugins/rust/cargo-toml.d.ts +47 -0
  416. package/dist/src/plugins/rust/cargo-toml.js +17 -0
  417. package/dist/src/plugins/rust/cargo-toml.mjs +18 -0
  418. package/dist/src/plugins/rust/index.d.mts +2 -0
  419. package/dist/src/plugins/rust/index.d.ts +2 -0
  420. package/dist/src/plugins/rust/index.js +17 -0
  421. package/dist/src/plugins/rust/index.mjs +18 -0
  422. package/dist/src/plugins/typescript/index.d.mts +65 -0
  423. package/dist/src/plugins/typescript/index.d.ts +65 -0
  424. package/dist/src/plugins/typescript/index.js +452 -0
  425. package/dist/src/plugins/typescript/index.mjs +453 -0
  426. package/dist/src/plugins/typescript/tsdown.d.mts +13 -0
  427. package/dist/src/plugins/typescript/tsdown.d.ts +13 -0
  428. package/dist/src/plugins/typescript/tsdown.js +178 -0
  429. package/dist/src/plugins/typescript/tsdown.mjs +179 -0
  430. package/dist/src/plugins/typescript/tsup.d.mts +13 -0
  431. package/dist/src/plugins/typescript/tsup.d.ts +13 -0
  432. package/dist/src/plugins/typescript/tsup.js +178 -0
  433. package/dist/src/plugins/typescript/tsup.mjs +179 -0
  434. package/dist/src/plugins/typescript/untyped-schema.d.mts +7 -0
  435. package/dist/src/plugins/typescript/untyped-schema.d.ts +7 -0
  436. package/dist/src/plugins/typescript/untyped-schema.js +151 -0
  437. package/dist/src/plugins/typescript/untyped-schema.mjs +152 -0
  438. package/dist/src/release/index.d.mts +11 -0
  439. package/dist/src/release/index.d.ts +11 -0
  440. package/dist/src/release/index.js +17 -0
  441. package/dist/src/release/index.mjs +18 -0
  442. package/dist/src/release/js-version-actions.d.mts +44 -0
  443. package/dist/src/release/js-version-actions.d.ts +44 -0
  444. package/dist/src/release/js-version-actions.js +10 -0
  445. package/dist/src/release/js-version-actions.mjs +11 -0
  446. package/dist/src/release/rust-version-actions.d.mts +56 -0
  447. package/dist/src/release/rust-version-actions.d.ts +56 -0
  448. package/dist/src/release/rust-version-actions.js +12 -0
  449. package/dist/src/release/rust-version-actions.mjs +13 -0
  450. package/dist/src/types.d.mts +6 -0
  451. package/dist/src/types.d.ts +6 -0
  452. package/dist/src/types.js +18 -0
  453. package/dist/src/types.mjs +19 -0
  454. package/dist/src/utils/apply-workspace-tokens.d.mts +11 -0
  455. package/dist/src/utils/apply-workspace-tokens.d.ts +11 -0
  456. package/dist/src/utils/apply-workspace-tokens.js +8 -0
  457. package/dist/src/utils/apply-workspace-tokens.mjs +9 -0
  458. package/dist/src/utils/cargo.d.mts +118 -0
  459. package/dist/src/utils/cargo.d.ts +118 -0
  460. package/dist/src/utils/cargo.js +22 -0
  461. package/dist/src/utils/cargo.mjs +23 -0
  462. package/dist/src/utils/create-cli-options.d.mts +3 -0
  463. package/dist/src/utils/create-cli-options.d.ts +3 -0
  464. package/dist/src/utils/create-cli-options.js +6 -0
  465. package/dist/src/utils/create-cli-options.mjs +7 -0
  466. package/dist/src/utils/get-project-configurations.d.mts +16 -0
  467. package/dist/src/utils/get-project-configurations.d.ts +16 -0
  468. package/dist/src/utils/get-project-configurations.js +10 -0
  469. package/dist/src/utils/get-project-configurations.mjs +11 -0
  470. package/dist/src/utils/github.d.mts +19 -0
  471. package/dist/src/utils/github.d.ts +19 -0
  472. package/dist/src/utils/github.js +7 -0
  473. package/dist/src/utils/github.mjs +8 -0
  474. package/dist/src/utils/index.d.mts +23 -0
  475. package/dist/src/utils/index.d.ts +23 -0
  476. package/dist/src/utils/index.js +157 -0
  477. package/dist/src/utils/index.mjs +158 -0
  478. package/dist/src/utils/lock-file.d.mts +29 -0
  479. package/dist/src/utils/lock-file.d.ts +29 -0
  480. package/dist/src/utils/lock-file.js +26 -0
  481. package/dist/src/utils/lock-file.mjs +27 -0
  482. package/dist/src/utils/nx-json.d.mts +33 -0
  483. package/dist/src/utils/nx-json.d.ts +33 -0
  484. package/dist/src/utils/nx-json.js +10 -0
  485. package/dist/src/utils/nx-json.mjs +11 -0
  486. package/dist/src/utils/package-helpers.d.mts +24 -0
  487. package/dist/src/utils/package-helpers.d.ts +24 -0
  488. package/dist/src/utils/package-helpers.js +14 -0
  489. package/dist/src/utils/package-helpers.mjs +15 -0
  490. package/dist/src/utils/plugin-helpers.d.mts +20 -0
  491. package/dist/src/utils/plugin-helpers.d.ts +20 -0
  492. package/dist/src/utils/plugin-helpers.js +15 -0
  493. package/dist/src/utils/plugin-helpers.mjs +16 -0
  494. package/dist/src/utils/project-tags.d.mts +65 -0
  495. package/dist/src/utils/project-tags.d.ts +65 -0
  496. package/dist/src/utils/project-tags.js +20 -0
  497. package/dist/src/utils/project-tags.mjs +21 -0
  498. package/dist/src/utils/registry-helpers.d.mts +11 -0
  499. package/dist/src/utils/registry-helpers.d.ts +11 -0
  500. package/dist/src/utils/registry-helpers.js +6 -0
  501. package/dist/src/utils/registry-helpers.mjs +7 -0
  502. package/dist/src/utils/typia-transform.d.mts +5 -0
  503. package/dist/src/utils/typia-transform.d.ts +5 -0
  504. package/dist/src/utils/typia-transform.js +6 -0
  505. package/dist/src/utils/typia-transform.mjs +7 -0
  506. package/dist/src/utils/versions.d.mts +20 -0
  507. package/dist/src/utils/versions.d.ts +20 -0
  508. package/dist/src/utils/versions.js +40 -0
  509. package/dist/src/utils/versions.mjs +41 -0
  510. package/dist/types-Bvfw-xMk.d.ts +77 -0
  511. package/dist/types-D2zxYEAh.d.mts +41 -0
  512. package/dist/types-D2zxYEAh.d.ts +41 -0
  513. package/dist/types-DLXcfy35.d.mts +77 -0
  514. package/dist/types-Dug-2iKz.d.mts +243 -0
  515. package/dist/types-Dug-2iKz.d.ts +243 -0
  516. package/docs/api/base/base-executor.schema.md +15 -0
  517. package/docs/api/base/base-generator.schema.md +15 -0
  518. package/docs/api/base/cargo-base-executor.schema.md +89 -0
  519. package/docs/api/base/typescript-build-executor.schema.md +125 -0
  520. package/docs/api/base/typescript-library-generator.schema.md +129 -0
  521. package/docs/api/executors/cargo-build/schema.md +89 -0
  522. package/docs/api/executors/cargo-check/schema.md +89 -0
  523. package/docs/api/executors/cargo-clippy/schema.md +98 -0
  524. package/docs/api/executors/cargo-doc/schema.md +129 -0
  525. package/docs/api/executors/cargo-format/schema.md +89 -0
  526. package/docs/api/executors/cargo-publish/schema.md +116 -0
  527. package/docs/api/executors/clean-package/schema.md +64 -0
  528. package/docs/api/executors/esbuild/schema.md +125 -0
  529. package/docs/api/executors/napi/schema.md +300 -0
  530. package/docs/api/executors/npm-publish/schema.md +73 -0
  531. package/docs/api/executors/size-limit/schema.md +24 -0
  532. package/docs/api/executors/tsdown/schema.md +125 -0
  533. package/docs/api/executors/typia/schema.md +46 -0
  534. package/docs/api/executors/unbuild/schema.md +222 -0
  535. package/docs/api/generators/browser-library/files/README.md +58 -0
  536. package/docs/api/generators/browser-library/schema.md +129 -0
  537. package/docs/api/generators/config-schema/schema.md +25 -0
  538. package/docs/api/generators/init/schema.md +15 -0
  539. package/docs/api/generators/neutral-library/files/README.md +58 -0
  540. package/docs/api/generators/neutral-library/schema.md +129 -0
  541. package/docs/api/generators/node-library/files/README.md +63 -0
  542. package/docs/api/generators/node-library/schema.md +129 -0
  543. package/docs/api/generators/preset/schema.md +110 -0
  544. package/executors.json +69 -0
  545. package/generators.json +51 -0
  546. package/package.json +25 -15
@@ -0,0 +1,100 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
+
3
+ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
4
+
5
+ // ../config-tools/src/utilities/find-up.ts
6
+ var _fs = require('fs');
7
+ var _path = require('path');
8
+ var MAX_PATH_SEARCH_DEPTH = 30;
9
+ var depth = 0;
10
+ function findFolderUp(startPath, endFileNames = [], endDirectoryNames = []) {
11
+ const _startPath = _nullishCoalesce(startPath, () => ( process.cwd()));
12
+ if (endDirectoryNames.some(
13
+ (endDirName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endDirName))
14
+ )) {
15
+ return _startPath;
16
+ }
17
+ if (endFileNames.some((endFileName) => _fs.existsSync.call(void 0, _path.join.call(void 0, _startPath, endFileName)))) {
18
+ return _startPath;
19
+ }
20
+ if (_startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
21
+ const parent = _path.join.call(void 0, _startPath, "..");
22
+ return findFolderUp(parent, endFileNames, endDirectoryNames);
23
+ }
24
+ return void 0;
25
+ }
26
+
27
+ // ../config-tools/src/utilities/find-workspace-root.ts
28
+ var rootFiles = [
29
+ "storm-workspace.json",
30
+ "storm-workspace.yaml",
31
+ "storm-workspace.yml",
32
+ "storm-workspace.js",
33
+ "storm-workspace.ts",
34
+ ".storm-workspace.json",
35
+ ".storm-workspace.yaml",
36
+ ".storm-workspace.yml",
37
+ ".storm-workspace.js",
38
+ ".storm-workspace.ts",
39
+ "lerna.json",
40
+ "nx.json",
41
+ "turbo.json",
42
+ "npm-workspace.json",
43
+ "yarn-workspace.json",
44
+ "pnpm-workspace.json",
45
+ "npm-workspace.yaml",
46
+ "yarn-workspace.yaml",
47
+ "pnpm-workspace.yaml",
48
+ "npm-workspace.yml",
49
+ "yarn-workspace.yml",
50
+ "pnpm-workspace.yml",
51
+ "npm-lock.json",
52
+ "yarn-lock.json",
53
+ "pnpm-lock.json",
54
+ "npm-lock.yaml",
55
+ "yarn-lock.yaml",
56
+ "pnpm-lock.yaml",
57
+ "npm-lock.yml",
58
+ "yarn-lock.yml",
59
+ "pnpm-lock.yml",
60
+ "bun.lockb"
61
+ ];
62
+ var rootDirectories = [
63
+ ".storm-workspace",
64
+ ".nx",
65
+ ".git",
66
+ ".github",
67
+ ".vscode",
68
+ ".verdaccio"
69
+ ];
70
+ function findWorkspaceRootSafe(pathInsideMonorepo) {
71
+ if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
72
+ return _chunkCQDBLKPFjs.correctPaths.call(void 0,
73
+ _nullishCoalesce(process.env.STORM_WORKSPACE_ROOT, () => ( process.env.NX_WORKSPACE_ROOT_PATH))
74
+ );
75
+ }
76
+ return _chunkCQDBLKPFjs.correctPaths.call(void 0,
77
+ findFolderUp(
78
+ _nullishCoalesce(pathInsideMonorepo, () => ( process.cwd())),
79
+ rootFiles,
80
+ rootDirectories
81
+ )
82
+ );
83
+ }
84
+ function findWorkspaceRoot(pathInsideMonorepo) {
85
+ const result = findWorkspaceRootSafe(pathInsideMonorepo);
86
+ if (!result) {
87
+ throw new Error(
88
+ `Cannot find workspace root upwards from known path. Files search list includes:
89
+ ${rootFiles.join(
90
+ "\n"
91
+ )}
92
+ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
93
+ );
94
+ }
95
+ return result;
96
+ }
97
+
98
+
99
+
100
+ exports.findWorkspaceRoot = findWorkspaceRoot;
@@ -0,0 +1,79 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk7JRL2LE3js = require('./chunk-7JRL2LE3.js');
4
+
5
+ // src/base/cargo-base-executor.untyped.ts
6
+ var _untyped = require('untyped');
7
+ var cargo_base_executor_untyped_default = _untyped.defineUntypedSchema.call(void 0, {
8
+ ..._chunk7JRL2LE3js.base_executor_untyped_default,
9
+ $schema: {
10
+ id: "cargoBaseExecutor",
11
+ title: "Cargo Base Executor",
12
+ description: "A base type definition for a Cargo/rust related executor schema"
13
+ },
14
+ package: {
15
+ $schema: {
16
+ title: "Cargo.toml Path",
17
+ type: "string",
18
+ format: "path",
19
+ description: "The path to the Cargo.toml file"
20
+ },
21
+ $default: "{projectRoot}/Cargo.toml"
22
+ },
23
+ toolchain: {
24
+ $schema: {
25
+ title: "Toolchain",
26
+ description: "The type of toolchain to use for the build",
27
+ enum: ["stable", "beta", "nightly"],
28
+ default: "stable"
29
+ },
30
+ $default: "stable"
31
+ },
32
+ target: {
33
+ $schema: {
34
+ title: "Target",
35
+ type: "string",
36
+ description: "The target to build"
37
+ }
38
+ },
39
+ allTargets: {
40
+ $schema: {
41
+ title: "All Targets",
42
+ type: "boolean",
43
+ description: "Build all targets"
44
+ }
45
+ },
46
+ profile: {
47
+ $schema: {
48
+ title: "Profile",
49
+ type: "string",
50
+ description: "The profile to build"
51
+ }
52
+ },
53
+ release: {
54
+ $schema: {
55
+ title: "Release",
56
+ type: "boolean",
57
+ description: "Build in release mode"
58
+ }
59
+ },
60
+ features: {
61
+ $schema: {
62
+ title: "Features",
63
+ type: "string",
64
+ description: "The features to build",
65
+ oneOf: [{ type: "string" }, { type: "array", items: { type: "string" } }]
66
+ }
67
+ },
68
+ allFeatures: {
69
+ $schema: {
70
+ title: "All Features",
71
+ type: "boolean",
72
+ description: "Build all features"
73
+ }
74
+ }
75
+ });
76
+
77
+
78
+
79
+ exports.cargo_base_executor_untyped_default = cargo_base_executor_untyped_default;
@@ -0,0 +1,110 @@
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
+
3
+
4
+ var _chunkHXQRGLIIjs = require('./chunk-HXQRGLII.js');
5
+
6
+
7
+ var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+ var _chunkGZA2CV3Cjs = require('./chunk-GZA2CV3C.js');
18
+
19
+
20
+ var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
21
+
22
+ // src/base/base-generator.ts
23
+ var withRunGenerator = (name, generatorFn, generatorOptions = {
24
+ skipReadingConfig: false
25
+ }) => async (tree, _options) => {
26
+ const stopwatch = _chunkGZA2CV3Cjs.getStopwatch.call(void 0, name);
27
+ let options = _options;
28
+ let config;
29
+ try {
30
+ _chunkGZA2CV3Cjs.writeInfo.call(void 0,
31
+ `${_chunkGZA2CV3Cjs.brandIcon.call(void 0, config)} Running the ${name} generator...
32
+
33
+ `,
34
+ config
35
+ );
36
+ const workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, );
37
+ if (!generatorOptions.skipReadingConfig) {
38
+ _chunkGZA2CV3Cjs.writeDebug.call(void 0,
39
+ `Loading the Storm Config from environment variables and storm.config.js file...
40
+ - workspaceRoot: ${workspaceRoot}`,
41
+ config
42
+ );
43
+ config = await _chunkCQIILJEFjs.getConfig.call(void 0, workspaceRoot);
44
+ }
45
+ if (_optionalChain([generatorOptions, 'optionalAccess', _ => _.hooks, 'optionalAccess', _2 => _2.applyDefaultOptions])) {
46
+ _chunkGZA2CV3Cjs.writeDebug.call(void 0, "Running the applyDefaultOptions hook...", config);
47
+ options = await Promise.resolve(
48
+ generatorOptions.hooks.applyDefaultOptions(options, config)
49
+ );
50
+ _chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the applyDefaultOptions hook", config);
51
+ }
52
+ _chunkGZA2CV3Cjs.writeTrace.call(void 0,
53
+ `Generator schema options \u2699\uFE0F
54
+ ${Object.keys(_nullishCoalesce(options, () => ( {}))).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
55
+ config
56
+ );
57
+ const tokenized = await _chunkHXQRGLIIjs.applyWorkspaceTokens.call(void 0,
58
+ options,
59
+ { workspaceRoot: tree.root, config },
60
+ _chunkHXQRGLIIjs.applyWorkspaceBaseTokens
61
+ );
62
+ if (_optionalChain([generatorOptions, 'optionalAccess', _3 => _3.hooks, 'optionalAccess', _4 => _4.preProcess])) {
63
+ _chunkGZA2CV3Cjs.writeDebug.call(void 0, "Running the preProcess hook...", config);
64
+ await Promise.resolve(
65
+ generatorOptions.hooks.preProcess(tokenized, config)
66
+ );
67
+ _chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the preProcess hook", config);
68
+ }
69
+ const result = await Promise.resolve(
70
+ generatorFn(tree, tokenized, config)
71
+ );
72
+ if (result) {
73
+ if (result.success === false || result.error && _optionalChain([result, 'optionalAccess', _5 => _5.error, 'optionalAccess', _6 => _6.message]) && typeof _optionalChain([result, 'optionalAccess', _7 => _7.error, 'optionalAccess', _8 => _8.message]) === "string" && _optionalChain([result, 'optionalAccess', _9 => _9.error, 'optionalAccess', _10 => _10.name]) && typeof _optionalChain([result, 'optionalAccess', _11 => _11.error, 'optionalAccess', _12 => _12.name]) === "string") {
74
+ throw new Error(`The ${name} generator failed to run`, {
75
+ cause: _optionalChain([result, 'optionalAccess', _13 => _13.error])
76
+ });
77
+ } else if (result.success && result.data) {
78
+ return result;
79
+ }
80
+ }
81
+ if (_optionalChain([generatorOptions, 'optionalAccess', _14 => _14.hooks, 'optionalAccess', _15 => _15.postProcess])) {
82
+ _chunkGZA2CV3Cjs.writeDebug.call(void 0, "Running the postProcess hook...", config);
83
+ await Promise.resolve(generatorOptions.hooks.postProcess(config));
84
+ _chunkGZA2CV3Cjs.writeDebug.call(void 0, "Completed the postProcess hook", config);
85
+ }
86
+ return () => {
87
+ _chunkGZA2CV3Cjs.writeSuccess.call(void 0, `Completed running the ${name} generator!
88
+ `, config);
89
+ };
90
+ } catch (error) {
91
+ return () => {
92
+ _chunkGZA2CV3Cjs.writeFatal.call(void 0,
93
+ "A fatal error occurred while running the generator - the process was forced to terminate",
94
+ config
95
+ );
96
+ _chunkGZA2CV3Cjs.writeError.call(void 0,
97
+ `An exception was thrown in the generator's process
98
+ - Details: ${error.message}
99
+ - Stacktrace: ${error.stack}`,
100
+ config
101
+ );
102
+ };
103
+ } finally {
104
+ stopwatch();
105
+ }
106
+ };
107
+
108
+
109
+
110
+ exports.withRunGenerator = withRunGenerator;
@@ -0,0 +1,158 @@
1
+ import {
2
+ base_executor_untyped_default
3
+ } from "./chunk-ZCTECGQS.mjs";
4
+
5
+ // src/base/typescript-build-executor.untyped.ts
6
+ import { defineUntypedSchema } from "untyped";
7
+ var typescript_build_executor_untyped_default = defineUntypedSchema({
8
+ ...base_executor_untyped_default,
9
+ $schema: {
10
+ id: "TypeScriptBuildExecutorSchema",
11
+ title: "TypeScript Build Executor",
12
+ description: "A type definition for the base TypeScript build executor schema",
13
+ required: ["entry", "tsconfig"]
14
+ },
15
+ entry: {
16
+ $schema: {
17
+ title: "Entry File(s)",
18
+ format: "path",
19
+ type: "array",
20
+ description: "The entry file or files to build",
21
+ items: { type: "string" }
22
+ },
23
+ $default: ["{sourceRoot}/index.ts"]
24
+ },
25
+ tsconfig: {
26
+ $schema: {
27
+ title: "TSConfig Path",
28
+ type: "string",
29
+ format: "path",
30
+ description: "The path to the tsconfig file"
31
+ },
32
+ $default: "{projectRoot}/tsconfig.json"
33
+ },
34
+ bundle: {
35
+ $schema: {
36
+ title: "Bundle",
37
+ type: "boolean",
38
+ description: "Bundle the output"
39
+ }
40
+ },
41
+ minify: {
42
+ $schema: {
43
+ title: "Minify",
44
+ type: "boolean",
45
+ description: "Minify the output"
46
+ }
47
+ },
48
+ debug: {
49
+ $schema: {
50
+ title: "Debug",
51
+ type: "boolean",
52
+ description: "Debug the output"
53
+ }
54
+ },
55
+ sourcemap: {
56
+ $schema: {
57
+ title: "Sourcemap",
58
+ type: "boolean",
59
+ description: "Generate a sourcemap"
60
+ }
61
+ },
62
+ silent: {
63
+ $schema: {
64
+ title: "Silent",
65
+ type: "boolean",
66
+ description: "Should the build run silently - only report errors back to the user"
67
+ },
68
+ $default: false
69
+ },
70
+ target: {
71
+ $schema: {
72
+ title: "Target",
73
+ type: "string",
74
+ description: "The target to build",
75
+ enum: [
76
+ "es3",
77
+ "es5",
78
+ "es6",
79
+ "es2015",
80
+ "es2016",
81
+ "es2017",
82
+ "es2018",
83
+ "es2019",
84
+ "es2020",
85
+ "es2021",
86
+ "es2022",
87
+ "es2023",
88
+ "es2024",
89
+ "esnext",
90
+ "node12",
91
+ "node14",
92
+ "node16",
93
+ "node18",
94
+ "node20",
95
+ "node22",
96
+ "browser",
97
+ "chrome58",
98
+ "chrome59",
99
+ "chrome60"
100
+ ]
101
+ },
102
+ $default: "esnext",
103
+ $resolve: (val = "esnext") => typeof val === "string" ? val.toLowerCase() : val
104
+ },
105
+ format: {
106
+ $schema: {
107
+ title: "Format",
108
+ type: "array",
109
+ description: "The format to build",
110
+ items: {
111
+ type: "string",
112
+ enum: ["cjs", "esm", "iife"]
113
+ }
114
+ },
115
+ $resolve: (val = ["cjs", "esm"]) => [].concat(val)
116
+ },
117
+ platform: {
118
+ $schema: {
119
+ title: "Platform",
120
+ type: "string",
121
+ description: "The platform to build",
122
+ enum: ["neutral", "node", "browser"]
123
+ },
124
+ $default: "neutral"
125
+ },
126
+ external: {
127
+ $schema: {
128
+ title: "External",
129
+ type: "array",
130
+ description: "The external dependencies"
131
+ },
132
+ $resolve: (val = []) => [].concat(val)
133
+ },
134
+ define: {
135
+ $schema: {
136
+ title: "Define",
137
+ type: "object",
138
+ tsType: "Record<string, string>",
139
+ description: "The define values"
140
+ },
141
+ $resolve: (val = {}) => val,
142
+ $default: {}
143
+ },
144
+ env: {
145
+ $schema: {
146
+ title: "Environment Variables",
147
+ type: "object",
148
+ tsType: "Record<string, string>",
149
+ description: "The environment variable values"
150
+ },
151
+ $resolve: (val = {}) => val,
152
+ $default: {}
153
+ }
154
+ });
155
+
156
+ export {
157
+ typescript_build_executor_untyped_default
158
+ };
@@ -0,0 +1,40 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
4
+
5
+ // src/utils/github.ts
6
+ var _jiti = require('jiti');
7
+ async function getGitHubTools(workspaceConfig) {
8
+ try {
9
+ const jiti = _jiti.createJiti.call(void 0, workspaceConfig.workspaceRoot, {
10
+ fsCache: workspaceConfig.skipCache ? false : _chunkCQDBLKPFjs.joinPaths.call(void 0,
11
+ workspaceConfig.workspaceRoot,
12
+ workspaceConfig.directories.cache || "node_modules/.cache/storm",
13
+ "jiti"
14
+ ),
15
+ interopDefault: true
16
+ });
17
+ const core = await jiti.import(
18
+ jiti.esmResolve("@actions/core")
19
+ );
20
+ return {
21
+ error: core.error,
22
+ warning: core.warning,
23
+ info: core.info,
24
+ getIDToken: core.getIDToken
25
+ };
26
+ } catch (e) {
27
+ return {
28
+ error: (message) => console.error(message),
29
+ warning: (message) => console.warn(message),
30
+ info: (message) => console.log(message),
31
+ getIDToken: async () => {
32
+ throw new Error("getIDToken is not supported in this environment");
33
+ }
34
+ };
35
+ }
36
+ }
37
+
38
+
39
+
40
+ exports.getGitHubTools = getGitHubTools;
@@ -0,0 +1,49 @@
1
+ import {
2
+ getWorkspaceConfig
3
+ } from "./chunk-35G4LHK2.mjs";
4
+
5
+ // src/release/js-version-actions.ts
6
+ import JsVersionActions from "@nx/js/src/release/version-actions.js";
7
+ var StormJsVersionActions = class extends JsVersionActions {
8
+ /**
9
+ * The Storm workspace configuration object, which is loaded from the `storm-workspace.json` file.
10
+ *
11
+ * @remarks
12
+ * This member variable is populated during the {@link init} method.
13
+ */
14
+ workspaceConfig = null;
15
+ constructor(releaseGroup, projectGraphNode, finalConfigForProject) {
16
+ super(releaseGroup, projectGraphNode, finalConfigForProject);
17
+ }
18
+ /**
19
+ * Asynchronous initialization of the version actions and resolution of manifest paths.
20
+ *
21
+ * @remarks
22
+ * This does NOT validate that manifest files exist - that happens later in validate().
23
+ *
24
+ * @params tree - The file system tree to read from.
25
+ */
26
+ async init(tree) {
27
+ this.workspaceConfig = await getWorkspaceConfig();
28
+ return super.init(tree);
29
+ }
30
+ /**
31
+ * Reads the current version of a package from the registry.
32
+ *
33
+ * @param tree - The file system tree to read from.
34
+ * @param currentVersionResolverMetadata - Metadata for resolving the current version.
35
+ * @returns The current version and log text.
36
+ */
37
+ readCurrentVersionFromRegistry(tree, currentVersionResolverMetadata) {
38
+ currentVersionResolverMetadata ??= {};
39
+ currentVersionResolverMetadata.registry ??= this.workspaceConfig?.registry?.npm;
40
+ return super.readCurrentVersionFromRegistry(
41
+ tree,
42
+ currentVersionResolverMetadata
43
+ );
44
+ }
45
+ };
46
+
47
+ export {
48
+ StormJsVersionActions
49
+ };
@@ -0,0 +1,82 @@
1
+ import {
2
+ normalizeOptions,
3
+ typeScriptLibraryGeneratorFn
4
+ } from "./chunk-4VWDSVQJ.mjs";
5
+ import {
6
+ typesNodeVersion
7
+ } from "./chunk-QC5ON3X4.mjs";
8
+ import {
9
+ withRunGenerator
10
+ } from "./chunk-ALL63TSY.mjs";
11
+ import {
12
+ joinPaths
13
+ } from "./chunk-TBW5MCN6.mjs";
14
+ import {
15
+ __dirname
16
+ } from "./chunk-C3NYIWL4.mjs";
17
+
18
+ // src/generators/node-library/generator.ts
19
+ import {
20
+ formatFiles,
21
+ generateFiles,
22
+ names,
23
+ offsetFromRoot
24
+ } from "@nx/devkit";
25
+ async function nodeLibraryGeneratorFn(tree, schema, config) {
26
+ const filesDir = joinPaths(
27
+ __dirname,
28
+ "src",
29
+ "generators",
30
+ "node-library",
31
+ "files"
32
+ );
33
+ const tsLibraryGeneratorOptions = {
34
+ platform: "node",
35
+ devDependencies: {
36
+ "@types/node": typesNodeVersion
37
+ },
38
+ buildExecutor: "@storm-software/workspace-tools:unbuild",
39
+ ...schema,
40
+ directory: schema.directory,
41
+ description: schema.description
42
+ };
43
+ const options = await normalizeOptions(tree, tsLibraryGeneratorOptions);
44
+ const { className, name, propertyName } = names(options.name);
45
+ generateFiles(tree, filesDir, options.projectRoot, {
46
+ ...schema,
47
+ dot: ".",
48
+ className,
49
+ name,
50
+ namespace: process.env.STORM_NAMESPACE ?? "storm-software",
51
+ description: schema.description ?? "",
52
+ propertyName,
53
+ js: !!options.js,
54
+ cliCommand: "nx",
55
+ strict: void 0,
56
+ tmpl: "",
57
+ offsetFromRoot: offsetFromRoot(options.projectRoot),
58
+ buildable: options.bundler && options.bundler !== "none",
59
+ hasUnitTestRunner: options.unitTestRunner !== "none"
60
+ });
61
+ await typeScriptLibraryGeneratorFn(tree, tsLibraryGeneratorOptions, config);
62
+ await formatFiles(tree);
63
+ return null;
64
+ }
65
+ var generator_default = withRunGenerator(
66
+ "TypeScript Library Creator (NodeJs Platform)",
67
+ nodeLibraryGeneratorFn,
68
+ {
69
+ hooks: {
70
+ applyDefaultOptions: (options) => {
71
+ options.description ??= "A library used by Storm Software to support NodeJs applications";
72
+ options.platform ??= "node";
73
+ return options;
74
+ }
75
+ }
76
+ }
77
+ );
78
+
79
+ export {
80
+ nodeLibraryGeneratorFn,
81
+ generator_default
82
+ };