@powerlines/core 0.48.32 → 0.48.33

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 (445) hide show
  1. package/dist/{chunk-C_NdSu1c.cjs → _virtual/_rolldown/runtime.cjs} +1 -6
  2. package/dist/constants/api.d.cts +6 -2
  3. package/dist/constants/api.d.cts.map +1 -0
  4. package/dist/constants/api.d.mts +6 -2
  5. package/dist/constants/api.d.mts.map +1 -0
  6. package/dist/constants/commands.d.cts +5 -2
  7. package/dist/constants/commands.d.cts.map +1 -0
  8. package/dist/constants/commands.d.mts +5 -2
  9. package/dist/constants/commands.d.mts.map +1 -0
  10. package/dist/constants/devtools.d.cts +13 -2
  11. package/dist/constants/devtools.d.cts.map +1 -0
  12. package/dist/constants/devtools.d.mts +13 -2
  13. package/dist/constants/devtools.d.mts.map +1 -0
  14. package/dist/constants/environments.d.cts +10 -2
  15. package/dist/constants/environments.d.cts.map +1 -0
  16. package/dist/constants/environments.d.mts +10 -2
  17. package/dist/constants/environments.d.mts.map +1 -0
  18. package/dist/constants/extensions.d.cts +5 -2
  19. package/dist/constants/extensions.d.cts.map +1 -0
  20. package/dist/constants/extensions.d.mts +5 -2
  21. package/dist/constants/extensions.d.mts.map +1 -0
  22. package/dist/constants/fs.d.cts +7 -2
  23. package/dist/constants/fs.d.cts.map +1 -0
  24. package/dist/constants/fs.d.mts +7 -2
  25. package/dist/constants/fs.d.mts.map +1 -0
  26. package/dist/constants/hooks.d.cts +5 -2
  27. package/dist/constants/hooks.d.cts.map +1 -0
  28. package/dist/constants/hooks.d.mts +5 -2
  29. package/dist/constants/hooks.d.mts.map +1 -0
  30. package/dist/constants/index.d.cts +10 -10
  31. package/dist/constants/index.d.mts +10 -10
  32. package/dist/constants/log-level.d.cts +67 -2
  33. package/dist/constants/log-level.d.cts.map +1 -0
  34. package/dist/constants/log-level.d.mts +67 -2
  35. package/dist/constants/log-level.d.mts.map +1 -0
  36. package/dist/constants/meta.d.cts +6 -2
  37. package/dist/constants/meta.d.cts.map +1 -0
  38. package/dist/constants/meta.d.mts +6 -2
  39. package/dist/constants/meta.d.mts.map +1 -0
  40. package/dist/constants/plugin.d.cts +9 -2
  41. package/dist/constants/plugin.d.cts.map +1 -0
  42. package/dist/constants/plugin.d.mts +9 -2
  43. package/dist/constants/plugin.d.mts.map +1 -0
  44. package/dist/context/base-context.cjs +2 -2
  45. package/dist/context/base-context.d.cts +81 -2
  46. package/dist/context/base-context.d.cts.map +1 -0
  47. package/dist/context/base-context.d.mts +81 -2
  48. package/dist/context/base-context.d.mts.map +1 -0
  49. package/dist/context/context.cjs +2 -2
  50. package/dist/context/context.d.cts +373 -2
  51. package/dist/context/context.d.cts.map +1 -0
  52. package/dist/context/context.d.mts +373 -2
  53. package/dist/context/context.d.mts.map +1 -0
  54. package/dist/context/environment-context.d.cts +5 -2
  55. package/dist/context/environment-context.d.cts.map +1 -1
  56. package/dist/context/environment-context.d.mts +5 -2
  57. package/dist/context/environment-context.d.mts.map +1 -1
  58. package/dist/context/execution-context.cjs +2 -2
  59. package/dist/context/execution-context.d.cts +6 -2
  60. package/dist/context/execution-context.d.cts.map +1 -1
  61. package/dist/context/execution-context.d.mts +6 -2
  62. package/dist/context/execution-context.d.mts.map +1 -1
  63. package/dist/context/index.d.cts +2 -2
  64. package/dist/context/index.d.mts +2 -2
  65. package/dist/context/plugin-context.d.cts +3 -1
  66. package/dist/context/plugin-context.d.cts.map +1 -1
  67. package/dist/context/plugin-context.d.mts +3 -1
  68. package/dist/context/plugin-context.d.mts.map +1 -1
  69. package/dist/index.cjs +1 -1
  70. package/dist/index.d.cts +32 -24
  71. package/dist/index.d.mts +32 -24
  72. package/dist/index.mjs +1 -1
  73. package/dist/lib/config.cjs +2 -2
  74. package/dist/lib/config.d.cts +140 -2
  75. package/dist/lib/config.d.cts.map +1 -0
  76. package/dist/lib/config.d.mts +140 -2
  77. package/dist/lib/config.d.mts.map +1 -0
  78. package/dist/lib/context-helpers.d.cts +16 -2
  79. package/dist/lib/context-helpers.d.cts.map +1 -0
  80. package/dist/lib/context-helpers.d.mts +16 -2
  81. package/dist/lib/context-helpers.d.mts.map +1 -0
  82. package/dist/lib/entry.d.cts +47 -2
  83. package/dist/lib/entry.d.cts.map +1 -0
  84. package/dist/lib/entry.d.mts +47 -2
  85. package/dist/lib/entry.d.mts.map +1 -0
  86. package/dist/lib/environment.cjs +2 -2
  87. package/dist/lib/environment.d.cts +2 -1
  88. package/dist/lib/environment.d.cts.map +1 -1
  89. package/dist/lib/environment.d.mts +2 -1
  90. package/dist/lib/environment.d.mts.map +1 -1
  91. package/dist/lib/events.d.cts +10 -2
  92. package/dist/lib/events.d.cts.map +1 -0
  93. package/dist/lib/events.d.mts +10 -2
  94. package/dist/lib/events.d.mts.map +1 -0
  95. package/dist/lib/generate-types.d.cts +66 -2
  96. package/dist/lib/generate-types.d.cts.map +1 -0
  97. package/dist/lib/generate-types.d.mts +66 -2
  98. package/dist/lib/generate-types.d.mts.map +1 -0
  99. package/dist/lib/hooks.cjs +2 -2
  100. package/dist/lib/hooks.d.cts +28 -2
  101. package/dist/lib/hooks.d.cts.map +1 -0
  102. package/dist/lib/hooks.d.mts +28 -2
  103. package/dist/lib/hooks.d.mts.map +1 -0
  104. package/dist/lib/index.cjs +1 -1
  105. package/dist/lib/index.d.cts +23 -23
  106. package/dist/lib/index.d.mts +23 -23
  107. package/dist/lib/index.mjs +1 -1
  108. package/dist/lib/install-dependencies.d.cts +12 -2
  109. package/dist/lib/install-dependencies.d.cts.map +1 -0
  110. package/dist/lib/install-dependencies.d.mts +12 -2
  111. package/dist/lib/install-dependencies.d.mts.map +1 -0
  112. package/dist/lib/meta.d.cts +33 -2
  113. package/dist/lib/meta.d.cts.map +1 -0
  114. package/dist/lib/meta.d.mts +33 -2
  115. package/dist/lib/meta.d.mts.map +1 -0
  116. package/dist/lib/plugins.cjs +2 -2
  117. package/dist/lib/plugins.d.cts +39 -2
  118. package/dist/lib/plugins.d.cts.map +1 -0
  119. package/dist/lib/plugins.d.mts +39 -2
  120. package/dist/lib/plugins.d.mts.map +1 -0
  121. package/dist/lib/resolver.cjs +2 -2
  122. package/dist/lib/resolver.d.cts +20 -2
  123. package/dist/lib/resolver.d.cts.map +1 -0
  124. package/dist/lib/resolver.d.mts +20 -2
  125. package/dist/lib/resolver.d.mts.map +1 -0
  126. package/dist/lib/schemas.cjs +1 -1
  127. package/dist/lib/schemas.d.cts +1 -1
  128. package/dist/lib/schemas.d.mts +1 -1
  129. package/dist/lib/schemas.mjs +1 -1
  130. package/dist/lib/streaming-channel.d.cts +126 -2
  131. package/dist/lib/streaming-channel.d.cts.map +1 -0
  132. package/dist/lib/streaming-channel.d.mts +126 -2
  133. package/dist/lib/streaming-channel.d.mts.map +1 -0
  134. package/dist/lib/typescript/index.d.cts +2 -2
  135. package/dist/lib/typescript/index.d.mts +2 -2
  136. package/dist/lib/typescript/ts-morph.cjs +2 -2
  137. package/dist/lib/typescript/ts-morph.d.cts +38 -2
  138. package/dist/lib/typescript/ts-morph.d.cts.map +1 -0
  139. package/dist/lib/typescript/ts-morph.d.mts +38 -2
  140. package/dist/lib/typescript/ts-morph.d.mts.map +1 -0
  141. package/dist/lib/typescript/tsconfig.cjs +4 -4
  142. package/dist/lib/typescript/tsconfig.d.cts +77 -2
  143. package/dist/lib/typescript/tsconfig.d.cts.map +1 -0
  144. package/dist/lib/typescript/tsconfig.d.mts +77 -2
  145. package/dist/lib/typescript/tsconfig.d.mts.map +1 -0
  146. package/dist/lib/unplugin/helpers.d.cts +23 -2
  147. package/dist/lib/unplugin/helpers.d.cts.map +1 -0
  148. package/dist/lib/unplugin/helpers.d.mts +23 -2
  149. package/dist/lib/unplugin/helpers.d.mts.map +1 -0
  150. package/dist/lib/unplugin/index.d.cts +3 -3
  151. package/dist/lib/unplugin/index.d.mts +3 -3
  152. package/dist/lib/unplugin/module-resolution.cjs +2 -2
  153. package/dist/lib/unplugin/module-resolution.d.cts +41 -2
  154. package/dist/lib/unplugin/module-resolution.d.cts.map +1 -0
  155. package/dist/lib/unplugin/module-resolution.d.mts +41 -2
  156. package/dist/lib/unplugin/module-resolution.d.mts.map +1 -0
  157. package/dist/lib/unplugin/plugin.d.cts +40 -2
  158. package/dist/lib/unplugin/plugin.d.cts.map +1 -0
  159. package/dist/lib/unplugin/plugin.d.mts +40 -2
  160. package/dist/lib/unplugin/plugin.d.mts.map +1 -0
  161. package/dist/lib/utilities/file-header.d.cts +41 -2
  162. package/dist/lib/utilities/file-header.d.cts.map +1 -0
  163. package/dist/lib/utilities/file-header.d.mts +41 -2
  164. package/dist/lib/utilities/file-header.d.mts.map +1 -0
  165. package/dist/lib/utilities/format.cjs +2 -2
  166. package/dist/lib/utilities/format.d.cts +24 -2
  167. package/dist/lib/utilities/format.d.cts.map +1 -0
  168. package/dist/lib/utilities/format.d.mts +24 -2
  169. package/dist/lib/utilities/format.d.mts.map +1 -0
  170. package/dist/lib/utilities/index.d.cts +5 -5
  171. package/dist/lib/utilities/index.d.mts +5 -5
  172. package/dist/lib/utilities/source-file.cjs +2 -2
  173. package/dist/lib/utilities/source-file.d.cts +30 -2
  174. package/dist/lib/utilities/source-file.d.cts.map +1 -0
  175. package/dist/lib/utilities/source-file.d.mts +30 -2
  176. package/dist/lib/utilities/source-file.d.mts.map +1 -0
  177. package/dist/lib/utilities/source-map.cjs +2 -2
  178. package/dist/lib/utilities/source-map.d.cts +16 -2
  179. package/dist/lib/utilities/source-map.d.cts.map +1 -0
  180. package/dist/lib/utilities/source-map.d.mts +16 -2
  181. package/dist/lib/utilities/source-map.d.mts.map +1 -0
  182. package/dist/lib/utilities/write-file.d.cts +15 -2
  183. package/dist/lib/utilities/write-file.d.cts.map +1 -0
  184. package/dist/lib/utilities/write-file.d.mts +15 -2
  185. package/dist/lib/utilities/write-file.d.mts.map +1 -0
  186. package/dist/lib/vfs.cjs +3 -3
  187. package/dist/lib/vfs.d.cts +321 -2
  188. package/dist/lib/vfs.d.cts.map +1 -0
  189. package/dist/lib/vfs.d.mts +321 -2
  190. package/dist/lib/vfs.d.mts.map +1 -0
  191. package/dist/lib/vfs.mjs +1 -1
  192. package/dist/plugin-base.d.cts +3 -1
  193. package/dist/plugin-base.d.cts.map +1 -1
  194. package/dist/plugin-base.d.mts +3 -1
  195. package/dist/plugin-base.d.mts.map +1 -1
  196. package/dist/plugin-utils/build-helpers.d.cts +2 -1
  197. package/dist/plugin-utils/build-helpers.d.cts.map +1 -1
  198. package/dist/plugin-utils/build-helpers.d.mts +2 -1
  199. package/dist/plugin-utils/build-helpers.d.mts.map +1 -1
  200. package/dist/plugin-utils/combine-plugins.d.cts +1 -1
  201. package/dist/plugin-utils/combine-plugins.d.mts +1 -1
  202. package/dist/plugin-utils/context-helpers.d.cts +1 -1
  203. package/dist/plugin-utils/context-helpers.d.mts +1 -1
  204. package/dist/plugin-utils/enable-plugin.d.cts +2 -1
  205. package/dist/plugin-utils/enable-plugin.d.cts.map +1 -1
  206. package/dist/plugin-utils/enable-plugin.d.mts +2 -1
  207. package/dist/plugin-utils/enable-plugin.d.mts.map +1 -1
  208. package/dist/plugin-utils/extend.d.cts +3 -1
  209. package/dist/plugin-utils/extend.d.cts.map +1 -1
  210. package/dist/plugin-utils/extend.d.mts +3 -1
  211. package/dist/plugin-utils/extend.d.mts.map +1 -1
  212. package/dist/plugin-utils/filter.cjs +2 -2
  213. package/dist/plugin-utils/filter.d.cts +1 -1
  214. package/dist/plugin-utils/filter.d.mts +1 -1
  215. package/dist/plugin-utils/format-package-json.d.cts +1 -1
  216. package/dist/plugin-utils/format-package-json.d.mts +1 -1
  217. package/dist/plugin-utils/get-config-path.d.cts +1 -1
  218. package/dist/plugin-utils/get-config-path.d.mts +1 -1
  219. package/dist/plugin-utils/helpers.d.cts +5 -1
  220. package/dist/plugin-utils/helpers.d.cts.map +1 -1
  221. package/dist/plugin-utils/helpers.d.mts +5 -1
  222. package/dist/plugin-utils/helpers.d.mts.map +1 -1
  223. package/dist/plugin-utils/install.d.cts +1 -1
  224. package/dist/plugin-utils/install.d.mts +1 -1
  225. package/dist/plugin-utils/logging.cjs +2 -2
  226. package/dist/plugin-utils/logging.d.cts +3 -1
  227. package/dist/plugin-utils/logging.d.cts.map +1 -1
  228. package/dist/plugin-utils/logging.d.mts +3 -1
  229. package/dist/plugin-utils/logging.d.mts.map +1 -1
  230. package/dist/plugin-utils/merge.cjs +2 -2
  231. package/dist/plugin-utils/merge.d.cts +3 -1
  232. package/dist/plugin-utils/merge.d.cts.map +1 -1
  233. package/dist/plugin-utils/merge.d.mts +3 -1
  234. package/dist/plugin-utils/merge.d.mts.map +1 -1
  235. package/dist/plugin-utils/modules.d.cts +1 -1
  236. package/dist/plugin-utils/modules.d.mts +1 -1
  237. package/dist/plugin-utils/paths.d.cts +1 -1
  238. package/dist/plugin-utils/paths.d.mts +1 -1
  239. package/dist/{fs-C2lru696.cjs → schemas/fs.cjs} +8 -38
  240. package/dist/{schemas-Zvqwdrw_.d.mts → schemas/fs.d.cts} +2 -2
  241. package/dist/schemas/fs.d.cts.map +1 -0
  242. package/dist/{schemas-Zvqwdrw_.d.cts → schemas/fs.d.mts} +2 -2
  243. package/dist/schemas/fs.d.mts.map +1 -0
  244. package/dist/{fs-DqLn15uU.mjs → schemas/fs.mjs} +2 -2
  245. package/dist/schemas/fs.mjs.map +1 -0
  246. package/dist/storage/base.d.cts +2 -1
  247. package/dist/storage/base.d.cts.map +1 -1
  248. package/dist/storage/base.d.mts +2 -1
  249. package/dist/storage/base.d.mts.map +1 -1
  250. package/dist/storage/file-system.d.cts +1 -1
  251. package/dist/storage/file-system.d.mts +1 -1
  252. package/dist/storage/virtual.d.cts +1 -1
  253. package/dist/storage/virtual.d.mts +1 -1
  254. package/dist/types/api.d.cts +16 -0
  255. package/dist/types/api.d.cts.map +1 -0
  256. package/dist/types/api.d.mts +16 -0
  257. package/dist/types/api.d.mts.map +1 -0
  258. package/dist/types/config.d.cts +739 -0
  259. package/dist/types/config.d.cts.map +1 -0
  260. package/dist/types/config.d.mts +739 -0
  261. package/dist/types/config.d.mts.map +1 -0
  262. package/dist/types/context.d.cts +682 -0
  263. package/dist/types/context.d.cts.map +1 -0
  264. package/dist/types/context.d.mts +682 -0
  265. package/dist/types/context.d.mts.map +1 -0
  266. package/dist/types/fs.d.cts +538 -0
  267. package/dist/types/fs.d.cts.map +1 -0
  268. package/dist/types/fs.d.mts +538 -0
  269. package/dist/types/fs.d.mts.map +1 -0
  270. package/dist/types/hooks.d.cts +96 -0
  271. package/dist/types/hooks.d.cts.map +1 -0
  272. package/dist/types/hooks.d.mts +96 -0
  273. package/dist/types/hooks.d.mts.map +1 -0
  274. package/dist/types/index.d.cts +9 -0
  275. package/dist/types/index.d.mts +9 -0
  276. package/dist/types/logging.d.cts +145 -0
  277. package/dist/types/logging.d.cts.map +1 -0
  278. package/dist/types/logging.d.mts +145 -0
  279. package/dist/types/logging.d.mts.map +1 -0
  280. package/dist/types/plugin.d.cts +207 -0
  281. package/dist/types/plugin.d.cts.map +1 -0
  282. package/dist/types/plugin.d.mts +207 -0
  283. package/dist/types/plugin.d.mts.map +1 -0
  284. package/dist/types/tsconfig.d.cts +73 -0
  285. package/dist/types/tsconfig.d.cts.map +1 -0
  286. package/dist/types/tsconfig.d.mts +73 -0
  287. package/dist/types/tsconfig.d.mts.map +1 -0
  288. package/dist/types/unplugin.d.cts +22 -0
  289. package/dist/types/unplugin.d.cts.map +1 -0
  290. package/dist/types/unplugin.d.mts +22 -0
  291. package/dist/types/unplugin.d.mts.map +1 -0
  292. package/package.json +7 -7
  293. package/dist/api-DTCbbtSH.d.cts +0 -6
  294. package/dist/api-DTCbbtSH.d.cts.map +0 -1
  295. package/dist/api-DTCbbtSH.d.mts +0 -6
  296. package/dist/api-DTCbbtSH.d.mts.map +0 -1
  297. package/dist/base-context-BmxgDD3S.d.mts +0 -79
  298. package/dist/base-context-BmxgDD3S.d.mts.map +0 -1
  299. package/dist/base-context-mHoSEqHf.d.cts +0 -79
  300. package/dist/base-context-mHoSEqHf.d.cts.map +0 -1
  301. package/dist/commands-DzGd8pnR.d.cts +0 -5
  302. package/dist/commands-DzGd8pnR.d.cts.map +0 -1
  303. package/dist/commands-DzGd8pnR.d.mts +0 -5
  304. package/dist/commands-DzGd8pnR.d.mts.map +0 -1
  305. package/dist/config-BnV_o0Es.d.cts +0 -2461
  306. package/dist/config-BnV_o0Es.d.cts.map +0 -1
  307. package/dist/config-DKeDSykZ.d.cts +0 -138
  308. package/dist/config-DKeDSykZ.d.cts.map +0 -1
  309. package/dist/config-DbOP5nVu.d.mts +0 -138
  310. package/dist/config-DbOP5nVu.d.mts.map +0 -1
  311. package/dist/config-DboKmDhl.d.mts +0 -2461
  312. package/dist/config-DboKmDhl.d.mts.map +0 -1
  313. package/dist/context-C6oL3mPw.d.mts +0 -368
  314. package/dist/context-C6oL3mPw.d.mts.map +0 -1
  315. package/dist/context-DcY6YqBQ.d.cts +0 -368
  316. package/dist/context-DcY6YqBQ.d.cts.map +0 -1
  317. package/dist/context-helpers-BRt-Eq-v.d.mts +0 -15
  318. package/dist/context-helpers-BRt-Eq-v.d.mts.map +0 -1
  319. package/dist/context-helpers-Cnsku6fQ.d.cts +0 -15
  320. package/dist/context-helpers-Cnsku6fQ.d.cts.map +0 -1
  321. package/dist/devtools-h0du-bSj.d.cts +0 -13
  322. package/dist/devtools-h0du-bSj.d.cts.map +0 -1
  323. package/dist/devtools-h0du-bSj.d.mts +0 -13
  324. package/dist/devtools-h0du-bSj.d.mts.map +0 -1
  325. package/dist/entry-BC_V2K2U.d.cts +0 -46
  326. package/dist/entry-BC_V2K2U.d.cts.map +0 -1
  327. package/dist/entry-CHIaWcmk.d.mts +0 -46
  328. package/dist/entry-CHIaWcmk.d.mts.map +0 -1
  329. package/dist/environments-BYv_kHRG.d.cts +0 -10
  330. package/dist/environments-BYv_kHRG.d.cts.map +0 -1
  331. package/dist/environments-BYv_kHRG.d.mts +0 -10
  332. package/dist/environments-BYv_kHRG.d.mts.map +0 -1
  333. package/dist/events-NA1XM2Vz.d.cts +0 -10
  334. package/dist/events-NA1XM2Vz.d.cts.map +0 -1
  335. package/dist/events-NA1XM2Vz.d.mts +0 -10
  336. package/dist/events-NA1XM2Vz.d.mts.map +0 -1
  337. package/dist/extensions-ctxXzgay.d.cts +0 -5
  338. package/dist/extensions-ctxXzgay.d.cts.map +0 -1
  339. package/dist/extensions-ctxXzgay.d.mts +0 -5
  340. package/dist/extensions-ctxXzgay.d.mts.map +0 -1
  341. package/dist/file-header-Co9oo7aI.d.cts +0 -41
  342. package/dist/file-header-Co9oo7aI.d.cts.map +0 -1
  343. package/dist/file-header-rHqeXgRV.d.mts +0 -41
  344. package/dist/file-header-rHqeXgRV.d.mts.map +0 -1
  345. package/dist/format-Cf-cgZ-s.d.cts +0 -24
  346. package/dist/format-Cf-cgZ-s.d.cts.map +0 -1
  347. package/dist/format-IQPqgWIe.d.mts +0 -24
  348. package/dist/format-IQPqgWIe.d.mts.map +0 -1
  349. package/dist/fs-BzXT5ZPj.d.cts +0 -7
  350. package/dist/fs-BzXT5ZPj.d.cts.map +0 -1
  351. package/dist/fs-BzXT5ZPj.d.mts +0 -7
  352. package/dist/fs-BzXT5ZPj.d.mts.map +0 -1
  353. package/dist/fs-DqLn15uU.mjs.map +0 -1
  354. package/dist/generate-types-CDkVosrS.d.cts +0 -65
  355. package/dist/generate-types-CDkVosrS.d.cts.map +0 -1
  356. package/dist/generate-types-Dw6p3cB_.d.mts +0 -65
  357. package/dist/generate-types-Dw6p3cB_.d.mts.map +0 -1
  358. package/dist/helpers-CrRRFQl5.d.mts +0 -22
  359. package/dist/helpers-CrRRFQl5.d.mts.map +0 -1
  360. package/dist/helpers-DBLIQW3U.d.cts +0 -22
  361. package/dist/helpers-DBLIQW3U.d.cts.map +0 -1
  362. package/dist/hooks-Dhc3ahex.d.cts +0 -5
  363. package/dist/hooks-Dhc3ahex.d.cts.map +0 -1
  364. package/dist/hooks-Dhc3ahex.d.mts +0 -5
  365. package/dist/hooks-Dhc3ahex.d.mts.map +0 -1
  366. package/dist/index-BKZ67WMa.d.cts +0 -1
  367. package/dist/index-BKZ67WMa.d.mts +0 -1
  368. package/dist/index-BVVgDSdq.d.cts +0 -1
  369. package/dist/index-BVVgDSdq.d.mts +0 -1
  370. package/dist/index-Den-MsLx.d.cts +0 -1
  371. package/dist/index-Den-MsLx.d.mts +0 -1
  372. package/dist/index-DmtQKWjk.d.cts +0 -1
  373. package/dist/index-DmtQKWjk.d.mts +0 -1
  374. package/dist/index-LtpXjuJR.d.mts +0 -25
  375. package/dist/index-LtpXjuJR.d.mts.map +0 -1
  376. package/dist/index-_6s0AX1B.d.cts +0 -1
  377. package/dist/index-_6s0AX1B.d.mts +0 -1
  378. package/dist/index-xk4vSgtB.d.cts +0 -25
  379. package/dist/index-xk4vSgtB.d.cts.map +0 -1
  380. package/dist/install-dependencies-CCjZfS9Y.d.mts +0 -12
  381. package/dist/install-dependencies-CCjZfS9Y.d.mts.map +0 -1
  382. package/dist/install-dependencies-CyeYsrfz.d.cts +0 -12
  383. package/dist/install-dependencies-CyeYsrfz.d.cts.map +0 -1
  384. package/dist/log-level-BC8g4BBL.d.cts +0 -67
  385. package/dist/log-level-BC8g4BBL.d.cts.map +0 -1
  386. package/dist/log-level-BC8g4BBL.d.mts +0 -67
  387. package/dist/log-level-BC8g4BBL.d.mts.map +0 -1
  388. package/dist/meta-CdDd2ykC.d.cts +0 -33
  389. package/dist/meta-CdDd2ykC.d.cts.map +0 -1
  390. package/dist/meta-CfTCHU_o.d.mts +0 -33
  391. package/dist/meta-CfTCHU_o.d.mts.map +0 -1
  392. package/dist/meta-QA_SN1j3.d.cts +0 -6
  393. package/dist/meta-QA_SN1j3.d.cts.map +0 -1
  394. package/dist/meta-QA_SN1j3.d.mts +0 -6
  395. package/dist/meta-QA_SN1j3.d.mts.map +0 -1
  396. package/dist/module-resolution-CRMNPsdn.d.mts +0 -40
  397. package/dist/module-resolution-CRMNPsdn.d.mts.map +0 -1
  398. package/dist/module-resolution-D-w-EZaK.d.cts +0 -40
  399. package/dist/module-resolution-D-w-EZaK.d.cts.map +0 -1
  400. package/dist/plugin-B_b7XqaN.d.mts +0 -39
  401. package/dist/plugin-B_b7XqaN.d.mts.map +0 -1
  402. package/dist/plugin-CzV-aFwU.d.cts +0 -39
  403. package/dist/plugin-CzV-aFwU.d.cts.map +0 -1
  404. package/dist/plugin-fhBG7SSQ.d.cts +0 -9
  405. package/dist/plugin-fhBG7SSQ.d.cts.map +0 -1
  406. package/dist/plugin-fhBG7SSQ.d.mts +0 -9
  407. package/dist/plugin-fhBG7SSQ.d.mts.map +0 -1
  408. package/dist/plugins-DfL1fBZi.d.cts +0 -37
  409. package/dist/plugins-DfL1fBZi.d.cts.map +0 -1
  410. package/dist/plugins-zG2X2LA8.d.mts +0 -37
  411. package/dist/plugins-zG2X2LA8.d.mts.map +0 -1
  412. package/dist/resolver-CdBAh8dA.d.mts +0 -19
  413. package/dist/resolver-CdBAh8dA.d.mts.map +0 -1
  414. package/dist/resolver-CfCl--Eh.d.cts +0 -19
  415. package/dist/resolver-CfCl--Eh.d.cts.map +0 -1
  416. package/dist/schemas-Zvqwdrw_.d.cts.map +0 -1
  417. package/dist/schemas-Zvqwdrw_.d.mts.map +0 -1
  418. package/dist/source-file-CLw13fKE.d.mts +0 -30
  419. package/dist/source-file-CLw13fKE.d.mts.map +0 -1
  420. package/dist/source-file-CuuHaBL5.d.cts +0 -30
  421. package/dist/source-file-CuuHaBL5.d.cts.map +0 -1
  422. package/dist/source-map-Cy0aqSpe.d.mts +0 -16
  423. package/dist/source-map-Cy0aqSpe.d.mts.map +0 -1
  424. package/dist/source-map-HU4IoICc.d.cts +0 -16
  425. package/dist/source-map-HU4IoICc.d.cts.map +0 -1
  426. package/dist/streaming-channel-CiyFd_6l.d.cts +0 -126
  427. package/dist/streaming-channel-CiyFd_6l.d.cts.map +0 -1
  428. package/dist/streaming-channel-CiyFd_6l.d.mts +0 -126
  429. package/dist/streaming-channel-CiyFd_6l.d.mts.map +0 -1
  430. package/dist/ts-morph-BGgjbOgM.d.cts +0 -38
  431. package/dist/ts-morph-BGgjbOgM.d.cts.map +0 -1
  432. package/dist/ts-morph-zLvdifpA.d.mts +0 -38
  433. package/dist/ts-morph-zLvdifpA.d.mts.map +0 -1
  434. package/dist/tsconfig-DExoZEQ0.d.cts +0 -75
  435. package/dist/tsconfig-DExoZEQ0.d.cts.map +0 -1
  436. package/dist/tsconfig-De09cBeX.d.mts +0 -75
  437. package/dist/tsconfig-De09cBeX.d.mts.map +0 -1
  438. package/dist/vfs-B9Vhnajc.d.cts +0 -320
  439. package/dist/vfs-B9Vhnajc.d.cts.map +0 -1
  440. package/dist/vfs-Dl6nPqdS.d.mts +0 -320
  441. package/dist/vfs-Dl6nPqdS.d.mts.map +0 -1
  442. package/dist/write-file-BVMnXVPo.d.cts +0 -15
  443. package/dist/write-file-BVMnXVPo.d.cts.map +0 -1
  444. package/dist/write-file-CWf9Xxwd.d.mts +0 -15
  445. package/dist/write-file-CWf9Xxwd.d.mts.map +0 -1
@@ -1,2 +1,373 @@
1
- import { t as PowerlinesContext } from "../context-C6oL3mPw.mjs";
2
- export { PowerlinesContext };
1
+ import { ResolveOptions, VirtualFile, VirtualFileSystemInterface } from "../types/fs.mjs";
2
+ import { CallHookOptions, InferHookParameters, InferHookReturnType } from "../types/hooks.mjs";
3
+ import { LogLevelResolvedConfig, Logger, LoggerOptions } from "../types/logging.mjs";
4
+ import { ParsedTypeScriptConfig } from "../types/tsconfig.mjs";
5
+ import { Context, EmitEntryOptions, EmitOptions, EnvironmentContext, FetchOptions, MetaInfo, ParseOptions, PluginContext, ResolveResult, Resolver, TransformResult } from "../types/context.mjs";
6
+ import { ExecutionOptions, InferOverridableConfig, ParsedUserConfig, ResolvedConfig, ResolvedEntryFileReference } from "../types/config.mjs";
7
+ import { PowerlinesBaseContext } from "./base-context.mjs";
8
+ import { EnvPaths } from "@stryke/env/get-env-paths";
9
+ import { FlatCache } from "flat-cache";
10
+ import { ParseResult } from "oxc-parser";
11
+ import { RequestInfo, Response } from "undici";
12
+ import { PackageJson } from "@stryke/types/package-json";
13
+ import { Range } from "semver";
14
+
15
+ //#region src/context/context.d.ts
16
+ declare class PowerlinesContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig, TSystemContext = unknown> extends PowerlinesBaseContext<TSystemContext> implements Context<TResolvedConfig, TSystemContext> {
17
+ #private;
18
+ options: ExecutionOptions;
19
+ resolver: Resolver;
20
+ /**
21
+ * The parsed `package.json` file for the project
22
+ */
23
+ packageJson: PackageJson;
24
+ /**
25
+ * The parsed `project.json` file for the project
26
+ */
27
+ projectJson: Record<string, any> | undefined;
28
+ /**
29
+ * The parsed configuration file for the project
30
+ */
31
+ configFile: ParsedUserConfig;
32
+ /**
33
+ * An object containing the dependencies that should be installed for the project
34
+ */
35
+ dependencies: Record<string, string | Range>;
36
+ /**
37
+ * An object containing the development dependencies that should be installed for the project
38
+ */
39
+ devDependencies: Record<string, string | Range>;
40
+ /**
41
+ * The persisted meta information about the current build
42
+ */
43
+ persistedMeta: MetaInfo | undefined;
44
+ /**
45
+ * The resolved tsconfig file paths for the project
46
+ */
47
+ resolvePatterns: RegExp[];
48
+ /**
49
+ * The resolved configuration for this context
50
+ */
51
+ protected resolvedConfig: TResolvedConfig;
52
+ /**
53
+ * The configuration options that were overridden by plugins during the build process, which may include additional properties or modifications made during the configuration loading process.
54
+ */
55
+ protected overriddenConfig: InferOverridableConfig<TResolvedConfig>;
56
+ /**
57
+ * The configuration options provided inline during execution, such as CLI flags or other parameters that may be relevant to the command being executed. These options can be used to override or supplement the configuration options defined in a configuration file on disk, and are typically provided as part of the execution context when running a Powerlines command.
58
+ */
59
+ protected inlineConfig: TResolvedConfig["inlineConfig"];
60
+ /**
61
+ * The configuration options read from a configuration file on disk, which may be used to resolve the final configuration for the context. This typically includes the user configuration options defined in the `powerlines.config.ts` file, as well as any inline configuration options provided during execution.
62
+ */
63
+ protected userConfig: TResolvedConfig["userConfig"];
64
+ /**
65
+ * The configuration options provided by plugins added by the user (and other plugins)
66
+ */
67
+ protected pluginConfig: TResolvedConfig["pluginConfig"];
68
+ /**
69
+ * The configuration options provided by the environment
70
+ */
71
+ protected environmentConfig: any;
72
+ /**
73
+ * A unique identifier for the current execution, which can be used for logging and other purposes to distinguish between different executions in the same process.
74
+ */
75
+ protected get executionId(): string;
76
+ /**
77
+ * The resolved entry type definitions for the project
78
+ */
79
+ get entry(): ResolvedEntryFileReference[];
80
+ /**
81
+ * The TypeScript configuration parsed from the tsconfig file
82
+ */
83
+ get tsconfig(): ParsedTypeScriptConfig;
84
+ /**
85
+ * Sets the TypeScript configuration parsed from the tsconfig file
86
+ */
87
+ set tsconfig(value: ParsedTypeScriptConfig);
88
+ /**
89
+ * The virtual file system interface for the project
90
+ */
91
+ get fs(): VirtualFileSystemInterface;
92
+ /**
93
+ * Get the checksum of the project's current state
94
+ */
95
+ get checksum(): string | null;
96
+ /**
97
+ * Invokes the configured plugin hooks
98
+ *
99
+ * @remarks
100
+ * By default, it will call the `"pre"`, `"normal"`, and `"post"` ordered hooks in sequence
101
+ *
102
+ * @param hook - The hook to call
103
+ * @param options - The options to provide to the hook
104
+ * @param args - The arguments to pass to the hook
105
+ * @returns The result of the hook call
106
+ */
107
+ callHook: <TKey extends string>(hook: TKey, options: CallHookOptions & {
108
+ environment?: string | EnvironmentContext<any>;
109
+ }, ...args: InferHookParameters<PluginContext<any>, TKey>) => Promise<InferHookReturnType<PluginContext<any>, TKey> | undefined>;
110
+ /**
111
+ * The meta information about the current build
112
+ */
113
+ get meta(): MetaInfo;
114
+ /**
115
+ * The resolved configuration options
116
+ */
117
+ get config(): TResolvedConfig;
118
+ /**
119
+ * Get the path to the artifacts directory for the project
120
+ */
121
+ get artifactsPath(): string;
122
+ /**
123
+ * Get the path to the builtin modules used by the project
124
+ */
125
+ get builtinsPath(): string;
126
+ /**
127
+ * Get the path to the entry directory for the project
128
+ */
129
+ get entryPath(): string;
130
+ /**
131
+ * Get the path to the infrastructure modules used by the project
132
+ */
133
+ get infrastructurePath(): string;
134
+ /**
135
+ * Get the path to the data directory for the project
136
+ */
137
+ get dataPath(): string;
138
+ /**
139
+ * Get the path to the cache directory for the project
140
+ */
141
+ get cachePath(): string;
142
+ /**
143
+ * Get the path to the generated declaration file for the project
144
+ */
145
+ get typesPath(): string;
146
+ /**
147
+ * Get the project root relative to the workspace root
148
+ */
149
+ get relativeToWorkspaceRoot(): string;
150
+ /**
151
+ * The builtin module id that exist in the Powerlines virtual file system
152
+ */
153
+ get builtins(): string[];
154
+ /**
155
+ * Additional arguments provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed.
156
+ */
157
+ get additionalArgs(): Record<string, string | string[]>;
158
+ /**
159
+ * The alias mappings for the project used during module resolution
160
+ *
161
+ * @remarks
162
+ * This includes both the built-in module aliases as well as any custom aliases defined in the build configuration.
163
+ */
164
+ get alias(): Record<string, string>;
165
+ get logger(): Logger;
166
+ /**
167
+ * The log level for the context, which determines the minimum level of log messages that will be emitted by the logger. This is resolved based on the configuration options provided by the user, and can be set to different levels for development, production, and test environments. The log level can also be overridden by plugins or other parts of the build process to provide more granular control over logging output.
168
+ */
169
+ get logLevel(): LogLevelResolvedConfig;
170
+ /**
171
+ * The environment paths for the project, which provide the locations of various directories and files used by the Powerlines framework. These paths are resolved based on the organization ID, application ID, and workspace root directory, and can be used to access configuration files, cache directories, and other resources in a consistent manner.
172
+ */
173
+ get envPaths(): EnvPaths;
174
+ /**
175
+ * Gets the parser cache.
176
+ */
177
+ protected get parserCache(): FlatCache;
178
+ /**
179
+ * Gets the request cache.
180
+ */
181
+ protected get requestCache(): FlatCache;
182
+ /**
183
+ * The entry points that exist in the Powerlines virtual file system
184
+ */
185
+ protected get resolvedEntry(): ResolvedEntryFileReference[];
186
+ /**
187
+ * Creates a new Context instance.
188
+ *
189
+ * @param options - The options to use for creating the context, including the resolved configuration and workspace settings.
190
+ */
191
+ protected constructor(options: ExecutionOptions);
192
+ createLogger(options?: LoggerOptions): Logger;
193
+ /**
194
+ * A function to perform HTTP fetch requests
195
+ *
196
+ * @remarks
197
+ * This function uses a caching layer to avoid duplicate requests during the Powerlines process.
198
+ *
199
+ * @example
200
+ * ```ts
201
+ * const response = await context.fetch("https://api.example.com/data");
202
+ * const data = await response.json();
203
+ * ```
204
+ *
205
+ * @see https://github.com/nodejs/undici
206
+ *
207
+ * @param input - The URL to fetch.
208
+ * @param options - The fetch request options.
209
+ * @returns A promise that resolves to a response returned by the fetch.
210
+ */
211
+ fetch(input: RequestInfo, options?: FetchOptions): Promise<Response>;
212
+ /**
213
+ * Parse code using [Oxc-Parser](https://github.com/oxc/oxc) into an (ESTree-compatible)[https://github.com/estree/estree] AST object.
214
+ *
215
+ * @remarks
216
+ * This function can be used to parse TypeScript code into an AST for further analysis or transformation.
217
+ *
218
+ * @example
219
+ * ```ts
220
+ * const ast = context.parse("const x: number = 42;");
221
+ * ```
222
+ *
223
+ * @see https://rollupjs.org/plugin-development/#this-parse
224
+ * @see https://github.com/oxc/oxc
225
+ *
226
+ * @param code - The source code to parse.
227
+ * @param options - The options to pass to the parser.
228
+ * @returns An (ESTree-compatible)[https://github.com/estree/estree] AST object.
229
+ */
230
+ parse(code: string, options?: ParseOptions): Promise<ParseResult>;
231
+ /**
232
+ * A helper function to resolve modules in the Virtual File System
233
+ *
234
+ * @remarks
235
+ * This function can be used to resolve modules relative to the project root directory.
236
+ *
237
+ * @example
238
+ * ```ts
239
+ * const resolved = await context.resolve("some-module", "/path/to/importer");
240
+ * ```
241
+ *
242
+ * @param id - The module to resolve.
243
+ * @param importer - An optional path to the importer module.
244
+ * @param options - Additional resolution options.
245
+ * @returns A promise that resolves to the resolved module path.
246
+ */
247
+ resolve(id: string, importer?: string, options?: ResolveOptions): Promise<ResolveResult | undefined>;
248
+ /**
249
+ * A helper function to load modules from the Virtual File System
250
+ *
251
+ * @remarks
252
+ * This function can be used to load modules relative to the project root directory.
253
+ *
254
+ * @example
255
+ * ```ts
256
+ * const module = await context.load("some-module", "/path/to/importer");
257
+ * ```
258
+ *
259
+ * @param id - The module to load.
260
+ * @returns A promise that resolves to the loaded module.
261
+ */
262
+ load(id: string): Promise<TransformResult | undefined>;
263
+ /**
264
+ * Get the builtin virtual files that exist in the Powerlines virtual file system
265
+ */
266
+ getBuiltins(): Promise<VirtualFile[]>;
267
+ /**
268
+ * Resolves a file and writes it to the VFS if it does not already exist
269
+ *
270
+ * @param code - The source code of the file
271
+ * @param path - The path to write the file to
272
+ * @param options - Additional options for writing the file
273
+ */
274
+ emit(code: string, path: string, options?: EmitOptions): Promise<void>;
275
+ /**
276
+ * Synchronously resolves a file and writes it to the VFS if it does not already exist
277
+ *
278
+ * @param code - The source code of the file
279
+ * @param path - The path to write the file to
280
+ * @param options - Additional options for writing the file
281
+ */
282
+ emitSync(code: string, path: string, options?: EmitOptions): void;
283
+ /**
284
+ * Resolves a entry virtual file and writes it to the VFS if it does not already exist
285
+ *
286
+ * @param code - The source code of the entry file
287
+ * @param path - A path to write the entry file to
288
+ * @param options - Optional write file options
289
+ */
290
+ emitEntry(code: string, path: string, options?: EmitEntryOptions): Promise<void>;
291
+ /**
292
+ * Synchronously resolves a entry virtual file and writes it to the VFS if it does not already exist
293
+ *
294
+ * @param code - The source code of the entry file
295
+ * @param path - A path to write the entry file to
296
+ * @param options - Optional write file options
297
+ */
298
+ emitEntrySync(code: string, path: string, options?: EmitEntryOptions): void;
299
+ /**
300
+ * Resolves a builtin virtual file and writes it to the VFS if it does not already exist
301
+ *
302
+ * @param code - The source code of the builtin file
303
+ * @param id - The unique identifier of the builtin file
304
+ * @param options - Optional write file options
305
+ */
306
+ emitBuiltin(code: string, id: string, options?: EmitOptions): Promise<void>;
307
+ /**
308
+ * Synchronously resolves a builtin virtual file and writes it to the VFS if it does not already exist
309
+ *
310
+ * @param code - The source code of the builtin file
311
+ * @param id - The unique identifier of the builtin file
312
+ * @param options - Optional write file options
313
+ */
314
+ emitBuiltinSync(code: string, id: string, options?: EmitOptions): void;
315
+ /**
316
+ * Resolves a builtin virtual file and writes it to the VFS if it does not already exist
317
+ *
318
+ * @param code - The source code of the builtin file
319
+ * @param id - The unique identifier of the builtin file
320
+ * @param options - Optional write file options
321
+ */
322
+ emitInfrastructure(code: string, id: string, options?: EmitOptions): Promise<void>;
323
+ /**
324
+ * Synchronously resolves an infrastructure virtual file and writes it to the VFS if it does not already exist
325
+ *
326
+ * @param code - The source code of the infrastructure file
327
+ * @param id - The unique identifier of the infrastructure file
328
+ * @param options - Optional write file options
329
+ */
330
+ emitInfrastructureSync(code: string, id: string, options?: EmitOptions): void;
331
+ /**
332
+ * Generates a checksum representing the current context state
333
+ *
334
+ * @param path - The root directory of the project to generate the checksum for
335
+ * @returns A promise that resolves to a string representing the checksum
336
+ */
337
+ generateChecksum(path?: string): Promise<string>;
338
+ /**
339
+ * A setter function to populate the inline config values provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed. This function can be used to update the context with the inline configuration values, which may be used during the configuration resolution process to ensure that the final configuration reflects both the user configuration and any inline configuration provided during execution.
340
+ *
341
+ * @param config - The inline configuration values to set.
342
+ * @returns A promise that resolves when the inline configuration values have been set.
343
+ */
344
+ setInlineConfig(config: TResolvedConfig["inlineConfig"]): Promise<void>;
345
+ /**
346
+ * A setter function to populate the plugin config values provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed. This function can be used to update the context with the plugin configuration values, which may be used during the configuration resolution process to ensure that the final configuration reflects both the user configuration and any plugin configuration provided during execution.
347
+ *
348
+ * @param config - The plugin configuration values to set.
349
+ * @returns A promise that resolves when the plugin configuration values have been set.
350
+ */
351
+ setPluginConfig(config: TResolvedConfig["pluginConfig"]): Promise<void>;
352
+ /**
353
+ * A function to merge the various configuration objects (initial, user, inline, and plugin) into a single resolved configuration object that can be used throughout the Powerlines process. This function takes into account the different sources of configuration and their respective priorities, ensuring that the final configuration reflects the intended settings for the project. The merged configuration is then returned as a new object that can be accessed through the `config` property of the context.
354
+ *
355
+ * @returns The merged configuration object that combines the initial, user, inline, and plugin configurations.
356
+ */
357
+ protected mergeConfig(): TResolvedConfig;
358
+ /**
359
+ * A setter function to populate the user config values provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed. This function can be used to update the context with the user configuration values, which may be used during the configuration resolution process to ensure that the final configuration reflects both the user configuration and any inline configuration provided during execution.
360
+ *
361
+ * @param config - The user configuration values to set.
362
+ * @returns A promise that resolves when the user configuration values have been set.
363
+ */
364
+ protected setUserConfig(config: TResolvedConfig["userConfig"]): Promise<void>;
365
+ /**
366
+ * Initialize the context with the provided configuration options
367
+ */
368
+ protected resolveConfig(): Promise<void>;
369
+ private createConfigProxy;
370
+ }
371
+ //#endregion
372
+ export { PowerlinesContext };
373
+ //# sourceMappingURL=context.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"context.d.mts","names":[],"sources":["../../src/context/context.ts"],"mappings":";;;;;;;;;;;;;;;cAgKa,iBAAA,yBACa,cAAA,GAAiB,cAAA,oCAGjC,qBAAA,CAAsB,cAAA,aACnB,OAAA,CAAQ,eAAA,EAAiB,cAAA;EAAA;EA6dE,OAAA,EAAS,gBAAA;EA3cxC,QAAA,EAAW,QAAA;EAvBU;;;EA4BrB,WAAA,EAAc,WAAA;EAvBF;;;EA4BZ,WAAA,EAAa,MAAA;EALC;;;EAUd,UAAA,EAAa,gBAAA;EAKC;;;EAAd,YAAA,EAAc,MAAA,kBAAwB,KAAA;EAerB;;;EAVjB,eAAA,EAAiB,MAAA,kBAAwB,KAAA;EA0BxB;;;EArBjB,aAAA,EAAe,QAAA;EA0EC;;;EArEhB,eAAA,EAAiB,MAAA;EAsHb;;;EAAA,UAjHD,cAAA,EAAgB,eAAA;EAoHf;;;EAAA,UA/GD,gBAAA,EAAkB,sBAAA,CAAuB,eAAA;EAgHhD;;;EAAA,UA1GO,YAAA,EAAc,eAAA;EAmRJ;;;EAAA,UA7QV,UAAA,EAAY,eAAA;EAsUO;;;EAAA,UAjUnB,YAAA,EAAc,eAAA;EAiZc;;;EA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eAAA,CACX,MAAA,EAAQ,eAAA,mBACP,OAAA;;;;;;YAeO,WAAA,IAAe,eAAA;;;;;;;YA4BT,aAAA,CACd,MAAA,EAAQ,eAAA,iBACP,OAAA;;;;YAaa,aAAA,IAAiB,OAAA;EAAA,QAgWzB,iBAAA;AAAA"}
@@ -1,5 +1,8 @@
1
- import { $ as ExecutionContext, Bt as HooksList, It as LoggerOptions, M as ResolvedConfig, Nt as Logger, Q as EnvironmentPlugin, Z as EnvironmentContext, d as EnvironmentResolvedConfig, f as ExecutionOptions, it as PluginContext, lt as SelectHooksOptions, m as InferOverridableConfig, st as SelectHookResult, w as PluginConfig } from "../config-BnV_o0Es.cjs";
2
- import { t as PowerlinesContext } from "../context-DcY6YqBQ.cjs";
1
+ import { HooksList } from "../types/hooks.cjs";
2
+ import { Logger, LoggerOptions } from "../types/logging.cjs";
3
+ import { EnvironmentContext, EnvironmentPlugin, ExecutionContext, PluginContext, SelectHookResult, SelectHooksOptions } from "../types/context.cjs";
4
+ import { EnvironmentResolvedConfig, ExecutionOptions, InferOverridableConfig, PluginConfig, ResolvedConfig } from "../types/config.cjs";
5
+ import { PowerlinesContext } from "./context.cjs";
3
6
  //#region src/context/environment-context.d.ts
4
7
  declare class PowerlinesEnvironmentContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig, TSystemContext = unknown> extends PowerlinesContext<EnvironmentResolvedConfig<TResolvedConfig>, TSystemContext> implements EnvironmentContext<TResolvedConfig, TSystemContext> {
5
8
  #private;
@@ -1 +1 @@
1
- {"version":3,"file":"environment-context.d.cts","names":[],"sources":["../../src/context/environment-context.ts"],"mappings":";;;cA2Da,4BAAA,yBACa,cAAA,GAAiB,cAAA,oCAGjC,iBAAA,CACN,yBAAA,CAA0B,eAAA,GAC1B,cAAA,aAES,kBAAA,CAAmB,eAAA,EAAiB,cAAA;EAAA;;AARjD;;;;;;;;SAgCsB,IAAA,yBACM,cAAA,GAAiB,cAAA,4BAGzC,SAAA,EAAW,gBAAA,CAAiB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,UAvBzB,WAAA,CACP,SAAA,EAAW,gBAAA,CAAiB,eAAA,EAAiB,cAAA,GAC7C,OAAA,EAAS,gBAAA,EACT,MAAA,EAAQ,eAAA,EACR,gBAAA,EAAkB,sBAAA,CAChB,yBAAA,CAA0B,eAAA;EAlUnB;;;;;EAAA,UAoVQ,WAAA,IAAe,yBAAA,CAA0B,eAAA;AAAA"}
@@ -1,5 +1,8 @@
1
- import { $ as ExecutionContext, Bt as HooksList, It as LoggerOptions, M as ResolvedConfig, Nt as Logger, Q as EnvironmentPlugin, Z as EnvironmentContext, d as EnvironmentResolvedConfig, f as ExecutionOptions, it as PluginContext, lt as SelectHooksOptions, m as InferOverridableConfig, st as SelectHookResult, w as PluginConfig } from "../config-DboKmDhl.mjs";
2
- import { t as PowerlinesContext } from "../context-C6oL3mPw.mjs";
1
+ import { HooksList } from "../types/hooks.mjs";
2
+ import { Logger, LoggerOptions } from "../types/logging.mjs";
3
+ import { EnvironmentContext, EnvironmentPlugin, ExecutionContext, PluginContext, SelectHookResult, SelectHooksOptions } from "../types/context.mjs";
4
+ import { EnvironmentResolvedConfig, ExecutionOptions, InferOverridableConfig, PluginConfig, ResolvedConfig } from "../types/config.mjs";
5
+ import { PowerlinesContext } from "./context.mjs";
3
6
  //#region src/context/environment-context.d.ts
4
7
  declare class PowerlinesEnvironmentContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig, TSystemContext = unknown> extends PowerlinesContext<EnvironmentResolvedConfig<TResolvedConfig>, TSystemContext> implements EnvironmentContext<TResolvedConfig, TSystemContext> {
5
8
  #private;
@@ -1 +1 @@
1
- {"version":3,"file":"environment-context.d.mts","names":[],"sources":["../../src/context/environment-context.ts"],"mappings":";;;cA2Da,4BAAA,yBACa,cAAA,GAAiB,cAAA,oCAGjC,iBAAA,CACN,yBAAA,CAA0B,eAAA,GAC1B,cAAA,aAES,kBAAA,CAAmB,eAAA,EAAiB,cAAA;EAAA;;AARjD;;;;;;;;SAgCsB,IAAA,yBACM,cAAA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B,cAAA,GAAiB,IAAA;EAiGlC;;;;;;;;;;;;EAAA,UAvBzB,WAAA,CACP,SAAA,EAAW,gBAAA,CAAiB,eAAA,EAAiB,cAAA,GAC7C,OAAA,EAAS,gBAAA,EACT,MAAA,EAAQ,eAAA,EACR,gBAAA,EAAkB,sBAAA,CAChB,yBAAA,CAA0B,eAAA;EAlUnB;;;;;EAAA,UAoVQ,WAAA,IAAe,yBAAA,CAA0B,eAAA;AAAA"}
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_chunk = require('../chunk-C_NdSu1c.cjs');
2
+ const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
3
3
  const require_constants_environments = require('../constants/environments.cjs');
4
4
  const require_lib_plugins = require('../lib/plugins.cjs');
5
5
  const require_context_context = require('./context.cjs');
@@ -8,7 +8,7 @@ const require_lib_environment = require('../lib/environment.cjs');
8
8
  let _stryke_fs_exists = require("@stryke/fs/exists");
9
9
  let _stryke_fs_json = require("@stryke/fs/json");
10
10
  let chalk = require("chalk");
11
- chalk = require_chunk.__toESM(chalk, 1);
11
+ chalk = require_runtime.__toESM(chalk, 1);
12
12
  let _stryke_convert_to_array = require("@stryke/convert/to-array");
13
13
  let _stryke_type_checks_is_object = require("@stryke/type-checks/is-object");
14
14
  let _stryke_path_join = require("@stryke/path/join");
@@ -1,5 +1,9 @@
1
- import { $ as ExecutionContext, Cn as VirtualFileSystemInterface, It as LoggerOptions, M as ResolvedConfig, Nt as Logger, Qt as Plugin, d as EnvironmentResolvedConfig, f as ExecutionOptions, it as PluginContext, w as PluginConfig } from "../config-BnV_o0Es.cjs";
2
- import { t as PowerlinesContext } from "../context-DcY6YqBQ.cjs";
1
+ import { VirtualFileSystemInterface } from "../types/fs.cjs";
2
+ import { Plugin } from "../types/plugin.cjs";
3
+ import { Logger, LoggerOptions } from "../types/logging.cjs";
4
+ import { ExecutionContext, PluginContext } from "../types/context.cjs";
5
+ import { EnvironmentResolvedConfig, ExecutionOptions, PluginConfig, ResolvedConfig } from "../types/config.cjs";
6
+ import { PowerlinesContext } from "./context.cjs";
3
7
  import { PowerlinesEnvironmentContext } from "./environment-context.cjs";
4
8
 
5
9
  //#region src/context/execution-context.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"execution-context.d.cts","names":[],"sources":["../../src/context/execution-context.ts"],"mappings":";;;;;cAmDa,0BAAA,yBACa,cAAA,GAAiB,cAAA,oCAGjC,iBAAA,CAAkB,eAAA,EAAiB,cAAA,aAChC,gBAAA,CAAiB,eAAA,EAAiB,cAAA;EAAA;;AAL/C;;;;;;SA2BsB,IAAA,yBACM,cAAA,GAAiB,cAAA,4BAGzC,OAAA,EAAS,gBAAA,EACT,YAAA,GAAe,eAAA,kBACf,MAAA,GAAS,cAAA,GACR,OAAA,CAAQ,gBAAA,CAAiB,eAAA,EAAiB,cAAA;EA7BjB;;;EAAA,IAkDjB,EAAA;EAxBA;;;EAAA,IA+BA,YAAA,IAAgB,MAAA,SAEzB,4BAAA,CAA6B,eAAA,EAAiB,cAAA;EAAA,IAKrC,OAAA,IAAW,KAAA,CACpB,MAAA,CAAO,aAAA,CAAc,eAAA,EAAiB,cAAA;EApC7B;;;EAAA,IA4CS,EAAA,IAAM,0BAAA;EAdxB;;;;;EAAA,UAyBO,WAAA,CAAa,OAAA,EAAS,gBAAA;EApBT;;;;;;EA8BA,eAAA,CACpB,MAAA,EAAQ,eAAA,mBACP,OAAA;EAoCmC;;;;;;EAdtB,YAAA,CAAa,OAAA,EAAS,aAAA,GAAgB,MAAA;EA8BnD;;;;;;EAhBa,YAAA,CAAa,OAAA,EAAS,aAAA,GAAgB,MAAA;EAuKN;;;;;;EAzJnC,iBAAA,CACX,WAAA,EAAa,yBAAA,CAA0B,eAAA,mBACtC,OAAA,CAAQ,4BAAA,CAA6B,eAAA,EAAiB,cAAA;EAwMpB;;;EAxHf,aAAA,IAAa,OAAA;EAwHmC;;;;;;EAjGzD,cAAA,CAAe,IAAA,Y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A,CACX,WAAA,EAAa,yBAAA,CAA0B,eAAA,mBACtC,OAAA,CAAQ,4BAAA,CAA6B,eAAA,EAAiB,cAAA;EAyK1B;;;EAzFT,aAAA,IAAa,OAAA;EAwHE;;;;;;EAjGxB,cAAA,CAAe,IAAA,YAAa,OAAA,CAAA,4BAAA,CAAA,eAAA,EAAA,cAAA;EA3Pd;;;;;;EAwSd,kBAAA,CACX,IAAA,YACC,OAAA,CACD,4BAAA,CAA6B,eAAA,EAAiB,cAAA;EA5StB;;;;;;;;EA6Tb,aAAA,IAAiB,OAAA,CAC5B,4BAAA,CAA6B,eAAA,EAAiB,cAAA;EAtSL;;;;;;;;EAoU9B,kBAAA,CACX,MAAA,EAAQ,YAAA,CAAa,aAAA,CAAc,eAAA,EAAiB,cAAA,KAAgB,OAAA;AAAA"}
@@ -1,5 +1,9 @@
1
- import { $ as ExecutionContext, Cn as VirtualFileSystemInterface, It as LoggerOptions, M as ResolvedConfig, Nt as Logger, Qt as Plugin, d as EnvironmentResolvedConfig, f as ExecutionOptions, it as PluginContext, w as PluginConfig } from "../config-DboKmDhl.mjs";
2
- import { t as PowerlinesContext } from "../context-C6oL3mPw.mjs";
1
+ import { VirtualFileSystemInterface } from "../types/fs.mjs";
2
+ import { Plugin } from "../types/plugin.mjs";
3
+ import { Logger, LoggerOptions } from "../types/logging.mjs";
4
+ import { ExecutionContext, PluginContext } from "../types/context.mjs";
5
+ import { EnvironmentResolvedConfig, ExecutionOptions, PluginConfig, ResolvedConfig } from "../types/config.mjs";
6
+ import { PowerlinesContext } from "./context.mjs";
3
7
  import { PowerlinesEnvironmentContext } from "./environment-context.mjs";
4
8
 
5
9
  //#region src/context/execution-context.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"execution-context.d.mts","names":[],"sources":["../../src/context/execution-context.ts"],"mappings":";;;;;cAmDa,0BAAA,yBACa,cAAA,GAAiB,cAAA,oCAGjC,iBAAA,CAAkB,eAAA,EAAiB,cAAA,aAChC,gBAAA,CAAiB,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iB,OAAA,CAC5B,4BAAA,CAA6B,eAAA,EAAiB,cAAA;EAtSL;;;;;;;;EAoU9B,kBAAA,CACX,MAAA,EAAQ,YAAA,CAAa,aAAA,CAAc,eAAA,EAAiB,cAAA,KAAgB,OAAA;AAAA"}
@@ -1,5 +1,5 @@
1
- import { t as PowerlinesBaseContext } from "../base-context-mHoSEqHf.cjs";
2
- import { t as PowerlinesContext } from "../context-DcY6YqBQ.cjs";
1
+ import { PowerlinesBaseContext } from "./base-context.cjs";
2
+ import { PowerlinesContext } from "./context.cjs";
3
3
  import { PowerlinesEnvironmentContext } from "./environment-context.cjs";
4
4
  import { PowerlinesExecutionContext } from "./execution-context.cjs";
5
5
  import { createPluginContext } from "./plugin-context.cjs";
@@ -1,5 +1,5 @@
1
- import { t as PowerlinesBaseContext } from "../base-context-BmxgDD3S.mjs";
2
- import { t as PowerlinesContext } from "../context-C6oL3mPw.mjs";
1
+ import { PowerlinesBaseContext } from "./base-context.mjs";
2
+ import { PowerlinesContext } from "./context.mjs";
3
3
  import { PowerlinesEnvironmentContext } from "./environment-context.mjs";
4
4
  import { PowerlinesExecutionContext } from "./execution-context.mjs";
5
5
  import { createPluginContext } from "./plugin-context.mjs";
@@ -1,4 +1,6 @@
1
- import { M as ResolvedConfig, Qt as Plugin, it as PluginContext } from "../config-BnV_o0Es.cjs";
1
+ import { Plugin } from "../types/plugin.cjs";
2
+ import { PluginContext } from "../types/context.cjs";
3
+ import { ResolvedConfig } from "../types/config.cjs";
2
4
  import { PowerlinesEnvironmentContext } from "./environment-context.cjs";
3
5
 
4
6
  //#region src/context/plugin-context.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-context.d.cts","names":[],"sources":["../../src/context/plugin-context.ts"],"mappings":";;;;;;;AAuCA;;;;;iBAAgB,mBAAA,yBACU,cAAA,GAAiB,cAAA,4BAGzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,EAAiB,cAAA,IAC9C,WAAA,EAAa,4BAAA,CAA6B,eAAA,EAAiB,cAAA,IAC1D,aAAA,CAAc,eAAA,EAAiB,cAAA"}
1
+ {"version":3,"file":"plugin-context.d.cts","names":[],"sources":["../../src/context/plugin-context.ts"],"mappings":";;;;;;;;;;;AAuCA;;;iBAAgB,mBAAA,yBACU,cAAA,GAAiB,cAAA,4BAGzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,EAAiB,cAAA,IAC9C,WAAA,EAAa,4BAAA,CAA6B,eAAA,EAAiB,cAAA,IAC1D,aAAA,CAAc,eAAA,EAAiB,cAAA"}
@@ -1,4 +1,6 @@
1
- import { M as ResolvedConfig, Qt as Plugin, it as PluginContext } from "../config-DboKmDhl.mjs";
1
+ import { Plugin } from "../types/plugin.mjs";
2
+ import { PluginContext } from "../types/context.mjs";
3
+ import { ResolvedConfig } from "../types/config.mjs";
2
4
  import { PowerlinesEnvironmentContext } from "./environment-context.mjs";
3
5
 
4
6
  //#region src/context/plugin-context.d.ts
@@ -1 +1 @@
1
- {"version":3,"file":"plugin-context.d.mts","names":[],"sources":["../../src/context/plugin-context.ts"],"mappings":";;;;;;;AAuCA;;;;;iBAAgB,mBAAA,yBACU,cAAA,GAAiB,cAAA,4BAGzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,EAAiB,cAAA,IAC9C,WAAA,EAAa,4BAAA,CAA6B,eAAA,EAAiB,cAAA,IAC1D,aAAA,CAAc,eAAA,EAAiB,cAAA"}
1
+ {"version":3,"file":"plugin-context.d.mts","names":[],"sources":["../../src/context/plugin-context.ts"],"mappings":";;;;;;;;;;;AAuCA;;;iBAAgB,mBAAA,yBACU,cAAA,GAAiB,cAAA,4BAGzC,QAAA,UACA,MAAA,EAAQ,MAAA,CAAO,aAAA,CAAc,eAAA,EAAiB,cAAA,IAC9C,WAAA,EAAa,4BAAA,CAA6B,eAAA,EAAiB,cAAA,IAC1D,aAAA,CAAc,eAAA,EAAiB,cAAA"}
package/dist/index.cjs CHANGED
@@ -12,7 +12,7 @@ const require_lib_generate_types = require('./lib/generate-types.cjs');
12
12
  const require_lib_install_dependencies = require('./lib/install-dependencies.cjs');
13
13
  const require_lib_meta = require('./lib/meta.cjs');
14
14
  const require_lib_plugins = require('./lib/plugins.cjs');
15
- const require_fs = require('./fs-C2lru696.cjs');
15
+ const require_fs = require('./schemas/fs.cjs');
16
16
  const require_lib_streaming_channel = require('./lib/streaming-channel.cjs');
17
17
  const require_lib_typescript_tsconfig = require('./lib/typescript/tsconfig.cjs');
18
18
  const require_lib_unplugin_helpers = require('./lib/unplugin/helpers.cjs');