@storm-software/workspace-tools 1.295.65 → 1.295.66

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 (553) hide show
  1. package/package.json +10 -9
  2. package/CHANGELOG.md +0 -12793
  3. package/LICENSE +0 -201
  4. package/README.md +0 -996
  5. package/assets/cjs_shims.js +0 -11
  6. package/assets/esm_shims.js +0 -9
  7. package/config/base.json +0 -325
  8. package/config/recommended.json +0 -329
  9. package/dist/chunk-237PJK2V.js +0 -128
  10. package/dist/chunk-2AVWFUXP.js +0 -112
  11. package/dist/chunk-2JANPL5K.js +0 -49
  12. package/dist/chunk-2NAUEEZT.js +0 -31
  13. package/dist/chunk-2QMGYIOO.mjs +0 -81
  14. package/dist/chunk-32KQVUCF.js +0 -163
  15. package/dist/chunk-34LSWMWV.mjs +0 -20
  16. package/dist/chunk-3J2CP54B.mjs +0 -100
  17. package/dist/chunk-3QM6CFXC.mjs +0 -49
  18. package/dist/chunk-437WGH2M.mjs +0 -32
  19. package/dist/chunk-46GNS53C.mjs +0 -110
  20. package/dist/chunk-4AKDRRML.js +0 -339
  21. package/dist/chunk-4U7A2VWZ.mjs +0 -105
  22. package/dist/chunk-4ZQUYG5T.js +0 -37
  23. package/dist/chunk-52CEFR2O.js +0 -52
  24. package/dist/chunk-5GZC2PF6.mjs +0 -0
  25. package/dist/chunk-5JNL56OH.mjs +0 -364
  26. package/dist/chunk-6EMYX25V.js +0 -7
  27. package/dist/chunk-6YZ3OUJB.mjs +0 -0
  28. package/dist/chunk-77B77QNY.mjs +0 -148
  29. package/dist/chunk-7CJRMBX3.js +0 -20
  30. package/dist/chunk-7JRL2LE3.js +0 -21
  31. package/dist/chunk-7RI43PE4.js +0 -32
  32. package/dist/chunk-A7XSX2OE.js +0 -41
  33. package/dist/chunk-AGR3NCGA.js +0 -387
  34. package/dist/chunk-AH7KAAQJ.mjs +0 -17
  35. package/dist/chunk-AKIVYTFU.mjs +0 -10
  36. package/dist/chunk-AMGMD43G.mjs +0 -93
  37. package/dist/chunk-ANHKV7HZ.js +0 -22
  38. package/dist/chunk-AQ7B26V3.mjs +0 -126
  39. package/dist/chunk-AQTWWTF2.mjs +0 -388
  40. package/dist/chunk-AZMDS7CR.mjs +0 -82
  41. package/dist/chunk-BRMFLUTQ.js +0 -117
  42. package/dist/chunk-BZMYB75M.js +0 -321
  43. package/dist/chunk-C3TC7AUW.js +0 -1
  44. package/dist/chunk-CJVTWYOM.mjs +0 -50
  45. package/dist/chunk-CNL74KSJ.mjs +0 -52
  46. package/dist/chunk-CQDBLKPF.js +0 -172
  47. package/dist/chunk-CZPRVK6P.mjs +0 -31
  48. package/dist/chunk-DIUWF7BW.js +0 -17
  49. package/dist/chunk-DTBAID2E.mjs +0 -469
  50. package/dist/chunk-DZ3VLKI7.js +0 -102
  51. package/dist/chunk-EGI64HQ2.mjs +0 -22
  52. package/dist/chunk-FHHWAN4N.js +0 -50
  53. package/dist/chunk-FKPWMB63.mjs +0 -79
  54. package/dist/chunk-FVCRMDQ4.mjs +0 -319
  55. package/dist/chunk-GBT7YI3X.js +0 -548
  56. package/dist/chunk-GHQJKIMQ.mjs +0 -0
  57. package/dist/chunk-GKLFEOKK.mjs +0 -163
  58. package/dist/chunk-GSGT2T27.js +0 -150
  59. package/dist/chunk-HXQRGLII.js +0 -81
  60. package/dist/chunk-IIDZJGC3.js +0 -469
  61. package/dist/chunk-IK2SIG4W.mjs +0 -32
  62. package/dist/chunk-IVAYCDYI.js +0 -250
  63. package/dist/chunk-JCPIXJ3N.mjs +0 -37
  64. package/dist/chunk-JGP4YWZY.js +0 -1
  65. package/dist/chunk-K7B3YICS.mjs +0 -1510
  66. package/dist/chunk-KBIJQTKM.js +0 -105
  67. package/dist/chunk-KBJ7IEXI.js +0 -1
  68. package/dist/chunk-KR72GKIT.mjs +0 -7
  69. package/dist/chunk-LMYTVXGX.js +0 -100
  70. package/dist/chunk-LOIAWLLD.mjs +0 -128
  71. package/dist/chunk-LQHVZMFV.js +0 -79
  72. package/dist/chunk-LZ3H2OH5.mjs +0 -158
  73. package/dist/chunk-M3YWCYUX.mjs +0 -321
  74. package/dist/chunk-NFQJD3ZU.mjs +0 -253
  75. package/dist/chunk-OKSECMVK.js +0 -32
  76. package/dist/chunk-OV6RS5V7.mjs +0 -49
  77. package/dist/chunk-P5P43FOZ.mjs +0 -0
  78. package/dist/chunk-P6HSE7LH.js +0 -1
  79. package/dist/chunk-PHIKLLXQ.js +0 -32
  80. package/dist/chunk-PMPKOMMD.js +0 -158
  81. package/dist/chunk-QC5ON3X4.mjs +0 -40
  82. package/dist/chunk-QKYQP5DB.js +0 -93
  83. package/dist/chunk-QLV3LANL.js +0 -32
  84. package/dist/chunk-QQB6GFYM.mjs +0 -79
  85. package/dist/chunk-QVYCDING.js +0 -23
  86. package/dist/chunk-R4NPC2W7.mjs +0 -213
  87. package/dist/chunk-RGPA6TMT.js +0 -364
  88. package/dist/chunk-RN4I4XGR.mjs +0 -117
  89. package/dist/chunk-RSYBXBX2.js +0 -110
  90. package/dist/chunk-RU37AI75.mjs +0 -548
  91. package/dist/chunk-RW4Q2PQR.js +0 -213
  92. package/dist/chunk-SAIDGUHG.mjs +0 -0
  93. package/dist/chunk-SEZ726NO.mjs +0 -150
  94. package/dist/chunk-SW2E5MQJ.mjs +0 -112
  95. package/dist/chunk-SZWM7COV.js +0 -40
  96. package/dist/chunk-T55IDP24.mjs +0 -387
  97. package/dist/chunk-TBW5MCN6.mjs +0 -172
  98. package/dist/chunk-TM2CRDJW.js +0 -148
  99. package/dist/chunk-TX5O64JJ.js +0 -319
  100. package/dist/chunk-TXTNKYJN.js +0 -388
  101. package/dist/chunk-U35L6YML.mjs +0 -105
  102. package/dist/chunk-UBVTASOE.mjs +0 -62
  103. package/dist/chunk-UE6LE5R2.mjs +0 -32
  104. package/dist/chunk-UHTWNVEZ.js +0 -126
  105. package/dist/chunk-UKTILFKM.mjs +0 -32
  106. package/dist/chunk-UNUH7N7Y.mjs +0 -76
  107. package/dist/chunk-UTP3KI2H.js +0 -76
  108. package/dist/chunk-V5K2PDVY.mjs +0 -339
  109. package/dist/chunk-VBIWSFWM.js +0 -79
  110. package/dist/chunk-VHB2R4EV.mjs +0 -77
  111. package/dist/chunk-VTEU7W42.mjs +0 -41
  112. package/dist/chunk-VXHOSAQ7.js +0 -62
  113. package/dist/chunk-W2C5IGWW.mjs +0 -23
  114. package/dist/chunk-WPR4KZUZ.js +0 -74
  115. package/dist/chunk-WUKU43IZ.js +0 -49
  116. package/dist/chunk-XZ6L6OXJ.js +0 -79
  117. package/dist/chunk-YYLV7UA6.js +0 -1
  118. package/dist/chunk-ZCTECGQS.mjs +0 -21
  119. package/dist/chunk-ZJ75AYXE.js +0 -1510
  120. package/dist/executor-0ivVjqma.d.mts +0 -75
  121. package/dist/executor-0ivVjqma.d.ts +0 -75
  122. package/dist/executor-BAeunL4c.d.mts +0 -143
  123. package/dist/executor-BKdjKo-J.d.mts +0 -93
  124. package/dist/executor-BKdjKo-J.d.ts +0 -93
  125. package/dist/executor-BbIkDktz.d.mts +0 -103
  126. package/dist/executor-BbIkDktz.d.ts +0 -103
  127. package/dist/executor-BxzAij2P.d.ts +0 -57
  128. package/dist/executor-C4Ddk0eB.d.mts +0 -145
  129. package/dist/executor-CPBR709C.d.ts +0 -143
  130. package/dist/executor-CPh7sG83.d.mts +0 -57
  131. package/dist/executor-CVgzIGPj.d.mts +0 -95
  132. package/dist/executor-CVgzIGPj.d.ts +0 -95
  133. package/dist/executor-CWRRdIo2.d.mts +0 -95
  134. package/dist/executor-CWRRdIo2.d.ts +0 -95
  135. package/dist/executor-DA8yyqTK.d.mts +0 -33
  136. package/dist/executor-DJOXX8-N.d.mts +0 -267
  137. package/dist/executor-DcKEmf82.d.ts +0 -305
  138. package/dist/executor-DpEbHA1f.d.mts +0 -131
  139. package/dist/executor-DpEbHA1f.d.ts +0 -131
  140. package/dist/executor-DvfMQSTP.d.mts +0 -305
  141. package/dist/executor-HMyCQrhV.d.ts +0 -33
  142. package/dist/executor-YAjz4bej.d.ts +0 -267
  143. package/dist/executor-jYQ7uQ13.d.mts +0 -121
  144. package/dist/executor-jYQ7uQ13.d.ts +0 -121
  145. package/dist/executor-lCseKo3l.d.ts +0 -145
  146. package/dist/executors.d.mts +0 -18
  147. package/dist/executors.d.ts +0 -18
  148. package/dist/executors.js +0 -66
  149. package/dist/executors.mjs +0 -67
  150. package/dist/generator-0E5nSU3V.d.mts +0 -130
  151. package/dist/generator-B3NZ6Ud2.d.ts +0 -130
  152. package/dist/generator-BSMRuLJg.d.ts +0 -38
  153. package/dist/generator-C5Cl-DE-.d.ts +0 -108
  154. package/dist/generator-CNhbKDrd.d.mts +0 -38
  155. package/dist/generator-CRj1yNiR.d.ts +0 -130
  156. package/dist/generator-CV5_wiZn.d.mts +0 -108
  157. package/dist/generator-DMoo8xwP.d.mts +0 -130
  158. package/dist/generator-DPnGd9Bq.d.ts +0 -130
  159. package/dist/generator-PrphSHj3.d.mts +0 -130
  160. package/dist/generators.d.mts +0 -12
  161. package/dist/generators.d.ts +0 -12
  162. package/dist/generators.js +0 -36
  163. package/dist/generators.mjs +0 -37
  164. package/dist/index.d.mts +0 -60
  165. package/dist/index.d.ts +0 -60
  166. package/dist/index.js +0 -299
  167. package/dist/index.mjs +0 -300
  168. package/dist/init-6Nmtv8d5.d.mts +0 -19
  169. package/dist/init-6Nmtv8d5.d.ts +0 -19
  170. package/dist/schema.d-B9y7rRms.d.mts +0 -59
  171. package/dist/schema.d-B9y7rRms.d.ts +0 -59
  172. package/dist/src/base/base-executor.d.mts +0 -10
  173. package/dist/src/base/base-executor.d.ts +0 -10
  174. package/dist/src/base/base-executor.js +0 -11
  175. package/dist/src/base/base-executor.mjs +0 -12
  176. package/dist/src/base/base-executor.untyped.d.mts +0 -5
  177. package/dist/src/base/base-executor.untyped.d.ts +0 -5
  178. package/dist/src/base/base-executor.untyped.js +0 -6
  179. package/dist/src/base/base-executor.untyped.mjs +0 -7
  180. package/dist/src/base/base-generator.d.mts +0 -10
  181. package/dist/src/base/base-generator.d.ts +0 -10
  182. package/dist/src/base/base-generator.js +0 -11
  183. package/dist/src/base/base-generator.mjs +0 -12
  184. package/dist/src/base/base-generator.untyped.d.mts +0 -5
  185. package/dist/src/base/base-generator.untyped.d.ts +0 -5
  186. package/dist/src/base/base-generator.untyped.js +0 -6
  187. package/dist/src/base/base-generator.untyped.mjs +0 -7
  188. package/dist/src/base/cargo-base-executor.untyped.d.mts +0 -5
  189. package/dist/src/base/cargo-base-executor.untyped.d.ts +0 -5
  190. package/dist/src/base/cargo-base-executor.untyped.js +0 -7
  191. package/dist/src/base/cargo-base-executor.untyped.mjs +0 -8
  192. package/dist/src/base/index.d.mts +0 -154
  193. package/dist/src/base/index.d.ts +0 -154
  194. package/dist/src/base/index.js +0 -48
  195. package/dist/src/base/index.mjs +0 -49
  196. package/dist/src/base/typescript-build-executor.untyped.d.mts +0 -5
  197. package/dist/src/base/typescript-build-executor.untyped.d.ts +0 -5
  198. package/dist/src/base/typescript-build-executor.untyped.js +0 -7
  199. package/dist/src/base/typescript-build-executor.untyped.mjs +0 -8
  200. package/dist/src/base/typescript-library-generator.untyped.d.mts +0 -5
  201. package/dist/src/base/typescript-library-generator.untyped.d.ts +0 -5
  202. package/dist/src/base/typescript-library-generator.untyped.js +0 -7
  203. package/dist/src/base/typescript-library-generator.untyped.mjs +0 -8
  204. package/dist/src/executors/cargo-build/executor.d.mts +0 -2
  205. package/dist/src/executors/cargo-build/executor.d.ts +0 -2
  206. package/dist/src/executors/cargo-build/executor.js +0 -15
  207. package/dist/src/executors/cargo-build/executor.mjs +0 -16
  208. package/dist/src/executors/cargo-build/schema.d.ts +0 -86
  209. package/dist/src/executors/cargo-build/schema.json +0 -85
  210. package/dist/src/executors/cargo-build/untyped.d.mts +0 -5
  211. package/dist/src/executors/cargo-build/untyped.d.ts +0 -5
  212. package/dist/src/executors/cargo-build/untyped.js +0 -25
  213. package/dist/src/executors/cargo-build/untyped.mjs +0 -26
  214. package/dist/src/executors/cargo-check/executor.d.mts +0 -2
  215. package/dist/src/executors/cargo-check/executor.d.ts +0 -2
  216. package/dist/src/executors/cargo-check/executor.js +0 -15
  217. package/dist/src/executors/cargo-check/executor.mjs +0 -16
  218. package/dist/src/executors/cargo-check/schema.d.ts +0 -88
  219. package/dist/src/executors/cargo-check/schema.json +0 -86
  220. package/dist/src/executors/cargo-check/untyped.d.mts +0 -5
  221. package/dist/src/executors/cargo-check/untyped.d.ts +0 -5
  222. package/dist/src/executors/cargo-check/untyped.js +0 -18
  223. package/dist/src/executors/cargo-check/untyped.mjs +0 -19
  224. package/dist/src/executors/cargo-clippy/executor.d.mts +0 -2
  225. package/dist/src/executors/cargo-clippy/executor.d.ts +0 -2
  226. package/dist/src/executors/cargo-clippy/executor.js +0 -15
  227. package/dist/src/executors/cargo-clippy/executor.mjs +0 -16
  228. package/dist/src/executors/cargo-clippy/schema.d.ts +0 -96
  229. package/dist/src/executors/cargo-clippy/schema.json +0 -92
  230. package/dist/src/executors/cargo-clippy/untyped.d.mts +0 -5
  231. package/dist/src/executors/cargo-clippy/untyped.d.ts +0 -5
  232. package/dist/src/executors/cargo-clippy/untyped.js +0 -25
  233. package/dist/src/executors/cargo-clippy/untyped.mjs +0 -26
  234. package/dist/src/executors/cargo-doc/executor.d.mts +0 -2
  235. package/dist/src/executors/cargo-doc/executor.d.ts +0 -2
  236. package/dist/src/executors/cargo-doc/executor.js +0 -15
  237. package/dist/src/executors/cargo-doc/executor.mjs +0 -16
  238. package/dist/src/executors/cargo-doc/schema.d.ts +0 -124
  239. package/dist/src/executors/cargo-doc/schema.json +0 -162
  240. package/dist/src/executors/cargo-doc/untyped.d.mts +0 -5
  241. package/dist/src/executors/cargo-doc/untyped.d.ts +0 -5
  242. package/dist/src/executors/cargo-doc/untyped.js +0 -50
  243. package/dist/src/executors/cargo-doc/untyped.mjs +0 -51
  244. package/dist/src/executors/cargo-format/executor.d.mts +0 -2
  245. package/dist/src/executors/cargo-format/executor.d.ts +0 -2
  246. package/dist/src/executors/cargo-format/executor.js +0 -15
  247. package/dist/src/executors/cargo-format/executor.mjs +0 -16
  248. package/dist/src/executors/cargo-format/schema.d.ts +0 -88
  249. package/dist/src/executors/cargo-format/schema.json +0 -86
  250. package/dist/src/executors/cargo-format/untyped.d.mts +0 -5
  251. package/dist/src/executors/cargo-format/untyped.d.ts +0 -5
  252. package/dist/src/executors/cargo-format/untyped.js +0 -18
  253. package/dist/src/executors/cargo-format/untyped.mjs +0 -19
  254. package/dist/src/executors/cargo-publish/executor.d.mts +0 -2
  255. package/dist/src/executors/cargo-publish/executor.d.ts +0 -2
  256. package/dist/src/executors/cargo-publish/executor.js +0 -10
  257. package/dist/src/executors/cargo-publish/executor.mjs +0 -11
  258. package/dist/src/executors/cargo-publish/schema.d.ts +0 -114
  259. package/dist/src/executors/cargo-publish/schema.json +0 -105
  260. package/dist/src/executors/cargo-publish/untyped.d.mts +0 -5
  261. package/dist/src/executors/cargo-publish/untyped.d.ts +0 -5
  262. package/dist/src/executors/cargo-publish/untyped.js +0 -40
  263. package/dist/src/executors/cargo-publish/untyped.mjs +0 -41
  264. package/dist/src/executors/clean-package/executor.d.mts +0 -13
  265. package/dist/src/executors/clean-package/executor.d.ts +0 -13
  266. package/dist/src/executors/clean-package/executor.js +0 -325
  267. package/dist/src/executors/clean-package/executor.mjs +0 -326
  268. package/dist/src/executors/clean-package/schema.d.ts +0 -59
  269. package/dist/src/executors/clean-package/schema.json +0 -55
  270. package/dist/src/executors/clean-package/untyped.d.mts +0 -5
  271. package/dist/src/executors/clean-package/untyped.d.ts +0 -5
  272. package/dist/src/executors/clean-package/untyped.js +0 -64
  273. package/dist/src/executors/clean-package/untyped.mjs +0 -65
  274. package/dist/src/executors/esbuild/executor.d.mts +0 -5
  275. package/dist/src/executors/esbuild/executor.d.ts +0 -5
  276. package/dist/src/executors/esbuild/executor.js +0 -15
  277. package/dist/src/executors/esbuild/executor.mjs +0 -16
  278. package/dist/src/executors/esbuild/schema.d.ts +0 -136
  279. package/dist/src/executors/esbuild/schema.json +0 -163
  280. package/dist/src/executors/esbuild/untyped.d.mts +0 -5
  281. package/dist/src/executors/esbuild/untyped.d.ts +0 -5
  282. package/dist/src/executors/esbuild/untyped.js +0 -27
  283. package/dist/src/executors/esbuild/untyped.mjs +0 -28
  284. package/dist/src/executors/napi/executor.d.mts +0 -5
  285. package/dist/src/executors/napi/executor.d.ts +0 -5
  286. package/dist/src/executors/napi/executor.js +0 -15
  287. package/dist/src/executors/napi/executor.mjs +0 -16
  288. package/dist/src/executors/napi/schema.d.ts +0 -282
  289. package/dist/src/executors/napi/schema.json +0 -235
  290. package/dist/src/executors/napi/untyped.d.mts +0 -5
  291. package/dist/src/executors/napi/untyped.d.ts +0 -5
  292. package/dist/src/executors/napi/untyped.js +0 -241
  293. package/dist/src/executors/napi/untyped.mjs +0 -242
  294. package/dist/src/executors/npm-publish/executor.d.mts +0 -2
  295. package/dist/src/executors/npm-publish/executor.d.ts +0 -2
  296. package/dist/src/executors/npm-publish/executor.js +0 -15
  297. package/dist/src/executors/npm-publish/executor.mjs +0 -16
  298. package/dist/src/executors/npm-publish/schema.d.ts +0 -68
  299. package/dist/src/executors/npm-publish/schema.json +0 -61
  300. package/dist/src/executors/npm-publish/untyped.d.mts +0 -5
  301. package/dist/src/executors/npm-publish/untyped.d.ts +0 -5
  302. package/dist/src/executors/npm-publish/untyped.js +0 -66
  303. package/dist/src/executors/npm-publish/untyped.mjs +0 -68
  304. package/dist/src/executors/size-limit/executor.d.mts +0 -5
  305. package/dist/src/executors/size-limit/executor.d.ts +0 -5
  306. package/dist/src/executors/size-limit/executor.js +0 -14
  307. package/dist/src/executors/size-limit/executor.mjs +0 -15
  308. package/dist/src/executors/size-limit/schema.d.ts +0 -24
  309. package/dist/src/executors/size-limit/schema.json +0 -26
  310. package/dist/src/executors/size-limit/untyped.d.mts +0 -5
  311. package/dist/src/executors/size-limit/untyped.d.ts +0 -5
  312. package/dist/src/executors/size-limit/untyped.js +0 -28
  313. package/dist/src/executors/size-limit/untyped.mjs +0 -29
  314. package/dist/src/executors/tsdown/executor.d.mts +0 -5
  315. package/dist/src/executors/tsdown/executor.d.ts +0 -5
  316. package/dist/src/executors/tsdown/executor.js +0 -15
  317. package/dist/src/executors/tsdown/executor.mjs +0 -16
  318. package/dist/src/executors/tsdown/schema.d.ts +0 -134
  319. package/dist/src/executors/tsdown/schema.json +0 -172
  320. package/dist/src/executors/tsdown/untyped.d.mts +0 -5
  321. package/dist/src/executors/tsdown/untyped.d.ts +0 -5
  322. package/dist/src/executors/tsdown/untyped.js +0 -18
  323. package/dist/src/executors/tsdown/untyped.mjs +0 -19
  324. package/dist/src/executors/typia/executor.d.mts +0 -5
  325. package/dist/src/executors/typia/executor.d.ts +0 -5
  326. package/dist/src/executors/typia/executor.js +0 -14
  327. package/dist/src/executors/typia/executor.mjs +0 -15
  328. package/dist/src/executors/typia/schema.d.ts +0 -48
  329. package/dist/src/executors/typia/schema.json +0 -57
  330. package/dist/src/executors/typia/untyped.d.mts +0 -5
  331. package/dist/src/executors/typia/untyped.d.ts +0 -5
  332. package/dist/src/executors/typia/untyped.js +0 -54
  333. package/dist/src/executors/typia/untyped.mjs +0 -55
  334. package/dist/src/executors/unbuild/executor.d.mts +0 -5
  335. package/dist/src/executors/unbuild/executor.d.ts +0 -5
  336. package/dist/src/executors/unbuild/executor.js +0 -14
  337. package/dist/src/executors/unbuild/executor.mjs +0 -15
  338. package/dist/src/executors/unbuild/schema.d.ts +0 -258
  339. package/dist/src/executors/unbuild/schema.json +0 -301
  340. package/dist/src/executors/unbuild/untyped.d.mts +0 -5
  341. package/dist/src/executors/unbuild/untyped.d.ts +0 -5
  342. package/dist/src/executors/unbuild/untyped.js +0 -158
  343. package/dist/src/executors/unbuild/untyped.mjs +0 -159
  344. package/dist/src/generators/browser-library/files/README.md +0 -58
  345. package/dist/src/generators/browser-library/files/jest.config.ts +0 -3
  346. package/dist/src/generators/browser-library/files/src/index.ts.template +0 -10
  347. package/dist/src/generators/browser-library/files/tsconfig.spec.json +0 -13
  348. package/dist/src/generators/browser-library/generator.d.mts +0 -7
  349. package/dist/src/generators/browser-library/generator.d.ts +0 -7
  350. package/dist/src/generators/browser-library/generator.js +0 -17
  351. package/dist/src/generators/browser-library/generator.mjs +0 -18
  352. package/dist/src/generators/browser-library/schema.d.ts +0 -122
  353. package/dist/src/generators/browser-library/schema.json +0 -117
  354. package/dist/src/generators/browser-library/untyped.d.mts +0 -5
  355. package/dist/src/generators/browser-library/untyped.d.ts +0 -5
  356. package/dist/src/generators/browser-library/untyped.js +0 -36
  357. package/dist/src/generators/browser-library/untyped.mjs +0 -37
  358. package/dist/src/generators/config-schema/generator.d.mts +0 -7
  359. package/dist/src/generators/config-schema/generator.d.ts +0 -7
  360. package/dist/src/generators/config-schema/generator.js +0 -14
  361. package/dist/src/generators/config-schema/generator.mjs +0 -15
  362. package/dist/src/generators/config-schema/schema.d.ts +0 -23
  363. package/dist/src/generators/config-schema/schema.json +0 -24
  364. package/dist/src/generators/config-schema/untyped.d.mts +0 -5
  365. package/dist/src/generators/config-schema/untyped.d.ts +0 -5
  366. package/dist/src/generators/config-schema/untyped.js +0 -25
  367. package/dist/src/generators/config-schema/untyped.mjs +0 -26
  368. package/dist/src/generators/init/init.d.mts +0 -2
  369. package/dist/src/generators/init/init.d.ts +0 -2
  370. package/dist/src/generators/init/init.js +0 -8
  371. package/dist/src/generators/init/init.mjs +0 -9
  372. package/dist/src/generators/init/schema.d.ts +0 -14
  373. package/dist/src/generators/init/schema.json +0 -15
  374. package/dist/src/generators/init/untyped.d.mts +0 -5
  375. package/dist/src/generators/init/untyped.d.ts +0 -5
  376. package/dist/src/generators/init/untyped.js +0 -19
  377. package/dist/src/generators/init/untyped.mjs +0 -21
  378. package/dist/src/generators/neutral-library/files/README.md +0 -58
  379. package/dist/src/generators/neutral-library/files/jest.config.ts +0 -3
  380. package/dist/src/generators/neutral-library/files/src/index.ts.template +0 -10
  381. package/dist/src/generators/neutral-library/files/tsconfig.spec.json +0 -13
  382. package/dist/src/generators/neutral-library/generator.d.mts +0 -7
  383. package/dist/src/generators/neutral-library/generator.d.ts +0 -7
  384. package/dist/src/generators/neutral-library/generator.js +0 -17
  385. package/dist/src/generators/neutral-library/generator.mjs +0 -18
  386. package/dist/src/generators/neutral-library/schema.d.ts +0 -122
  387. package/dist/src/generators/neutral-library/schema.json +0 -116
  388. package/dist/src/generators/neutral-library/untyped.d.mts +0 -5
  389. package/dist/src/generators/neutral-library/untyped.d.ts +0 -5
  390. package/dist/src/generators/neutral-library/untyped.js +0 -36
  391. package/dist/src/generators/neutral-library/untyped.mjs +0 -37
  392. package/dist/src/generators/node-library/files/README.md +0 -63
  393. package/dist/src/generators/node-library/files/jest.config.ts +0 -3
  394. package/dist/src/generators/node-library/files/src/index.ts.template +0 -10
  395. package/dist/src/generators/node-library/files/tsconfig.spec.json +0 -13
  396. package/dist/src/generators/node-library/generator.d.mts +0 -7
  397. package/dist/src/generators/node-library/generator.d.ts +0 -7
  398. package/dist/src/generators/node-library/generator.js +0 -17
  399. package/dist/src/generators/node-library/generator.mjs +0 -18
  400. package/dist/src/generators/node-library/schema.d.ts +0 -122
  401. package/dist/src/generators/node-library/schema.json +0 -117
  402. package/dist/src/generators/node-library/untyped.d.mts +0 -5
  403. package/dist/src/generators/node-library/untyped.d.ts +0 -5
  404. package/dist/src/generators/node-library/untyped.js +0 -36
  405. package/dist/src/generators/node-library/untyped.mjs +0 -37
  406. package/dist/src/generators/preset/files/LICENSE +0 -201
  407. package/dist/src/generators/preset/files/README.md.template +0 -282
  408. package/dist/src/generators/preset/files/docs/readme-templates/README.footer.md.template +0 -123
  409. package/dist/src/generators/preset/files/docs/readme-templates/README.header.md.template +0 -22
  410. package/dist/src/generators/preset/files/eslint.config.js.template +0 -7
  411. package/dist/src/generators/preset/files/knip.json +0 -20
  412. package/dist/src/generators/preset/files/lefthook.json +0 -106
  413. package/dist/src/generators/preset/files/nx.json +0 -7
  414. package/dist/src/generators/preset/files/pnpm-workspace.yaml +0 -6
  415. package/dist/src/generators/preset/files/socket.yaml +0 -20
  416. package/dist/src/generators/preset/files/storm.json.template +0 -12
  417. package/dist/src/generators/preset/files/tsconfig.base.json.template +0 -11
  418. package/dist/src/generators/preset/generator.d.mts +0 -7
  419. package/dist/src/generators/preset/generator.d.ts +0 -7
  420. package/dist/src/generators/preset/generator.js +0 -15
  421. package/dist/src/generators/preset/generator.mjs +0 -16
  422. package/dist/src/generators/preset/schema.d.ts +0 -101
  423. package/dist/src/generators/preset/schema.json +0 -96
  424. package/dist/src/generators/preset/untyped.d.mts +0 -5
  425. package/dist/src/generators/preset/untyped.d.ts +0 -5
  426. package/dist/src/generators/preset/untyped.js +0 -94
  427. package/dist/src/generators/preset/untyped.mjs +0 -95
  428. package/dist/src/plugins/rust/cargo-toml.d.mts +0 -47
  429. package/dist/src/plugins/rust/cargo-toml.d.ts +0 -47
  430. package/dist/src/plugins/rust/cargo-toml.js +0 -17
  431. package/dist/src/plugins/rust/cargo-toml.mjs +0 -18
  432. package/dist/src/plugins/rust/index.d.mts +0 -2
  433. package/dist/src/plugins/rust/index.d.ts +0 -2
  434. package/dist/src/plugins/rust/index.js +0 -17
  435. package/dist/src/plugins/rust/index.mjs +0 -18
  436. package/dist/src/plugins/typescript/index.d.mts +0 -64
  437. package/dist/src/plugins/typescript/index.d.ts +0 -64
  438. package/dist/src/plugins/typescript/index.js +0 -452
  439. package/dist/src/plugins/typescript/index.mjs +0 -453
  440. package/dist/src/plugins/typescript/tsdown.d.mts +0 -12
  441. package/dist/src/plugins/typescript/tsdown.d.ts +0 -12
  442. package/dist/src/plugins/typescript/tsdown.js +0 -178
  443. package/dist/src/plugins/typescript/tsdown.mjs +0 -179
  444. package/dist/src/plugins/typescript/tsup.d.mts +0 -12
  445. package/dist/src/plugins/typescript/tsup.d.ts +0 -12
  446. package/dist/src/plugins/typescript/tsup.js +0 -178
  447. package/dist/src/plugins/typescript/tsup.mjs +0 -179
  448. package/dist/src/plugins/typescript/untyped-schema.d.mts +0 -7
  449. package/dist/src/plugins/typescript/untyped-schema.d.ts +0 -7
  450. package/dist/src/plugins/typescript/untyped-schema.js +0 -151
  451. package/dist/src/plugins/typescript/untyped-schema.mjs +0 -152
  452. package/dist/src/release/index.d.mts +0 -11
  453. package/dist/src/release/index.d.ts +0 -11
  454. package/dist/src/release/index.js +0 -17
  455. package/dist/src/release/index.mjs +0 -18
  456. package/dist/src/release/js-version-actions.d.mts +0 -44
  457. package/dist/src/release/js-version-actions.d.ts +0 -44
  458. package/dist/src/release/js-version-actions.js +0 -10
  459. package/dist/src/release/js-version-actions.mjs +0 -11
  460. package/dist/src/release/rust-version-actions.d.mts +0 -56
  461. package/dist/src/release/rust-version-actions.d.ts +0 -56
  462. package/dist/src/release/rust-version-actions.js +0 -12
  463. package/dist/src/release/rust-version-actions.mjs +0 -13
  464. package/dist/src/types.d.mts +0 -5
  465. package/dist/src/types.d.ts +0 -5
  466. package/dist/src/types.js +0 -18
  467. package/dist/src/types.mjs +0 -19
  468. package/dist/src/utils/apply-workspace-tokens.d.mts +0 -11
  469. package/dist/src/utils/apply-workspace-tokens.d.ts +0 -11
  470. package/dist/src/utils/apply-workspace-tokens.js +0 -8
  471. package/dist/src/utils/apply-workspace-tokens.mjs +0 -9
  472. package/dist/src/utils/cargo.d.mts +0 -118
  473. package/dist/src/utils/cargo.d.ts +0 -118
  474. package/dist/src/utils/cargo.js +0 -22
  475. package/dist/src/utils/cargo.mjs +0 -23
  476. package/dist/src/utils/create-cli-options.d.mts +0 -3
  477. package/dist/src/utils/create-cli-options.d.ts +0 -3
  478. package/dist/src/utils/create-cli-options.js +0 -6
  479. package/dist/src/utils/create-cli-options.mjs +0 -7
  480. package/dist/src/utils/get-project-configurations.d.mts +0 -16
  481. package/dist/src/utils/get-project-configurations.d.ts +0 -16
  482. package/dist/src/utils/get-project-configurations.js +0 -10
  483. package/dist/src/utils/get-project-configurations.mjs +0 -11
  484. package/dist/src/utils/index.d.mts +0 -23
  485. package/dist/src/utils/index.d.ts +0 -23
  486. package/dist/src/utils/index.js +0 -153
  487. package/dist/src/utils/index.mjs +0 -154
  488. package/dist/src/utils/lock-file.d.mts +0 -29
  489. package/dist/src/utils/lock-file.d.ts +0 -29
  490. package/dist/src/utils/lock-file.js +0 -26
  491. package/dist/src/utils/lock-file.mjs +0 -27
  492. package/dist/src/utils/nx-json.d.mts +0 -33
  493. package/dist/src/utils/nx-json.d.ts +0 -33
  494. package/dist/src/utils/nx-json.js +0 -10
  495. package/dist/src/utils/nx-json.mjs +0 -11
  496. package/dist/src/utils/package-helpers.d.mts +0 -24
  497. package/dist/src/utils/package-helpers.d.ts +0 -24
  498. package/dist/src/utils/package-helpers.js +0 -14
  499. package/dist/src/utils/package-helpers.mjs +0 -15
  500. package/dist/src/utils/plugin-helpers.d.mts +0 -20
  501. package/dist/src/utils/plugin-helpers.d.ts +0 -20
  502. package/dist/src/utils/plugin-helpers.js +0 -15
  503. package/dist/src/utils/plugin-helpers.mjs +0 -16
  504. package/dist/src/utils/project-tags.d.mts +0 -68
  505. package/dist/src/utils/project-tags.d.ts +0 -68
  506. package/dist/src/utils/project-tags.js +0 -20
  507. package/dist/src/utils/project-tags.mjs +0 -21
  508. package/dist/src/utils/registry-helpers.d.mts +0 -11
  509. package/dist/src/utils/registry-helpers.d.ts +0 -11
  510. package/dist/src/utils/registry-helpers.js +0 -6
  511. package/dist/src/utils/registry-helpers.mjs +0 -7
  512. package/dist/src/utils/typia-transform.d.mts +0 -5
  513. package/dist/src/utils/typia-transform.d.ts +0 -5
  514. package/dist/src/utils/typia-transform.js +0 -6
  515. package/dist/src/utils/typia-transform.mjs +0 -7
  516. package/dist/src/utils/versions.d.mts +0 -20
  517. package/dist/src/utils/versions.d.ts +0 -20
  518. package/dist/src/utils/versions.js +0 -40
  519. package/dist/src/utils/versions.mjs +0 -41
  520. package/dist/types-CV8HM8Xo.d.mts +0 -115
  521. package/dist/types-D_RlE9_c.d.ts +0 -115
  522. package/dist/types-Dug-2iKz.d.mts +0 -243
  523. package/dist/types-Dug-2iKz.d.ts +0 -243
  524. package/docs/api/base/base-executor.schema.md +0 -15
  525. package/docs/api/base/base-generator.schema.md +0 -15
  526. package/docs/api/base/cargo-base-executor.schema.md +0 -89
  527. package/docs/api/base/typescript-build-executor.schema.md +0 -125
  528. package/docs/api/base/typescript-library-generator.schema.md +0 -129
  529. package/docs/api/executors/cargo-build/schema.md +0 -89
  530. package/docs/api/executors/cargo-check/schema.md +0 -89
  531. package/docs/api/executors/cargo-clippy/schema.md +0 -98
  532. package/docs/api/executors/cargo-doc/schema.md +0 -129
  533. package/docs/api/executors/cargo-format/schema.md +0 -89
  534. package/docs/api/executors/cargo-publish/schema.md +0 -116
  535. package/docs/api/executors/clean-package/schema.md +0 -64
  536. package/docs/api/executors/esbuild/schema.md +0 -125
  537. package/docs/api/executors/napi/schema.md +0 -300
  538. package/docs/api/executors/npm-publish/schema.md +0 -73
  539. package/docs/api/executors/size-limit/schema.md +0 -24
  540. package/docs/api/executors/tsdown/schema.md +0 -125
  541. package/docs/api/executors/typia/schema.md +0 -46
  542. package/docs/api/executors/unbuild/schema.md +0 -222
  543. package/docs/api/generators/browser-library/files/README.md +0 -58
  544. package/docs/api/generators/browser-library/schema.md +0 -129
  545. package/docs/api/generators/config-schema/schema.md +0 -25
  546. package/docs/api/generators/init/schema.md +0 -15
  547. package/docs/api/generators/neutral-library/files/README.md +0 -58
  548. package/docs/api/generators/neutral-library/schema.md +0 -129
  549. package/docs/api/generators/node-library/files/README.md +0 -63
  550. package/docs/api/generators/node-library/schema.md +0 -129
  551. package/docs/api/generators/preset/schema.md +0 -110
  552. package/executors.json +0 -69
  553. package/generators.json +0 -51
@@ -1,387 +0,0 @@
1
- // ../config-tools/src/logger/console.ts
2
- import { formatDistanceToNow } from "date-fns/formatDistanceToNow";
3
-
4
- // ../config-tools/src/types.ts
5
- var LogLevel = {
6
- SILENT: 0,
7
- FATAL: 10,
8
- ERROR: 20,
9
- WARN: 30,
10
- SUCCESS: 35,
11
- INFO: 40,
12
- PERFORMANCE: 50,
13
- DEBUG: 60,
14
- TRACE: 70,
15
- ALL: 100
16
- };
17
- var LogLevelLabel = {
18
- SILENT: "silent",
19
- FATAL: "fatal",
20
- ERROR: "error",
21
- WARN: "warn",
22
- SUCCESS: "success",
23
- INFO: "info",
24
- PERFORMANCE: "performance",
25
- DEBUG: "debug",
26
- TRACE: "trace",
27
- ALL: "all"
28
- };
29
-
30
- // ../config-tools/src/utilities/colors.ts
31
- var DEFAULT_COLOR_CONFIG = {
32
- light: {
33
- background: "#fafafa",
34
- foreground: "#1d1e22",
35
- brand: "#1fb2a6",
36
- alternate: "#db2777",
37
- help: "#5C4EE5",
38
- success: "#087f5b",
39
- info: "#0550ae",
40
- debug: "#8afafc",
41
- warning: "#e3b341",
42
- danger: "#D8314A",
43
- fatal: "#51070f",
44
- performance: "#13c302",
45
- link: "#3fa6ff",
46
- positive: "#22c55e",
47
- negative: "#dc2626",
48
- gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
49
- },
50
- dark: {
51
- background: "#1d1e22",
52
- foreground: "#cbd5e1",
53
- brand: "#2dd4bf",
54
- alternate: "#db2777",
55
- help: "#818cf8",
56
- success: "#10b981",
57
- info: "#58a6ff",
58
- debug: "#8afafc",
59
- warning: "#f3d371",
60
- danger: "#D8314A",
61
- fatal: "#a40e26",
62
- performance: "#80fd74",
63
- link: "#3fa6ff",
64
- positive: "#22c55e",
65
- negative: "#dc2626",
66
- gradient: ["#1fb2a6", "#db2777", "#818cf8"]
67
- }
68
- };
69
- function getColors(config) {
70
- if (!config?.colors || typeof config.colors !== "object" || !config.colors["dark"] && (!config.colors["base"] || typeof config.colors !== "object" || !config.colors["base"]?.["dark"])) {
71
- return DEFAULT_COLOR_CONFIG;
72
- }
73
- if (config.colors["base"]) {
74
- if (typeof config.colors["base"]["dark"] === "object") {
75
- return config.colors["base"]["dark"];
76
- } else if (config.colors["base"]["dark"] === "string") {
77
- return config.colors["base"];
78
- }
79
- }
80
- if (typeof config.colors["dark"] === "object") {
81
- return config.colors["dark"];
82
- }
83
- return config.colors ?? DEFAULT_COLOR_CONFIG;
84
- }
85
- function getColor(key, config) {
86
- const colors = getColors(config);
87
- const result = (typeof colors["dark"] === "object" ? colors["dark"][key] : colors[key]) || DEFAULT_COLOR_CONFIG["dark"][key] || DEFAULT_COLOR_CONFIG[key];
88
- if (result) {
89
- return result;
90
- }
91
- if (key === "link" || key === "debug") {
92
- return getColor("info", config);
93
- } else if (key === "fatal") {
94
- return getColor("danger", config);
95
- }
96
- return getColor("brand", config);
97
- }
98
-
99
- // ../config-tools/src/logger/chalk.ts
100
- import chalk from "chalk";
101
- var chalkDefault = {
102
- hex: (_) => (message) => message,
103
- bgHex: (_) => ({
104
- whiteBright: (message) => message,
105
- white: (message) => message
106
- }),
107
- white: (message) => message,
108
- whiteBright: (message) => message,
109
- gray: (message) => message,
110
- bold: {
111
- hex: (_) => (message) => message,
112
- bgHex: (_) => ({
113
- whiteBright: (message) => message,
114
- white: (message) => message
115
- }),
116
- whiteBright: (message) => message,
117
- white: (message) => message
118
- },
119
- dim: {
120
- hex: (_) => (message) => message,
121
- gray: (message) => message
122
- }
123
- };
124
- var getChalk = () => {
125
- let _chalk = chalk;
126
- if (!_chalk?.hex || !_chalk?.bold?.hex || !_chalk?.bgHex || !_chalk?.whiteBright || !_chalk?.white) {
127
- _chalk = chalkDefault;
128
- }
129
- return _chalk;
130
- };
131
-
132
- // ../config-tools/src/logger/is-unicode-supported.ts
133
- function isUnicodeSupported() {
134
- if (process.platform !== "win32") {
135
- return process.env.TERM !== "linux";
136
- }
137
- return Boolean(process.env.WT_SESSION) || // Windows Terminal
138
- Boolean(process.env.TERMINUS_SUBLIME) || // Terminus (<0.2.27)
139
- process.env.ConEmuTask === "{cmd::Cmder}" || // ConEmu and cmder
140
- process.env.TERM_PROGRAM === "Terminus-Sublime" || process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty" || process.env.TERM === "rxvt-unicode" || process.env.TERM === "rxvt-unicode-256color" || process.env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
141
- }
142
-
143
- // ../config-tools/src/logger/console-icons.ts
144
- var useIcon = (c, fallback) => isUnicodeSupported() ? c : fallback;
145
- var CONSOLE_ICONS = {
146
- [LogLevelLabel.ERROR]: useIcon("\u2718", "\xD7"),
147
- [LogLevelLabel.FATAL]: useIcon("\u{1F571}", "\xD7"),
148
- [LogLevelLabel.WARN]: useIcon("\u26A0", "\u203C"),
149
- [LogLevelLabel.INFO]: useIcon("\u2139", "i"),
150
- [LogLevelLabel.PERFORMANCE]: useIcon("\u23F1", "\u23F1"),
151
- [LogLevelLabel.SUCCESS]: useIcon("\u2714", "\u221A"),
152
- [LogLevelLabel.DEBUG]: useIcon("\u{1F6E0}", "D"),
153
- [LogLevelLabel.TRACE]: useIcon("\u2699", "T"),
154
- [LogLevelLabel.ALL]: useIcon("\u2709", "\u2192")
155
- };
156
-
157
- // ../config-tools/src/logger/format-timestamp.ts
158
- var formatTimestamp = (fullDateTime = false, date = /* @__PURE__ */ new Date()) => {
159
- return fullDateTime ? `${date.toLocaleDateString()} ${date.toLocaleTimeString()}` : `${date.toLocaleTimeString()}`;
160
- };
161
-
162
- // ../config-tools/src/logger/get-log-level.ts
163
- var getLogLevel = (label) => {
164
- switch (label) {
165
- case "all":
166
- return LogLevel.ALL;
167
- case "trace":
168
- return LogLevel.TRACE;
169
- case "debug":
170
- return LogLevel.DEBUG;
171
- case "performance":
172
- return LogLevel.PERFORMANCE;
173
- case "info":
174
- return LogLevel.INFO;
175
- case "warn":
176
- return LogLevel.WARN;
177
- case "error":
178
- return LogLevel.ERROR;
179
- case "fatal":
180
- return LogLevel.FATAL;
181
- case "silent":
182
- return LogLevel.SILENT;
183
- default:
184
- return LogLevel.INFO;
185
- }
186
- };
187
- var getLogLevelLabel = (logLevel = LogLevel.INFO) => {
188
- if (logLevel >= LogLevel.ALL) {
189
- return LogLevelLabel.ALL;
190
- }
191
- if (logLevel >= LogLevel.TRACE) {
192
- return LogLevelLabel.TRACE;
193
- }
194
- if (logLevel >= LogLevel.DEBUG) {
195
- return LogLevelLabel.DEBUG;
196
- }
197
- if (logLevel >= LogLevel.PERFORMANCE) {
198
- return LogLevelLabel.PERFORMANCE;
199
- }
200
- if (logLevel >= LogLevel.INFO) {
201
- return LogLevelLabel.INFO;
202
- }
203
- if (logLevel >= LogLevel.WARN) {
204
- return LogLevelLabel.WARN;
205
- }
206
- if (logLevel >= LogLevel.ERROR) {
207
- return LogLevelLabel.ERROR;
208
- }
209
- if (logLevel >= LogLevel.FATAL) {
210
- return LogLevelLabel.FATAL;
211
- }
212
- if (logLevel <= LogLevel.SILENT) {
213
- return LogLevelLabel.SILENT;
214
- }
215
- return LogLevelLabel.INFO;
216
- };
217
-
218
- // ../config-tools/src/logger/console.ts
219
- var getLogFn = (logLevel = LogLevel.INFO, config = {}, options = {}) => {
220
- const {
221
- chalk: _chalk = getChalk(),
222
- fullDateTime = false,
223
- hideDateTime = false
224
- } = options;
225
- const colors = !config.colors?.dark && !config.colors?.["base"] && !config.colors?.["base"]?.dark ? DEFAULT_COLOR_CONFIG : config.colors?.dark && typeof config.colors.dark === "string" ? config.colors : config.colors?.["base"]?.dark && typeof config.colors["base"].dark === "string" ? config.colors["base"].dark : config.colors?.["base"] ? config.colors?.["base"] : DEFAULT_COLOR_CONFIG;
226
- const configLogLevel = config.logLevel || process.env.STORM_LOG_LEVEL || LogLevelLabel.INFO;
227
- if (logLevel > getLogLevel(configLogLevel) || logLevel <= LogLevel.SILENT || getLogLevel(configLogLevel) <= LogLevel.SILENT) {
228
- return (_) => {
229
- };
230
- }
231
- if (typeof logLevel === "number" && LogLevel.FATAL >= logLevel) {
232
- return (message) => {
233
- console.error(
234
- `
235
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.fatal ?? DEFAULT_COLOR_CONFIG.dark.fatal)(
236
- `[${CONSOLE_ICONS[LogLevelLabel.FATAL]} Fatal] `
237
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
238
- `
239
- );
240
- };
241
- }
242
- if (typeof logLevel === "number" && LogLevel.ERROR >= logLevel) {
243
- return (message) => {
244
- console.error(
245
- `
246
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.danger ?? DEFAULT_COLOR_CONFIG.dark.danger)(
247
- `[${CONSOLE_ICONS[LogLevelLabel.ERROR]} Error] `
248
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
249
- `
250
- );
251
- };
252
- }
253
- if (typeof logLevel === "number" && LogLevel.WARN >= logLevel) {
254
- return (message) => {
255
- console.warn(
256
- `
257
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.warning ?? DEFAULT_COLOR_CONFIG.dark.warning)(
258
- `[${CONSOLE_ICONS[LogLevelLabel.WARN]} Warn] `
259
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
260
- `
261
- );
262
- };
263
- }
264
- if (typeof logLevel === "number" && LogLevel.SUCCESS >= logLevel) {
265
- return (message) => {
266
- console.info(
267
- `
268
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.success ?? DEFAULT_COLOR_CONFIG.dark.success)(
269
- `[${CONSOLE_ICONS[LogLevelLabel.SUCCESS]} Success] `
270
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
271
- `
272
- );
273
- };
274
- }
275
- if (typeof logLevel === "number" && LogLevel.INFO >= logLevel) {
276
- return (message) => {
277
- console.info(
278
- `
279
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.info ?? DEFAULT_COLOR_CONFIG.dark.info)(
280
- `[${CONSOLE_ICONS[LogLevelLabel.INFO]} Info] `
281
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
282
- `
283
- );
284
- };
285
- }
286
- if (typeof logLevel === "number" && LogLevel.PERFORMANCE >= logLevel) {
287
- return (message) => {
288
- console.debug(
289
- `
290
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.performance ?? DEFAULT_COLOR_CONFIG.dark.performance)(
291
- `[${CONSOLE_ICONS[LogLevelLabel.PERFORMANCE]} Performance] `
292
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
293
- `
294
- );
295
- };
296
- }
297
- if (typeof logLevel === "number" && LogLevel.DEBUG >= logLevel) {
298
- return (message) => {
299
- console.debug(
300
- `
301
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.debug ?? DEFAULT_COLOR_CONFIG.dark.debug)(
302
- `[${CONSOLE_ICONS[LogLevelLabel.DEBUG]} Debug] `
303
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
304
- `
305
- );
306
- };
307
- }
308
- if (typeof logLevel === "number" && LogLevel.TRACE >= logLevel) {
309
- return (message) => {
310
- console.debug(
311
- `
312
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex("#bbbbbb")(
313
- `[${CONSOLE_ICONS[LogLevelLabel.TRACE]} Trace] `
314
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
315
- `
316
- );
317
- };
318
- }
319
- return (message) => {
320
- console.log(
321
- `
322
- ${hideDateTime ? "" : `${_chalk.gray(formatTimestamp(fullDateTime))} `}${_chalk.hex(colors.brand ?? DEFAULT_COLOR_CONFIG.dark.brand)(
323
- `[${CONSOLE_ICONS[LogLevelLabel.ALL]} System] `
324
- )}${_chalk.bold.whiteBright(formatLogMessage(message))}
325
- `
326
- );
327
- };
328
- };
329
- var writeFatal = (message, config) => getLogFn(LogLevel.FATAL, config)(message);
330
- var writeError = (message, config) => getLogFn(LogLevel.ERROR, config)(message);
331
- var writeWarning = (message, config) => getLogFn(LogLevel.WARN, config)(message);
332
- var writeInfo = (message, config) => getLogFn(LogLevel.INFO, config)(message);
333
- var writeSuccess = (message, config) => getLogFn(LogLevel.SUCCESS, config)(message);
334
- var writePerformance = (message, config) => getLogFn(LogLevel.PERFORMANCE, config)(message);
335
- var writeDebug = (message, config) => getLogFn(LogLevel.DEBUG, config)(message);
336
- var writeTrace = (message, config) => getLogFn(LogLevel.TRACE, config)(message);
337
- var getStopwatch = (name) => {
338
- const start = /* @__PURE__ */ new Date();
339
- return () => {
340
- writePerformance(
341
- `The${name ? ` ${name}` : ""} process took ${formatDistanceToNow(start, {
342
- includeSeconds: true
343
- })} to complete`
344
- );
345
- };
346
- };
347
- var MAX_DEPTH = 6;
348
- var formatLogMessage = (message, options = {}, depth = 0) => {
349
- if (depth > MAX_DEPTH) {
350
- return "<max depth>";
351
- }
352
- const prefix = options.prefix ?? "-";
353
- const skip = options.skip ?? [];
354
- return typeof message === "undefined" || message === null || !message && typeof message !== "boolean" ? "<none>" : typeof message === "string" ? message : Array.isArray(message) ? `
355
- ${message.map((item, index) => ` ${prefix}> #${index} = ${formatLogMessage(item, { prefix: `${prefix}-`, skip }, depth + 1)}`).join("\n")}` : typeof message === "object" ? `
356
- ${Object.keys(message).filter((key) => !skip.includes(key)).map(
357
- (key) => ` ${prefix}> ${key} = ${_isFunction(message[key]) ? "<function>" : typeof message[key] === "object" ? formatLogMessage(
358
- message[key],
359
- { prefix: `${prefix}-`, skip },
360
- depth + 1
361
- ) : message[key]}`
362
- ).join("\n")}` : message;
363
- };
364
- var _isFunction = (value) => {
365
- try {
366
- return value instanceof Function || typeof value === "function" || !!(value?.constructor && value?.call && value?.apply);
367
- } catch {
368
- return false;
369
- }
370
- };
371
- var brandIcon = (config = {}, _chalk = getChalk()) => _chalk.hex(getColor("brand", config))("\u{1F5F2}");
372
-
373
- export {
374
- LogLevel,
375
- getLogLevel,
376
- getLogLevelLabel,
377
- writeFatal,
378
- writeError,
379
- writeWarning,
380
- writeInfo,
381
- writeSuccess,
382
- writeDebug,
383
- writeTrace,
384
- getStopwatch,
385
- formatLogMessage,
386
- brandIcon
387
- };
@@ -1,172 +0,0 @@
1
- // ../config-tools/src/utilities/correct-paths.ts
2
- var _DRIVE_LETTER_START_RE = /^[A-Za-z]:\//;
3
- function normalizeWindowsPath(input = "") {
4
- if (!input) {
5
- return input;
6
- }
7
- return input.replace(/\\/g, "/").replace(_DRIVE_LETTER_START_RE, (r) => r.toUpperCase());
8
- }
9
- var _UNC_REGEX = /^[/\\]{2}/;
10
- var _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
11
- var _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
12
- var _ROOT_FOLDER_RE = /^\/([A-Za-z]:)?$/;
13
- var correctPaths = function(path) {
14
- if (!path || path.length === 0) {
15
- return ".";
16
- }
17
- path = normalizeWindowsPath(path);
18
- const isUNCPath = path?.match(_UNC_REGEX);
19
- const isPathAbsolute = isAbsolute(path);
20
- const trailingSeparator = path[path.length - 1] === "/";
21
- path = normalizeString(path, !isPathAbsolute);
22
- if (path.length === 0) {
23
- if (isPathAbsolute) {
24
- return "/";
25
- }
26
- return trailingSeparator ? "./" : ".";
27
- }
28
- if (trailingSeparator) {
29
- path += "/";
30
- }
31
- if (_DRIVE_LETTER_RE.test(path)) {
32
- path += "/";
33
- }
34
- if (isUNCPath) {
35
- if (!isPathAbsolute) {
36
- return `//./${path}`;
37
- }
38
- return `//${path}`;
39
- }
40
- return isPathAbsolute && !isAbsolute(path) ? `/${path}` : path;
41
- };
42
- var joinPaths = function(...segments) {
43
- let path = "";
44
- for (const seg of segments) {
45
- if (!seg) {
46
- continue;
47
- }
48
- if (path.length > 0) {
49
- const pathTrailing = path[path.length - 1] === "/";
50
- const segLeading = seg[0] === "/";
51
- const both = pathTrailing && segLeading;
52
- if (both) {
53
- path += seg.slice(1);
54
- } else {
55
- path += pathTrailing || segLeading ? seg : `/${seg}`;
56
- }
57
- } else {
58
- path += seg;
59
- }
60
- }
61
- return correctPaths(path);
62
- };
63
- function cwd() {
64
- if (typeof process !== "undefined" && typeof process.cwd === "function") {
65
- return process.cwd().replace(/\\/g, "/");
66
- }
67
- return "/";
68
- }
69
- var resolve = function(...arguments_) {
70
- arguments_ = arguments_.map((argument) => normalizeWindowsPath(argument));
71
- let resolvedPath = "";
72
- let resolvedAbsolute = false;
73
- for (let index = arguments_.length - 1; index >= -1 && !resolvedAbsolute; index--) {
74
- const path = index >= 0 ? arguments_[index] : cwd();
75
- if (!path || path.length === 0) {
76
- continue;
77
- }
78
- resolvedPath = `${path}/${resolvedPath}`;
79
- resolvedAbsolute = isAbsolute(path);
80
- }
81
- resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute);
82
- if (resolvedAbsolute && !isAbsolute(resolvedPath)) {
83
- return `/${resolvedPath}`;
84
- }
85
- return resolvedPath.length > 0 ? resolvedPath : ".";
86
- };
87
- function normalizeString(path, allowAboveRoot) {
88
- let res = "";
89
- let lastSegmentLength = 0;
90
- let lastSlash = -1;
91
- let dots = 0;
92
- let char = null;
93
- for (let index = 0; index <= path.length; ++index) {
94
- if (index < path.length) {
95
- char = path[index];
96
- } else if (char === "/") {
97
- break;
98
- } else {
99
- char = "/";
100
- }
101
- if (char === "/") {
102
- if (lastSlash === index - 1 || dots === 1) {
103
- } else if (dots === 2) {
104
- if (res.length < 2 || lastSegmentLength !== 2 || res[res.length - 1] !== "." || res[res.length - 2] !== ".") {
105
- if (res.length > 2) {
106
- const lastSlashIndex = res.lastIndexOf("/");
107
- if (lastSlashIndex === -1) {
108
- res = "";
109
- lastSegmentLength = 0;
110
- } else {
111
- res = res.slice(0, lastSlashIndex);
112
- lastSegmentLength = res.length - 1 - res.lastIndexOf("/");
113
- }
114
- lastSlash = index;
115
- dots = 0;
116
- continue;
117
- } else if (res.length > 0) {
118
- res = "";
119
- lastSegmentLength = 0;
120
- lastSlash = index;
121
- dots = 0;
122
- continue;
123
- }
124
- }
125
- if (allowAboveRoot) {
126
- res += res.length > 0 ? "/.." : "..";
127
- lastSegmentLength = 2;
128
- }
129
- } else {
130
- if (res.length > 0) {
131
- res += `/${path.slice(lastSlash + 1, index)}`;
132
- } else {
133
- res = path.slice(lastSlash + 1, index);
134
- }
135
- lastSegmentLength = index - lastSlash - 1;
136
- }
137
- lastSlash = index;
138
- dots = 0;
139
- } else if (char === "." && dots !== -1) {
140
- ++dots;
141
- } else {
142
- dots = -1;
143
- }
144
- }
145
- return res;
146
- }
147
- var isAbsolute = function(p) {
148
- return _IS_ABSOLUTE_RE.test(p);
149
- };
150
- var relative = function(from, to) {
151
- const _from = resolve(from).replace(_ROOT_FOLDER_RE, "$1").split("/");
152
- const _to = resolve(to).replace(_ROOT_FOLDER_RE, "$1").split("/");
153
- if (_to[0][1] === ":" && _from[0][1] === ":" && _from[0] !== _to[0]) {
154
- return _to.join("/");
155
- }
156
- const _fromCopy = [..._from];
157
- for (const segment of _fromCopy) {
158
- if (_to[0] !== segment) {
159
- break;
160
- }
161
- _from.shift();
162
- _to.shift();
163
- }
164
- return [..._from.map(() => ".."), ..._to].join("/");
165
- };
166
-
167
- export {
168
- correctPaths,
169
- joinPaths,
170
- isAbsolute,
171
- relative
172
- };
@@ -1,148 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/lock-file.ts
2
-
3
-
4
-
5
-
6
- var _devkit = require('@nx/devkit');
7
- var _fs = require('fs');
8
- var _path = require('path');
9
-
10
-
11
-
12
- var _npmparser = require('nx/src/plugins/js/lock-file/npm-parser');
13
-
14
-
15
-
16
- var _pnpmparser = require('nx/src/plugins/js/lock-file/pnpm-parser');
17
-
18
-
19
-
20
- var _yarnparser = require('nx/src/plugins/js/lock-file/yarn-parser');
21
- var YARN_LOCK_FILE = "yarn.lock";
22
- var NPM_LOCK_FILE = "package-lock.json";
23
- var PNPM_LOCK_FILE = "pnpm-lock.yaml";
24
- var LOCK_FILES = [YARN_LOCK_FILE, NPM_LOCK_FILE, PNPM_LOCK_FILE];
25
- var YARN_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, YARN_LOCK_FILE);
26
- var NPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, NPM_LOCK_FILE);
27
- var PNPM_LOCK_PATH = _path.join.call(void 0, _devkit.workspaceRoot, PNPM_LOCK_FILE);
28
- function getLockFileNodes(packageManager, contents, lockFileHash, context) {
29
- try {
30
- if (packageManager === "yarn") {
31
- const packageJson = _devkit.readJsonFile.call(void 0,
32
- _path.join.call(void 0, context.workspaceRoot, "package.json")
33
- );
34
- return _yarnparser.getYarnLockfileNodes.call(void 0, contents, lockFileHash, packageJson);
35
- }
36
- if (packageManager === "pnpm") {
37
- return _pnpmparser.getPnpmLockfileNodes.call(void 0, contents, lockFileHash);
38
- }
39
- if (packageManager === "npm") {
40
- return _npmparser.getNpmLockfileNodes.call(void 0, contents, lockFileHash);
41
- }
42
- } catch (e) {
43
- if (!isPostInstallProcess()) {
44
- _devkit.output.error({
45
- title: `Failed to parse ${packageManager} lockfile`,
46
- bodyLines: errorBodyLines(e)
47
- });
48
- }
49
- throw e;
50
- }
51
- throw new Error(`Unknown package manager: ${packageManager}`);
52
- }
53
- function getLockFileDependencies(packageManager, contents, lockFileHash, context, keyMap) {
54
- try {
55
- if (packageManager === "yarn") {
56
- return _yarnparser.getYarnLockfileDependencies.call(void 0,
57
- contents,
58
- lockFileHash,
59
- context,
60
- keyMap
61
- );
62
- }
63
- if (packageManager === "pnpm") {
64
- return _pnpmparser.getPnpmLockfileDependencies.call(void 0,
65
- contents,
66
- lockFileHash,
67
- context,
68
- keyMap
69
- );
70
- }
71
- if (packageManager === "npm") {
72
- return _npmparser.getNpmLockfileDependencies.call(void 0,
73
- contents,
74
- lockFileHash,
75
- context,
76
- keyMap
77
- );
78
- }
79
- } catch (e) {
80
- if (!isPostInstallProcess()) {
81
- _devkit.output.error({
82
- title: `Failed to parse ${packageManager} lockfile`,
83
- bodyLines: errorBodyLines(e)
84
- });
85
- }
86
- throw e;
87
- }
88
- throw new Error(`Unknown package manager: ${packageManager}`);
89
- }
90
- function lockFileExists(packageManager) {
91
- if (packageManager === "yarn") {
92
- return _fs.existsSync.call(void 0, YARN_LOCK_PATH);
93
- }
94
- if (packageManager === "pnpm") {
95
- return _fs.existsSync.call(void 0, PNPM_LOCK_PATH);
96
- }
97
- if (packageManager === "npm") {
98
- return _fs.existsSync.call(void 0, NPM_LOCK_PATH);
99
- }
100
- throw new Error(
101
- `Unknown package manager ${packageManager} or lock file missing`
102
- );
103
- }
104
- function getLockFileName(packageManager) {
105
- if (packageManager === "yarn") {
106
- return YARN_LOCK_FILE;
107
- }
108
- if (packageManager === "pnpm") {
109
- return PNPM_LOCK_FILE;
110
- }
111
- if (packageManager === "npm") {
112
- return NPM_LOCK_FILE;
113
- }
114
- throw new Error(`Unknown package manager: ${packageManager}`);
115
- }
116
- function errorBodyLines(originalError, additionalInfo = []) {
117
- const result = [
118
- "Please open an issue at `https://github.com/storm-software/storm-ops/issues/new?template=1-bug.yml` and provide a reproduction.",
119
- ...additionalInfo
120
- ];
121
- if (originalError.message) {
122
- result.push(`
123
- Original error: ${originalError.message}
124
-
125
- `);
126
- }
127
- if (originalError.stack) {
128
- result.push(originalError.stack);
129
- }
130
- return result;
131
- }
132
- function isPostInstallProcess() {
133
- return process.env.npm_command === "install" && process.env.npm_lifecycle_event === "postinstall";
134
- }
135
-
136
-
137
-
138
-
139
-
140
-
141
-
142
-
143
-
144
-
145
-
146
-
147
-
148
- exports.YARN_LOCK_FILE = YARN_LOCK_FILE; exports.NPM_LOCK_FILE = NPM_LOCK_FILE; exports.PNPM_LOCK_FILE = PNPM_LOCK_FILE; exports.LOCK_FILES = LOCK_FILES; exports.YARN_LOCK_PATH = YARN_LOCK_PATH; exports.NPM_LOCK_PATH = NPM_LOCK_PATH; exports.PNPM_LOCK_PATH = PNPM_LOCK_PATH; exports.getLockFileNodes = getLockFileNodes; exports.getLockFileDependencies = getLockFileDependencies; exports.lockFileExists = lockFileExists; exports.getLockFileName = getLockFileName;