powerlines 0.14.0 → 0.14.4

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 (728) hide show
  1. package/README.md +30 -21
  2. package/dist/_virtual/_rolldown/runtime.cjs +29 -0
  3. package/dist/_virtual/_rolldown/runtime.mjs +36 -0
  4. package/dist/api.cjs +10 -0
  5. package/dist/api.d.cts +2 -0
  6. package/dist/api.d.mts +2 -0
  7. package/dist/api.mjs +3 -0
  8. package/dist/astro.cjs +24 -28
  9. package/dist/astro.d.cts +14 -47
  10. package/dist/astro.d.cts.map +1 -0
  11. package/dist/astro.d.mts +25 -0
  12. package/dist/astro.d.mts.map +1 -0
  13. package/dist/astro.mjs +25 -0
  14. package/dist/astro.mjs.map +1 -0
  15. package/dist/config.cjs +9 -0
  16. package/dist/config.d.cts +1 -0
  17. package/dist/config.d.mts +1 -0
  18. package/dist/config.mjs +3 -0
  19. package/dist/constants.cjs +9 -0
  20. package/dist/constants.d.cts +1 -0
  21. package/dist/constants.d.mts +1 -0
  22. package/dist/constants.mjs +3 -0
  23. package/dist/context.cjs +9 -0
  24. package/dist/context.d.cts +1 -0
  25. package/dist/context.d.mts +1 -0
  26. package/dist/context.mjs +3 -0
  27. package/dist/engine.cjs +30 -0
  28. package/dist/engine.d.cts +24 -0
  29. package/dist/engine.d.cts.map +1 -0
  30. package/dist/engine.d.mts +24 -0
  31. package/dist/engine.d.mts.map +1 -0
  32. package/dist/engine.mjs +29 -0
  33. package/dist/engine.mjs.map +1 -0
  34. package/dist/esbuild.cjs +51 -23
  35. package/dist/esbuild.d.cts +13 -45
  36. package/dist/esbuild.d.cts.map +1 -0
  37. package/dist/esbuild.d.mts +25 -0
  38. package/dist/esbuild.d.mts.map +1 -0
  39. package/dist/esbuild.mjs +43 -0
  40. package/dist/esbuild.mjs.map +1 -0
  41. package/dist/farm.cjs +26 -18
  42. package/dist/farm.d.cts +15 -47
  43. package/dist/farm.d.cts.map +1 -0
  44. package/dist/farm.d.mts +25 -0
  45. package/dist/farm.d.mts.map +1 -0
  46. package/dist/farm.mjs +26 -0
  47. package/dist/farm.mjs.map +1 -0
  48. package/dist/index.cjs +40 -91
  49. package/dist/index.d.cts +21 -60
  50. package/dist/index.d.cts.map +1 -0
  51. package/dist/index.d.mts +26 -0
  52. package/dist/index.d.mts.map +1 -0
  53. package/dist/index.mjs +34 -0
  54. package/dist/index.mjs.map +1 -0
  55. package/dist/next.cjs +35 -27
  56. package/dist/next.d.cts +6 -4
  57. package/dist/next.d.cts.map +1 -0
  58. package/dist/{next.d.ts → next.d.mts} +6 -4
  59. package/dist/next.d.mts.map +1 -0
  60. package/dist/next.mjs +36 -0
  61. package/dist/next.mjs.map +1 -0
  62. package/dist/nuxt.cjs +44 -29
  63. package/dist/nuxt.d.cts +19 -10
  64. package/dist/nuxt.d.cts.map +1 -0
  65. package/dist/nuxt.d.mts +29 -0
  66. package/dist/nuxt.d.mts.map +1 -0
  67. package/dist/nuxt.mjs +44 -0
  68. package/dist/nuxt.mjs.map +1 -0
  69. package/dist/package.cjs +18 -0
  70. package/dist/package.mjs +7 -0
  71. package/dist/package.mjs.map +1 -0
  72. package/dist/plugin-utils.cjs +9 -0
  73. package/dist/plugin-utils.d.cts +1 -0
  74. package/dist/plugin-utils.d.mts +1 -0
  75. package/dist/plugin-utils.mjs +3 -0
  76. package/dist/rolldown.cjs +43 -22
  77. package/dist/rolldown.d.cts +10 -43
  78. package/dist/rolldown.d.cts.map +1 -0
  79. package/dist/rolldown.d.mts +24 -0
  80. package/dist/rolldown.d.mts.map +1 -0
  81. package/dist/rolldown.mjs +35 -0
  82. package/dist/rolldown.mjs.map +1 -0
  83. package/dist/rollup.cjs +34 -22
  84. package/dist/rollup.d.cts +11 -43
  85. package/dist/rollup.d.cts.map +1 -0
  86. package/dist/rollup.d.mts +25 -0
  87. package/dist/rollup.d.mts.map +1 -0
  88. package/dist/rollup.mjs +26 -0
  89. package/dist/rollup.mjs.map +1 -0
  90. package/dist/rspack.cjs +34 -22
  91. package/dist/rspack.d.cts +14 -46
  92. package/dist/rspack.d.cts.map +1 -0
  93. package/dist/rspack.d.mts +25 -0
  94. package/dist/rspack.d.mts.map +1 -0
  95. package/dist/rspack.mjs +26 -0
  96. package/dist/rspack.mjs.map +1 -0
  97. package/dist/schemas.cjs +9 -0
  98. package/dist/schemas.d.cts +1 -0
  99. package/dist/schemas.d.mts +1 -0
  100. package/dist/schemas.mjs +3 -0
  101. package/dist/storage.cjs +9 -0
  102. package/dist/storage.d.cts +1 -0
  103. package/dist/storage.d.mts +1 -0
  104. package/dist/storage.mjs +3 -0
  105. package/dist/tsdown.cjs +96 -0
  106. package/dist/tsdown.d.cts +31 -0
  107. package/dist/tsdown.d.cts.map +1 -0
  108. package/dist/tsdown.d.mts +31 -0
  109. package/dist/tsdown.d.mts.map +1 -0
  110. package/dist/tsdown.mjs +82 -0
  111. package/dist/tsdown.mjs.map +1 -0
  112. package/dist/tsup.cjs +67 -24
  113. package/dist/tsup.d.cts +12 -8
  114. package/dist/tsup.d.cts.map +1 -0
  115. package/dist/{tsup.d.ts → tsup.d.mts} +12 -8
  116. package/dist/tsup.d.mts.map +1 -0
  117. package/dist/tsup.mjs +59 -0
  118. package/dist/tsup.mjs.map +1 -0
  119. package/dist/types.cjs +0 -0
  120. package/dist/types.d.cts +8 -0
  121. package/dist/types.d.cts.map +1 -0
  122. package/dist/types.d.mts +8 -0
  123. package/dist/types.d.mts.map +1 -0
  124. package/dist/types.mjs +1 -0
  125. package/dist/typescript.cjs +9 -0
  126. package/dist/typescript.d.cts +1 -0
  127. package/dist/typescript.d.mts +1 -0
  128. package/dist/typescript.mjs +3 -0
  129. package/dist/unbuild.cjs +17 -0
  130. package/dist/unbuild.d.cts +2 -0
  131. package/dist/unbuild.d.mts +2 -0
  132. package/dist/unbuild.mjs +3 -0
  133. package/dist/unloader.cjs +23 -26
  134. package/dist/unloader.d.cts +11 -45
  135. package/dist/unloader.d.cts.map +1 -0
  136. package/dist/unloader.d.mts +22 -0
  137. package/dist/unloader.d.mts.map +1 -0
  138. package/dist/unloader.mjs +23 -0
  139. package/dist/unloader.mjs.map +1 -0
  140. package/dist/unplugin.cjs +105 -37
  141. package/dist/unplugin.d.cts +9 -69
  142. package/dist/unplugin.d.cts.map +1 -0
  143. package/dist/unplugin.d.mts +17 -0
  144. package/dist/unplugin.d.mts.map +1 -0
  145. package/dist/unplugin.mjs +101 -0
  146. package/dist/unplugin.mjs.map +1 -0
  147. package/dist/utils.cjs +25 -0
  148. package/dist/utils.d.cts +3 -0
  149. package/dist/utils.d.mts +3 -0
  150. package/dist/utils.mjs +7 -0
  151. package/dist/vite.cjs +76 -24
  152. package/dist/vite.d.cts +12 -44
  153. package/dist/vite.d.cts.map +1 -0
  154. package/dist/vite.d.mts +25 -0
  155. package/dist/vite.d.mts.map +1 -0
  156. package/dist/vite.mjs +66 -0
  157. package/dist/vite.mjs.map +1 -0
  158. package/dist/webpack.cjs +34 -23
  159. package/dist/webpack.d.cts +10 -43
  160. package/dist/webpack.d.cts.map +1 -0
  161. package/dist/webpack.d.mts +24 -0
  162. package/dist/webpack.d.mts.map +1 -0
  163. package/dist/webpack.mjs +25 -0
  164. package/dist/webpack.mjs.map +1 -0
  165. package/files/application/README.md.hbs +16 -42
  166. package/files/application/package.json.hbs +7 -28
  167. package/files/common/jest.config.ts.hbs +2 -3
  168. package/files/common/tsconfig.json.hbs +5 -10
  169. package/files/common/tsconfig.spec.json.hbs +3 -13
  170. package/files/library/README.md.hbs +11 -34
  171. package/files/library/package.json.hbs +9 -32
  172. package/package.json +253 -342
  173. package/schemas/fs.capnp +42 -0
  174. package/dist/astro.d.ts +0 -58
  175. package/dist/astro.js +0 -11
  176. package/dist/babel-types.d.ts +0 -292
  177. package/dist/chunk-22K72CJ5.cjs +0 -18
  178. package/dist/chunk-2VIXD2XB.js +0 -3
  179. package/dist/chunk-4AKYOJXA.cjs +0 -20
  180. package/dist/chunk-4HGQJ4KR.js +0 -11
  181. package/dist/chunk-4JCNAKOE.cjs +0 -4
  182. package/dist/chunk-5VPVJHJO.cjs +0 -18
  183. package/dist/chunk-6TJGZR5X.js +0 -46
  184. package/dist/chunk-6ZGIV2SU.cjs +0 -4
  185. package/dist/chunk-7BZQBW77.cjs +0 -4
  186. package/dist/chunk-7MTW3KR2.cjs +0 -12
  187. package/dist/chunk-7QVYU63E.js +0 -6
  188. package/dist/chunk-7UIYU6SC.js +0 -39
  189. package/dist/chunk-7WMWRX2S.cjs +0 -12
  190. package/dist/chunk-A3BBPLTY.js +0 -9
  191. package/dist/chunk-AFJCY3R6.js +0 -3
  192. package/dist/chunk-APVMN2H7.cjs +0 -14
  193. package/dist/chunk-AXIRZAL7.js +0 -3
  194. package/dist/chunk-BHP6KBGK.js +0 -16
  195. package/dist/chunk-BOIEJ5I6.js +0 -109
  196. package/dist/chunk-DELRP3WY.js +0 -31
  197. package/dist/chunk-DFLNRC3B.cjs +0 -4
  198. package/dist/chunk-DS7OM4NX.cjs +0 -4
  199. package/dist/chunk-DURCSSLV.js +0 -3
  200. package/dist/chunk-EBMELFCF.js +0 -12
  201. package/dist/chunk-ELHJY5WG.cjs +0 -34
  202. package/dist/chunk-FANQC345.cjs +0 -116
  203. package/dist/chunk-GC3BRYAK.cjs +0 -13
  204. package/dist/chunk-GIE6OE3X.js +0 -3
  205. package/dist/chunk-GV3S7ZR3.cjs +0 -34
  206. package/dist/chunk-HJW7OH6E.js +0 -3
  207. package/dist/chunk-IHUNA3MO.cjs +0 -4
  208. package/dist/chunk-KMLFL4CW.js +0 -14
  209. package/dist/chunk-L3DAMAEC.js +0 -21
  210. package/dist/chunk-LC6FLEJS.cjs +0 -12
  211. package/dist/chunk-LO77RPRV.js +0 -16
  212. package/dist/chunk-MAEKW52U.js +0 -31
  213. package/dist/chunk-MXJWCZDP.cjs +0 -12
  214. package/dist/chunk-NGKWITCO.js +0 -9
  215. package/dist/chunk-OC7CCD5M.cjs +0 -19
  216. package/dist/chunk-OYASPHNL.js +0 -3
  217. package/dist/chunk-P4BOYWXT.js +0 -3570
  218. package/dist/chunk-PJRHRDLS.cjs +0 -3602
  219. package/dist/chunk-PK6SKIKE.cjs +0 -8
  220. package/dist/chunk-Q7EJVZVI.cjs +0 -4
  221. package/dist/chunk-RBRFT2R6.js +0 -9
  222. package/dist/chunk-RU6BHTIP.cjs +0 -24
  223. package/dist/chunk-SIZKRND7.js +0 -12
  224. package/dist/chunk-SNARILEC.cjs +0 -24
  225. package/dist/chunk-SY7N6FC3.js +0 -9
  226. package/dist/chunk-TLHFXGYV.js +0 -3
  227. package/dist/chunk-UZQYBO6Z.cjs +0 -52
  228. package/dist/chunk-V5D5NVV7.cjs +0 -42
  229. package/dist/chunk-V7LXFIGK.js +0 -199
  230. package/dist/chunk-VNRXLY2T.js +0 -3
  231. package/dist/chunk-VQCQRLGM.cjs +0 -4
  232. package/dist/chunk-WCTOTE3T.cjs +0 -201
  233. package/dist/chunk-WD4363UW.cjs +0 -12
  234. package/dist/chunk-XBF43VLE.cjs +0 -4
  235. package/dist/chunk-XZO6ZJQP.cjs +0 -4
  236. package/dist/chunk-YIWHO6SW.cjs +0 -14
  237. package/dist/chunk-YZCTXGFH.js +0 -11
  238. package/dist/chunk-Z5H7LD6W.js +0 -3
  239. package/dist/chunk-ZP5QLZQ2.js +0 -21
  240. package/dist/chunk-ZQ7U35QZ.js +0 -9
  241. package/dist/define-config.cjs +0 -13
  242. package/dist/define-config.d.cts +0 -50
  243. package/dist/define-config.d.ts +0 -50
  244. package/dist/define-config.js +0 -4
  245. package/dist/esbuild.d.ts +0 -57
  246. package/dist/esbuild.js +0 -10
  247. package/dist/extend-plugin.cjs +0 -13
  248. package/dist/extend-plugin.d.cts +0 -48
  249. package/dist/extend-plugin.d.ts +0 -48
  250. package/dist/extend-plugin.js +0 -4
  251. package/dist/farm.d.ts +0 -57
  252. package/dist/farm.js +0 -14
  253. package/dist/hooks-Wrj1dKJ9.d.cts +0 -28
  254. package/dist/hooks-q1Az_C64.d.ts +0 -28
  255. package/dist/index.d.ts +0 -65
  256. package/dist/index.js +0 -40
  257. package/dist/internal/api.cjs +0 -16
  258. package/dist/internal/api.cjs.map +0 -1
  259. package/dist/internal/api.d.cts +0 -192
  260. package/dist/internal/api.d.ts +0 -192
  261. package/dist/internal/api.js +0 -7
  262. package/dist/internal/api.js.map +0 -1
  263. package/dist/lib/build/esbuild.cjs +0 -22
  264. package/dist/lib/build/esbuild.cjs.map +0 -1
  265. package/dist/lib/build/esbuild.d.cts +0 -51
  266. package/dist/lib/build/esbuild.d.ts +0 -51
  267. package/dist/lib/build/esbuild.js +0 -5
  268. package/dist/lib/build/esbuild.js.map +0 -1
  269. package/dist/lib/build/index.cjs +0 -82
  270. package/dist/lib/build/index.cjs.map +0 -1
  271. package/dist/lib/build/index.d.cts +0 -41
  272. package/dist/lib/build/index.d.ts +0 -41
  273. package/dist/lib/build/index.js +0 -13
  274. package/dist/lib/build/index.js.map +0 -1
  275. package/dist/lib/build/rolldown.cjs +0 -14
  276. package/dist/lib/build/rolldown.cjs.map +0 -1
  277. package/dist/lib/build/rolldown.d.cts +0 -42
  278. package/dist/lib/build/rolldown.d.ts +0 -42
  279. package/dist/lib/build/rolldown.js +0 -5
  280. package/dist/lib/build/rolldown.js.map +0 -1
  281. package/dist/lib/build/rollup.cjs +0 -17
  282. package/dist/lib/build/rollup.cjs.map +0 -1
  283. package/dist/lib/build/rollup.d.cts +0 -49
  284. package/dist/lib/build/rollup.d.ts +0 -49
  285. package/dist/lib/build/rollup.js +0 -4
  286. package/dist/lib/build/rollup.js.map +0 -1
  287. package/dist/lib/build/rspack.cjs +0 -13
  288. package/dist/lib/build/rspack.cjs.map +0 -1
  289. package/dist/lib/build/rspack.d.cts +0 -42
  290. package/dist/lib/build/rspack.d.ts +0 -42
  291. package/dist/lib/build/rspack.js +0 -4
  292. package/dist/lib/build/rspack.js.map +0 -1
  293. package/dist/lib/build/tsup.cjs +0 -23
  294. package/dist/lib/build/tsup.cjs.map +0 -1
  295. package/dist/lib/build/tsup.d.cts +0 -51
  296. package/dist/lib/build/tsup.d.ts +0 -51
  297. package/dist/lib/build/tsup.js +0 -6
  298. package/dist/lib/build/tsup.js.map +0 -1
  299. package/dist/lib/build/unbuild.cjs +0 -23
  300. package/dist/lib/build/unbuild.cjs.map +0 -1
  301. package/dist/lib/build/unbuild.d.cts +0 -63
  302. package/dist/lib/build/unbuild.d.ts +0 -63
  303. package/dist/lib/build/unbuild.js +0 -6
  304. package/dist/lib/build/unbuild.js.map +0 -1
  305. package/dist/lib/build/vite.cjs +0 -19
  306. package/dist/lib/build/vite.cjs.map +0 -1
  307. package/dist/lib/build/vite.d.cts +0 -43
  308. package/dist/lib/build/vite.d.ts +0 -43
  309. package/dist/lib/build/vite.js +0 -6
  310. package/dist/lib/build/vite.js.map +0 -1
  311. package/dist/lib/build/webpack.cjs +0 -13
  312. package/dist/lib/build/webpack.cjs.map +0 -1
  313. package/dist/lib/build/webpack.d.cts +0 -42
  314. package/dist/lib/build/webpack.d.ts +0 -42
  315. package/dist/lib/build/webpack.js +0 -4
  316. package/dist/lib/build/webpack.js.map +0 -1
  317. package/dist/lib/chunk-35EO5Y7R.js +0 -50
  318. package/dist/lib/chunk-35EO5Y7R.js.map +0 -1
  319. package/dist/lib/chunk-367E23MI.js +0 -48
  320. package/dist/lib/chunk-367E23MI.js.map +0 -1
  321. package/dist/lib/chunk-3GMJQ5G3.cjs +0 -4
  322. package/dist/lib/chunk-3GMJQ5G3.cjs.map +0 -1
  323. package/dist/lib/chunk-3I2YOM2E.js +0 -58
  324. package/dist/lib/chunk-3I2YOM2E.js.map +0 -1
  325. package/dist/lib/chunk-4BPHC6QQ.js +0 -3
  326. package/dist/lib/chunk-4BPHC6QQ.js.map +0 -1
  327. package/dist/lib/chunk-4XUVP2LL.cjs +0 -39
  328. package/dist/lib/chunk-4XUVP2LL.cjs.map +0 -1
  329. package/dist/lib/chunk-56LQSSQ3.js +0 -62
  330. package/dist/lib/chunk-56LQSSQ3.js.map +0 -1
  331. package/dist/lib/chunk-5PNLONNN.cjs +0 -30
  332. package/dist/lib/chunk-5PNLONNN.cjs.map +0 -1
  333. package/dist/lib/chunk-62ZJYXT3.cjs +0 -54
  334. package/dist/lib/chunk-62ZJYXT3.cjs.map +0 -1
  335. package/dist/lib/chunk-632PWWU7.cjs +0 -57
  336. package/dist/lib/chunk-632PWWU7.cjs.map +0 -1
  337. package/dist/lib/chunk-6BRTJXZ2.js +0 -3333
  338. package/dist/lib/chunk-6BRTJXZ2.js.map +0 -1
  339. package/dist/lib/chunk-6IJTWIVJ.cjs +0 -107
  340. package/dist/lib/chunk-6IJTWIVJ.cjs.map +0 -1
  341. package/dist/lib/chunk-7EAV6Q7B.cjs +0 -78
  342. package/dist/lib/chunk-7EAV6Q7B.cjs.map +0 -1
  343. package/dist/lib/chunk-7LLECRBP.cjs +0 -41
  344. package/dist/lib/chunk-7LLECRBP.cjs.map +0 -1
  345. package/dist/lib/chunk-7QVYU63E.js +0 -6
  346. package/dist/lib/chunk-7QVYU63E.js.map +0 -1
  347. package/dist/lib/chunk-7R23HVGQ.js +0 -27
  348. package/dist/lib/chunk-7R23HVGQ.js.map +0 -1
  349. package/dist/lib/chunk-BEKLDCTV.cjs +0 -95
  350. package/dist/lib/chunk-BEKLDCTV.cjs.map +0 -1
  351. package/dist/lib/chunk-BW3VFCTS.cjs +0 -110
  352. package/dist/lib/chunk-BW3VFCTS.cjs.map +0 -1
  353. package/dist/lib/chunk-CAPN4FSS.js +0 -152
  354. package/dist/lib/chunk-CAPN4FSS.js.map +0 -1
  355. package/dist/lib/chunk-ESYYL5UH.js +0 -105
  356. package/dist/lib/chunk-ESYYL5UH.js.map +0 -1
  357. package/dist/lib/chunk-GJNFAFKR.cjs +0 -66
  358. package/dist/lib/chunk-GJNFAFKR.cjs.map +0 -1
  359. package/dist/lib/chunk-GWYTWFZE.cjs +0 -72
  360. package/dist/lib/chunk-GWYTWFZE.cjs.map +0 -1
  361. package/dist/lib/chunk-HJWJNSSZ.js +0 -3
  362. package/dist/lib/chunk-HJWJNSSZ.js.map +0 -1
  363. package/dist/lib/chunk-HQ6TGY34.js +0 -27
  364. package/dist/lib/chunk-HQ6TGY34.js.map +0 -1
  365. package/dist/lib/chunk-IK3ABDPP.cjs +0 -64
  366. package/dist/lib/chunk-IK3ABDPP.cjs.map +0 -1
  367. package/dist/lib/chunk-JTUL3477.cjs +0 -137
  368. package/dist/lib/chunk-JTUL3477.cjs.map +0 -1
  369. package/dist/lib/chunk-KOCDKJDJ.js +0 -96
  370. package/dist/lib/chunk-KOCDKJDJ.js.map +0 -1
  371. package/dist/lib/chunk-KSBESEOF.js +0 -169
  372. package/dist/lib/chunk-KSBESEOF.js.map +0 -1
  373. package/dist/lib/chunk-LBMMBFQE.js +0 -65
  374. package/dist/lib/chunk-LBMMBFQE.js.map +0 -1
  375. package/dist/lib/chunk-LEIOWD2W.js +0 -28
  376. package/dist/lib/chunk-LEIOWD2W.js.map +0 -1
  377. package/dist/lib/chunk-LJZEN4HP.cjs +0 -110
  378. package/dist/lib/chunk-LJZEN4HP.cjs.map +0 -1
  379. package/dist/lib/chunk-LTVWU4J2.js +0 -47
  380. package/dist/lib/chunk-LTVWU4J2.js.map +0 -1
  381. package/dist/lib/chunk-LYD5OTBI.cjs +0 -3362
  382. package/dist/lib/chunk-LYD5OTBI.cjs.map +0 -1
  383. package/dist/lib/chunk-MAHHHINV.js +0 -67
  384. package/dist/lib/chunk-MAHHHINV.js.map +0 -1
  385. package/dist/lib/chunk-MFC7UJHT.cjs +0 -30
  386. package/dist/lib/chunk-MFC7UJHT.cjs.map +0 -1
  387. package/dist/lib/chunk-MGEZC2RV.cjs +0 -69
  388. package/dist/lib/chunk-MGEZC2RV.cjs.map +0 -1
  389. package/dist/lib/chunk-MVQSM5WM.cjs +0 -73
  390. package/dist/lib/chunk-MVQSM5WM.cjs.map +0 -1
  391. package/dist/lib/chunk-NANLYIUO.cjs +0 -70
  392. package/dist/lib/chunk-NANLYIUO.cjs.map +0 -1
  393. package/dist/lib/chunk-NE46WXNJ.js +0 -58
  394. package/dist/lib/chunk-NE46WXNJ.js.map +0 -1
  395. package/dist/lib/chunk-ODJBZ6PS.js +0 -39
  396. package/dist/lib/chunk-ODJBZ6PS.js.map +0 -1
  397. package/dist/lib/chunk-OF5IJ4WG.js +0 -65
  398. package/dist/lib/chunk-OF5IJ4WG.js.map +0 -1
  399. package/dist/lib/chunk-OO4BIM7N.js +0 -98
  400. package/dist/lib/chunk-OO4BIM7N.js.map +0 -1
  401. package/dist/lib/chunk-PEZXLKQD.cjs +0 -4
  402. package/dist/lib/chunk-PEZXLKQD.cjs.map +0 -1
  403. package/dist/lib/chunk-PK6SKIKE.cjs +0 -8
  404. package/dist/lib/chunk-PK6SKIKE.cjs.map +0 -1
  405. package/dist/lib/chunk-PXSRMP4E.js +0 -39
  406. package/dist/lib/chunk-PXSRMP4E.js.map +0 -1
  407. package/dist/lib/chunk-Q2L3FNJO.js +0 -120
  408. package/dist/lib/chunk-Q2L3FNJO.js.map +0 -1
  409. package/dist/lib/chunk-Q3KJZ3B5.js +0 -161
  410. package/dist/lib/chunk-Q3KJZ3B5.js.map +0 -1
  411. package/dist/lib/chunk-RK2VVGL6.cjs +0 -107
  412. package/dist/lib/chunk-RK2VVGL6.cjs.map +0 -1
  413. package/dist/lib/chunk-RLMEYZ5I.cjs +0 -167
  414. package/dist/lib/chunk-RLMEYZ5I.cjs.map +0 -1
  415. package/dist/lib/chunk-RQICHHZM.cjs +0 -29
  416. package/dist/lib/chunk-RQICHHZM.cjs.map +0 -1
  417. package/dist/lib/chunk-RXQWNSZX.js +0 -37
  418. package/dist/lib/chunk-RXQWNSZX.js.map +0 -1
  419. package/dist/lib/chunk-STAKGAWR.js +0 -86
  420. package/dist/lib/chunk-STAKGAWR.js.map +0 -1
  421. package/dist/lib/chunk-U36VZLW6.cjs +0 -172
  422. package/dist/lib/chunk-U36VZLW6.cjs.map +0 -1
  423. package/dist/lib/chunk-UGRFAVAJ.js +0 -93
  424. package/dist/lib/chunk-UGRFAVAJ.js.map +0 -1
  425. package/dist/lib/chunk-UQJWVRRE.cjs +0 -47
  426. package/dist/lib/chunk-UQJWVRRE.cjs.map +0 -1
  427. package/dist/lib/chunk-V2T4H24I.js +0 -156
  428. package/dist/lib/chunk-V2T4H24I.js.map +0 -1
  429. package/dist/lib/chunk-V5OY4ALI.cjs +0 -56
  430. package/dist/lib/chunk-V5OY4ALI.cjs.map +0 -1
  431. package/dist/lib/chunk-VJN72T2O.js +0 -50
  432. package/dist/lib/chunk-VJN72T2O.js.map +0 -1
  433. package/dist/lib/chunk-W4OMKQ7W.cjs +0 -128
  434. package/dist/lib/chunk-W4OMKQ7W.cjs.map +0 -1
  435. package/dist/lib/chunk-XGH6JWRO.js +0 -3
  436. package/dist/lib/chunk-XGH6JWRO.js.map +0 -1
  437. package/dist/lib/chunk-XQMVE2NH.cjs +0 -4
  438. package/dist/lib/chunk-XQMVE2NH.cjs.map +0 -1
  439. package/dist/lib/chunk-XZD7S5TU.cjs +0 -53
  440. package/dist/lib/chunk-XZD7S5TU.cjs.map +0 -1
  441. package/dist/lib/chunk-YBIWVB66.js +0 -76
  442. package/dist/lib/chunk-YBIWVB66.js.map +0 -1
  443. package/dist/lib/chunk-YF3YHK4X.js +0 -127
  444. package/dist/lib/chunk-YF3YHK4X.js.map +0 -1
  445. package/dist/lib/chunk-YVDJCVE5.cjs +0 -160
  446. package/dist/lib/chunk-YVDJCVE5.cjs.map +0 -1
  447. package/dist/lib/chunk-ZP7PDTVE.cjs +0 -167
  448. package/dist/lib/chunk-ZP7PDTVE.cjs.map +0 -1
  449. package/dist/lib/compiler-CuQLTmTB.d.cts +0 -32
  450. package/dist/lib/compiler-CuQLTmTB.d.ts +0 -32
  451. package/dist/lib/config-DnifzkPt.d.ts +0 -1474
  452. package/dist/lib/config-Ro14HmyO.d.cts +0 -1474
  453. package/dist/lib/config-file.cjs +0 -17
  454. package/dist/lib/config-file.cjs.map +0 -1
  455. package/dist/lib/config-file.d.cts +0 -57
  456. package/dist/lib/config-file.d.ts +0 -57
  457. package/dist/lib/config-file.js +0 -4
  458. package/dist/lib/config-file.js.map +0 -1
  459. package/dist/lib/create-program.cjs +0 -13
  460. package/dist/lib/create-program.cjs.map +0 -1
  461. package/dist/lib/create-program.d.cts +0 -42
  462. package/dist/lib/create-program.d.ts +0 -42
  463. package/dist/lib/create-program.js +0 -4
  464. package/dist/lib/create-program.js.map +0 -1
  465. package/dist/lib/entry.cjs +0 -41
  466. package/dist/lib/entry.cjs.map +0 -1
  467. package/dist/lib/entry.d.cts +0 -69
  468. package/dist/lib/entry.d.ts +0 -69
  469. package/dist/lib/entry.js +0 -4
  470. package/dist/lib/entry.js.map +0 -1
  471. package/dist/lib/hooks-B6Ow5MtE.d.ts +0 -28
  472. package/dist/lib/hooks-CM-BbMzz.d.cts +0 -28
  473. package/dist/lib/index.cjs +0 -281
  474. package/dist/lib/index.cjs.map +0 -1
  475. package/dist/lib/index.d.cts +0 -57
  476. package/dist/lib/index.d.ts +0 -57
  477. package/dist/lib/index.js +0 -28
  478. package/dist/lib/index.js.map +0 -1
  479. package/dist/lib/logger.cjs +0 -17
  480. package/dist/lib/logger.cjs.map +0 -1
  481. package/dist/lib/logger.d.cts +0 -51
  482. package/dist/lib/logger.d.ts +0 -51
  483. package/dist/lib/logger.js +0 -4
  484. package/dist/lib/logger.js.map +0 -1
  485. package/dist/lib/tsconfig-Bz-CiFqD.d.cts +0 -68
  486. package/dist/lib/tsconfig-Bz-CiFqD.d.ts +0 -68
  487. package/dist/lib/typescript/compiler-host.cjs +0 -166
  488. package/dist/lib/typescript/compiler-host.cjs.map +0 -1
  489. package/dist/lib/typescript/compiler-host.d.cts +0 -64
  490. package/dist/lib/typescript/compiler-host.d.ts +0 -64
  491. package/dist/lib/typescript/compiler-host.js +0 -158
  492. package/dist/lib/typescript/compiler-host.js.map +0 -1
  493. package/dist/lib/typescript/import-transformer.cjs +0 -51
  494. package/dist/lib/typescript/import-transformer.cjs.map +0 -1
  495. package/dist/lib/typescript/import-transformer.d.cts +0 -36
  496. package/dist/lib/typescript/import-transformer.d.ts +0 -36
  497. package/dist/lib/typescript/import-transformer.js +0 -49
  498. package/dist/lib/typescript/import-transformer.js.map +0 -1
  499. package/dist/lib/typescript/index.cjs +0 -60
  500. package/dist/lib/typescript/index.cjs.map +0 -1
  501. package/dist/lib/typescript/index.d.cts +0 -35
  502. package/dist/lib/typescript/index.d.ts +0 -35
  503. package/dist/lib/typescript/index.js +0 -7
  504. package/dist/lib/typescript/index.js.map +0 -1
  505. package/dist/lib/typescript/isolated-decl.cjs +0 -13
  506. package/dist/lib/typescript/isolated-decl.cjs.map +0 -1
  507. package/dist/lib/typescript/isolated-decl.d.cts +0 -11
  508. package/dist/lib/typescript/isolated-decl.d.ts +0 -11
  509. package/dist/lib/typescript/isolated-decl.js +0 -4
  510. package/dist/lib/typescript/isolated-decl.js.map +0 -1
  511. package/dist/lib/typescript/program.cjs +0 -29
  512. package/dist/lib/typescript/program.cjs.map +0 -1
  513. package/dist/lib/typescript/program.d.cts +0 -69
  514. package/dist/lib/typescript/program.d.ts +0 -69
  515. package/dist/lib/typescript/program.js +0 -4
  516. package/dist/lib/typescript/program.js.map +0 -1
  517. package/dist/lib/typescript/tsconfig.cjs +0 -33
  518. package/dist/lib/typescript/tsconfig.cjs.map +0 -1
  519. package/dist/lib/typescript/tsconfig.d.cts +0 -61
  520. package/dist/lib/typescript/tsconfig.d.ts +0 -61
  521. package/dist/lib/typescript/tsconfig.js +0 -4
  522. package/dist/lib/typescript/tsconfig.js.map +0 -1
  523. package/dist/lib/unplugin/factory.cjs +0 -23
  524. package/dist/lib/unplugin/factory.cjs.map +0 -1
  525. package/dist/lib/unplugin/factory.d.cts +0 -200
  526. package/dist/lib/unplugin/factory.d.ts +0 -200
  527. package/dist/lib/unplugin/factory.js +0 -14
  528. package/dist/lib/unplugin/factory.js.map +0 -1
  529. package/dist/lib/unplugin/index.cjs +0 -33
  530. package/dist/lib/unplugin/index.cjs.map +0 -1
  531. package/dist/lib/unplugin/index.d.cts +0 -36
  532. package/dist/lib/unplugin/index.d.ts +0 -36
  533. package/dist/lib/unplugin/index.js +0 -16
  534. package/dist/lib/unplugin/index.js.map +0 -1
  535. package/dist/lib/unplugin/plugin.cjs +0 -16
  536. package/dist/lib/unplugin/plugin.cjs.map +0 -1
  537. package/dist/lib/unplugin/plugin.d.cts +0 -55
  538. package/dist/lib/unplugin/plugin.d.ts +0 -55
  539. package/dist/lib/unplugin/plugin.js +0 -7
  540. package/dist/lib/unplugin/plugin.js.map +0 -1
  541. package/dist/lib/unplugin/resolve-id.cjs +0 -13
  542. package/dist/lib/unplugin/resolve-id.cjs.map +0 -1
  543. package/dist/lib/unplugin/resolve-id.d.cts +0 -60
  544. package/dist/lib/unplugin/resolve-id.d.ts +0 -60
  545. package/dist/lib/unplugin/resolve-id.js +0 -4
  546. package/dist/lib/unplugin/resolve-id.js.map +0 -1
  547. package/dist/lib/utilities/bundle.cjs +0 -16
  548. package/dist/lib/utilities/bundle.cjs.map +0 -1
  549. package/dist/lib/utilities/bundle.d.cts +0 -44
  550. package/dist/lib/utilities/bundle.d.ts +0 -44
  551. package/dist/lib/utilities/bundle.js +0 -7
  552. package/dist/lib/utilities/bundle.js.map +0 -1
  553. package/dist/lib/utilities/cache.cjs +0 -18
  554. package/dist/lib/utilities/cache.cjs.map +0 -1
  555. package/dist/lib/utilities/cache.d.cts +0 -7
  556. package/dist/lib/utilities/cache.d.ts +0 -7
  557. package/dist/lib/utilities/cache.js +0 -5
  558. package/dist/lib/utilities/cache.js.map +0 -1
  559. package/dist/lib/utilities/file-header.cjs +0 -17
  560. package/dist/lib/utilities/file-header.cjs.map +0 -1
  561. package/dist/lib/utilities/file-header.d.cts +0 -42
  562. package/dist/lib/utilities/file-header.d.ts +0 -42
  563. package/dist/lib/utilities/file-header.js +0 -4
  564. package/dist/lib/utilities/file-header.js.map +0 -1
  565. package/dist/lib/utilities/index.cjs +0 -159
  566. package/dist/lib/utilities/index.cjs.map +0 -1
  567. package/dist/lib/utilities/index.d.cts +0 -45
  568. package/dist/lib/utilities/index.d.ts +0 -45
  569. package/dist/lib/utilities/index.js +0 -18
  570. package/dist/lib/utilities/index.js.map +0 -1
  571. package/dist/lib/utilities/meta.cjs +0 -37
  572. package/dist/lib/utilities/meta.cjs.map +0 -1
  573. package/dist/lib/utilities/meta.d.cts +0 -68
  574. package/dist/lib/utilities/meta.d.ts +0 -68
  575. package/dist/lib/utilities/meta.js +0 -4
  576. package/dist/lib/utilities/meta.js.map +0 -1
  577. package/dist/lib/utilities/plugin-helpers.cjs +0 -61
  578. package/dist/lib/utilities/plugin-helpers.cjs.map +0 -1
  579. package/dist/lib/utilities/plugin-helpers.d.cts +0 -153
  580. package/dist/lib/utilities/plugin-helpers.d.ts +0 -153
  581. package/dist/lib/utilities/plugin-helpers.js +0 -4
  582. package/dist/lib/utilities/plugin-helpers.js.map +0 -1
  583. package/dist/lib/utilities/resolve-path.cjs +0 -13
  584. package/dist/lib/utilities/resolve-path.cjs.map +0 -1
  585. package/dist/lib/utilities/resolve-path.d.cts +0 -43
  586. package/dist/lib/utilities/resolve-path.d.ts +0 -43
  587. package/dist/lib/utilities/resolve-path.js +0 -4
  588. package/dist/lib/utilities/resolve-path.js.map +0 -1
  589. package/dist/lib/utilities/resolve.cjs +0 -17
  590. package/dist/lib/utilities/resolve.cjs.map +0 -1
  591. package/dist/lib/utilities/resolve.d.cts +0 -44
  592. package/dist/lib/utilities/resolve.d.ts +0 -44
  593. package/dist/lib/utilities/resolve.js +0 -8
  594. package/dist/lib/utilities/resolve.js.map +0 -1
  595. package/dist/lib/utilities/source-file.cjs +0 -21
  596. package/dist/lib/utilities/source-file.cjs.map +0 -1
  597. package/dist/lib/utilities/source-file.d.cts +0 -28
  598. package/dist/lib/utilities/source-file.d.ts +0 -28
  599. package/dist/lib/utilities/source-file.js +0 -4
  600. package/dist/lib/utilities/source-file.js.map +0 -1
  601. package/dist/lib/utilities/source-map.cjs +0 -13
  602. package/dist/lib/utilities/source-map.cjs.map +0 -1
  603. package/dist/lib/utilities/source-map.d.cts +0 -14
  604. package/dist/lib/utilities/source-map.d.ts +0 -14
  605. package/dist/lib/utilities/source-map.js +0 -4
  606. package/dist/lib/utilities/source-map.js.map +0 -1
  607. package/dist/lib/utilities/worker.cjs +0 -18
  608. package/dist/lib/utilities/worker.cjs.map +0 -1
  609. package/dist/lib/utilities/worker.d.cts +0 -58
  610. package/dist/lib/utilities/worker.d.ts +0 -58
  611. package/dist/lib/utilities/worker.js +0 -5
  612. package/dist/lib/utilities/worker.js.map +0 -1
  613. package/dist/lib/utilities/write-file.cjs +0 -13
  614. package/dist/lib/utilities/write-file.cjs.map +0 -1
  615. package/dist/lib/utilities/write-file.d.cts +0 -44
  616. package/dist/lib/utilities/write-file.d.ts +0 -44
  617. package/dist/lib/utilities/write-file.js +0 -4
  618. package/dist/lib/utilities/write-file.js.map +0 -1
  619. package/dist/next.js +0 -10
  620. package/dist/nuxt.d.ts +0 -20
  621. package/dist/nuxt.js +0 -12
  622. package/dist/resolved-DtY60yLh.d.cts +0 -1351
  623. package/dist/resolved-wPXZS7aW.d.ts +0 -1351
  624. package/dist/rolldown.d.ts +0 -57
  625. package/dist/rolldown.js +0 -9
  626. package/dist/rollup.d.ts +0 -57
  627. package/dist/rollup.js +0 -9
  628. package/dist/rspack.d.ts +0 -57
  629. package/dist/rspack.js +0 -9
  630. package/dist/tsup.js +0 -11
  631. package/dist/types/babel.cjs +0 -6
  632. package/dist/types/babel.cjs.map +0 -1
  633. package/dist/types/babel.d.cts +0 -38
  634. package/dist/types/babel.d.ts +0 -38
  635. package/dist/types/babel.js +0 -3
  636. package/dist/types/babel.js.map +0 -1
  637. package/dist/types/build.cjs +0 -6
  638. package/dist/types/build.cjs.map +0 -1
  639. package/dist/types/build.d.cts +0 -111
  640. package/dist/types/build.d.ts +0 -111
  641. package/dist/types/build.js +0 -3
  642. package/dist/types/build.js.map +0 -1
  643. package/dist/types/commands.cjs +0 -13
  644. package/dist/types/commands.cjs.map +0 -1
  645. package/dist/types/commands.d.cts +0 -38
  646. package/dist/types/commands.d.ts +0 -38
  647. package/dist/types/commands.js +0 -4
  648. package/dist/types/commands.js.map +0 -1
  649. package/dist/types/compiler.cjs +0 -6
  650. package/dist/types/compiler.cjs.map +0 -1
  651. package/dist/types/compiler.d.cts +0 -38
  652. package/dist/types/compiler.d.ts +0 -38
  653. package/dist/types/compiler.js +0 -3
  654. package/dist/types/compiler.js.map +0 -1
  655. package/dist/types/config.cjs +0 -6
  656. package/dist/types/config.cjs.map +0 -1
  657. package/dist/types/config.d.cts +0 -38
  658. package/dist/types/config.d.ts +0 -38
  659. package/dist/types/config.js +0 -3
  660. package/dist/types/config.js.map +0 -1
  661. package/dist/types/context.cjs +0 -13
  662. package/dist/types/context.cjs.map +0 -1
  663. package/dist/types/context.d.cts +0 -38
  664. package/dist/types/context.d.ts +0 -38
  665. package/dist/types/context.js +0 -4
  666. package/dist/types/context.js.map +0 -1
  667. package/dist/types/hooks.cjs +0 -6
  668. package/dist/types/hooks.cjs.map +0 -1
  669. package/dist/types/hooks.d.cts +0 -38
  670. package/dist/types/hooks.d.ts +0 -38
  671. package/dist/types/hooks.js +0 -3
  672. package/dist/types/hooks.js.map +0 -1
  673. package/dist/types/index.cjs +0 -58
  674. package/dist/types/index.cjs.map +0 -1
  675. package/dist/types/index.d.cts +0 -42
  676. package/dist/types/index.d.ts +0 -42
  677. package/dist/types/index.js +0 -17
  678. package/dist/types/index.js.map +0 -1
  679. package/dist/types/internal.cjs +0 -4
  680. package/dist/types/internal.cjs.map +0 -1
  681. package/dist/types/internal.d.cts +0 -61
  682. package/dist/types/internal.d.ts +0 -61
  683. package/dist/types/internal.js +0 -3
  684. package/dist/types/internal.js.map +0 -1
  685. package/dist/types/plugin.cjs +0 -13
  686. package/dist/types/plugin.cjs.map +0 -1
  687. package/dist/types/plugin.d.cts +0 -38
  688. package/dist/types/plugin.d.ts +0 -38
  689. package/dist/types/plugin.js +0 -4
  690. package/dist/types/plugin.js.map +0 -1
  691. package/dist/types/resolved.cjs +0 -6
  692. package/dist/types/resolved.cjs.map +0 -1
  693. package/dist/types/resolved.d.cts +0 -38
  694. package/dist/types/resolved.d.ts +0 -38
  695. package/dist/types/resolved.js +0 -3
  696. package/dist/types/resolved.js.map +0 -1
  697. package/dist/types/tsconfig.cjs +0 -6
  698. package/dist/types/tsconfig.cjs.map +0 -1
  699. package/dist/types/tsconfig.d.cts +0 -75
  700. package/dist/types/tsconfig.d.ts +0 -75
  701. package/dist/types/tsconfig.js +0 -3
  702. package/dist/types/tsconfig.js.map +0 -1
  703. package/dist/types/typedoc.cjs +0 -6
  704. package/dist/types/typedoc.cjs.map +0 -1
  705. package/dist/types/typedoc.d.cts +0 -25
  706. package/dist/types/typedoc.d.ts +0 -25
  707. package/dist/types/typedoc.js +0 -3
  708. package/dist/types/typedoc.js.map +0 -1
  709. package/dist/types/unplugin.cjs +0 -6
  710. package/dist/types/unplugin.cjs.map +0 -1
  711. package/dist/types/unplugin.d.cts +0 -54
  712. package/dist/types/unplugin.d.ts +0 -54
  713. package/dist/types/unplugin.js +0 -3
  714. package/dist/types/unplugin.js.map +0 -1
  715. package/dist/types/vfs.cjs +0 -33
  716. package/dist/types/vfs.cjs.map +0 -1
  717. package/dist/types/vfs.d.cts +0 -408
  718. package/dist/types/vfs.d.ts +0 -408
  719. package/dist/types/vfs.js +0 -4
  720. package/dist/types/vfs.js.map +0 -1
  721. package/dist/unloader.d.ts +0 -56
  722. package/dist/unloader.js +0 -9
  723. package/dist/unplugin.d.ts +0 -77
  724. package/dist/unplugin.js +0 -21
  725. package/dist/vite.d.ts +0 -57
  726. package/dist/vite.js +0 -10
  727. package/dist/webpack.d.ts +0 -57
  728. package/dist/webpack.js +0 -9
@@ -1,54 +0,0 @@
1
- import { UnpluginOptions, UnpluginContextMeta, UnpluginFactory } from 'unplugin';
2
- import { BuildVariant, InferUnpluginVariant, UnpluginBuildVariant } from './build.cjs';
3
- import { b_ as BuildPlugin, be as PluginContext, cx as InferResolvedConfig, a9 as InferUserConfig } from '../resolved-DtY60yLh.cjs';
4
- import '@farmfe/core';
5
- import '@rspack/core';
6
- import '@storm-software/esbuild/types';
7
- import '@storm-software/unbuild/types';
8
- import 'esbuild';
9
- import 'rolldown';
10
- import 'rollup';
11
- import 'vite';
12
- import 'webpack';
13
- import '@stryke/types/base';
14
- import '@stryke/types/configuration';
15
- import '@stryke/types/file';
16
- import '@babel/core';
17
- import '@storm-software/build-tools/types';
18
- import '@storm-software/config-tools/types';
19
- import '@storm-software/config/types';
20
- import 'c12';
21
- import '@babel/helper-plugin-utils';
22
- import '@stryke/env/get-env-paths';
23
- import '@stryke/types/package-json';
24
- import 'jest-worker';
25
- import 'jiti';
26
- import 'memfs';
27
- import 'oxc-parser';
28
- import 'semver';
29
- import 'unimport';
30
- import 'magic-string';
31
- import './tsconfig.cjs';
32
- import '@stryke/types/tsconfig';
33
- import 'typescript';
34
- import '@stryke/types/array';
35
- import './vfs.cjs';
36
- import '@stryke/json/types';
37
- import 'node:fs';
38
- import 'unionfs';
39
-
40
- type InferUnpluginOptions<TBuildVariant extends BuildVariant> = UnpluginOptions & {
41
- [TKey in InferUnpluginVariant<TBuildVariant>]: BuildPlugin<PluginContext<InferResolvedConfig<TBuildVariant>>, TKey>;
42
- };
43
- type UnpluginUserConfig<TBuildVariant extends BuildVariant | undefined> = InferUserConfig<TBuildVariant> & {
44
- /**
45
- * The meta information for the unplugin context
46
- */
47
- unplugin: UnpluginContextMeta;
48
- };
49
- type StormStackUnpluginFactory<TBuildVariant extends UnpluginBuildVariant> = UnpluginFactory<Partial<InferUserConfig<TBuildVariant>>, false>;
50
- declare type __ΩInferUnpluginOptions = any[];
51
- declare type __ΩUnpluginUserConfig = any[];
52
- declare type __ΩStormStackUnpluginFactory = any[];
53
-
54
- export type { InferUnpluginOptions, StormStackUnpluginFactory, UnpluginUserConfig, __ΩInferUnpluginOptions, __ΩStormStackUnpluginFactory, __ΩUnpluginUserConfig };
@@ -1,54 +0,0 @@
1
- import { UnpluginOptions, UnpluginContextMeta, UnpluginFactory } from 'unplugin';
2
- import { BuildVariant, InferUnpluginVariant, UnpluginBuildVariant } from './build.js';
3
- import { b_ as BuildPlugin, be as PluginContext, cx as InferResolvedConfig, a9 as InferUserConfig } from '../resolved-wPXZS7aW.js';
4
- import '@farmfe/core';
5
- import '@rspack/core';
6
- import '@storm-software/esbuild/types';
7
- import '@storm-software/unbuild/types';
8
- import 'esbuild';
9
- import 'rolldown';
10
- import 'rollup';
11
- import 'vite';
12
- import 'webpack';
13
- import '@stryke/types/base';
14
- import '@stryke/types/configuration';
15
- import '@stryke/types/file';
16
- import '@babel/core';
17
- import '@storm-software/build-tools/types';
18
- import '@storm-software/config-tools/types';
19
- import '@storm-software/config/types';
20
- import 'c12';
21
- import '@babel/helper-plugin-utils';
22
- import '@stryke/env/get-env-paths';
23
- import '@stryke/types/package-json';
24
- import 'jest-worker';
25
- import 'jiti';
26
- import 'memfs';
27
- import 'oxc-parser';
28
- import 'semver';
29
- import 'unimport';
30
- import 'magic-string';
31
- import './tsconfig.js';
32
- import '@stryke/types/tsconfig';
33
- import 'typescript';
34
- import '@stryke/types/array';
35
- import './vfs.js';
36
- import '@stryke/json/types';
37
- import 'node:fs';
38
- import 'unionfs';
39
-
40
- type InferUnpluginOptions<TBuildVariant extends BuildVariant> = UnpluginOptions & {
41
- [TKey in InferUnpluginVariant<TBuildVariant>]: BuildPlugin<PluginContext<InferResolvedConfig<TBuildVariant>>, TKey>;
42
- };
43
- type UnpluginUserConfig<TBuildVariant extends BuildVariant | undefined> = InferUserConfig<TBuildVariant> & {
44
- /**
45
- * The meta information for the unplugin context
46
- */
47
- unplugin: UnpluginContextMeta;
48
- };
49
- type StormStackUnpluginFactory<TBuildVariant extends UnpluginBuildVariant> = UnpluginFactory<Partial<InferUserConfig<TBuildVariant>>, false>;
50
- declare type __ΩInferUnpluginOptions = any[];
51
- declare type __ΩUnpluginUserConfig = any[];
52
- declare type __ΩStormStackUnpluginFactory = any[];
53
-
54
- export type { InferUnpluginOptions, StormStackUnpluginFactory, UnpluginUserConfig, __ΩInferUnpluginOptions, __ΩStormStackUnpluginFactory, __ΩUnpluginUserConfig };
@@ -1,3 +0,0 @@
1
- import '../chunk-AFJCY3R6.js';
2
- //# sourceMappingURL=unplugin.js.map
3
- //# sourceMappingURL=unplugin.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"unplugin.js"}
@@ -1,33 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk22K72CJ5_cjs = require('../chunk-22K72CJ5.cjs');
4
- require('../chunk-PK6SKIKE.cjs');
5
-
6
-
7
-
8
- Object.defineProperty(exports, "__VFS_CACHE__", {
9
- enumerable: true,
10
- get: function () { return chunk22K72CJ5_cjs.__VFS_CACHE__; }
11
- });
12
- Object.defineProperty(exports, "__VFS_INIT__", {
13
- enumerable: true,
14
- get: function () { return chunk22K72CJ5_cjs.__VFS_INIT__; }
15
- });
16
- Object.defineProperty(exports, "__VFS_RESOLVER__", {
17
- enumerable: true,
18
- get: function () { return chunk22K72CJ5_cjs.__VFS_RESOLVER__; }
19
- });
20
- Object.defineProperty(exports, "__VFS_REVERT__", {
21
- enumerable: true,
22
- get: function () { return chunk22K72CJ5_cjs.__VFS_REVERT__; }
23
- });
24
- Object.defineProperty(exports, "__VFS_UNIFIED__", {
25
- enumerable: true,
26
- get: function () { return chunk22K72CJ5_cjs.__VFS_UNIFIED__; }
27
- });
28
- Object.defineProperty(exports, "__VFS_VIRTUAL__", {
29
- enumerable: true,
30
- get: function () { return chunk22K72CJ5_cjs.__VFS_VIRTUAL__; }
31
- });
32
- //# sourceMappingURL=vfs.cjs.map
33
- //# sourceMappingURL=vfs.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"vfs.cjs"}
@@ -1,408 +0,0 @@
1
- import { PrimitiveJsonValue } from '@stryke/json/types';
2
- import { Volume } from 'memfs';
3
- import { PathLike, StatSyncOptions, Stats, RmDirOptions, RmOptions, Mode, MakeDirectoryOptions as MakeDirectoryOptions$1, PathOrFileDescriptor, WriteFileOptions as WriteFileOptions$1 } from 'node:fs';
4
- import { IUnionFs } from 'unionfs';
5
-
6
- type VirtualFileExtension = "js" | "ts" | "jsx" | "tsx";
7
- declare const __VFS_INIT__ = "__VFS_INIT__";
8
- declare const __VFS_REVERT__ = "__VFS_REVERT__";
9
- declare const __VFS_CACHE__ = "__VFS_CACHE__";
10
- declare const __VFS_RESOLVER__ = "__VFS_RESOLVER__";
11
- declare const __VFS_VIRTUAL__ = "__VFS_VIRTUAL__";
12
- declare const __VFS_UNIFIED__ = "__VFS_UNIFIED__";
13
- type OutputModeType = "fs" | "virtual";
14
- interface VirtualFile {
15
- /**
16
- * The unique identifier for the virtual file.
17
- *
18
- * @remarks
19
- * If no specific id is provided, it defaults to the file's {@link path}.
20
- */
21
- id: string;
22
- /**
23
- * Additional metadata associated with the virtual file.
24
- */
25
- details: Record<string, PrimitiveJsonValue>;
26
- /**
27
- * The variant of the file.
28
- *
29
- * @remarks
30
- * This string represents the purpose/function of the file in the virtual file system. A potential list of variants includes:
31
- * - `builtin`: Indicates that the file is a built-in module provided by the system.
32
- * - `entry`: Indicates that the file is an entry point for execution.
33
- * - `normal`: Indicates that the file is a standard file without any special role.
34
- */
35
- variant: string;
36
- /**
37
- * The output mode of the file.
38
- *
39
- * @remarks
40
- * This indicates whether the file is intended to be written to the actual file system (`fs`) or kept in the virtual file system (`virtual`).
41
- */
42
- mode: OutputModeType;
43
- /**
44
- * A virtual (or actual) path to the file in the file system.
45
- */
46
- path: string;
47
- /**
48
- * The contents of the file.
49
- */
50
- code: string | NodeJS.ArrayBufferView;
51
- }
52
- type VirtualFileSystemMetadata = Pick<VirtualFile, "id" | "details" | "variant" | "mode">;
53
- interface ResolveFSOptions {
54
- mode?: OutputModeType;
55
- }
56
- type MakeDirectoryOptions = (Mode | MakeDirectoryOptions$1) & ResolveFSOptions;
57
- interface PowerlinesWriteFileOptions extends ResolveFSOptions {
58
- skipFormat?: boolean;
59
- }
60
- type NodeWriteFileOptions = WriteFileOptions$1;
61
- type WriteFileOptions = NodeWriteFileOptions | PowerlinesWriteFileOptions;
62
- type PowerLinesWriteFileData = Partial<Omit<VirtualFile, "path" | "mode" | "code">> & Pick<VirtualFile, "code">;
63
- type WriteFileData = string | NodeJS.ArrayBufferView | PowerLinesWriteFileData;
64
- interface ResolvePathOptions extends ResolveFSOptions {
65
- /**
66
- * Should the resolved path include the file extension?
67
- *
68
- * @defaultValue true
69
- */
70
- withExtension?: boolean;
71
- /**
72
- * The paths to search for the file.
73
- */
74
- paths?: string[];
75
- /**
76
- * The type of the path to resolve.
77
- */
78
- type?: "file" | "directory";
79
- }
80
- interface VirtualFileSystemInterface {
81
- [__VFS_INIT__]: () => void;
82
- [__VFS_REVERT__]: () => void;
83
- /**
84
- * The underlying file metadata.
85
- */
86
- meta: Record<string, VirtualFileSystemMetadata | undefined>;
87
- /**
88
- * A map of module ids to their file paths.
89
- */
90
- ids: Record<string, string>;
91
- /**
92
- * Check if a path or id corresponds to a virtual file **(does not actually exists on disk)**.
93
- *
94
- * @param pathOrId - The path or id to check.
95
- * @param options - Optional parameters for resolving the path.
96
- * @returns Whether the path or id corresponds to a virtual file **(does not actually exists on disk)**.
97
- */
98
- isVirtual: (pathOrId: string, options?: ResolvePathOptions) => boolean;
99
- /**
100
- * Check if a path or id corresponds to a file written to the file system **(actually exists on disk)**.
101
- *
102
- * @param pathOrId - The path or id to check.
103
- * @param options - Optional parameters for resolving the path.
104
- * @returns Whether the path or id corresponds to a file written to the file system **(actually exists on disk)**.
105
- */
106
- isFs: (pathOrId: string, options?: ResolvePathOptions) => boolean;
107
- /**
108
- * Checks if a file exists in the virtual file system (VFS).
109
- *
110
- * @param path - The path of the file to check.
111
- * @returns `true` if the file exists, otherwise `false`.
112
- */
113
- isFile: (path: string) => boolean;
114
- /**
115
- * Checks if a directory exists in the virtual file system (VFS).
116
- *
117
- * @param path - The path of the directory to check.
118
- * @returns `true` if the directory exists, otherwise `false`.
119
- */
120
- isDirectory: (path: string) => boolean;
121
- /**
122
- * Check if a path exists within one of the directories specified in the tsconfig.json's `path` field.
123
- *
124
- * @see https://www.typescriptlang.org/tsconfig#paths
125
- *
126
- * @param pathOrId - The path or id to check.
127
- * @returns Whether the path or id corresponds to a virtual file.
128
- */
129
- isTsconfigPath: (pathOrId: string) => boolean;
130
- /**
131
- * Checks if a file exists in the virtual file system (VFS).
132
- *
133
- * @param pathOrId - The path or id of the file.
134
- * @returns `true` if the file exists, otherwise `false`.
135
- */
136
- existsSync: (pathOrId: string) => boolean;
137
- /**
138
- * Gets the metadata of a file in the virtual file system (VFS).
139
- *
140
- * @param pathOrId - The path or id of the file.
141
- * @returns The metadata of the file if it exists, otherwise undefined.
142
- */
143
- getMetadata: (pathOrId: PathLike) => VirtualFileSystemMetadata | undefined;
144
- /**
145
- * Gets the stats of a file in the virtual file system (VFS).
146
- *
147
- * @param pathOrId - The path or id of the file.
148
- * @param options - Optional parameters for getting the stats.
149
- * @returns The stats of the file if it exists, otherwise undefined.
150
- */
151
- lstat: (pathOrId: string, options?: StatSyncOptions & {
152
- bigint?: false | undefined;
153
- throwIfNoEntry: false;
154
- }) => Promise<Stats>;
155
- /**
156
- * Gets the stats of a file in the virtual file system (VFS).
157
- *
158
- * @param pathOrId - The path or id of the file.
159
- * @param options - Optional parameters for getting the stats.
160
- * @returns The stats of the file if it exists, otherwise undefined.
161
- */
162
- lstatSync: (pathOrId: string, options?: StatSyncOptions & {
163
- bigint?: false | undefined;
164
- throwIfNoEntry: false;
165
- }) => Stats | undefined;
166
- /**
167
- * Gets the stats of a file in the virtual file system (VFS).
168
- *
169
- * @param pathOrId - The path or id of the file.
170
- * @returns The stats of the file if it exists, otherwise false.
171
- */
172
- stat: (pathOrId: string, options?: StatSyncOptions & {
173
- bigint?: false | undefined;
174
- throwIfNoEntry: false;
175
- }) => Promise<Stats>;
176
- /**
177
- * Gets the stats of a file in the virtual file system (VFS).
178
- *
179
- * @param pathOrId - The path or id of the file.
180
- * @returns The stats of the file if it exists, otherwise false.
181
- */
182
- statSync: (pathOrId: string, options?: StatSyncOptions & {
183
- bigint?: false | undefined;
184
- throwIfNoEntry: false;
185
- }) => Stats | undefined;
186
- /**
187
- * Lists files in a given path.
188
- *
189
- * @param path - The path to list files from.
190
- * @param options - Options for listing files, such as encoding and recursion.
191
- * @returns An array of file names in the specified path.
192
- */
193
- readdirSync: (path: string, options?: {
194
- encoding: BufferEncoding | null;
195
- withFileTypes?: false | undefined;
196
- recursive?: boolean | undefined;
197
- } | BufferEncoding) => string[];
198
- /**
199
- * Lists files in a given path.
200
- *
201
- * @param path - The path to list files from.
202
- * @param options - Options for listing files, such as encoding and recursion.
203
- * @returns An array of file names in the specified path.
204
- */
205
- readdir: (path: string, options?: {
206
- encoding: BufferEncoding | null;
207
- withFileTypes?: false | undefined;
208
- recursive?: boolean | undefined;
209
- } | BufferEncoding) => Promise<string[]>;
210
- /**
211
- * Removes a file or symbolic link in the virtual file system (VFS).
212
- *
213
- * @param path - The path to the file to remove.
214
- * @returns A promise that resolves when the file is removed.
215
- */
216
- unlinkSync: (path: PathLike, options?: ResolveFSOptions) => void;
217
- /**
218
- * Asynchronously removes a file or symbolic link in the virtual file system (VFS).
219
- *
220
- * @param path - The path to the file to remove.
221
- * @returns A promise that resolves when the file is removed.
222
- */
223
- unlink: (path: string, options?: ResolveFSOptions) => Promise<void>;
224
- /**
225
- * Removes a directory in the virtual file system (VFS).
226
- *
227
- * @param path - The path to create the directory at.
228
- * @param options - Options for creating the directory.
229
- */
230
- rmdirSync: (path: PathLike, options?: RmDirOptions & ResolveFSOptions) => any;
231
- /**
232
- * Removes a directory in the virtual file system (VFS).
233
- *
234
- * @param path - The path to create the directory at.
235
- * @param options - Options for creating the directory.
236
- * @returns A promise that resolves to the path of the created directory, or undefined if the directory could not be created.
237
- */
238
- rmdir: (path: PathLike, options?: RmDirOptions & ResolveFSOptions) => Promise<void>;
239
- /**
240
- * Removes a file or directory in the virtual file system (VFS).
241
- *
242
- * @param path - The path to the file or directory to remove.
243
- * @param options - Options for removing the file or directory.
244
- * @returns A promise that resolves when the file or directory is removed.
245
- */
246
- rm: (path: PathLike, options?: RmOptions & ResolveFSOptions) => Promise<void>;
247
- /**
248
- * Synchronously removes a file or directory in the virtual file system (VFS).
249
- *
250
- * @param path - The path to the file or directory to remove.
251
- * @param options - Options for removing the file or directory.
252
- */
253
- rmSync: (path: PathLike, options?: RmOptions & ResolveFSOptions) => void;
254
- /**
255
- * Creates a directory in the virtual file system (VFS).
256
- *
257
- * @param path - The path to create the directory at.
258
- * @param options - Options for creating the directory.
259
- * @returns A promise that resolves to the path of the created directory, or undefined if the directory could not be created.
260
- */
261
- mkdirSync: (path: PathLike, options?: MakeDirectoryOptions) => string | undefined;
262
- /**
263
- * Creates a directory in the virtual file system (VFS).
264
- *
265
- * @param path - The path to create the directory at.
266
- * @param options - Options for creating the directory.
267
- * @returns A promise that resolves to the path of the created directory, or undefined if the directory could not be created.
268
- */
269
- mkdir: (path: PathLike, options?: MakeDirectoryOptions) => Promise<string | undefined>;
270
- /**
271
- * Reads a file from the virtual file system (VFS).
272
- *
273
- * @param pathOrId - The path or id of the file.
274
- * @returns The contents of the file if it exists, otherwise undefined.
275
- */
276
- readFile: (pathOrId: string) => Promise<string | undefined>;
277
- /**
278
- * Reads a file from the virtual file system (VFS).
279
- *
280
- * @param pathOrId - The path or id of the file.
281
- */
282
- readFileSync: (pathOrId: string) => string | undefined;
283
- /**
284
- * Writes a file to the virtual file system (VFS).
285
- *
286
- * @param path - The path to the file.
287
- * @param data - The contents of the file.
288
- * @param options - Optional parameters for writing the file.
289
- * @returns A promise that resolves when the file is written.
290
- */
291
- writeFile: (path: PathOrFileDescriptor, data?: WriteFileData, options?: WriteFileOptions) => Promise<void>;
292
- /**
293
- * Writes a file to the virtual file system (VFS).
294
- *
295
- * @param path - The path to the file.
296
- * @param data - The contents of the file.
297
- * @param options - Optional parameters for writing the file.
298
- */
299
- writeFileSync: (path: PathOrFileDescriptor, data?: WriteFileData, options?: WriteFileOptions) => void;
300
- /**
301
- * Moves a file from one path to another in the virtual file system (VFS).
302
- *
303
- * @param srcPath - The source path to move
304
- * @param destPath - The destination path to move to
305
- */
306
- move: (srcPath: string, destPath: string) => Promise<void>;
307
- /**
308
- * Synchronously moves a file from one path to another in the virtual file system (VFS).
309
- *
310
- * @param srcPath - The source path to move
311
- * @param destPath - The destination path to move to
312
- */
313
- moveSync: (srcPath: string, destPath: string) => void;
314
- /**
315
- * Copies a file from one path to another in the virtual file system (VFS).
316
- *
317
- * @param srcPath - The source path to copy
318
- * @param destPath - The destination path to copy to
319
- */
320
- copy: (srcPath: string, destPath: string) => Promise<void>;
321
- /**
322
- * Synchronously copies a file from one path to another in the virtual file system (VFS).
323
- *
324
- * @param srcPath - The source path to copy
325
- * @param destPath - The destination path to copy to
326
- */
327
- copySync: (srcPath: string, destPath: string) => void;
328
- /**
329
- * Glob files in the virtual file system (VFS) based on the provided pattern(s).
330
- *
331
- * @param pattern - A pattern (or multiple patterns) to use to determine the file paths to return
332
- * @returns An array of file paths matching the provided pattern(s)
333
- */
334
- glob: (pattern: string | string[]) => Promise<string[]>;
335
- /**
336
- * Synchronously glob files in the virtual file system (VFS) based on the provided pattern(s).
337
- *
338
- * @param pattern - A pattern (or multiple patterns) to use to determine the file paths to return
339
- * @returns An array of file paths matching the provided pattern(s)
340
- */
341
- globSync: (pattern: string | string[]) => string[];
342
- /**
343
- * Resolves a path or id to a file path in the virtual file system.
344
- *
345
- * @param pathOrId - The path or id of the file to resolve.
346
- * @param options - Optional parameters for resolving the path.
347
- * @returns The resolved path of the file if it exists, otherwise false.
348
- */
349
- resolve: (pathOrId: string, options?: ResolvePathOptions) => string | false;
350
- /**
351
- * Resolves a path based on TypeScript's `tsconfig.json` paths.
352
- *
353
- * @see https://www.typescriptlang.org/tsconfig#paths
354
- *
355
- * @param path - The path to check.
356
- * @returns The resolved file path if it exists, otherwise undefined.
357
- */
358
- resolveTsconfigPath: (path: string) => string | false;
359
- /**
360
- * Resolves a package name based on TypeScript's `tsconfig.json` paths.
361
- *
362
- * @see https://www.typescriptlang.org/tsconfig#paths
363
- *
364
- * @param path - The path to check.
365
- * @returns The resolved package name if it exists, otherwise undefined.
366
- */
367
- resolveTsconfigPathPackage: (path: string) => string | false;
368
- /**
369
- * Resolves a path or id to a file path in the virtual file system.
370
- *
371
- * @param pathOrId - The path or id of the file to resolve.
372
- * @returns The resolved path of the file if it exists, otherwise false.
373
- */
374
- realpathSync: (pathOrId: string) => string;
375
- /**
376
- * Retrieves a partial metadata mapping of all files in the virtual file system (VFS).
377
- *
378
- * @returns A record mapping file paths to their partial metadata.
379
- */
380
- getPartialMeta: () => Record<string, Partial<VirtualFileSystemMetadata>>;
381
- /**
382
- * A map of cached file paths to their underlying file content.
383
- */
384
- [__VFS_CACHE__]: Map<string, string>;
385
- /**
386
- * A reference to the underlying virtual file system.
387
- */
388
- [__VFS_VIRTUAL__]: Volume;
389
- /**
390
- * A reference to the underlying unified file system.
391
- */
392
- [__VFS_UNIFIED__]: IUnionFs;
393
- }
394
- declare type __ΩVirtualFileExtension = any[];
395
- declare type __ΩOutputModeType = any[];
396
- declare type __ΩVirtualFile = any[];
397
- declare type __ΩVirtualFileSystemMetadata = any[];
398
- declare type __ΩResolveFSOptions = any[];
399
- declare type __ΩMakeDirectoryOptions = any[];
400
- declare type __ΩPowerlinesWriteFileOptions = any[];
401
- declare type __ΩNodeWriteFileOptions = any[];
402
- declare type __ΩWriteFileOptions = any[];
403
- declare type __ΩPowerLinesWriteFileData = any[];
404
- declare type __ΩWriteFileData = any[];
405
- declare type __ΩResolvePathOptions = any[];
406
- declare type __ΩVirtualFileSystemInterface = any[];
407
-
408
- export { type MakeDirectoryOptions, type NodeWriteFileOptions, type OutputModeType, type PowerLinesWriteFileData, type PowerlinesWriteFileOptions, type ResolveFSOptions, type ResolvePathOptions, type VirtualFile, type VirtualFileExtension, type VirtualFileSystemInterface, type VirtualFileSystemMetadata, type WriteFileData, type WriteFileOptions, __VFS_CACHE__, __VFS_INIT__, __VFS_RESOLVER__, __VFS_REVERT__, __VFS_UNIFIED__, __VFS_VIRTUAL__, type __ΩMakeDirectoryOptions, type __ΩNodeWriteFileOptions, type __ΩOutputModeType, type __ΩPowerLinesWriteFileData, type __ΩPowerlinesWriteFileOptions, type __ΩResolveFSOptions, type __ΩResolvePathOptions, type __ΩVirtualFile, type __ΩVirtualFileExtension, type __ΩVirtualFileSystemInterface, type __ΩVirtualFileSystemMetadata, type __ΩWriteFileData, type __ΩWriteFileOptions };