@storm-software/workspace-tools 1.295.84 → 1.295.85

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 (521) hide show
  1. package/package.json +25 -16
  2. package/CHANGELOG.md +0 -13094
  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 -324
  8. package/config/recommended.json +0 -328
  9. package/dist/chunk-2AVWFUXP.js +0 -112
  10. package/dist/chunk-2CXXVFU4.js +0 -213
  11. package/dist/chunk-2GQSCZ3J.mjs +0 -128
  12. package/dist/chunk-2L7ICILU.js +0 -364
  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-35ERFW7I.mjs +0 -150
  17. package/dist/chunk-35G4LHK2.mjs +0 -1510
  18. package/dist/chunk-3J2CP54B.mjs +0 -100
  19. package/dist/chunk-437WGH2M.mjs +0 -32
  20. package/dist/chunk-4AKDRRML.js +0 -339
  21. package/dist/chunk-4AR5RJMF.mjs +0 -402
  22. package/dist/chunk-4VWDSVQJ.mjs +0 -321
  23. package/dist/chunk-57OGFZNB.js +0 -321
  24. package/dist/chunk-5GZC2PF6.mjs +0 -0
  25. package/dist/chunk-5JYAH2VL.mjs +0 -388
  26. package/dist/chunk-5OS7GV5T.mjs +0 -51
  27. package/dist/chunk-6EMYX25V.js +0 -7
  28. package/dist/chunk-6HJ4EEBB.js +0 -102
  29. package/dist/chunk-6IXJEWJR.js +0 -93
  30. package/dist/chunk-6YZ3OUJB.mjs +0 -0
  31. package/dist/chunk-77B77QNY.mjs +0 -148
  32. package/dist/chunk-7CJRMBX3.js +0 -20
  33. package/dist/chunk-7JRL2LE3.js +0 -21
  34. package/dist/chunk-7MM5MBEP.mjs +0 -32
  35. package/dist/chunk-AH7KAAQJ.mjs +0 -17
  36. package/dist/chunk-ALL63TSY.mjs +0 -110
  37. package/dist/chunk-ANHKV7HZ.js +0 -22
  38. package/dist/chunk-AY3HOPOX.js +0 -41
  39. package/dist/chunk-BAPFD3TO.js +0 -79
  40. package/dist/chunk-BAYA5SVP.mjs +0 -319
  41. package/dist/chunk-BT7OBRJT.mjs +0 -76
  42. package/dist/chunk-C3TC7AUW.js +0 -1
  43. package/dist/chunk-CBVZ57E6.js +0 -150
  44. package/dist/chunk-CQDBLKPF.js +0 -172
  45. package/dist/chunk-CQIILJEF.js +0 -1510
  46. package/dist/chunk-DEP6TIXL.js +0 -50
  47. package/dist/chunk-DIUWF7BW.js +0 -17
  48. package/dist/chunk-DJZX3XBE.mjs +0 -105
  49. package/dist/chunk-EGI64HQ2.mjs +0 -22
  50. package/dist/chunk-EMX7LTEI.mjs +0 -50
  51. package/dist/chunk-EQMVQ3I7.mjs +0 -213
  52. package/dist/chunk-ETSIRKO5.js +0 -79
  53. package/dist/chunk-EYO6EPEG.mjs +0 -93
  54. package/dist/chunk-FFEJNAFP.js +0 -250
  55. package/dist/chunk-FPNWNZUL.mjs +0 -253
  56. package/dist/chunk-FQX7ZBQS.mjs +0 -32
  57. package/dist/chunk-GCDDSEDG.mjs +0 -540
  58. package/dist/chunk-GED6QYLK.mjs +0 -117
  59. package/dist/chunk-GHQJKIMQ.mjs +0 -0
  60. package/dist/chunk-GKLFEOKK.mjs +0 -163
  61. package/dist/chunk-GTBTSMUH.mjs +0 -10
  62. package/dist/chunk-GZA2CV3C.js +0 -402
  63. package/dist/chunk-HECOVC7R.mjs +0 -82
  64. package/dist/chunk-HXQRGLII.js +0 -81
  65. package/dist/chunk-IETUQQJT.mjs +0 -52
  66. package/dist/chunk-IIFXLZEH.js +0 -319
  67. package/dist/chunk-JDDKEYTF.js +0 -469
  68. package/dist/chunk-JGP4YWZY.js +0 -1
  69. package/dist/chunk-JPOHRWVM.mjs +0 -31
  70. package/dist/chunk-K4QMCCQB.mjs +0 -79
  71. package/dist/chunk-KBJ7IEXI.js +0 -1
  72. package/dist/chunk-KR72GKIT.mjs +0 -7
  73. package/dist/chunk-LMYTVXGX.js +0 -100
  74. package/dist/chunk-LQHVZMFV.js +0 -79
  75. package/dist/chunk-LULOWPU2.js +0 -110
  76. package/dist/chunk-LZ3H2OH5.mjs +0 -158
  77. package/dist/chunk-MNA3AU4B.mjs +0 -49
  78. package/dist/chunk-NUGNYGBF.js +0 -105
  79. package/dist/chunk-O7Z2YGFU.js +0 -52
  80. package/dist/chunk-OBATTMGC.mjs +0 -105
  81. package/dist/chunk-OKSECMVK.js +0 -32
  82. package/dist/chunk-P56QF3XG.js +0 -74
  83. package/dist/chunk-P5P43FOZ.mjs +0 -0
  84. package/dist/chunk-P6HSE7LH.js +0 -1
  85. package/dist/chunk-PB5565L7.js +0 -37
  86. package/dist/chunk-PICVMVJQ.mjs +0 -364
  87. package/dist/chunk-PMPKOMMD.js +0 -158
  88. package/dist/chunk-PRW5IUAC.js +0 -31
  89. package/dist/chunk-QC5ON3X4.mjs +0 -40
  90. package/dist/chunk-QQB6GFYM.mjs +0 -79
  91. package/dist/chunk-QSNWB7A5.mjs +0 -41
  92. package/dist/chunk-QVYCDING.js +0 -23
  93. package/dist/chunk-RCSUK5YZ.mjs +0 -77
  94. package/dist/chunk-S2KOD2HL.mjs +0 -128
  95. package/dist/chunk-SAIDGUHG.mjs +0 -0
  96. package/dist/chunk-SGI4JCLV.js +0 -540
  97. package/dist/chunk-SW2E5MQJ.mjs +0 -112
  98. package/dist/chunk-SZWM7COV.js +0 -40
  99. package/dist/chunk-TAP26ZJQ.js +0 -128
  100. package/dist/chunk-TBW5MCN6.mjs +0 -172
  101. package/dist/chunk-THA4SGMV.js +0 -32
  102. package/dist/chunk-TM2CRDJW.js +0 -148
  103. package/dist/chunk-U5JPGO47.js +0 -117
  104. package/dist/chunk-UBVTASOE.mjs +0 -62
  105. package/dist/chunk-UV6QIFS3.js +0 -388
  106. package/dist/chunk-V5K2PDVY.mjs +0 -339
  107. package/dist/chunk-VC4FGY7P.js +0 -49
  108. package/dist/chunk-VXHOSAQ7.js +0 -62
  109. package/dist/chunk-W2C5IGWW.mjs +0 -23
  110. package/dist/chunk-WJ5AG2IU.js +0 -76
  111. package/dist/chunk-WQUWUZZ4.mjs +0 -32
  112. package/dist/chunk-WTWQAZUM.js +0 -128
  113. package/dist/chunk-X2UWPTFU.mjs +0 -37
  114. package/dist/chunk-X3HC3R2I.js +0 -51
  115. package/dist/chunk-XNHWWPSK.js +0 -32
  116. package/dist/chunk-YRGMZRC3.mjs +0 -469
  117. package/dist/chunk-YYLV7UA6.js +0 -1
  118. package/dist/chunk-ZCTECGQS.mjs +0 -21
  119. package/dist/chunk-ZYI527ZS.js +0 -32
  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-B9nl4zZh.d.mts +0 -38
  151. package/dist/generator-BKKfRfw5.d.mts +0 -108
  152. package/dist/generator-CKzlyVl8.d.ts +0 -38
  153. package/dist/generator-CPAEsIX9.d.ts +0 -108
  154. package/dist/generator-Ce5Jjv19.d.mts +0 -130
  155. package/dist/generator-DMnwA7AM.d.ts +0 -130
  156. package/dist/generator-DN9Th4ZG.d.ts +0 -130
  157. package/dist/generator-DVJjzR9Q.d.mts +0 -130
  158. package/dist/generator-DX2foast.d.ts +0 -130
  159. package/dist/generator-rIlu4Sq2.d.mts +0 -130
  160. package/dist/generators.d.mts +0 -13
  161. package/dist/generators.d.ts +0 -13
  162. package/dist/generators.js +0 -36
  163. package/dist/generators.mjs +0 -37
  164. package/dist/index.d.mts +0 -61
  165. package/dist/index.d.ts +0 -61
  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 -11
  173. package/dist/src/base/base-executor.d.ts +0 -11
  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 -11
  181. package/dist/src/base/base-generator.d.ts +0 -11
  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 -155
  193. package/dist/src/base/index.d.ts +0 -155
  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.json +0 -85
  209. package/dist/src/executors/cargo-build/untyped.d.mts +0 -5
  210. package/dist/src/executors/cargo-build/untyped.d.ts +0 -5
  211. package/dist/src/executors/cargo-build/untyped.js +0 -25
  212. package/dist/src/executors/cargo-build/untyped.mjs +0 -26
  213. package/dist/src/executors/cargo-check/executor.d.mts +0 -2
  214. package/dist/src/executors/cargo-check/executor.d.ts +0 -2
  215. package/dist/src/executors/cargo-check/executor.js +0 -15
  216. package/dist/src/executors/cargo-check/executor.mjs +0 -16
  217. package/dist/src/executors/cargo-check/schema.json +0 -86
  218. package/dist/src/executors/cargo-check/untyped.d.mts +0 -5
  219. package/dist/src/executors/cargo-check/untyped.d.ts +0 -5
  220. package/dist/src/executors/cargo-check/untyped.js +0 -18
  221. package/dist/src/executors/cargo-check/untyped.mjs +0 -19
  222. package/dist/src/executors/cargo-clippy/executor.d.mts +0 -2
  223. package/dist/src/executors/cargo-clippy/executor.d.ts +0 -2
  224. package/dist/src/executors/cargo-clippy/executor.js +0 -15
  225. package/dist/src/executors/cargo-clippy/executor.mjs +0 -16
  226. package/dist/src/executors/cargo-clippy/schema.json +0 -92
  227. package/dist/src/executors/cargo-clippy/untyped.d.mts +0 -5
  228. package/dist/src/executors/cargo-clippy/untyped.d.ts +0 -5
  229. package/dist/src/executors/cargo-clippy/untyped.js +0 -25
  230. package/dist/src/executors/cargo-clippy/untyped.mjs +0 -26
  231. package/dist/src/executors/cargo-doc/executor.d.mts +0 -2
  232. package/dist/src/executors/cargo-doc/executor.d.ts +0 -2
  233. package/dist/src/executors/cargo-doc/executor.js +0 -15
  234. package/dist/src/executors/cargo-doc/executor.mjs +0 -16
  235. package/dist/src/executors/cargo-doc/schema.json +0 -162
  236. package/dist/src/executors/cargo-doc/untyped.d.mts +0 -5
  237. package/dist/src/executors/cargo-doc/untyped.d.ts +0 -5
  238. package/dist/src/executors/cargo-doc/untyped.js +0 -50
  239. package/dist/src/executors/cargo-doc/untyped.mjs +0 -51
  240. package/dist/src/executors/cargo-format/executor.d.mts +0 -2
  241. package/dist/src/executors/cargo-format/executor.d.ts +0 -2
  242. package/dist/src/executors/cargo-format/executor.js +0 -15
  243. package/dist/src/executors/cargo-format/executor.mjs +0 -16
  244. package/dist/src/executors/cargo-format/schema.json +0 -86
  245. package/dist/src/executors/cargo-format/untyped.d.mts +0 -5
  246. package/dist/src/executors/cargo-format/untyped.d.ts +0 -5
  247. package/dist/src/executors/cargo-format/untyped.js +0 -18
  248. package/dist/src/executors/cargo-format/untyped.mjs +0 -19
  249. package/dist/src/executors/cargo-publish/executor.d.mts +0 -2
  250. package/dist/src/executors/cargo-publish/executor.d.ts +0 -2
  251. package/dist/src/executors/cargo-publish/executor.js +0 -10
  252. package/dist/src/executors/cargo-publish/executor.mjs +0 -11
  253. package/dist/src/executors/cargo-publish/schema.json +0 -105
  254. package/dist/src/executors/cargo-publish/untyped.d.mts +0 -5
  255. package/dist/src/executors/cargo-publish/untyped.d.ts +0 -5
  256. package/dist/src/executors/cargo-publish/untyped.js +0 -40
  257. package/dist/src/executors/cargo-publish/untyped.mjs +0 -41
  258. package/dist/src/executors/clean-package/executor.d.mts +0 -13
  259. package/dist/src/executors/clean-package/executor.d.ts +0 -13
  260. package/dist/src/executors/clean-package/executor.js +0 -325
  261. package/dist/src/executors/clean-package/executor.mjs +0 -326
  262. package/dist/src/executors/clean-package/untyped.d.mts +0 -5
  263. package/dist/src/executors/clean-package/untyped.d.ts +0 -5
  264. package/dist/src/executors/clean-package/untyped.js +0 -64
  265. package/dist/src/executors/clean-package/untyped.mjs +0 -65
  266. package/dist/src/executors/esbuild/executor.d.mts +0 -5
  267. package/dist/src/executors/esbuild/executor.d.ts +0 -5
  268. package/dist/src/executors/esbuild/executor.js +0 -15
  269. package/dist/src/executors/esbuild/executor.mjs +0 -16
  270. package/dist/src/executors/esbuild/untyped.d.mts +0 -5
  271. package/dist/src/executors/esbuild/untyped.d.ts +0 -5
  272. package/dist/src/executors/esbuild/untyped.js +0 -27
  273. package/dist/src/executors/esbuild/untyped.mjs +0 -28
  274. package/dist/src/executors/napi/executor.d.mts +0 -5
  275. package/dist/src/executors/napi/executor.d.ts +0 -5
  276. package/dist/src/executors/napi/executor.js +0 -15
  277. package/dist/src/executors/napi/executor.mjs +0 -16
  278. package/dist/src/executors/napi/untyped.d.mts +0 -5
  279. package/dist/src/executors/napi/untyped.d.ts +0 -5
  280. package/dist/src/executors/napi/untyped.js +0 -241
  281. package/dist/src/executors/napi/untyped.mjs +0 -242
  282. package/dist/src/executors/npm-publish/executor.d.mts +0 -2
  283. package/dist/src/executors/npm-publish/executor.d.ts +0 -2
  284. package/dist/src/executors/npm-publish/executor.js +0 -15
  285. package/dist/src/executors/npm-publish/executor.mjs +0 -16
  286. package/dist/src/executors/npm-publish/untyped.d.mts +0 -5
  287. package/dist/src/executors/npm-publish/untyped.d.ts +0 -5
  288. package/dist/src/executors/npm-publish/untyped.js +0 -66
  289. package/dist/src/executors/npm-publish/untyped.mjs +0 -68
  290. package/dist/src/executors/size-limit/executor.d.mts +0 -5
  291. package/dist/src/executors/size-limit/executor.d.ts +0 -5
  292. package/dist/src/executors/size-limit/executor.js +0 -14
  293. package/dist/src/executors/size-limit/executor.mjs +0 -15
  294. package/dist/src/executors/size-limit/untyped.d.mts +0 -5
  295. package/dist/src/executors/size-limit/untyped.d.ts +0 -5
  296. package/dist/src/executors/size-limit/untyped.js +0 -28
  297. package/dist/src/executors/size-limit/untyped.mjs +0 -29
  298. package/dist/src/executors/tsdown/executor.d.mts +0 -5
  299. package/dist/src/executors/tsdown/executor.d.ts +0 -5
  300. package/dist/src/executors/tsdown/executor.js +0 -15
  301. package/dist/src/executors/tsdown/executor.mjs +0 -16
  302. package/dist/src/executors/tsdown/untyped.d.mts +0 -5
  303. package/dist/src/executors/tsdown/untyped.d.ts +0 -5
  304. package/dist/src/executors/tsdown/untyped.js +0 -18
  305. package/dist/src/executors/tsdown/untyped.mjs +0 -19
  306. package/dist/src/executors/typia/executor.d.mts +0 -5
  307. package/dist/src/executors/typia/executor.d.ts +0 -5
  308. package/dist/src/executors/typia/executor.js +0 -14
  309. package/dist/src/executors/typia/executor.mjs +0 -15
  310. package/dist/src/executors/typia/untyped.d.mts +0 -5
  311. package/dist/src/executors/typia/untyped.d.ts +0 -5
  312. package/dist/src/executors/typia/untyped.js +0 -54
  313. package/dist/src/executors/typia/untyped.mjs +0 -55
  314. package/dist/src/executors/unbuild/executor.d.mts +0 -5
  315. package/dist/src/executors/unbuild/executor.d.ts +0 -5
  316. package/dist/src/executors/unbuild/executor.js +0 -14
  317. package/dist/src/executors/unbuild/executor.mjs +0 -15
  318. package/dist/src/executors/unbuild/untyped.d.mts +0 -5
  319. package/dist/src/executors/unbuild/untyped.d.ts +0 -5
  320. package/dist/src/executors/unbuild/untyped.js +0 -158
  321. package/dist/src/executors/unbuild/untyped.mjs +0 -159
  322. package/dist/src/generators/browser-library/files/README.md +0 -58
  323. package/dist/src/generators/browser-library/files/jest.config.ts +0 -3
  324. package/dist/src/generators/browser-library/files/src/index.ts.template +0 -10
  325. package/dist/src/generators/browser-library/files/tsconfig.spec.json +0 -13
  326. package/dist/src/generators/browser-library/generator.d.mts +0 -8
  327. package/dist/src/generators/browser-library/generator.d.ts +0 -8
  328. package/dist/src/generators/browser-library/generator.js +0 -17
  329. package/dist/src/generators/browser-library/generator.mjs +0 -18
  330. package/dist/src/generators/browser-library/untyped.d.mts +0 -5
  331. package/dist/src/generators/browser-library/untyped.d.ts +0 -5
  332. package/dist/src/generators/browser-library/untyped.js +0 -36
  333. package/dist/src/generators/browser-library/untyped.mjs +0 -37
  334. package/dist/src/generators/config-schema/generator.d.mts +0 -8
  335. package/dist/src/generators/config-schema/generator.d.ts +0 -8
  336. package/dist/src/generators/config-schema/generator.js +0 -14
  337. package/dist/src/generators/config-schema/generator.mjs +0 -15
  338. package/dist/src/generators/config-schema/untyped.d.mts +0 -5
  339. package/dist/src/generators/config-schema/untyped.d.ts +0 -5
  340. package/dist/src/generators/config-schema/untyped.js +0 -25
  341. package/dist/src/generators/config-schema/untyped.mjs +0 -26
  342. package/dist/src/generators/init/init.d.mts +0 -2
  343. package/dist/src/generators/init/init.d.ts +0 -2
  344. package/dist/src/generators/init/init.js +0 -8
  345. package/dist/src/generators/init/init.mjs +0 -9
  346. package/dist/src/generators/init/untyped.d.mts +0 -5
  347. package/dist/src/generators/init/untyped.d.ts +0 -5
  348. package/dist/src/generators/init/untyped.js +0 -19
  349. package/dist/src/generators/init/untyped.mjs +0 -21
  350. package/dist/src/generators/neutral-library/files/README.md +0 -58
  351. package/dist/src/generators/neutral-library/files/jest.config.ts +0 -3
  352. package/dist/src/generators/neutral-library/files/src/index.ts.template +0 -10
  353. package/dist/src/generators/neutral-library/files/tsconfig.spec.json +0 -13
  354. package/dist/src/generators/neutral-library/generator.d.mts +0 -8
  355. package/dist/src/generators/neutral-library/generator.d.ts +0 -8
  356. package/dist/src/generators/neutral-library/generator.js +0 -17
  357. package/dist/src/generators/neutral-library/generator.mjs +0 -18
  358. package/dist/src/generators/neutral-library/untyped.d.mts +0 -5
  359. package/dist/src/generators/neutral-library/untyped.d.ts +0 -5
  360. package/dist/src/generators/neutral-library/untyped.js +0 -36
  361. package/dist/src/generators/neutral-library/untyped.mjs +0 -37
  362. package/dist/src/generators/node-library/files/README.md +0 -63
  363. package/dist/src/generators/node-library/files/jest.config.ts +0 -3
  364. package/dist/src/generators/node-library/files/src/index.ts.template +0 -10
  365. package/dist/src/generators/node-library/files/tsconfig.spec.json +0 -13
  366. package/dist/src/generators/node-library/generator.d.mts +0 -8
  367. package/dist/src/generators/node-library/generator.d.ts +0 -8
  368. package/dist/src/generators/node-library/generator.js +0 -17
  369. package/dist/src/generators/node-library/generator.mjs +0 -18
  370. package/dist/src/generators/node-library/untyped.d.mts +0 -5
  371. package/dist/src/generators/node-library/untyped.d.ts +0 -5
  372. package/dist/src/generators/node-library/untyped.js +0 -36
  373. package/dist/src/generators/node-library/untyped.mjs +0 -37
  374. package/dist/src/generators/preset/files/LICENSE +0 -201
  375. package/dist/src/generators/preset/files/README.md.template +0 -282
  376. package/dist/src/generators/preset/files/docs/readme-templates/README.footer.md.template +0 -123
  377. package/dist/src/generators/preset/files/docs/readme-templates/README.header.md.template +0 -22
  378. package/dist/src/generators/preset/files/eslint.config.js.template +0 -7
  379. package/dist/src/generators/preset/files/knip.json +0 -20
  380. package/dist/src/generators/preset/files/lefthook.json +0 -106
  381. package/dist/src/generators/preset/files/nx.json +0 -7
  382. package/dist/src/generators/preset/files/pnpm-workspace.yaml +0 -6
  383. package/dist/src/generators/preset/files/socket.yaml +0 -20
  384. package/dist/src/generators/preset/files/storm.json.template +0 -12
  385. package/dist/src/generators/preset/files/tsconfig.base.json.template +0 -11
  386. package/dist/src/generators/preset/generator.d.mts +0 -8
  387. package/dist/src/generators/preset/generator.d.ts +0 -8
  388. package/dist/src/generators/preset/generator.js +0 -15
  389. package/dist/src/generators/preset/generator.mjs +0 -16
  390. package/dist/src/generators/preset/untyped.d.mts +0 -5
  391. package/dist/src/generators/preset/untyped.d.ts +0 -5
  392. package/dist/src/generators/preset/untyped.js +0 -94
  393. package/dist/src/generators/preset/untyped.mjs +0 -95
  394. package/dist/src/plugins/rust/cargo-toml.d.mts +0 -47
  395. package/dist/src/plugins/rust/cargo-toml.d.ts +0 -47
  396. package/dist/src/plugins/rust/cargo-toml.js +0 -17
  397. package/dist/src/plugins/rust/cargo-toml.mjs +0 -18
  398. package/dist/src/plugins/rust/index.d.mts +0 -2
  399. package/dist/src/plugins/rust/index.d.ts +0 -2
  400. package/dist/src/plugins/rust/index.js +0 -17
  401. package/dist/src/plugins/rust/index.mjs +0 -18
  402. package/dist/src/plugins/typescript/index.d.mts +0 -65
  403. package/dist/src/plugins/typescript/index.d.ts +0 -65
  404. package/dist/src/plugins/typescript/index.js +0 -452
  405. package/dist/src/plugins/typescript/index.mjs +0 -453
  406. package/dist/src/plugins/typescript/tsdown.d.mts +0 -13
  407. package/dist/src/plugins/typescript/tsdown.d.ts +0 -13
  408. package/dist/src/plugins/typescript/tsdown.js +0 -178
  409. package/dist/src/plugins/typescript/tsdown.mjs +0 -179
  410. package/dist/src/plugins/typescript/tsup.d.mts +0 -13
  411. package/dist/src/plugins/typescript/tsup.d.ts +0 -13
  412. package/dist/src/plugins/typescript/tsup.js +0 -178
  413. package/dist/src/plugins/typescript/tsup.mjs +0 -179
  414. package/dist/src/plugins/typescript/untyped-schema.d.mts +0 -7
  415. package/dist/src/plugins/typescript/untyped-schema.d.ts +0 -7
  416. package/dist/src/plugins/typescript/untyped-schema.js +0 -151
  417. package/dist/src/plugins/typescript/untyped-schema.mjs +0 -152
  418. package/dist/src/release/index.d.mts +0 -11
  419. package/dist/src/release/index.d.ts +0 -11
  420. package/dist/src/release/index.js +0 -17
  421. package/dist/src/release/index.mjs +0 -18
  422. package/dist/src/release/js-version-actions.d.mts +0 -44
  423. package/dist/src/release/js-version-actions.d.ts +0 -44
  424. package/dist/src/release/js-version-actions.js +0 -10
  425. package/dist/src/release/js-version-actions.mjs +0 -11
  426. package/dist/src/release/rust-version-actions.d.mts +0 -56
  427. package/dist/src/release/rust-version-actions.d.ts +0 -56
  428. package/dist/src/release/rust-version-actions.js +0 -12
  429. package/dist/src/release/rust-version-actions.mjs +0 -13
  430. package/dist/src/types.d.mts +0 -6
  431. package/dist/src/types.d.ts +0 -6
  432. package/dist/src/types.js +0 -18
  433. package/dist/src/types.mjs +0 -19
  434. package/dist/src/utils/apply-workspace-tokens.d.mts +0 -11
  435. package/dist/src/utils/apply-workspace-tokens.d.ts +0 -11
  436. package/dist/src/utils/apply-workspace-tokens.js +0 -8
  437. package/dist/src/utils/apply-workspace-tokens.mjs +0 -9
  438. package/dist/src/utils/cargo.d.mts +0 -118
  439. package/dist/src/utils/cargo.d.ts +0 -118
  440. package/dist/src/utils/cargo.js +0 -22
  441. package/dist/src/utils/cargo.mjs +0 -23
  442. package/dist/src/utils/create-cli-options.d.mts +0 -3
  443. package/dist/src/utils/create-cli-options.d.ts +0 -3
  444. package/dist/src/utils/create-cli-options.js +0 -6
  445. package/dist/src/utils/create-cli-options.mjs +0 -7
  446. package/dist/src/utils/get-project-configurations.d.mts +0 -16
  447. package/dist/src/utils/get-project-configurations.d.ts +0 -16
  448. package/dist/src/utils/get-project-configurations.js +0 -10
  449. package/dist/src/utils/get-project-configurations.mjs +0 -11
  450. package/dist/src/utils/index.d.mts +0 -19
  451. package/dist/src/utils/index.d.ts +0 -19
  452. package/dist/src/utils/index.js +0 -153
  453. package/dist/src/utils/index.mjs +0 -154
  454. package/dist/src/utils/lock-file.d.mts +0 -29
  455. package/dist/src/utils/lock-file.d.ts +0 -29
  456. package/dist/src/utils/lock-file.js +0 -26
  457. package/dist/src/utils/lock-file.mjs +0 -27
  458. package/dist/src/utils/nx-json.d.mts +0 -33
  459. package/dist/src/utils/nx-json.d.ts +0 -33
  460. package/dist/src/utils/nx-json.js +0 -10
  461. package/dist/src/utils/nx-json.mjs +0 -11
  462. package/dist/src/utils/package-helpers.d.mts +0 -24
  463. package/dist/src/utils/package-helpers.d.ts +0 -24
  464. package/dist/src/utils/package-helpers.js +0 -14
  465. package/dist/src/utils/package-helpers.mjs +0 -15
  466. package/dist/src/utils/plugin-helpers.d.mts +0 -20
  467. package/dist/src/utils/plugin-helpers.d.ts +0 -20
  468. package/dist/src/utils/plugin-helpers.js +0 -15
  469. package/dist/src/utils/plugin-helpers.mjs +0 -16
  470. package/dist/src/utils/project-tags.d.mts +0 -65
  471. package/dist/src/utils/project-tags.d.ts +0 -65
  472. package/dist/src/utils/project-tags.js +0 -20
  473. package/dist/src/utils/project-tags.mjs +0 -21
  474. package/dist/src/utils/registry-helpers.d.mts +0 -11
  475. package/dist/src/utils/registry-helpers.d.ts +0 -11
  476. package/dist/src/utils/registry-helpers.js +0 -6
  477. package/dist/src/utils/registry-helpers.mjs +0 -7
  478. package/dist/src/utils/typia-transform.d.mts +0 -5
  479. package/dist/src/utils/typia-transform.d.ts +0 -5
  480. package/dist/src/utils/typia-transform.js +0 -6
  481. package/dist/src/utils/typia-transform.mjs +0 -7
  482. package/dist/src/utils/versions.d.mts +0 -20
  483. package/dist/src/utils/versions.d.ts +0 -20
  484. package/dist/src/utils/versions.js +0 -40
  485. package/dist/src/utils/versions.mjs +0 -41
  486. package/dist/types-Bvfw-xMk.d.ts +0 -77
  487. package/dist/types-D2zxYEAh.d.mts +0 -41
  488. package/dist/types-D2zxYEAh.d.ts +0 -41
  489. package/dist/types-DLXcfy35.d.mts +0 -77
  490. package/dist/types-Dug-2iKz.d.mts +0 -243
  491. package/dist/types-Dug-2iKz.d.ts +0 -243
  492. package/docs/api/base/base-executor.schema.md +0 -15
  493. package/docs/api/base/base-generator.schema.md +0 -15
  494. package/docs/api/base/cargo-base-executor.schema.md +0 -89
  495. package/docs/api/base/typescript-build-executor.schema.md +0 -125
  496. package/docs/api/base/typescript-library-generator.schema.md +0 -129
  497. package/docs/api/executors/cargo-build/schema.md +0 -89
  498. package/docs/api/executors/cargo-check/schema.md +0 -89
  499. package/docs/api/executors/cargo-clippy/schema.md +0 -98
  500. package/docs/api/executors/cargo-doc/schema.md +0 -129
  501. package/docs/api/executors/cargo-format/schema.md +0 -89
  502. package/docs/api/executors/cargo-publish/schema.md +0 -116
  503. package/docs/api/executors/clean-package/schema.md +0 -64
  504. package/docs/api/executors/esbuild/schema.md +0 -125
  505. package/docs/api/executors/napi/schema.md +0 -300
  506. package/docs/api/executors/npm-publish/schema.md +0 -73
  507. package/docs/api/executors/size-limit/schema.md +0 -24
  508. package/docs/api/executors/tsdown/schema.md +0 -125
  509. package/docs/api/executors/typia/schema.md +0 -46
  510. package/docs/api/executors/unbuild/schema.md +0 -222
  511. package/docs/api/generators/browser-library/files/README.md +0 -58
  512. package/docs/api/generators/browser-library/schema.md +0 -129
  513. package/docs/api/generators/config-schema/schema.md +0 -25
  514. package/docs/api/generators/init/schema.md +0 -15
  515. package/docs/api/generators/neutral-library/files/README.md +0 -58
  516. package/docs/api/generators/neutral-library/schema.md +0 -129
  517. package/docs/api/generators/node-library/files/README.md +0 -63
  518. package/docs/api/generators/node-library/schema.md +0 -129
  519. package/docs/api/generators/preset/schema.md +0 -110
  520. package/executors.json +0 -69
  521. package/generators.json +0 -51
@@ -1,540 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
-
3
- var _chunk6IXJEWJRjs = require('./chunk-6IXJEWJR.js');
4
-
5
-
6
- var _chunkCQIILJEFjs = require('./chunk-CQIILJEF.js');
7
-
8
-
9
- var _chunkLMYTVXGXjs = require('./chunk-LMYTVXGX.js');
10
-
11
-
12
- var _chunkCQDBLKPFjs = require('./chunk-CQDBLKPF.js');
13
-
14
- // ../npm-tools/src/helpers/get-registry.ts
15
- var _child_process = require('child_process');
16
-
17
- // ../npm-tools/src/constants.ts
18
- var DEFAULT_NPM_REGISTRY = "https://registry.npmjs.org";
19
-
20
- // ../npm-tools/src/helpers/get-registry.ts
21
- async function getRegistry(executable = "npm") {
22
- return new Promise((resolve, reject) => {
23
- _child_process.exec.call(void 0, `${executable} config get registry`, (error, stdout, stderr) => {
24
- if (error && !error.message.toLowerCase().trim().startsWith("npm warn")) {
25
- return reject(error);
26
- }
27
- if (stderr && !stderr.toLowerCase().trim().startsWith("npm warn")) {
28
- return reject(stderr);
29
- }
30
- return resolve(stdout.trim());
31
- });
32
- });
33
- }
34
- async function getNpmRegistry() {
35
- if (process.env.STORM_REGISTRY_NPM) {
36
- return process.env.STORM_REGISTRY_NPM;
37
- }
38
- const workspaceConfig = await _chunkCQIILJEFjs.getConfig.call(void 0, );
39
- if (_optionalChain([workspaceConfig, 'optionalAccess', _ => _.registry, 'optionalAccess', _2 => _2.npm])) {
40
- return _optionalChain([workspaceConfig, 'optionalAccess', _3 => _3.registry, 'optionalAccess', _4 => _4.npm]);
41
- }
42
- return DEFAULT_NPM_REGISTRY;
43
- }
44
-
45
- // ../pnpm-tools/src/helpers/replace-deps-aliases.ts
46
-
47
-
48
-
49
- var _devkit = require('@nx/devkit');
50
- var _fs = require('fs');
51
- var _promises = require('fs/promises');
52
- var _prettier = require('prettier');
53
-
54
- // ../npm-tools/src/helpers/get-version.ts
55
-
56
-
57
- // ../pnpm-tools/src/helpers/catalog.ts
58
- var _semver = require('semver');
59
-
60
- // ../pnpm-tools/src/helpers/pnpm-workspace.ts
61
-
62
-
63
- var _yaml = require('yaml');
64
- function getPnpmWorkspaceFilePath(workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, process.cwd())) {
65
- const pnpmWorkspacePath = _chunkCQDBLKPFjs.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
66
- if (!_fs.existsSync.call(void 0, pnpmWorkspacePath)) {
67
- throw new Error(
68
- `No \`pnpm-workspace.yaml\` file found in workspace root (searched in: ${pnpmWorkspacePath}).`
69
- );
70
- }
71
- return pnpmWorkspacePath;
72
- }
73
- async function readPnpmWorkspaceFile(workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, process.cwd())) {
74
- const result = await _promises.readFile.call(void 0,
75
- getPnpmWorkspaceFilePath(workspaceRoot),
76
- "utf8"
77
- );
78
- if (!result) {
79
- return void 0;
80
- }
81
- return _yaml.parse.call(void 0, result);
82
- }
83
-
84
- // ../pnpm-tools/src/helpers/catalog.ts
85
- async function getCatalogSafe(workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, process.cwd())) {
86
- const pnpmWorkspaceFile = await readPnpmWorkspaceFile(workspaceRoot);
87
- if (!pnpmWorkspaceFile) {
88
- throw new Error("No pnpm-workspace.yaml file found");
89
- }
90
- if (_optionalChain([pnpmWorkspaceFile, 'optionalAccess', _5 => _5.catalog])) {
91
- return Object.fromEntries(
92
- Object.entries(pnpmWorkspaceFile.catalog).map(([key, value]) => {
93
- return [key, value.replaceAll('"', "").replaceAll("'", "")];
94
- })
95
- );
96
- } else {
97
- console.warn(
98
- `No catalog found in pnpm-workspace.yaml file located in workspace root: ${workspaceRoot}
99
- File content: ${JSON.stringify(
100
- pnpmWorkspaceFile,
101
- null,
102
- 2
103
- )}`
104
- );
105
- }
106
- return void 0;
107
- }
108
- async function getCatalog(workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, process.cwd())) {
109
- const catalog = await getCatalogSafe(workspaceRoot);
110
- if (!catalog) {
111
- throw new Error("No catalog entries found in pnpm-workspace.yaml file");
112
- }
113
- return catalog;
114
- }
115
-
116
- // ../pnpm-tools/src/helpers/replace-deps-aliases.ts
117
- async function replaceDepsAliases(packageRoot = process.cwd(), workspaceRoot = _chunkLMYTVXGXjs.findWorkspaceRoot.call(void 0, packageRoot)) {
118
- const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
119
- const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
120
- if (!packageJsonFile) {
121
- throw new Error(
122
- "No package.json file found in package root: " + packageRoot
123
- );
124
- }
125
- const catalog = await getCatalog(workspaceRoot);
126
- const packageJson = JSON.parse(packageJsonFile);
127
- const pnpmWorkspacePath = _chunkCQDBLKPFjs.joinPaths.call(void 0, workspaceRoot, "pnpm-workspace.yaml");
128
- if (!_fs.existsSync.call(void 0, pnpmWorkspacePath)) {
129
- console.warn(
130
- `No \`pnpm-workspace.yaml\` file found in workspace root (searching in: ${pnpmWorkspacePath}). Skipping pnpm catalog read for now.`
131
- );
132
- return packageJson;
133
- }
134
- if (!catalog) {
135
- console.warn(
136
- `No pnpm catalog found. Skipping dependencies replacement for now.`
137
- );
138
- return;
139
- }
140
- for (const dependencyType of [
141
- "dependencies",
142
- "devDependencies",
143
- "peerDependencies"
144
- ]) {
145
- const dependencies = packageJson[dependencyType];
146
- if (!dependencies) {
147
- continue;
148
- }
149
- for (const dependencyName of Object.keys(dependencies)) {
150
- if (dependencies[dependencyName] === "catalog:") {
151
- if (!catalog) {
152
- throw new Error(
153
- `Dependency ${dependencyName} is marked as \`catalog:\`, but no catalog exists in the workspace root's \`pnpm-workspace.yaml\` file.`
154
- );
155
- }
156
- const catalogVersion = catalog[dependencyName];
157
- if (!catalogVersion) {
158
- throw new Error("Missing pnpm catalog version for " + dependencyName);
159
- }
160
- dependencies[dependencyName] = catalogVersion;
161
- } else if (dependencies[dependencyName].startsWith("catalog:")) {
162
- throw new Error("multiple named catalogs not supported");
163
- }
164
- }
165
- }
166
- let projectGraph;
167
- try {
168
- projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
169
- } catch (e) {
170
- await _devkit.createProjectGraphAsync.call(void 0, );
171
- projectGraph = _devkit.readCachedProjectGraph.call(void 0, );
172
- }
173
- const workspacePackages = {};
174
- if (projectGraph) {
175
- await Promise.all(
176
- Object.keys(projectGraph.nodes).map(async (node) => {
177
- const projectNode = projectGraph.nodes[node];
178
- if (_optionalChain([projectNode, 'optionalAccess', _6 => _6.data, 'access', _7 => _7.root])) {
179
- const projectPackageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0,
180
- workspaceRoot,
181
- projectNode.data.root,
182
- "package.json"
183
- );
184
- if (_fs.existsSync.call(void 0, projectPackageJsonPath)) {
185
- const projectPackageJsonContent = await _promises.readFile.call(void 0,
186
- projectPackageJsonPath,
187
- "utf8"
188
- );
189
- const projectPackageJson = JSON.parse(projectPackageJsonContent);
190
- if (projectPackageJson.private !== true) {
191
- workspacePackages[projectPackageJson.name] = projectPackageJson.version;
192
- }
193
- }
194
- }
195
- })
196
- );
197
- }
198
- for (const dependencyType of [
199
- "dependencies",
200
- "devDependencies",
201
- "peerDependencies"
202
- ]) {
203
- const dependencies = packageJson[dependencyType];
204
- if (!dependencies) {
205
- continue;
206
- }
207
- for (const dependencyName of Object.keys(dependencies)) {
208
- if (dependencies[dependencyName].startsWith("workspace:")) {
209
- if (workspacePackages[dependencyName]) {
210
- dependencies[dependencyName] = `^${workspacePackages[dependencyName]}`;
211
- } else {
212
- throw new Error(
213
- `Workspace dependency ${dependencyName} not found in workspace packages.`
214
- );
215
- }
216
- }
217
- }
218
- }
219
- return _promises.writeFile.call(void 0,
220
- packageJsonPath,
221
- await _prettier.format.call(void 0, JSON.stringify(packageJson), {
222
- parser: "json",
223
- proseWrap: "preserve",
224
- trailingComma: "none",
225
- tabWidth: 2,
226
- semi: true,
227
- singleQuote: false,
228
- quoteProps: "as-needed",
229
- insertPragma: false,
230
- bracketSameLine: true,
231
- printWidth: 80,
232
- bracketSpacing: true,
233
- arrowParens: "avoid",
234
- endOfLine: "lf",
235
- plugins: ["prettier-plugin-packagejson"]
236
- })
237
- );
238
- }
239
-
240
- // src/executors/npm-publish/executor.ts
241
-
242
-
243
-
244
- var LARGE_BUFFER = 1024 * 1e6;
245
- async function npmPublishExecutorFn(options, context) {
246
- const isDryRun = process.env.NX_DRY_RUN === "true" || options.dryRun || false;
247
- if (!context.projectName) {
248
- throw new Error("The `npm-publish` executor requires a `projectName`.");
249
- }
250
- const projectConfig = _optionalChain([context, 'access', _8 => _8.projectsConfigurations, 'optionalAccess', _9 => _9.projects, 'optionalAccess', _10 => _10[context.projectName]]);
251
- if (!projectConfig) {
252
- throw new Error(
253
- `Could not find project configuration for \`${context.projectName}\``
254
- );
255
- }
256
- const packageRoot = _chunkCQDBLKPFjs.joinPaths.call(void 0,
257
- context.root,
258
- options.packageRoot || _chunkCQDBLKPFjs.joinPaths.call(void 0, "dist", projectConfig.root)
259
- );
260
- const projectRoot = _optionalChain([context, 'access', _11 => _11.projectsConfigurations, 'access', _12 => _12.projects, 'access', _13 => _13[context.projectName], 'optionalAccess', _14 => _14.root]) ? _chunkCQDBLKPFjs.joinPaths.call(void 0,
261
- context.root,
262
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
263
- context.projectsConfigurations.projects[context.projectName].root
264
- ) : packageRoot;
265
- const packageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, packageRoot, "package.json");
266
- const packageJsonFile = await _promises.readFile.call(void 0, packageJsonPath, "utf8");
267
- if (!packageJsonFile) {
268
- throw new Error(`Could not find \`package.json\` at ${packageJsonPath}`);
269
- }
270
- const packageJson = JSON.parse(packageJsonFile);
271
- const projectPackageJsonPath = _chunkCQDBLKPFjs.joinPaths.call(void 0, projectRoot, "package.json");
272
- const projectPackageJsonFile = await _promises.readFile.call(void 0, projectPackageJsonPath, "utf8");
273
- if (!projectPackageJsonFile) {
274
- throw new Error(
275
- `Could not find \`package.json\` at ${projectPackageJsonPath}`
276
- );
277
- }
278
- const projectPackageJson = JSON.parse(projectPackageJsonFile);
279
- if (packageJson.version !== projectPackageJson.version) {
280
- console.warn(
281
- `The version in the package.json file at ${packageJsonPath} (current: ${packageJson.version}) does not match the version in the package.json file at ${projectPackageJsonPath} (current: ${projectPackageJson.version}). This file will be updated to match the version in the project package.json file.`
282
- );
283
- if (projectPackageJson.version) {
284
- packageJson.version = projectPackageJson.version;
285
- await _promises.writeFile.call(void 0,
286
- packageJsonPath,
287
- await _prettier.format.call(void 0, JSON.stringify(packageJson), {
288
- parser: "json",
289
- proseWrap: "preserve",
290
- trailingComma: "none",
291
- tabWidth: 2,
292
- semi: true,
293
- singleQuote: false,
294
- quoteProps: "as-needed",
295
- insertPragma: false,
296
- bracketSameLine: true,
297
- printWidth: 80,
298
- bracketSpacing: true,
299
- arrowParens: "avoid",
300
- endOfLine: "lf",
301
- plugins: ["prettier-plugin-packagejson"]
302
- })
303
- );
304
- }
305
- }
306
- const packageName = packageJson.name;
307
- console.info(
308
- `\u{1F680} Running Storm NPM Publish executor on the ${packageName} package`
309
- );
310
- const packageTxt = packageName === context.projectName ? `package "${packageName}"` : `package "${packageName}" from project "${context.projectName}"`;
311
- if (packageJson.private === true) {
312
- console.warn(
313
- `Skipped ${packageTxt}, because it has \`"private": true\` in ${packageJsonPath}`
314
- );
315
- return { success: true };
316
- }
317
- await replaceDepsAliases(packageRoot, context.root);
318
- await _chunk6IXJEWJRjs.addPackageJsonGitHead.call(void 0, packageRoot);
319
- const npmPublishCommandSegments = [`npm publish --json`];
320
- const npmViewCommandSegments = [
321
- `npm view ${packageName} versions dist-tags --json`
322
- ];
323
- const registry = await _asyncNullishCoalesce(options.registry, async () => ( (await getRegistry() || getNpmRegistry())));
324
- if (registry) {
325
- npmPublishCommandSegments.push(`--registry="${registry}" `);
326
- npmViewCommandSegments.push(`--registry="${registry}" `);
327
- }
328
- if (options.otp) {
329
- npmPublishCommandSegments.push(`--otp="${options.otp}" `);
330
- }
331
- if (isDryRun) {
332
- npmPublishCommandSegments.push("--dry-run");
333
- }
334
- npmPublishCommandSegments.push("--provenance --access=public ");
335
- const tag = options.tag || _child_process.execSync.call(void 0, "npm config get tag", {
336
- cwd: packageRoot,
337
- env: {
338
- ...process.env,
339
- FORCE_COLOR: "true"
340
- },
341
- maxBuffer: LARGE_BUFFER,
342
- killSignal: "SIGTERM"
343
- }).toString().trim();
344
- if (tag) {
345
- npmPublishCommandSegments.push(`--tag="${tag}" `);
346
- }
347
- if (!isDryRun) {
348
- const currentVersion = options.version || packageJson.version;
349
- try {
350
- try {
351
- const result = _child_process.execSync.call(void 0, npmViewCommandSegments.join(" "), {
352
- cwd: packageRoot,
353
- env: {
354
- ...process.env,
355
- FORCE_COLOR: "true"
356
- },
357
- maxBuffer: LARGE_BUFFER,
358
- killSignal: "SIGTERM"
359
- });
360
- const resultJson = JSON.parse(result.toString());
361
- const distTags = resultJson["dist-tags"] || {};
362
- if (distTags[tag] === currentVersion) {
363
- console.warn(
364
- `Skipped ${packageTxt} because v${currentVersion} already exists in ${registry} with tag "${tag}"`
365
- );
366
- return { success: true };
367
- }
368
- } catch (err) {
369
- console.warn("\n ********************** \n");
370
- console.warn(
371
- `An error occurred while checking for existing dist-tags
372
- ${JSON.stringify(err)}
373
-
374
- Note: If this is the first time this package has been published to NPM, this can be ignored.`
375
- );
376
- console.info("");
377
- }
378
- try {
379
- if (!isDryRun) {
380
- const command = `npm dist-tag add ${packageName}@${currentVersion} ${tag} --registry="${registry}" `;
381
- console.info(
382
- `Adding the dist-tag ${tag} - preparing to run the following:
383
- ${command}`
384
- );
385
- const result = _child_process.execSync.call(void 0, command, {
386
- cwd: packageRoot,
387
- env: {
388
- ...process.env,
389
- FORCE_COLOR: "true"
390
- },
391
- maxBuffer: LARGE_BUFFER,
392
- killSignal: "SIGTERM"
393
- });
394
- console.info(
395
- `Added the dist-tag ${tag} to v${currentVersion} for registry "${registry}"
396
-
397
- Execution response: ${result.toString()}`
398
- );
399
- } else {
400
- console.info(
401
- `Would add the dist-tag ${tag} to v${currentVersion} for registry "${registry}", but [dry-run] was set.
402
- `
403
- );
404
- }
405
- return { success: true };
406
- } catch (err) {
407
- try {
408
- console.warn("\n ********************** \n");
409
- let error = err;
410
- if (Buffer.isBuffer(error)) {
411
- error = error.toString();
412
- }
413
- console.warn(
414
- `An error occurred while adding dist-tags:
415
- ${error}
416
-
417
- Note: If this is the first time this package has been published to NPM, this can be ignored.`
418
- );
419
- console.info("");
420
- const stdoutData = JSON.parse(_optionalChain([err, 'access', _15 => _15.stdout, 'optionalAccess', _16 => _16.toString, 'call', _17 => _17()]) || "{}");
421
- if (_optionalChain([stdoutData, 'optionalAccess', _18 => _18.error]) && !(_optionalChain([stdoutData, 'access', _19 => _19.error, 'optionalAccess', _20 => _20.code, 'optionalAccess', _21 => _21.includes, 'call', _22 => _22("E404")]) && _optionalChain([stdoutData, 'access', _23 => _23.error, 'optionalAccess', _24 => _24.summary, 'optionalAccess', _25 => _25.includes, 'call', _26 => _26("no such package available")])) && !(_optionalChain([err, 'access', _27 => _27.stderr, 'optionalAccess', _28 => _28.toString, 'call', _29 => _29(), 'access', _30 => _30.includes, 'call', _31 => _31("E404")]) && _optionalChain([err, 'access', _32 => _32.stderr, 'optionalAccess', _33 => _33.toString, 'call', _34 => _34(), 'access', _35 => _35.includes, 'call', _36 => _36("no such package available")]))) {
422
- console.error(
423
- "npm dist-tag add error please see below for more information:"
424
- );
425
- if (stdoutData.error.summary) {
426
- console.error(_optionalChain([stdoutData, 'access', _37 => _37.error, 'optionalAccess', _38 => _38.summary]));
427
- }
428
- if (stdoutData.error.detail) {
429
- console.error(_optionalChain([stdoutData, 'access', _39 => _39.error, 'optionalAccess', _40 => _40.detail]));
430
- }
431
- if (context.isVerbose) {
432
- console.error(
433
- `npm dist-tag add stdout: ${JSON.stringify(stdoutData, null, 2)}`
434
- );
435
- }
436
- return { success: false };
437
- }
438
- } catch (err2) {
439
- console.error(
440
- `Something unexpected went wrong when processing the npm dist-tag add output
441
- ${JSON.stringify(err2)}`
442
- );
443
- return { success: false };
444
- }
445
- }
446
- } catch (err) {
447
- let error = err;
448
- if (Buffer.isBuffer(error)) {
449
- error = error.toString();
450
- }
451
- console.error("\n ********************** \n");
452
- console.info("");
453
- console.error(
454
- "An error occured trying to run the npm dist-tag add command."
455
- );
456
- console.error(error);
457
- console.info("");
458
- const stdoutData = JSON.parse(_optionalChain([err, 'access', _41 => _41.stdout, 'optionalAccess', _42 => _42.toString, 'call', _43 => _43()]) || "{}");
459
- if (!(_optionalChain([stdoutData, 'access', _44 => _44.error, 'optionalAccess', _45 => _45.code, 'optionalAccess', _46 => _46.includes, 'call', _47 => _47("E404")]) && _optionalChain([stdoutData, 'access', _48 => _48.error, 'optionalAccess', _49 => _49.summary, 'optionalAccess', _50 => _50.toLowerCase, 'call', _51 => _51(), 'access', _52 => _52.includes, 'call', _53 => _53("not found")])) && !(_optionalChain([err, 'access', _54 => _54.stderr, 'optionalAccess', _55 => _55.toString, 'call', _56 => _56(), 'access', _57 => _57.includes, 'call', _58 => _58("E404")]) && _optionalChain([err, 'access', _59 => _59.stderr, 'optionalAccess', _60 => _60.toString, 'call', _61 => _61(), 'access', _62 => _62.toLowerCase, 'call', _63 => _63(), 'access', _64 => _64.includes, 'call', _65 => _65("not found")]))) {
460
- console.error(
461
- `Something unexpected went wrong when checking for existing dist-tags.
462
-
463
- Error: ${JSON.stringify(err, null, 2)}`
464
- );
465
- return { success: false };
466
- }
467
- }
468
- }
469
- try {
470
- const cwd = packageRoot;
471
- const command = npmPublishCommandSegments.join(" ");
472
- console.info(
473
- `Running publish command "${command}" in current working directory: "${cwd}" `
474
- );
475
- const result = _child_process.execSync.call(void 0, command, {
476
- cwd,
477
- env: {
478
- ...process.env,
479
- FORCE_COLOR: "true"
480
- },
481
- maxBuffer: LARGE_BUFFER,
482
- killSignal: "SIGTERM"
483
- });
484
- if (isDryRun) {
485
- console.info(
486
- `Would publish to ${registry} with tag "${tag}", but [dry-run] was set ${result ? `
487
-
488
- Execution response: ${result.toString()}` : ""}`
489
- );
490
- } else {
491
- console.info(
492
- `Published to ${registry} with tag "${tag}" ${result ? `
493
-
494
- Execution response: ${result.toString()}` : ""}`
495
- );
496
- }
497
- return { success: true };
498
- } catch (err) {
499
- try {
500
- console.error("\n ********************** \n");
501
- console.info("");
502
- console.error("An error occured running npm publish.");
503
- console.error("Please see below for more information:");
504
- console.info("");
505
- const stdoutData = JSON.parse(_optionalChain([err, 'access', _66 => _66.stdout, 'optionalAccess', _67 => _67.toString, 'call', _68 => _68()]) || "{}");
506
- if (stdoutData.error.summary) {
507
- console.error(stdoutData.error.summary);
508
- console.error(stdoutData.error.summary);
509
- }
510
- if (stdoutData.error.detail) {
511
- console.error(stdoutData.error.detail);
512
- }
513
- if (context.isVerbose) {
514
- console.error(
515
- `npm publish stdout:
516
- ${JSON.stringify(stdoutData, null, 2)}`
517
- );
518
- }
519
- console.error("\n ********************** \n");
520
- return { success: false };
521
- } catch (err2) {
522
- let error = err2;
523
- if (Buffer.isBuffer(error)) {
524
- error = error.toString();
525
- }
526
- console.error(
527
- `Something unexpected went wrong when processing the npm publish output
528
-
529
- Error: ${JSON.stringify(error, null, 2)}`
530
- );
531
- console.error("\n ********************** \n");
532
- return { success: false };
533
- }
534
- }
535
- }
536
-
537
-
538
-
539
-
540
- exports.LARGE_BUFFER = LARGE_BUFFER; exports.npmPublishExecutorFn = npmPublishExecutorFn;
@@ -1,112 +0,0 @@
1
- import {
2
- base_generator_untyped_default
3
- } from "./chunk-34LSWMWV.mjs";
4
-
5
- // src/base/typescript-library-generator.untyped.ts
6
- import { defineUntypedSchema } from "untyped";
7
- var typescript_library_generator_untyped_default = defineUntypedSchema({
8
- ...base_generator_untyped_default,
9
- $schema: {
10
- id: "TypeScriptLibraryGeneratorSchema",
11
- title: "TypeScript Library Generator",
12
- description: "A type definition for the base TypeScript Library Generator schema",
13
- required: ["directory", "name"]
14
- },
15
- name: {
16
- $schema: {
17
- title: "Name",
18
- type: "string",
19
- description: "The name of the library"
20
- }
21
- },
22
- description: {
23
- $schema: {
24
- title: "Description",
25
- type: "string",
26
- description: "The description of the library"
27
- }
28
- },
29
- buildExecutor: {
30
- $schema: {
31
- title: "Build Executor",
32
- type: "string",
33
- description: "The executor to use for building the library"
34
- },
35
- $default: "@storm-software/workspace-tools:unbuild"
36
- },
37
- platform: {
38
- $schema: {
39
- title: "Platform",
40
- type: "string",
41
- description: "The platform to target with the library",
42
- enum: ["neutral", "node", "worker", "browser"]
43
- },
44
- $default: "neutral"
45
- },
46
- importPath: {
47
- $schema: {
48
- title: "Import Path",
49
- type: "string",
50
- description: "The import path for the library"
51
- }
52
- },
53
- tags: {
54
- $schema: {
55
- title: "Tags",
56
- type: "string",
57
- description: "The tags for the library"
58
- }
59
- },
60
- unitTestRunner: {
61
- $schema: {
62
- title: "Unit Test Runner",
63
- type: "string",
64
- enum: ["jest", "vitest", "none"],
65
- description: "The unit test runner to use"
66
- }
67
- },
68
- testEnvironment: {
69
- $schema: {
70
- title: "Test Environment",
71
- type: "string",
72
- enum: ["jsdom", "node"],
73
- description: "The test environment to use"
74
- }
75
- },
76
- pascalCaseFiles: {
77
- $schema: {
78
- title: "Pascal Case Files",
79
- type: "boolean",
80
- description: "Use PascalCase for file names"
81
- },
82
- $default: false
83
- },
84
- strict: {
85
- $schema: {
86
- title: "Strict",
87
- type: "boolean",
88
- description: "Enable strict mode"
89
- },
90
- $default: true
91
- },
92
- publishable: {
93
- $schema: {
94
- title: "Publishable",
95
- type: "boolean",
96
- description: "Make the library publishable"
97
- },
98
- $default: false
99
- },
100
- buildable: {
101
- $schema: {
102
- title: "Buildable",
103
- type: "boolean",
104
- description: "Make the library buildable"
105
- },
106
- $default: true
107
- }
108
- });
109
-
110
- export {
111
- typescript_library_generator_untyped_default
112
- };
@@ -1,40 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/utils/versions.ts
2
- var tsupVersion = "8.4.0";
3
- var prettierPackageJsonVersion = "2.4.6";
4
- var prettierPrismaVersion = "5.0.0";
5
- var prettierVersion = "^3.0.3";
6
- var swcCliVersion = "~0.1.62";
7
- var swcCoreVersion = "~1.3.95";
8
- var swcHelpersVersion = "~0.5.3";
9
- var swcNodeVersion = "1.6.8";
10
- var tsLibVersion = "2.6.2";
11
- var typesNodeVersion = "20.9.0";
12
- var verdaccioVersion = "5.27.0";
13
- var typescriptVersion = "~5.2.2";
14
- var eslintVersion = "~8.53.0";
15
- var lintStagedVersion = "15.0.2";
16
- var semanticReleaseVersion = "22.0.7";
17
- var nxVersion = "^18.0.4";
18
- var nodeVersion = "20.11.0";
19
- var pnpmVersion = "8.10.2";
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
- exports.tsupVersion = tsupVersion; exports.prettierPackageJsonVersion = prettierPackageJsonVersion; exports.prettierPrismaVersion = prettierPrismaVersion; exports.prettierVersion = prettierVersion; exports.swcCliVersion = swcCliVersion; exports.swcCoreVersion = swcCoreVersion; exports.swcHelpersVersion = swcHelpersVersion; exports.swcNodeVersion = swcNodeVersion; exports.tsLibVersion = tsLibVersion; exports.typesNodeVersion = typesNodeVersion; exports.verdaccioVersion = verdaccioVersion; exports.typescriptVersion = typescriptVersion; exports.eslintVersion = eslintVersion; exports.lintStagedVersion = lintStagedVersion; exports.semanticReleaseVersion = semanticReleaseVersion; exports.nxVersion = nxVersion; exports.nodeVersion = nodeVersion; exports.pnpmVersion = pnpmVersion;