@powerlines/core 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (391) hide show
  1. package/dist/constants/api.cjs +6 -5
  2. package/dist/constants/api.d.cts +3 -3
  3. package/dist/constants/api.d.cts.map +1 -1
  4. package/dist/constants/api.d.mts +3 -3
  5. package/dist/constants/api.d.mts.map +1 -1
  6. package/dist/constants/api.mjs +4 -4
  7. package/dist/constants/api.mjs.map +1 -1
  8. package/dist/constants/commands.cjs +3 -2
  9. package/dist/constants/commands.d.cts +1 -1
  10. package/dist/constants/commands.d.mts +1 -1
  11. package/dist/constants/commands.mjs +2 -2
  12. package/dist/constants/commands.mjs.map +1 -1
  13. package/dist/constants/devtools.cjs +23 -0
  14. package/dist/constants/devtools.d.cts +13 -0
  15. package/dist/constants/devtools.d.cts.map +1 -0
  16. package/dist/constants/devtools.d.mts +13 -0
  17. package/dist/constants/devtools.d.mts.map +1 -0
  18. package/dist/constants/devtools.mjs +14 -0
  19. package/dist/constants/devtools.mjs.map +1 -0
  20. package/dist/constants/environments.cjs +1 -0
  21. package/dist/constants/extensions.cjs +21 -0
  22. package/dist/constants/extensions.d.cts +5 -0
  23. package/dist/constants/extensions.d.cts.map +1 -0
  24. package/dist/constants/extensions.d.mts +5 -0
  25. package/dist/constants/extensions.d.mts.map +1 -0
  26. package/dist/constants/extensions.mjs +20 -0
  27. package/dist/constants/extensions.mjs.map +1 -0
  28. package/dist/constants/fs.cjs +1 -0
  29. package/dist/constants/hooks.cjs +1 -0
  30. package/dist/constants/index.cjs +48 -30
  31. package/dist/constants/index.d.cts +5 -3
  32. package/dist/constants/index.d.mts +5 -3
  33. package/dist/constants/index.mjs +5 -3
  34. package/dist/constants/log-level.cjs +90 -0
  35. package/dist/constants/log-level.d.cts +63 -0
  36. package/dist/constants/log-level.d.cts.map +1 -0
  37. package/dist/constants/log-level.d.mts +63 -0
  38. package/dist/constants/log-level.d.mts.map +1 -0
  39. package/dist/constants/log-level.mjs +82 -0
  40. package/dist/constants/log-level.mjs.map +1 -0
  41. package/dist/constants/meta.cjs +1 -0
  42. package/dist/constants/plugin.cjs +3 -2
  43. package/dist/constants/plugin.d.cts +2 -2
  44. package/dist/constants/plugin.d.mts +2 -2
  45. package/dist/context/base-context.cjs +127 -0
  46. package/dist/context/base-context.d.cts +81 -0
  47. package/dist/context/base-context.d.cts.map +1 -0
  48. package/dist/context/base-context.d.mts +81 -0
  49. package/dist/context/base-context.d.mts.map +1 -0
  50. package/dist/context/base-context.mjs +125 -0
  51. package/dist/context/base-context.mjs.map +1 -0
  52. package/dist/context/context.cjs +934 -0
  53. package/dist/context/context.d.cts +369 -0
  54. package/dist/context/context.d.cts.map +1 -0
  55. package/dist/context/context.d.mts +369 -0
  56. package/dist/context/context.d.mts.map +1 -0
  57. package/dist/context/context.mjs +932 -0
  58. package/dist/context/context.mjs.map +1 -0
  59. package/dist/context/environment-context.cjs +219 -0
  60. package/dist/context/environment-context.d.cts +100 -0
  61. package/dist/context/environment-context.d.cts.map +1 -0
  62. package/dist/context/environment-context.d.mts +100 -0
  63. package/dist/context/environment-context.d.mts.map +1 -0
  64. package/dist/context/environment-context.mjs +218 -0
  65. package/dist/context/environment-context.mjs.map +1 -0
  66. package/dist/context/execution-context.cjs +230 -0
  67. package/dist/context/execution-context.d.cts +101 -0
  68. package/dist/context/execution-context.d.cts.map +1 -0
  69. package/dist/context/execution-context.d.mts +101 -0
  70. package/dist/context/execution-context.d.mts.map +1 -0
  71. package/dist/context/execution-context.mjs +228 -0
  72. package/dist/context/execution-context.mjs.map +1 -0
  73. package/dist/context/index.cjs +12 -0
  74. package/dist/context/index.d.cts +6 -0
  75. package/dist/context/index.d.mts +6 -0
  76. package/dist/context/index.mjs +7 -0
  77. package/dist/context/plugin-context.cjs +83 -0
  78. package/dist/context/plugin-context.d.cts +18 -0
  79. package/dist/context/plugin-context.d.cts.map +1 -0
  80. package/dist/context/plugin-context.d.mts +18 -0
  81. package/dist/context/plugin-context.d.mts.map +1 -0
  82. package/dist/context/plugin-context.mjs +82 -0
  83. package/dist/context/plugin-context.mjs.map +1 -0
  84. package/dist/index.cjs +62 -9
  85. package/dist/index.d.cts +20 -9
  86. package/dist/index.d.mts +20 -9
  87. package/dist/index.mjs +17 -5
  88. package/dist/lib/config.cjs +160 -15
  89. package/dist/lib/config.d.cts +92 -6
  90. package/dist/lib/config.d.cts.map +1 -1
  91. package/dist/lib/config.d.mts +92 -6
  92. package/dist/lib/config.d.mts.map +1 -1
  93. package/dist/lib/config.mjs +154 -16
  94. package/dist/lib/config.mjs.map +1 -1
  95. package/dist/lib/context-helpers.cjs +43 -0
  96. package/dist/lib/context-helpers.d.cts +19 -0
  97. package/dist/lib/context-helpers.d.cts.map +1 -0
  98. package/dist/lib/context-helpers.d.mts +19 -0
  99. package/dist/lib/context-helpers.d.mts.map +1 -0
  100. package/dist/lib/context-helpers.mjs +41 -0
  101. package/dist/lib/context-helpers.mjs.map +1 -0
  102. package/dist/lib/entry.cjs +5 -5
  103. package/dist/lib/entry.d.cts.map +1 -1
  104. package/dist/lib/entry.d.mts.map +1 -1
  105. package/dist/lib/entry.mjs +5 -5
  106. package/dist/lib/entry.mjs.map +1 -1
  107. package/dist/lib/environment.cjs +72 -0
  108. package/dist/lib/environment.d.cts +12 -0
  109. package/dist/lib/environment.d.cts.map +1 -0
  110. package/dist/lib/environment.d.mts +12 -0
  111. package/dist/lib/environment.d.mts.map +1 -0
  112. package/dist/lib/environment.mjs +67 -0
  113. package/dist/lib/environment.mjs.map +1 -0
  114. package/dist/lib/events.cjs +43 -0
  115. package/dist/lib/events.d.cts +10 -0
  116. package/dist/lib/events.d.cts.map +1 -0
  117. package/dist/lib/events.d.mts +10 -0
  118. package/dist/lib/events.d.mts.map +1 -0
  119. package/dist/lib/events.mjs +42 -0
  120. package/dist/lib/events.mjs.map +1 -0
  121. package/dist/lib/generate-types.cjs +371 -0
  122. package/dist/lib/generate-types.d.cts +67 -0
  123. package/dist/lib/generate-types.d.cts.map +1 -0
  124. package/dist/lib/generate-types.d.mts +67 -0
  125. package/dist/lib/generate-types.d.mts.map +1 -0
  126. package/dist/lib/generate-types.mjs +368 -0
  127. package/dist/lib/generate-types.mjs.map +1 -0
  128. package/dist/lib/hooks.cjs +152 -0
  129. package/dist/lib/hooks.d.cts +28 -0
  130. package/dist/lib/hooks.d.cts.map +1 -0
  131. package/dist/lib/hooks.d.mts +28 -0
  132. package/dist/lib/hooks.d.mts.map +1 -0
  133. package/dist/lib/hooks.mjs +147 -0
  134. package/dist/lib/hooks.mjs.map +1 -0
  135. package/dist/lib/index.cjs +64 -9
  136. package/dist/lib/index.d.cts +15 -3
  137. package/dist/lib/index.d.mts +15 -3
  138. package/dist/lib/index.mjs +19 -5
  139. package/dist/lib/install-dependencies.cjs +25 -0
  140. package/dist/lib/install-dependencies.d.cts +12 -0
  141. package/dist/lib/install-dependencies.d.cts.map +1 -0
  142. package/dist/lib/install-dependencies.d.mts +12 -0
  143. package/dist/lib/install-dependencies.d.mts.map +1 -0
  144. package/dist/lib/install-dependencies.mjs +24 -0
  145. package/dist/lib/install-dependencies.mjs.map +1 -0
  146. package/dist/lib/meta.cjs +57 -0
  147. package/dist/lib/meta.d.cts +34 -0
  148. package/dist/lib/meta.d.cts.map +1 -0
  149. package/dist/lib/meta.d.mts +34 -0
  150. package/dist/lib/meta.d.mts.map +1 -0
  151. package/dist/lib/meta.mjs +54 -0
  152. package/dist/lib/meta.mjs.map +1 -0
  153. package/dist/lib/plugins.cjs +150 -0
  154. package/dist/lib/plugins.d.cts +40 -0
  155. package/dist/lib/plugins.d.cts.map +1 -0
  156. package/dist/lib/plugins.d.mts +40 -0
  157. package/dist/lib/plugins.d.mts.map +1 -0
  158. package/dist/lib/plugins.mjs +146 -0
  159. package/dist/lib/plugins.mjs.map +1 -0
  160. package/dist/lib/resolver.cjs +35 -0
  161. package/dist/lib/resolver.d.cts +21 -0
  162. package/dist/lib/resolver.d.cts.map +1 -0
  163. package/dist/lib/resolver.d.mts +21 -0
  164. package/dist/lib/resolver.d.mts.map +1 -0
  165. package/dist/lib/resolver.mjs +33 -0
  166. package/dist/lib/resolver.mjs.map +1 -0
  167. package/dist/lib/schemas.cjs +9 -0
  168. package/dist/lib/schemas.d.cts +2 -0
  169. package/dist/lib/schemas.d.mts +2 -0
  170. package/dist/lib/schemas.mjs +3 -0
  171. package/dist/lib/streaming-channel.cjs +260 -0
  172. package/dist/lib/streaming-channel.d.cts +133 -0
  173. package/dist/lib/streaming-channel.d.cts.map +1 -0
  174. package/dist/lib/streaming-channel.d.mts +133 -0
  175. package/dist/lib/streaming-channel.d.mts.map +1 -0
  176. package/dist/lib/streaming-channel.mjs +258 -0
  177. package/dist/lib/streaming-channel.mjs.map +1 -0
  178. package/dist/lib/typescript/index.cjs +16 -0
  179. package/dist/lib/typescript/index.d.cts +3 -0
  180. package/dist/lib/typescript/index.d.mts +3 -0
  181. package/dist/lib/typescript/index.mjs +4 -0
  182. package/dist/lib/typescript/ts-morph.cjs +105 -0
  183. package/dist/lib/typescript/ts-morph.d.cts +38 -0
  184. package/dist/lib/typescript/ts-morph.d.cts.map +1 -0
  185. package/dist/lib/typescript/ts-morph.d.mts +38 -0
  186. package/dist/lib/typescript/ts-morph.d.mts.map +1 -0
  187. package/dist/lib/typescript/ts-morph.mjs +102 -0
  188. package/dist/lib/typescript/ts-morph.mjs.map +1 -0
  189. package/dist/lib/typescript/tsconfig.cjs +253 -0
  190. package/dist/lib/typescript/tsconfig.d.cts +77 -0
  191. package/dist/lib/typescript/tsconfig.d.cts.map +1 -0
  192. package/dist/lib/typescript/tsconfig.d.mts +77 -0
  193. package/dist/lib/typescript/tsconfig.d.mts.map +1 -0
  194. package/dist/lib/typescript/tsconfig.mjs +240 -0
  195. package/dist/lib/typescript/tsconfig.mjs.map +1 -0
  196. package/dist/lib/unplugin/helpers.cjs +2 -2
  197. package/dist/lib/unplugin/module-resolution.cjs +18 -18
  198. package/dist/lib/unplugin/module-resolution.mjs +18 -18
  199. package/dist/lib/unplugin/module-resolution.mjs.map +1 -1
  200. package/dist/lib/unplugin/plugin.cjs +55 -62
  201. package/dist/lib/unplugin/plugin.d.cts +10 -11
  202. package/dist/lib/unplugin/plugin.d.cts.map +1 -1
  203. package/dist/lib/unplugin/plugin.d.mts +10 -11
  204. package/dist/lib/unplugin/plugin.d.mts.map +1 -1
  205. package/dist/lib/unplugin/plugin.mjs +55 -62
  206. package/dist/lib/unplugin/plugin.mjs.map +1 -1
  207. package/dist/lib/utilities/file-header.cjs +2 -2
  208. package/dist/lib/utilities/file-header.mjs +2 -2
  209. package/dist/lib/utilities/file-header.mjs.map +1 -1
  210. package/dist/lib/utilities/format.cjs +1 -1
  211. package/dist/lib/utilities/format.mjs +1 -1
  212. package/dist/lib/utilities/index.cjs +2 -2
  213. package/dist/lib/utilities/index.mjs +2 -2
  214. package/dist/lib/utilities/write-file.cjs +1 -2
  215. package/dist/lib/utilities/write-file.d.cts +1 -1
  216. package/dist/lib/utilities/write-file.d.cts.map +1 -1
  217. package/dist/lib/utilities/write-file.d.mts +1 -1
  218. package/dist/lib/utilities/write-file.d.mts.map +1 -1
  219. package/dist/lib/utilities/write-file.mjs +1 -2
  220. package/dist/lib/utilities/write-file.mjs.map +1 -1
  221. package/dist/lib/vfs.cjs +1104 -0
  222. package/dist/lib/vfs.d.cts +321 -0
  223. package/dist/lib/vfs.d.cts.map +1 -0
  224. package/dist/lib/vfs.d.mts +321 -0
  225. package/dist/lib/vfs.d.mts.map +1 -0
  226. package/dist/lib/vfs.mjs +1102 -0
  227. package/dist/lib/vfs.mjs.map +1 -0
  228. package/dist/plugin-base.cjs +1 -1
  229. package/dist/plugin-base.mjs +1 -1
  230. package/dist/plugin-base.mjs.map +1 -1
  231. package/dist/plugin-utils/build-helpers.cjs +2 -2
  232. package/dist/plugin-utils/build-helpers.mjs +2 -2
  233. package/dist/plugin-utils/build-helpers.mjs.map +1 -1
  234. package/dist/plugin-utils/context-helpers.cjs +22 -12
  235. package/dist/plugin-utils/context-helpers.d.cts +9 -1
  236. package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
  237. package/dist/plugin-utils/context-helpers.d.mts +9 -1
  238. package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
  239. package/dist/plugin-utils/context-helpers.mjs +22 -13
  240. package/dist/plugin-utils/context-helpers.mjs.map +1 -1
  241. package/dist/plugin-utils/filter.cjs +13 -5
  242. package/dist/plugin-utils/filter.d.cts +2 -1
  243. package/dist/plugin-utils/filter.d.cts.map +1 -1
  244. package/dist/plugin-utils/filter.d.mts +2 -1
  245. package/dist/plugin-utils/filter.d.mts.map +1 -1
  246. package/dist/plugin-utils/filter.mjs +13 -6
  247. package/dist/plugin-utils/filter.mjs.map +1 -1
  248. package/dist/plugin-utils/format.cjs +44 -0
  249. package/dist/plugin-utils/format.d.cts +11 -0
  250. package/dist/plugin-utils/format.d.cts.map +1 -0
  251. package/dist/plugin-utils/format.d.mts +11 -0
  252. package/dist/plugin-utils/format.d.mts.map +1 -0
  253. package/dist/plugin-utils/format.mjs +43 -0
  254. package/dist/plugin-utils/format.mjs.map +1 -0
  255. package/dist/plugin-utils/helpers.cjs +6 -6
  256. package/dist/plugin-utils/helpers.d.cts +15 -15
  257. package/dist/plugin-utils/helpers.d.cts.map +1 -1
  258. package/dist/plugin-utils/helpers.d.mts +15 -15
  259. package/dist/plugin-utils/helpers.d.mts.map +1 -1
  260. package/dist/plugin-utils/helpers.mjs +1 -1
  261. package/dist/plugin-utils/helpers.mjs.map +1 -1
  262. package/dist/plugin-utils/index.cjs +34 -4
  263. package/dist/plugin-utils/index.d.cts +7 -4
  264. package/dist/plugin-utils/index.d.mts +7 -4
  265. package/dist/plugin-utils/index.mjs +9 -6
  266. package/dist/plugin-utils/install.cjs +47 -0
  267. package/dist/plugin-utils/install.d.cts +23 -0
  268. package/dist/plugin-utils/install.d.cts.map +1 -0
  269. package/dist/plugin-utils/install.d.mts +23 -0
  270. package/dist/plugin-utils/install.d.mts.map +1 -0
  271. package/dist/plugin-utils/install.mjs +45 -0
  272. package/dist/plugin-utils/install.mjs.map +1 -0
  273. package/dist/plugin-utils/logging.cjs +588 -1
  274. package/dist/plugin-utils/logging.d.cts +93 -1
  275. package/dist/plugin-utils/logging.d.cts.map +1 -1
  276. package/dist/plugin-utils/logging.d.mts +93 -1
  277. package/dist/plugin-utils/logging.d.mts.map +1 -1
  278. package/dist/plugin-utils/logging.mjs +572 -1
  279. package/dist/plugin-utils/logging.mjs.map +1 -1
  280. package/dist/plugin-utils/merge.cjs +1 -1
  281. package/dist/plugin-utils/merge.mjs +1 -1
  282. package/dist/plugin-utils/modules.cjs +1 -1
  283. package/dist/plugin-utils/modules.mjs +1 -1
  284. package/dist/plugin-utils/modules.mjs.map +1 -1
  285. package/dist/plugin-utils/paths.cjs +6 -2
  286. package/dist/plugin-utils/paths.mjs +6 -2
  287. package/dist/plugin-utils/paths.mjs.map +1 -1
  288. package/dist/plugin-utils/virtual.cjs +80 -0
  289. package/dist/plugin-utils/virtual.d.cts +69 -0
  290. package/dist/plugin-utils/virtual.d.cts.map +1 -0
  291. package/dist/plugin-utils/virtual.d.mts +69 -0
  292. package/dist/plugin-utils/virtual.d.mts.map +1 -0
  293. package/dist/plugin-utils/virtual.mjs +73 -0
  294. package/dist/plugin-utils/virtual.mjs.map +1 -0
  295. package/dist/schemas/fs.cjs +232 -0
  296. package/dist/schemas/fs.d.cts +127 -0
  297. package/dist/schemas/fs.d.cts.map +1 -0
  298. package/dist/schemas/fs.d.mts +127 -0
  299. package/dist/schemas/fs.d.mts.map +1 -0
  300. package/dist/schemas/fs.mjs +226 -0
  301. package/dist/schemas/fs.mjs.map +1 -0
  302. package/dist/storage/base.cjs +216 -0
  303. package/dist/storage/base.d.cts +201 -0
  304. package/dist/storage/base.d.cts.map +1 -0
  305. package/dist/storage/base.d.mts +201 -0
  306. package/dist/storage/base.d.mts.map +1 -0
  307. package/dist/storage/base.mjs +215 -0
  308. package/dist/storage/base.mjs.map +1 -0
  309. package/dist/storage/file-system.cjs +180 -0
  310. package/dist/storage/file-system.d.cts +129 -0
  311. package/dist/storage/file-system.d.cts.map +1 -0
  312. package/dist/storage/file-system.d.mts +129 -0
  313. package/dist/storage/file-system.d.mts.map +1 -0
  314. package/dist/storage/file-system.mjs +179 -0
  315. package/dist/storage/file-system.mjs.map +1 -0
  316. package/dist/storage/helpers.cjs +37 -0
  317. package/dist/storage/helpers.d.cts +25 -0
  318. package/dist/storage/helpers.d.cts.map +1 -0
  319. package/dist/storage/helpers.d.mts +25 -0
  320. package/dist/storage/helpers.d.mts.map +1 -0
  321. package/dist/storage/helpers.mjs +34 -0
  322. package/dist/storage/helpers.mjs.map +1 -0
  323. package/dist/storage/index.cjs +12 -0
  324. package/dist/storage/index.d.cts +5 -0
  325. package/dist/storage/index.d.mts +5 -0
  326. package/dist/storage/index.mjs +6 -0
  327. package/dist/storage/virtual.cjs +98 -0
  328. package/dist/storage/virtual.d.cts +80 -0
  329. package/dist/storage/virtual.d.cts.map +1 -0
  330. package/dist/storage/virtual.d.mts +80 -0
  331. package/dist/storage/virtual.d.mts.map +1 -0
  332. package/dist/storage/virtual.mjs +97 -0
  333. package/dist/storage/virtual.mjs.map +1 -0
  334. package/dist/types/api.d.cts +18 -152
  335. package/dist/types/api.d.cts.map +1 -1
  336. package/dist/types/api.d.mts +18 -152
  337. package/dist/types/api.d.mts.map +1 -1
  338. package/dist/types/config.d.cts +194 -135
  339. package/dist/types/config.d.cts.map +1 -1
  340. package/dist/types/config.d.mts +195 -136
  341. package/dist/types/config.d.mts.map +1 -1
  342. package/dist/types/context.d.cts +152 -128
  343. package/dist/types/context.d.cts.map +1 -1
  344. package/dist/types/context.d.mts +155 -131
  345. package/dist/types/context.d.mts.map +1 -1
  346. package/dist/types/fs.d.mts +1 -1
  347. package/dist/types/index.d.cts +5 -6
  348. package/dist/types/index.d.mts +5 -6
  349. package/dist/types/logging.d.cts +161 -0
  350. package/dist/types/logging.d.cts.map +1 -0
  351. package/dist/types/logging.d.mts +161 -0
  352. package/dist/types/logging.d.mts.map +1 -0
  353. package/dist/types/plugin.d.cts +6 -9
  354. package/dist/types/plugin.d.cts.map +1 -1
  355. package/dist/types/plugin.d.mts +6 -9
  356. package/dist/types/plugin.d.mts.map +1 -1
  357. package/dist/types/tsconfig.d.mts +1 -1
  358. package/dist/types/unplugin.d.cts +5 -26
  359. package/dist/types/unplugin.d.cts.map +1 -1
  360. package/dist/types/unplugin.d.mts +5 -26
  361. package/dist/types/unplugin.d.mts.map +1 -1
  362. package/package.json +259 -457
  363. package/schemas/fs.capnp +42 -0
  364. package/dist/constants/virtual-modules.cjs +0 -8
  365. package/dist/constants/virtual-modules.d.cts +0 -6
  366. package/dist/constants/virtual-modules.d.cts.map +0 -1
  367. package/dist/constants/virtual-modules.d.mts +0 -6
  368. package/dist/constants/virtual-modules.d.mts.map +0 -1
  369. package/dist/constants/virtual-modules.mjs +0 -7
  370. package/dist/constants/virtual-modules.mjs.map +0 -1
  371. package/dist/lib/logger.cjs +0 -99
  372. package/dist/lib/logger.d.cts +0 -53
  373. package/dist/lib/logger.d.cts.map +0 -1
  374. package/dist/lib/logger.d.mts +0 -53
  375. package/dist/lib/logger.d.mts.map +0 -1
  376. package/dist/lib/logger.mjs +0 -93
  377. package/dist/lib/logger.mjs.map +0 -1
  378. package/dist/types/_internal.cjs +0 -0
  379. package/dist/types/_internal.d.cts +0 -106
  380. package/dist/types/_internal.d.cts.map +0 -1
  381. package/dist/types/_internal.d.mts +0 -106
  382. package/dist/types/_internal.d.mts.map +0 -1
  383. package/dist/types/_internal.mjs +0 -1
  384. package/dist/types/commands.d.cts +0 -16
  385. package/dist/types/commands.d.cts.map +0 -1
  386. package/dist/types/commands.d.mts +0 -16
  387. package/dist/types/commands.d.mts.map +0 -1
  388. package/dist/types/utils.d.cts +0 -9
  389. package/dist/types/utils.d.cts.map +0 -1
  390. package/dist/types/utils.d.mts +0 -9
  391. package/dist/types/utils.d.mts.map +0 -1
@@ -1,25 +1,18 @@
1
1
  import { StoragePort, StoragePreset } from "./fs.mjs";
2
2
  import { Plugin } from "./plugin.mjs";
3
+ import { LogFn, LogLevelResolvedConfig, LogLevelUserConfig } from "./logging.mjs";
3
4
  import { TSConfig } from "./tsconfig.mjs";
4
5
  import { PluginContext } from "./context.mjs";
5
6
  import { ConfigLayer, ResolvedConfig } from "c12";
6
- import { LogLevelLabel } from "@storm-software/config-tools/types";
7
+ import { CompatibilityDateSpec, CompatibilityDates } from "compatx";
7
8
  import { Format } from "@storm-software/build-tools/types";
8
9
  import { StormWorkspaceConfig } from "@storm-software/config/types";
9
- import { DeepPartial, MaybePromise, NonUndefined, PartialKeys } from "@stryke/types/base";
10
+ import { DeepPartial, DeepReadonly, MaybePromise, NonUndefined, RequiredKeys } from "@stryke/types/base";
10
11
  import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
11
12
  import { AssetGlob } from "@stryke/types/file";
12
- import { CompatibilityDateSpec, CompatibilityDates } from "compatx";
13
13
  import { PreviewOptions, ResolvedPreviewOptions } from "vite";
14
14
 
15
15
  //#region src/types/config.d.ts
16
- type LogLevel = "error" | "warn" | "info" | "debug" | "trace";
17
- type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
18
- type LogLevelConfig = Record<LogLevel, boolean>;
19
- interface Logger {
20
- log: LogFn;
21
- level: LogLevelLabel;
22
- }
23
16
  /**
24
17
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
25
18
  */
@@ -46,6 +39,7 @@ type PluginConfig<TContext extends PluginContext = PluginContext> = string | Plu
46
39
  type PartialPlugin<TContext extends PluginContext = PluginContext> = DeepPartial<Plugin<TContext>>;
47
40
  type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext> | PartialPlugin<TContext>[]>;
48
41
  type ProjectType = "application" | "library";
42
+ type Mode = "development" | "test" | "production";
49
43
  /**
50
44
  * The configuration options for resolving modules in a Powerlines project.
51
45
  */
@@ -239,53 +233,87 @@ interface OutputConfig {
239
233
  */
240
234
  storage?: StoragePort | StoragePreset;
241
235
  }
242
- interface EngineOptions {
236
+ interface FrameworkOptions {
243
237
  /**
244
- * The root directory of the project
238
+ * The name of the framework
239
+ *
240
+ * @remarks
241
+ * This value is used to identify the framework in logs, error messages, and other places where the framework's name is needed.
242
+ *
243
+ * @defaultValue "powerlines"
245
244
  */
246
- root: string;
245
+ name: string;
247
246
  /**
248
- * The current working directory the Powerlines processes should operate in
247
+ * The version of the framework
249
248
  *
250
249
  * @remarks
251
- * If not provided, the {@link WorkspaceConfig.workspaceRoot | workspace root} will be used as the current working directory. If the workspace root cannot be determined, the process's current working directory will be used.
250
+ * This value is used to identify the version of the framework in logs, error messages, and other places where the framework's version is needed.
251
+ *
252
+ * @defaultValue "0.0.1"
252
253
  */
253
- cwd?: string;
254
+ version?: string;
254
255
  /**
255
- * Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
256
+ * The organization or author of the framework
256
257
  *
257
- * @defaultValue "production"
258
+ * @defaultValue "storm-software"
258
259
  */
259
- mode?: "development" | "test" | "production";
260
+ orgId: string;
261
+ }
262
+ interface Options {
260
263
  /**
261
- * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
264
+ * The current working directory the Powerlines processes should operate in
262
265
  *
263
266
  * @remarks
264
- * If no values are provided for {@link OutputConfig.dts | output.dts} or {@link OutputConfig.artifactsPath | output.artifactsFolder}, this value will be used as the default.
267
+ * If not provided, the {@link WorkspaceConfig.workspaceRoot | workspace root} will be used as the current working directory. If the workspace root cannot be determined, the process's current working directory will be used.
268
+ */
269
+ cwd?: string;
270
+ /**
271
+ * The log level label indicating the severity of the log message, or a more detailed log level configuration object that allows for specifying different log levels for different categories of logs.
265
272
  *
266
- * @defaultValue "powerlines"
273
+ * @remarks
274
+ * The log level determines the minimum severity of messages that will be logged. For example, if the log level is set to `LogLevel.INFO`, then messages with a severity of `INFO`, `WARN`, and `ERROR` will be logged, while messages with a severity of `DEBUG` and `TRACE` will be ignored. Setting the log level to `LogLevel.SILENT` will disable all logging. Alternatively, you can provide a more detailed configuration object that allows you to specify different log levels for different categories of logs, providing granular control over the logging behavior for different aspects of the system.
275
+ *
276
+ * @defaultValue "info"
267
277
  */
268
- framework?: string;
278
+ logLevel?: LogLevelUserConfig;
269
279
  /**
270
- * The organization or author of the project
280
+ * Details about the framework being used in the current execution, which can be used by plugins and other parts of the system to customize behavior based on the framework.
271
281
  */
272
- organization?: string;
282
+ framework?: FrameworkOptions;
283
+ }
284
+ interface BaseExecutionOptions extends RequiredKeys<Options, "cwd"> {
285
+ /**
286
+ * The root directory of the project
287
+ */
288
+ root: string;
289
+ }
290
+ interface ExecutionOptions extends BaseExecutionOptions {
291
+ /**
292
+ * A unique identifier for the current execution instance, which can be used for logging and other purposes to distinguish between different executions in the same process.
293
+ */
294
+ executionId: string;
295
+ /**
296
+ * The index of the current execution instance among all configured instances in the Powerlines process
297
+ */
298
+ configIndex: number;
273
299
  /**
274
300
  * A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
275
301
  *
276
302
  * @remarks
277
303
  * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
278
304
  */
279
- configFile?: string;
280
- }
281
- type ResolvedEngineOptions = PartialKeys<Required<EngineOptions>, "organization" | "configFile">;
282
- interface ExecutionOptions extends EngineOptions {
305
+ configFile: string;
283
306
  /**
284
- * The index of the current execution instance among all configured instances in the Powerlines process
307
+ * A logging function provided by the code invoking the Powerlines execution process, which can be used for logging messages during the build process instead of the default Powerlines logger.
308
+ *
309
+ * @remarks
310
+ * Providing a custom logging function allows you to integrate Powerlines logging with your own logging system or to customize the logging behavior, such as formatting log messages differently or sending logs to an external service. If a custom logging function is not provided, Powerlines will use its default logger implementation.
311
+ *
312
+ * @important
313
+ * This function cannot be provided by the Powerlines engine, as it is not serializable. It must be passed directly to the execution context when creating it, and will not be preserved if the context is cloned or serialized.
285
314
  */
286
- configIndex: number;
315
+ logFn?: LogFn;
287
316
  }
288
- type ResolvedExecutionOptions = Pick<ExecutionOptions, "configIndex"> & ResolvedEngineOptions;
289
317
  interface Config {
290
318
  /**
291
319
  * Defines entries and location(s) of entry modules for the bundle. Relative paths are resolved based on the `root` option.
@@ -295,6 +323,17 @@ interface Config {
295
323
  * Configuration for the output files generated by processing the source code
296
324
  */
297
325
  output?: OutputConfig;
326
+ /**
327
+ * The date to use for compatibility checks
328
+ *
329
+ * @remarks
330
+ * This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs. If no value is provided, the latest compatibility date will be used.
331
+ *
332
+ * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
333
+ * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
334
+ * @see https://github.com/unjs/compatx
335
+ */
336
+ compatibilityDate?: CompatibilityDateSpec;
298
337
  /**
299
338
  * Configuration for module resolution during processing of the source code
300
339
  */
@@ -373,6 +412,13 @@ interface EnvironmentConfig extends Config {
373
412
  * A flag indicating whether the build is for a Server-Side Rendering environment.
374
413
  */
375
414
  ssr?: boolean;
415
+ /**
416
+ * The runtime environment for the build, which can be used by plugins to determine how to process the source code and generate runtime artifacts.
417
+ *
418
+ * @remarks
419
+ * This option can be used to specify the target runtime environment for the build, such as "nodejs", "browser", "workerd", or "edge". Plugins can use this information to determine how to process the source code and generate runtime artifacts that are compatible with the specified environment. If no value is provided, plugins will need to determine the runtime environment based on other factors, such as the presence of certain dependencies or configuration options.
420
+ */
421
+ runtime?: "nodejs" | "browser" | "workerd" | "edge";
376
422
  /**
377
423
  * Define if this environment is used for Server-Side Rendering
378
424
  *
@@ -380,7 +426,7 @@ interface EnvironmentConfig extends Config {
380
426
  */
381
427
  consumer?: "client" | "server";
382
428
  }
383
- interface UserConfig extends Config, ExecutionOptions {
429
+ interface UserConfig extends Config {
384
430
  /**
385
431
  * The name of the project
386
432
  */
@@ -407,26 +453,11 @@ interface UserConfig extends Config, ExecutionOptions {
407
453
  */
408
454
  organization?: string;
409
455
  /**
410
- * The date to use for compatibility checks
411
- *
412
- * @remarks
413
- * This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs. If no value is provided, the latest compatibility date will be used.
414
- *
415
- * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
416
- * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
417
- * @see https://github.com/unjs/compatx
418
- */
419
- compatibilityDate?: CompatibilityDateSpec;
420
- /**
421
- * The log level to use for the Powerlines processes.
456
+ * Explicitly set a mode to run in. This mode will be used at various points throughout the Powerlines processes, such as when compiling the source code.
422
457
  *
423
- * @defaultValue "info"
424
- */
425
- logLevel?: LogLevel | null;
426
- /**
427
- * A custom logger function to use for logging messages
458
+ * @defaultValue "production"
428
459
  */
429
- customLogger?: LogFn;
460
+ mode?: Mode;
430
461
  /**
431
462
  * The type of project being built
432
463
  *
@@ -470,78 +501,76 @@ interface UserConfig extends Config, ExecutionOptions {
470
501
  singleBuild?: boolean;
471
502
  }
472
503
  type PowerlinesCommand = "new" | "types" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
473
- /**
474
- * The configuration provided while executing Powerlines commands.
475
- */
476
- type InlineConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserConfig> & {
504
+ type InlineConfigPaths = {
477
505
  /**
478
- * A string identifier for the Powerlines command being executed
479
- */
480
- command: PowerlinesCommand;
481
- /**
482
- * Additional arguments provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed.
483
- */
484
- additionalArgs?: Record<string, string | string[]>;
485
- };
486
- type NewInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & Required<Pick<InlineConfig<TUserConfig>, "root">> & {
487
- /**
488
- * A string identifier for the Powerlines command being executed
506
+ * The root directory of the project
489
507
  */
490
- command: "new";
508
+ root: string;
491
509
  /**
492
- * The package name (from the \`package.json\`) for the project that will be used in the \`new\` command to create a new project based on this configuration
510
+ * A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
511
+ *
512
+ * @remarks
513
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
493
514
  */
494
- packageName?: string;
495
- };
496
- type CleanInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
515
+ configFile?: string;
516
+ } | {
497
517
  /**
498
- * A string identifier for the Powerlines command being executed
518
+ * The root directory of the project
499
519
  */
500
- command: "clean";
501
- };
502
- type PrepareInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
520
+ root?: string;
503
521
  /**
504
- * A string identifier for the Powerlines command being executed
522
+ * A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
523
+ *
524
+ * @remarks
525
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
505
526
  */
506
- command: "prepare";
527
+ configFile?: string;
507
528
  };
508
- type TypesInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
529
+ /**
530
+ * The configuration provided while executing Powerlines commands.
531
+ */
532
+ type InlineConfig<TUserConfig extends UserConfig = UserConfig> = DeepPartial<Omit<TUserConfig, "plugins" | "customLogger">> & {
509
533
  /**
510
- * A string identifier for the Powerlines command being executed
534
+ * The root directory of the project
511
535
  */
512
- command: "types";
513
- };
514
- type BuildInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
536
+ root?: string;
515
537
  /**
516
- * A string identifier for the Powerlines command being executed
538
+ * A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
539
+ *
540
+ * @remarks
541
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
517
542
  */
518
- command: "build";
519
- };
520
- type LintInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
543
+ configFile?: string;
521
544
  /**
522
545
  * A string identifier for the Powerlines command being executed
523
546
  */
524
- command: "lint";
525
- };
526
- type TestInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
547
+ command: string;
527
548
  /**
528
- * A string identifier for the Powerlines command being executed
549
+ * Additional arguments provided during execution of the command, such as CLI flags or other parameters that may be relevant to the command being executed.
529
550
  */
530
- command: "test";
551
+ additionalArgs?: Record<string, string | string[]>;
531
552
  };
532
- type DocsInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
553
+ type CreateInlineConfig<TUserConfig extends UserConfig = UserConfig> = RequiredKeys<InlineConfig<TUserConfig>, "root"> & {
533
554
  /**
534
- * A string identifier for the Powerlines command being executed
555
+ * The package name (from the \`package.json\`) for the project that will be used in the \`create\` command to create a new project based on this configuration
535
556
  */
536
- command: "docs";
557
+ packageName?: string;
537
558
  };
538
- type DeployInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
559
+ type CleanInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
560
+ type PrepareInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
561
+ type TypesInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
562
+ type BuildInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
563
+ type LintInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
564
+ type TestInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
565
+ type DocsInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
566
+ type DeployInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig>;
567
+ type ConfigParams = BaseExecutionOptions & Pick<Required<UserConfig>, "mode"> & {
539
568
  /**
540
569
  * A string identifier for the Powerlines command being executed
541
570
  */
542
- command: "deploy";
571
+ command: string;
543
572
  };
544
- type UserConfigFn<TUserConfig extends UserConfig = UserConfig> = (params: ResolvedEngineOptions) => MaybePromise<TUserConfig>;
573
+ type UserConfigFn<TUserConfig extends UserConfig = UserConfig> = (params: ConfigParams) => MaybePromise<TUserConfig>;
545
574
  type AnyOutputUserConfig = Partial<Omit<OutputConfig, "copy">> & {
546
575
  /**
547
576
  * The output configuration options to use for the build process
@@ -583,9 +612,13 @@ interface ResolvedEntryTypeDefinition extends TypeDefinition {
583
612
  */
584
613
  output?: string;
585
614
  }
586
- type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "ssr">> & {
615
+ type ResolvedEnvironmentConfig = RequiredKeys<Omit<EnvironmentConfig, "preview">, "consumer" | "ssr"> & {
587
616
  /**
588
- * The name of the environment
617
+ * A string identifier for the environment used by the system and plugins to determine which environment-specific configuration to use during the build process.
618
+ */
619
+ id: string;
620
+ /**
621
+ * The name of the environment provided by the user in the {@link UserConfig.environments | environments} configuration.
589
622
  */
590
623
  name: string;
591
624
  /**
@@ -596,7 +629,7 @@ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "p
596
629
  /**
597
630
  * The configuration options for resolving modules in a Powerlines project.
598
631
  */
599
- type ResolveResolvedConfig = Required<Omit<ResolveConfig, "external" | "noExternal">> & {
632
+ type ResolvedResolveConfig = Required<Omit<ResolveConfig, "external" | "noExternal">> & {
600
633
  /**
601
634
  * A list of modules that should not be bundled, even if they are external dependencies.
602
635
  *
@@ -610,24 +643,47 @@ type ResolveResolvedConfig = Required<Omit<ResolveConfig, "external" | "noExtern
610
643
  noExternal?: string[];
611
644
  };
612
645
  type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
613
- type CopyResolvedConfig = Required<Omit<CopyConfig, "assets">> & {
646
+ type ResolvedCopyConfig = Required<Omit<CopyConfig, "assets">> & {
614
647
  assets: ResolvedAssetGlob[];
615
648
  };
616
- type OutputResolvedConfig = Required<Omit<OutputConfig, "copy" | "storage">> & Pick<OutputConfig, "storage"> & {
617
- copy: CopyResolvedConfig | false;
649
+ type ResolvedOutputConfig = Required<Omit<OutputConfig, "copy" | "storage">> & Pick<OutputConfig, "storage"> & {
650
+ copy: ResolvedCopyConfig | false;
618
651
  };
619
652
  /**
620
- * The resolved options for the Powerlines project configuration.
653
+ * The base resolved configuration options for a Powerlines project, after being processed and normalized by the configuration loading process.
621
654
  */
622
- type ResolvedConfig$1<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "root" | "cwd" | "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "platform" | "projectType" | "input" | "output" | "resolve" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "root" | "cwd" | "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "input" | "tsconfig" | "platform" | "projectType" | "framework">> & {
655
+ type ResolvedConfig$1<TUserConfig extends UserConfig = UserConfig, TExecutionOptions extends ExecutionOptions = ExecutionOptions> = Omit<TExecutionOptions, "logLevel"> & Omit<RequiredKeys<TUserConfig, "name" | "title" | "plugins" | "mode" | "organization" | "environments" | "input" | "tsconfig" | "platform" | "projectType">, "compatibilityDate" | "output" | "resolve" | "logLevel"> & {
656
+ /**
657
+ * 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.
658
+ */
659
+ readonly userConfig: DeepReadonly<TUserConfig>;
660
+ /**
661
+ * The configuration options provided by plugins added by the user (and other plugins)
662
+ */
663
+ readonly inlineConfig: DeepReadonly<InlineConfig<TUserConfig>>;
664
+ /**
665
+ * The configuration options that were provided by Powerlines plugins, which may have been merged with the user configuration and modified by the configuration loading process.
666
+ */
667
+ readonly pluginConfig: DeepReadonly<DeepPartial<TUserConfig>>;
668
+ /**
669
+ * A string identifier for the Powerlines command being executed.
670
+ */
671
+ readonly command: NonUndefined<InlineConfig<TUserConfig>["command"]>;
672
+ /**
673
+ * A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
674
+ *
675
+ * @remarks
676
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
677
+ */
678
+ readonly configFile: string;
623
679
  /**
624
680
  * The output configuration options to use for the build process
625
681
  */
626
- output: OutputResolvedConfig;
682
+ output: ResolvedOutputConfig;
627
683
  /**
628
684
  * Configuration for module resolution during processing of the source code
629
685
  */
630
- resolve: ResolveResolvedConfig;
686
+ resolve: ResolvedResolveConfig;
631
687
  /**
632
688
  * The date to use for compatibility checks
633
689
  *
@@ -640,32 +696,30 @@ type ResolvedConfig$1<TUserConfig extends UserConfig = UserConfig> = Omit<TUserC
640
696
  */
641
697
  compatibilityDate: CompatibilityDates;
642
698
  /**
643
- * The configuration options that were provided inline to the Powerlines CLI.
644
- */
645
- inlineConfig: InlineConfig<TUserConfig>;
646
- /**
647
- * The original configuration options that were provided by the user to the Powerlines process.
648
- */
649
- userConfig: TUserConfig;
650
- /**
651
- * The configuration options that were provided by Powerlines plugins, which may have been merged with the user configuration and modified by the configuration loading process.
699
+ * The log level label indicating the severity of the log message, or a more detailed log level configuration object that allows for specifying different log levels for different categories of logs.
700
+ *
701
+ * @remarks
702
+ * The log level determines the minimum severity of messages that will be logged. For example, if the log level is set to `LogLevel.INFO`, then messages with a severity of `INFO`, `WARN`, and `ERROR` will be logged, while messages with a severity of `DEBUG` and `TRACE` will be ignored. Setting the log level to `LogLevel.SILENT` will disable all logging. Alternatively, you can provide a more detailed configuration object that allows you to specify different log levels for different categories of logs, providing granular control over the logging behavior for different aspects of the system.
652
703
  */
653
- pluginConfig: Partial<TUserConfig>;
704
+ logLevel: LogLevelResolvedConfig;
705
+ };
706
+ type InferOverridableConfig<TResolvedConfig extends ResolvedConfig$1 = ResolvedConfig$1> = DeepPartial<Omit<TResolvedConfig, "userConfig" | "inlineConfig" | "pluginConfig" | "cwd" | "configFile" | "command">>;
707
+ /**
708
+ * The resolved configuration options for a Powerlines environment, after being processed and normalized by the configuration loading process.
709
+ */
710
+ type EnvironmentResolvedConfig<TResolvedConfig extends ResolvedConfig$1 = ResolvedConfig$1> = TResolvedConfig & {
654
711
  /**
655
- * A string identifier for the Powerlines command being executed.
712
+ * The configuration provided when initializing the Powerlines API.
713
+ *
714
+ * @remarks
715
+ * This configuration is used during the initialization of the Powerlines API.
656
716
  */
657
- command: NonUndefined<InlineConfig<TUserConfig>["command"]>;
717
+ readonly environmentConfig: DeepReadonly<EnvironmentConfig>;
658
718
  /**
659
- * The log level to use for the Powerlines processes.
660
- *
661
- * @defaultValue "info"
719
+ * The resolved configuration options for the environment, which may include additional properties or modifications made during the configuration loading process.
662
720
  */
663
- logLevel: LogLevel | null;
721
+ environment: ResolvedEnvironmentConfig;
664
722
  };
665
- declare type __ΩLogLevel = any[];
666
- declare type __ΩLogFn = any[];
667
- declare type __ΩLogLevelConfig = any[];
668
- declare type __ΩLogger = any[];
669
723
  declare type __ΩWorkspaceConfig = any[];
670
724
  declare type __ΩPluginFactory = any[];
671
725
  declare type __ΩPluginConfigTuple = any[];
@@ -674,19 +728,21 @@ declare type __ΩPluginConfig = any[];
674
728
  declare type __ΩPartialPlugin = any[];
675
729
  declare type __ΩPartialPluginFactory = any[];
676
730
  declare type __ΩProjectType = any[];
731
+ declare type __ΩMode = any[];
677
732
  declare type __ΩResolveConfig = any[];
678
733
  declare type __ΩCopyConfig = any[];
679
734
  declare type __ΩOutputConfig = any[];
680
- declare type __ΩEngineOptions = any[];
681
- declare type __ΩResolvedEngineOptions = any[];
735
+ declare type __ΩFrameworkOptions = any[];
736
+ declare type __ΩOptions = any[];
737
+ declare type __ΩBaseExecutionOptions = any[];
682
738
  declare type __ΩExecutionOptions = any[];
683
- declare type __ΩResolvedExecutionOptions = any[];
684
739
  declare type __ΩConfig = any[];
685
740
  declare type __ΩEnvironmentConfig = any[];
686
741
  declare type __ΩUserConfig = any[];
687
742
  declare type __ΩPowerlinesCommand = any[];
743
+ declare type __ΩInlineConfigPaths = any[];
688
744
  declare type __ΩInlineConfig = any[];
689
- declare type __ΩNewInlineConfig = any[];
745
+ declare type __ΩCreateInlineConfig = any[];
690
746
  declare type __ΩCleanInlineConfig = any[];
691
747
  declare type __ΩPrepareInlineConfig = any[];
692
748
  declare type __ΩTypesInlineConfig = any[];
@@ -695,17 +751,20 @@ declare type __ΩLintInlineConfig = any[];
695
751
  declare type __ΩTestInlineConfig = any[];
696
752
  declare type __ΩDocsInlineConfig = any[];
697
753
  declare type __ΩDeployInlineConfig = any[];
754
+ declare type __ΩConfigParams = any[];
698
755
  declare type __ΩUserConfigFn = any[];
699
756
  declare type __ΩAnyOutputUserConfig = any[];
700
757
  declare type __ΩAnyUserConfig = any[];
701
758
  declare type __ΩParsedUserConfig = any[];
702
759
  declare type __ΩResolvedEntryTypeDefinition = any[];
703
- declare type __ΩEnvironmentResolvedConfig = any[];
704
- declare type __ΩResolveResolvedConfig = any[];
760
+ declare type __ΩResolvedEnvironmentConfig = any[];
761
+ declare type __ΩResolvedResolveConfig = any[];
705
762
  declare type __ΩResolvedAssetGlob = any[];
706
- declare type __ΩCopyResolvedConfig = any[];
707
- declare type __ΩOutputResolvedConfig = any[];
763
+ declare type __ΩResolvedCopyConfig = any[];
764
+ declare type __ΩResolvedOutputConfig = any[];
708
765
  declare type __ΩResolvedConfig = any[];
766
+ declare type __ΩInferOverridableConfig = any[];
767
+ declare type __ΩEnvironmentResolvedConfig = any[];
709
768
  //#endregion
710
- export { AnyOutputUserConfig, AnyUserConfig, BuildInlineConfig, CleanInlineConfig, Config, CopyConfig, CopyResolvedConfig, DeployInlineConfig, DocsInlineConfig, EngineOptions, EnvironmentConfig, EnvironmentResolvedConfig, ExecutionOptions, InlineConfig, LintInlineConfig, LogFn, LogLevel, LogLevelConfig, Logger, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolveResolvedConfig, ResolvedAssetGlob, ResolvedConfig$1 as ResolvedConfig, ResolvedEngineOptions, ResolvedEntryTypeDefinition, ResolvedExecutionOptions, TestInlineConfig, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEngineOptions, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩExecutionOptions, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogLevelConfig, __ΩLogger, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolveResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEngineOptions, __ΩResolvedEntryTypeDefinition, __ΩResolvedExecutionOptions, __ΩTestInlineConfig, __ΩTypesInlineConfig, __ΩUserConfig, __ΩUserConfigFn, __ΩWorkspaceConfig };
769
+ export { AnyOutputUserConfig, AnyUserConfig, BaseExecutionOptions, BuildInlineConfig, CleanInlineConfig, Config, ConfigParams, CopyConfig, CreateInlineConfig, DeployInlineConfig, DocsInlineConfig, EnvironmentConfig, EnvironmentResolvedConfig, ExecutionOptions, FrameworkOptions, InferOverridableConfig, InlineConfig, InlineConfigPaths, LintInlineConfig, Mode, Options, OutputConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolvedAssetGlob, ResolvedConfig$1 as ResolvedConfig, ResolvedCopyConfig, ResolvedEntryTypeDefinition, ResolvedEnvironmentConfig, ResolvedOutputConfig, ResolvedResolveConfig, TestInlineConfig, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBaseExecutionOptions, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩConfigParams, __ΩCopyConfig, __ΩCreateInlineConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩExecutionOptions, __ΩFrameworkOptions, __ΩInferOverridableConfig, __ΩInlineConfig, __ΩInlineConfigPaths, __ΩLintInlineConfig, __ΩMode, __ΩOptions, __ΩOutputConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedCopyConfig, __ΩResolvedEntryTypeDefinition, __ΩResolvedEnvironmentConfig, __ΩResolvedOutputConfig, __ΩResolvedResolveConfig, __ΩTestInlineConfig, __ΩTypesInlineConfig, __ΩUserConfig, __ΩUserConfigFn, __ΩWorkspaceConfig };
711
770
  //# sourceMappingURL=config.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.mts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;;;;;;;KAwCY,QAAA;AAAA,KAEA,KAAA,IAAS,IAAA,EAAM,aAAA,KAAkB,IAAA;AAA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