@powerlines/core 0.9.1 → 0.9.2

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 (432) hide show
  1. package/dist/constants/api.cjs +18 -0
  2. package/dist/constants/api.d.cts +6 -0
  3. package/dist/constants/api.d.cts.map +1 -0
  4. package/dist/constants/api.d.mts +6 -0
  5. package/dist/constants/api.d.mts.map +1 -0
  6. package/dist/constants/api.mjs +16 -0
  7. package/dist/constants/api.mjs.map +1 -0
  8. package/dist/constants/commands.cjs +3 -11
  9. package/dist/constants/commands.d.cts +1 -1
  10. package/dist/constants/commands.d.cts.map +1 -1
  11. package/dist/constants/commands.d.mts +1 -1
  12. package/dist/constants/commands.d.mts.map +1 -1
  13. package/dist/constants/commands.mjs +3 -11
  14. package/dist/constants/commands.mjs.map +1 -1
  15. package/dist/constants/devtools.cjs +23 -0
  16. package/dist/constants/devtools.d.cts +13 -0
  17. package/dist/constants/devtools.d.cts.map +1 -0
  18. package/dist/constants/devtools.d.mts +13 -0
  19. package/dist/constants/devtools.d.mts.map +1 -0
  20. package/dist/constants/devtools.mjs +14 -0
  21. package/dist/constants/devtools.mjs.map +1 -0
  22. package/dist/constants/environments.cjs +1 -0
  23. package/dist/constants/extensions.cjs +21 -0
  24. package/dist/constants/extensions.d.cts +5 -0
  25. package/dist/constants/extensions.d.cts.map +1 -0
  26. package/dist/constants/extensions.d.mts +5 -0
  27. package/dist/constants/extensions.d.mts.map +1 -0
  28. package/dist/constants/extensions.mjs +20 -0
  29. package/dist/constants/extensions.mjs.map +1 -0
  30. package/dist/constants/fs.cjs +1 -0
  31. package/dist/constants/hooks.cjs +1 -0
  32. package/dist/constants/index.cjs +48 -24
  33. package/dist/constants/index.d.cts +5 -1
  34. package/dist/constants/index.d.mts +5 -1
  35. package/dist/constants/index.mjs +6 -2
  36. package/dist/constants/log-level.cjs +90 -0
  37. package/dist/constants/log-level.d.cts +63 -0
  38. package/dist/constants/log-level.d.cts.map +1 -0
  39. package/dist/constants/log-level.d.mts +63 -0
  40. package/dist/constants/log-level.d.mts.map +1 -0
  41. package/dist/constants/log-level.mjs +82 -0
  42. package/dist/constants/log-level.mjs.map +1 -0
  43. package/dist/constants/meta.cjs +1 -0
  44. package/dist/constants/plugin.cjs +3 -2
  45. package/dist/constants/plugin.d.cts +2 -2
  46. package/dist/constants/plugin.d.mts +2 -2
  47. package/dist/context/base-context.cjs +127 -0
  48. package/dist/context/base-context.d.cts +81 -0
  49. package/dist/context/base-context.d.cts.map +1 -0
  50. package/dist/context/base-context.d.mts +81 -0
  51. package/dist/context/base-context.d.mts.map +1 -0
  52. package/dist/context/base-context.mjs +125 -0
  53. package/dist/context/base-context.mjs.map +1 -0
  54. package/dist/context/context.cjs +934 -0
  55. package/dist/context/context.d.cts +369 -0
  56. package/dist/context/context.d.cts.map +1 -0
  57. package/dist/context/context.d.mts +369 -0
  58. package/dist/context/context.d.mts.map +1 -0
  59. package/dist/context/context.mjs +932 -0
  60. package/dist/context/context.mjs.map +1 -0
  61. package/dist/context/environment-context.cjs +219 -0
  62. package/dist/context/environment-context.d.cts +100 -0
  63. package/dist/context/environment-context.d.cts.map +1 -0
  64. package/dist/context/environment-context.d.mts +100 -0
  65. package/dist/context/environment-context.d.mts.map +1 -0
  66. package/dist/context/environment-context.mjs +218 -0
  67. package/dist/context/environment-context.mjs.map +1 -0
  68. package/dist/context/execution-context.cjs +230 -0
  69. package/dist/context/execution-context.d.cts +101 -0
  70. package/dist/context/execution-context.d.cts.map +1 -0
  71. package/dist/context/execution-context.d.mts +101 -0
  72. package/dist/context/execution-context.d.mts.map +1 -0
  73. package/dist/context/execution-context.mjs +228 -0
  74. package/dist/context/execution-context.mjs.map +1 -0
  75. package/dist/context/index.cjs +12 -0
  76. package/dist/context/index.d.cts +6 -0
  77. package/dist/context/index.d.mts +6 -0
  78. package/dist/context/index.mjs +7 -0
  79. package/dist/context/plugin-context.cjs +83 -0
  80. package/dist/context/plugin-context.d.cts +18 -0
  81. package/dist/context/plugin-context.d.cts.map +1 -0
  82. package/dist/context/plugin-context.d.mts +18 -0
  83. package/dist/context/plugin-context.d.mts.map +1 -0
  84. package/dist/context/plugin-context.mjs +82 -0
  85. package/dist/context/plugin-context.mjs.map +1 -0
  86. package/dist/index.cjs +62 -6
  87. package/dist/index.d.cts +23 -11
  88. package/dist/index.d.mts +23 -11
  89. package/dist/index.mjs +17 -5
  90. package/dist/lib/config.cjs +167 -28
  91. package/dist/lib/config.d.cts +95 -14
  92. package/dist/lib/config.d.cts.map +1 -1
  93. package/dist/lib/config.d.mts +95 -14
  94. package/dist/lib/config.d.mts.map +1 -1
  95. package/dist/lib/config.mjs +160 -28
  96. package/dist/lib/config.mjs.map +1 -1
  97. package/dist/lib/context-helpers.cjs +43 -0
  98. package/dist/lib/context-helpers.d.cts +19 -0
  99. package/dist/lib/context-helpers.d.cts.map +1 -0
  100. package/dist/lib/context-helpers.d.mts +19 -0
  101. package/dist/lib/context-helpers.d.mts.map +1 -0
  102. package/dist/lib/context-helpers.mjs +41 -0
  103. package/dist/lib/context-helpers.mjs.map +1 -0
  104. package/dist/lib/entry.cjs +9 -9
  105. package/dist/lib/entry.d.cts.map +1 -1
  106. package/dist/lib/entry.d.mts.map +1 -1
  107. package/dist/lib/entry.mjs +9 -9
  108. package/dist/lib/entry.mjs.map +1 -1
  109. package/dist/lib/environment.cjs +72 -0
  110. package/dist/lib/environment.d.cts +12 -0
  111. package/dist/lib/environment.d.cts.map +1 -0
  112. package/dist/lib/environment.d.mts +12 -0
  113. package/dist/lib/environment.d.mts.map +1 -0
  114. package/dist/lib/environment.mjs +67 -0
  115. package/dist/lib/environment.mjs.map +1 -0
  116. package/dist/lib/events.cjs +43 -0
  117. package/dist/lib/events.d.cts +10 -0
  118. package/dist/lib/events.d.cts.map +1 -0
  119. package/dist/lib/events.d.mts +10 -0
  120. package/dist/lib/events.d.mts.map +1 -0
  121. package/dist/lib/events.mjs +42 -0
  122. package/dist/lib/events.mjs.map +1 -0
  123. package/dist/lib/generate-types.cjs +371 -0
  124. package/dist/lib/generate-types.d.cts +67 -0
  125. package/dist/lib/generate-types.d.cts.map +1 -0
  126. package/dist/lib/generate-types.d.mts +67 -0
  127. package/dist/lib/generate-types.d.mts.map +1 -0
  128. package/dist/lib/generate-types.mjs +368 -0
  129. package/dist/lib/generate-types.mjs.map +1 -0
  130. package/dist/lib/hooks.cjs +152 -0
  131. package/dist/lib/hooks.d.cts +28 -0
  132. package/dist/lib/hooks.d.cts.map +1 -0
  133. package/dist/lib/hooks.d.mts +28 -0
  134. package/dist/lib/hooks.d.mts.map +1 -0
  135. package/dist/lib/hooks.mjs +147 -0
  136. package/dist/lib/hooks.mjs.map +1 -0
  137. package/dist/lib/index.cjs +64 -6
  138. package/dist/lib/index.d.cts +15 -3
  139. package/dist/lib/index.d.mts +15 -3
  140. package/dist/lib/index.mjs +19 -5
  141. package/dist/lib/install-dependencies.cjs +25 -0
  142. package/dist/lib/install-dependencies.d.cts +12 -0
  143. package/dist/lib/install-dependencies.d.cts.map +1 -0
  144. package/dist/lib/install-dependencies.d.mts +12 -0
  145. package/dist/lib/install-dependencies.d.mts.map +1 -0
  146. package/dist/lib/install-dependencies.mjs +24 -0
  147. package/dist/lib/install-dependencies.mjs.map +1 -0
  148. package/dist/lib/meta.cjs +57 -0
  149. package/dist/lib/meta.d.cts +34 -0
  150. package/dist/lib/meta.d.cts.map +1 -0
  151. package/dist/lib/meta.d.mts +34 -0
  152. package/dist/lib/meta.d.mts.map +1 -0
  153. package/dist/lib/meta.mjs +54 -0
  154. package/dist/lib/meta.mjs.map +1 -0
  155. package/dist/lib/plugins.cjs +150 -0
  156. package/dist/lib/plugins.d.cts +40 -0
  157. package/dist/lib/plugins.d.cts.map +1 -0
  158. package/dist/lib/plugins.d.mts +40 -0
  159. package/dist/lib/plugins.d.mts.map +1 -0
  160. package/dist/lib/plugins.mjs +146 -0
  161. package/dist/lib/plugins.mjs.map +1 -0
  162. package/dist/lib/resolver.cjs +35 -0
  163. package/dist/lib/resolver.d.cts +21 -0
  164. package/dist/lib/resolver.d.cts.map +1 -0
  165. package/dist/lib/resolver.d.mts +21 -0
  166. package/dist/lib/resolver.d.mts.map +1 -0
  167. package/dist/lib/resolver.mjs +33 -0
  168. package/dist/lib/resolver.mjs.map +1 -0
  169. package/dist/lib/schemas.cjs +9 -0
  170. package/dist/lib/schemas.d.cts +2 -0
  171. package/dist/lib/schemas.d.mts +2 -0
  172. package/dist/lib/schemas.mjs +3 -0
  173. package/dist/lib/streaming-channel.cjs +260 -0
  174. package/dist/lib/streaming-channel.d.cts +133 -0
  175. package/dist/lib/streaming-channel.d.cts.map +1 -0
  176. package/dist/lib/streaming-channel.d.mts +133 -0
  177. package/dist/lib/streaming-channel.d.mts.map +1 -0
  178. package/dist/lib/streaming-channel.mjs +258 -0
  179. package/dist/lib/streaming-channel.mjs.map +1 -0
  180. package/dist/lib/typescript/index.cjs +16 -0
  181. package/dist/lib/typescript/index.d.cts +3 -0
  182. package/dist/lib/typescript/index.d.mts +3 -0
  183. package/dist/lib/typescript/index.mjs +4 -0
  184. package/dist/lib/typescript/ts-morph.cjs +105 -0
  185. package/dist/lib/typescript/ts-morph.d.cts +38 -0
  186. package/dist/lib/typescript/ts-morph.d.cts.map +1 -0
  187. package/dist/lib/typescript/ts-morph.d.mts +38 -0
  188. package/dist/lib/typescript/ts-morph.d.mts.map +1 -0
  189. package/dist/lib/typescript/ts-morph.mjs +102 -0
  190. package/dist/lib/typescript/ts-morph.mjs.map +1 -0
  191. package/dist/lib/typescript/tsconfig.cjs +253 -0
  192. package/dist/lib/typescript/tsconfig.d.cts +77 -0
  193. package/dist/lib/typescript/tsconfig.d.cts.map +1 -0
  194. package/dist/lib/typescript/tsconfig.d.mts +77 -0
  195. package/dist/lib/typescript/tsconfig.d.mts.map +1 -0
  196. package/dist/lib/typescript/tsconfig.mjs +240 -0
  197. package/dist/lib/typescript/tsconfig.mjs.map +1 -0
  198. package/dist/lib/unplugin/helpers.cjs +2 -2
  199. package/dist/lib/unplugin/module-resolution.cjs +21 -20
  200. package/dist/lib/unplugin/module-resolution.d.cts +8 -0
  201. package/dist/lib/unplugin/module-resolution.d.cts.map +1 -1
  202. package/dist/lib/unplugin/module-resolution.d.mts +8 -0
  203. package/dist/lib/unplugin/module-resolution.d.mts.map +1 -1
  204. package/dist/lib/unplugin/module-resolution.mjs +20 -20
  205. package/dist/lib/unplugin/module-resolution.mjs.map +1 -1
  206. package/dist/lib/unplugin/plugin.cjs +57 -63
  207. package/dist/lib/unplugin/plugin.d.cts +11 -5
  208. package/dist/lib/unplugin/plugin.d.cts.map +1 -1
  209. package/dist/lib/unplugin/plugin.d.mts +11 -5
  210. package/dist/lib/unplugin/plugin.d.mts.map +1 -1
  211. package/dist/lib/unplugin/plugin.mjs +57 -63
  212. package/dist/lib/unplugin/plugin.mjs.map +1 -1
  213. package/dist/lib/utilities/file-header.cjs +2 -2
  214. package/dist/lib/utilities/file-header.mjs +2 -2
  215. package/dist/lib/utilities/file-header.mjs.map +1 -1
  216. package/dist/lib/utilities/format.cjs +16 -8
  217. package/dist/lib/utilities/format.d.cts.map +1 -1
  218. package/dist/lib/utilities/format.d.mts.map +1 -1
  219. package/dist/lib/utilities/format.mjs +15 -8
  220. package/dist/lib/utilities/format.mjs.map +1 -1
  221. package/dist/lib/utilities/index.cjs +2 -2
  222. package/dist/lib/utilities/index.mjs +2 -2
  223. package/dist/lib/utilities/source-file.cjs +1 -1
  224. package/dist/lib/utilities/source-map.cjs +1 -1
  225. package/dist/lib/utilities/write-file.cjs +1 -2
  226. package/dist/lib/utilities/write-file.d.cts +1 -1
  227. package/dist/lib/utilities/write-file.d.cts.map +1 -1
  228. package/dist/lib/utilities/write-file.d.mts +1 -1
  229. package/dist/lib/utilities/write-file.d.mts.map +1 -1
  230. package/dist/lib/utilities/write-file.mjs +1 -2
  231. package/dist/lib/utilities/write-file.mjs.map +1 -1
  232. package/dist/lib/vfs.cjs +1104 -0
  233. package/dist/lib/vfs.d.cts +321 -0
  234. package/dist/lib/vfs.d.cts.map +1 -0
  235. package/dist/lib/vfs.d.mts +321 -0
  236. package/dist/lib/vfs.d.mts.map +1 -0
  237. package/dist/lib/vfs.mjs +1102 -0
  238. package/dist/lib/vfs.mjs.map +1 -0
  239. package/dist/plugin-base.cjs +5 -9
  240. package/dist/plugin-base.mjs +5 -9
  241. package/dist/plugin-base.mjs.map +1 -1
  242. package/dist/plugin-utils/build-helpers.cjs +2 -2
  243. package/dist/plugin-utils/build-helpers.mjs +2 -2
  244. package/dist/plugin-utils/build-helpers.mjs.map +1 -1
  245. package/dist/plugin-utils/combine-plugins.d.cts +7 -8
  246. package/dist/plugin-utils/combine-plugins.d.cts.map +1 -1
  247. package/dist/plugin-utils/combine-plugins.d.mts +7 -8
  248. package/dist/plugin-utils/combine-plugins.d.mts.map +1 -1
  249. package/dist/plugin-utils/combine-plugins.mjs.map +1 -1
  250. package/dist/plugin-utils/context-helpers.cjs +29 -16
  251. package/dist/plugin-utils/context-helpers.d.cts +10 -2
  252. package/dist/plugin-utils/context-helpers.d.cts.map +1 -1
  253. package/dist/plugin-utils/context-helpers.d.mts +10 -2
  254. package/dist/plugin-utils/context-helpers.d.mts.map +1 -1
  255. package/dist/plugin-utils/context-helpers.mjs +29 -17
  256. package/dist/plugin-utils/context-helpers.mjs.map +1 -1
  257. package/dist/plugin-utils/docs-helper.cjs +17 -0
  258. package/dist/plugin-utils/docs-helper.d.cts +11 -0
  259. package/dist/plugin-utils/docs-helper.d.cts.map +1 -0
  260. package/dist/plugin-utils/docs-helper.d.mts +11 -0
  261. package/dist/plugin-utils/docs-helper.d.mts.map +1 -0
  262. package/dist/plugin-utils/docs-helper.mjs +16 -0
  263. package/dist/plugin-utils/docs-helper.mjs.map +1 -0
  264. package/dist/plugin-utils/extend.mjs.map +1 -1
  265. package/dist/plugin-utils/filter.cjs +101 -0
  266. package/dist/plugin-utils/filter.d.cts +16 -0
  267. package/dist/plugin-utils/filter.d.cts.map +1 -0
  268. package/dist/plugin-utils/filter.d.mts +16 -0
  269. package/dist/plugin-utils/filter.d.mts.map +1 -0
  270. package/dist/plugin-utils/filter.mjs +91 -0
  271. package/dist/plugin-utils/filter.mjs.map +1 -0
  272. package/dist/plugin-utils/format-package-json.cjs +1 -1
  273. package/dist/plugin-utils/format-package-json.mjs +1 -1
  274. package/dist/plugin-utils/format-package-json.mjs.map +1 -1
  275. package/dist/plugin-utils/format.cjs +44 -0
  276. package/dist/plugin-utils/format.d.cts +11 -0
  277. package/dist/plugin-utils/format.d.cts.map +1 -0
  278. package/dist/plugin-utils/format.d.mts +11 -0
  279. package/dist/plugin-utils/format.d.mts.map +1 -0
  280. package/dist/plugin-utils/format.mjs +43 -0
  281. package/dist/plugin-utils/format.mjs.map +1 -0
  282. package/dist/plugin-utils/get-config-path.cjs +34 -32
  283. package/dist/plugin-utils/get-config-path.d.cts +4 -1
  284. package/dist/plugin-utils/get-config-path.d.cts.map +1 -1
  285. package/dist/plugin-utils/get-config-path.d.mts +4 -1
  286. package/dist/plugin-utils/get-config-path.d.mts.map +1 -1
  287. package/dist/plugin-utils/get-config-path.mjs +34 -32
  288. package/dist/plugin-utils/get-config-path.mjs.map +1 -1
  289. package/dist/plugin-utils/helpers.cjs +25 -10
  290. package/dist/plugin-utils/helpers.d.cts +31 -24
  291. package/dist/plugin-utils/helpers.d.cts.map +1 -1
  292. package/dist/plugin-utils/helpers.d.mts +31 -24
  293. package/dist/plugin-utils/helpers.d.mts.map +1 -1
  294. package/dist/plugin-utils/helpers.mjs +22 -8
  295. package/dist/plugin-utils/helpers.mjs.map +1 -1
  296. package/dist/plugin-utils/index.cjs +48 -4
  297. package/dist/plugin-utils/index.d.cts +9 -3
  298. package/dist/plugin-utils/index.d.mts +9 -3
  299. package/dist/plugin-utils/index.mjs +11 -5
  300. package/dist/plugin-utils/install.cjs +47 -0
  301. package/dist/plugin-utils/install.d.cts +23 -0
  302. package/dist/plugin-utils/install.d.cts.map +1 -0
  303. package/dist/plugin-utils/install.d.mts +23 -0
  304. package/dist/plugin-utils/install.d.mts.map +1 -0
  305. package/dist/plugin-utils/install.mjs +45 -0
  306. package/dist/plugin-utils/install.mjs.map +1 -0
  307. package/dist/plugin-utils/logging.cjs +605 -0
  308. package/dist/plugin-utils/logging.d.cts +111 -0
  309. package/dist/plugin-utils/logging.d.cts.map +1 -0
  310. package/dist/plugin-utils/logging.d.mts +111 -0
  311. package/dist/plugin-utils/logging.d.mts.map +1 -0
  312. package/dist/plugin-utils/logging.mjs +588 -0
  313. package/dist/plugin-utils/logging.mjs.map +1 -0
  314. package/dist/plugin-utils/merge.cjs +4 -4
  315. package/dist/plugin-utils/merge.d.cts +0 -1
  316. package/dist/plugin-utils/merge.d.cts.map +1 -1
  317. package/dist/plugin-utils/merge.d.mts.map +1 -1
  318. package/dist/plugin-utils/merge.mjs +3 -3
  319. package/dist/plugin-utils/merge.mjs.map +1 -1
  320. package/dist/plugin-utils/modules.cjs +1 -1
  321. package/dist/plugin-utils/modules.mjs +1 -1
  322. package/dist/plugin-utils/modules.mjs.map +1 -1
  323. package/dist/plugin-utils/paths.cjs +18 -4
  324. package/dist/plugin-utils/paths.d.cts +12 -2
  325. package/dist/plugin-utils/paths.d.cts.map +1 -1
  326. package/dist/plugin-utils/paths.d.mts +12 -2
  327. package/dist/plugin-utils/paths.d.mts.map +1 -1
  328. package/dist/plugin-utils/paths.mjs +18 -4
  329. package/dist/plugin-utils/paths.mjs.map +1 -1
  330. package/dist/plugin-utils/virtual.cjs +80 -0
  331. package/dist/plugin-utils/virtual.d.cts +69 -0
  332. package/dist/plugin-utils/virtual.d.cts.map +1 -0
  333. package/dist/plugin-utils/virtual.d.mts +69 -0
  334. package/dist/plugin-utils/virtual.d.mts.map +1 -0
  335. package/dist/plugin-utils/virtual.mjs +73 -0
  336. package/dist/plugin-utils/virtual.mjs.map +1 -0
  337. package/dist/schemas/fs.cjs +232 -0
  338. package/dist/schemas/fs.d.cts +127 -0
  339. package/dist/schemas/fs.d.cts.map +1 -0
  340. package/dist/schemas/fs.d.mts +127 -0
  341. package/dist/schemas/fs.d.mts.map +1 -0
  342. package/dist/schemas/fs.mjs +226 -0
  343. package/dist/schemas/fs.mjs.map +1 -0
  344. package/dist/storage/base.cjs +216 -0
  345. package/dist/storage/base.d.cts +201 -0
  346. package/dist/storage/base.d.cts.map +1 -0
  347. package/dist/storage/base.d.mts +201 -0
  348. package/dist/storage/base.d.mts.map +1 -0
  349. package/dist/storage/base.mjs +215 -0
  350. package/dist/storage/base.mjs.map +1 -0
  351. package/dist/storage/file-system.cjs +180 -0
  352. package/dist/storage/file-system.d.cts +129 -0
  353. package/dist/storage/file-system.d.cts.map +1 -0
  354. package/dist/storage/file-system.d.mts +129 -0
  355. package/dist/storage/file-system.d.mts.map +1 -0
  356. package/dist/storage/file-system.mjs +179 -0
  357. package/dist/storage/file-system.mjs.map +1 -0
  358. package/dist/storage/helpers.cjs +37 -0
  359. package/dist/storage/helpers.d.cts +25 -0
  360. package/dist/storage/helpers.d.cts.map +1 -0
  361. package/dist/storage/helpers.d.mts +25 -0
  362. package/dist/storage/helpers.d.mts.map +1 -0
  363. package/dist/storage/helpers.mjs +34 -0
  364. package/dist/storage/helpers.mjs.map +1 -0
  365. package/dist/storage/index.cjs +12 -0
  366. package/dist/storage/index.d.cts +5 -0
  367. package/dist/storage/index.d.mts +5 -0
  368. package/dist/storage/index.mjs +6 -0
  369. package/dist/storage/virtual.cjs +98 -0
  370. package/dist/storage/virtual.d.cts +80 -0
  371. package/dist/storage/virtual.d.cts.map +1 -0
  372. package/dist/storage/virtual.d.mts +80 -0
  373. package/dist/storage/virtual.d.mts.map +1 -0
  374. package/dist/storage/virtual.mjs +97 -0
  375. package/dist/storage/virtual.mjs.map +1 -0
  376. package/dist/types/api.d.cts +18 -99
  377. package/dist/types/api.d.cts.map +1 -1
  378. package/dist/types/api.d.mts +18 -99
  379. package/dist/types/api.d.mts.map +1 -1
  380. package/dist/types/config.d.cts +239 -141
  381. package/dist/types/config.d.cts.map +1 -1
  382. package/dist/types/config.d.mts +240 -142
  383. package/dist/types/config.d.mts.map +1 -1
  384. package/dist/types/context.d.cts +228 -117
  385. package/dist/types/context.d.cts.map +1 -1
  386. package/dist/types/context.d.mts +231 -120
  387. package/dist/types/context.d.mts.map +1 -1
  388. package/dist/types/fs.d.cts +49 -5
  389. package/dist/types/fs.d.cts.map +1 -1
  390. package/dist/types/fs.d.mts +50 -6
  391. package/dist/types/fs.d.mts.map +1 -1
  392. package/dist/types/hooks.d.cts +26 -38
  393. package/dist/types/hooks.d.cts.map +1 -1
  394. package/dist/types/hooks.d.mts +26 -38
  395. package/dist/types/hooks.d.mts.map +1 -1
  396. package/dist/types/index.d.cts +9 -0
  397. package/dist/types/index.d.mts +8 -8
  398. package/dist/types/logging.d.cts +161 -0
  399. package/dist/types/logging.d.cts.map +1 -0
  400. package/dist/types/logging.d.mts +161 -0
  401. package/dist/types/logging.d.mts.map +1 -0
  402. package/dist/types/plugin.d.cts +23 -24
  403. package/dist/types/plugin.d.cts.map +1 -1
  404. package/dist/types/plugin.d.mts +23 -24
  405. package/dist/types/plugin.d.mts.map +1 -1
  406. package/dist/types/tsconfig.d.cts +15 -12
  407. package/dist/types/tsconfig.d.cts.map +1 -1
  408. package/dist/types/tsconfig.d.mts +16 -13
  409. package/dist/types/tsconfig.d.mts.map +1 -1
  410. package/dist/types/unplugin.d.cts +10 -23
  411. package/dist/types/unplugin.d.cts.map +1 -1
  412. package/dist/types/unplugin.d.mts +10 -23
  413. package/dist/types/unplugin.d.mts.map +1 -1
  414. package/package.json +270 -425
  415. package/schemas/fs.capnp +42 -0
  416. package/dist/lib/logger.cjs +0 -59
  417. package/dist/lib/logger.d.cts +0 -23
  418. package/dist/lib/logger.d.cts.map +0 -1
  419. package/dist/lib/logger.d.mts +0 -23
  420. package/dist/lib/logger.d.mts.map +0 -1
  421. package/dist/lib/logger.mjs +0 -56
  422. package/dist/lib/logger.mjs.map +0 -1
  423. package/dist/types/_internal.cjs +0 -0
  424. package/dist/types/_internal.d.cts +0 -106
  425. package/dist/types/_internal.d.cts.map +0 -1
  426. package/dist/types/_internal.d.mts +0 -106
  427. package/dist/types/_internal.d.mts.map +0 -1
  428. package/dist/types/_internal.mjs +0 -1
  429. package/dist/types/commands.d.cts +0 -13
  430. package/dist/types/commands.d.cts.map +0 -1
  431. package/dist/types/commands.d.mts +0 -13
  432. package/dist/types/commands.d.mts.map +0 -1
@@ -1,24 +1,18 @@
1
1
  import { StoragePort, StoragePreset } from "./fs.cjs";
2
2
  import { Plugin } from "./plugin.cjs";
3
+ import { LogFn, LogLevelResolvedConfig, LogLevelUserConfig } from "./logging.cjs";
3
4
  import { TSConfig } from "./tsconfig.cjs";
4
5
  import { PluginContext } from "./context.cjs";
5
6
  import { Format } from "@storm-software/build-tools/types";
6
- import { LogLevelLabel } from "@storm-software/config-tools/types";
7
7
  import { StormWorkspaceConfig } from "@storm-software/config/types";
8
- import { DeepPartial, MaybePromise, NonUndefined } from "@stryke/types/base";
8
+ import { DeepPartial, DeepReadonly, MaybePromise, NonUndefined, RequiredKeys } from "@stryke/types/base";
9
9
  import { TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
10
10
  import { AssetGlob } from "@stryke/types/file";
11
11
  import { ConfigLayer, ResolvedConfig } from "c12";
12
12
  import { CompatibilityDateSpec, CompatibilityDates } from "compatx";
13
- import { PreviewOptions, ResolvedConfig as ResolvedConfig$1, ResolvedPreviewOptions } from "vite";
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
- interface Logger {
19
- log: LogFn;
20
- level: LogLevelLabel;
21
- }
22
16
  /**
23
17
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
24
18
  */
@@ -45,6 +39,7 @@ type PluginConfig<TContext extends PluginContext = PluginContext> = string | Plu
45
39
  type PartialPlugin<TContext extends PluginContext = PluginContext> = DeepPartial<Plugin<TContext>>;
46
40
  type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext> | PartialPlugin<TContext>[]>;
47
41
  type ProjectType = "application" | "library";
42
+ type Mode = "development" | "test" | "production";
48
43
  /**
49
44
  * The configuration options for resolving modules in a Powerlines project.
50
45
  */
@@ -206,6 +201,15 @@ interface OutputConfig {
206
201
  * This option can be a boolean or a string specifying the type of source map to generate. If set to `true`, external source maps will be generated. If set to `"inline"`, source maps will be included in the output files as data URIs. If set to `"hidden"`, external source maps will be generated but not referenced in the output files.
207
202
  */
208
203
  sourceMap?: boolean | "inline" | "hidden";
204
+ /**
205
+ * Minify the output files
206
+ *
207
+ * @remarks
208
+ * This option can be a boolean or a string specifying the type of minification to apply. If set to `true`, the output files will be minified. If set to `"terser"`, the Terser minifier will be used. If set to `"esbuild"`, the esbuild minifier will be used.
209
+ *
210
+ * @defaultValue false
211
+ */
212
+ minify?: boolean;
209
213
  /**
210
214
  * Whether to overwrite previously generated files in the artifacts directory during the build process.
211
215
  *
@@ -229,6 +233,87 @@ interface OutputConfig {
229
233
  */
230
234
  storage?: StoragePort | StoragePreset;
231
235
  }
236
+ interface FrameworkOptions {
237
+ /**
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"
244
+ */
245
+ name: string;
246
+ /**
247
+ * The version of the framework
248
+ *
249
+ * @remarks
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"
253
+ */
254
+ version?: string;
255
+ /**
256
+ * The organization or author of the framework
257
+ *
258
+ * @defaultValue "storm-software"
259
+ */
260
+ orgId: string;
261
+ }
262
+ interface Options {
263
+ /**
264
+ * The current working directory the Powerlines processes should operate in
265
+ *
266
+ * @remarks
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.
272
+ *
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"
277
+ */
278
+ logLevel?: LogLevelUserConfig;
279
+ /**
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.
281
+ */
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;
299
+ /**
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.
301
+ *
302
+ * @remarks
303
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
304
+ */
305
+ configFile: string;
306
+ /**
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.
314
+ */
315
+ logFn?: LogFn;
316
+ }
232
317
  interface Config {
233
318
  /**
234
319
  * Defines entries and location(s) of entry modules for the bundle. Relative paths are resolved based on the `root` option.
@@ -238,6 +323,17 @@ interface Config {
238
323
  * Configuration for the output files generated by processing the source code
239
324
  */
240
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;
241
337
  /**
242
338
  * Configuration for module resolution during processing of the source code
243
339
  */
@@ -316,6 +412,13 @@ interface EnvironmentConfig extends Config {
316
412
  * A flag indicating whether the build is for a Server-Side Rendering environment.
317
413
  */
318
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";
319
422
  /**
320
423
  * Define if this environment is used for Server-Side Rendering
321
424
  *
@@ -324,10 +427,6 @@ interface EnvironmentConfig extends Config {
324
427
  consumer?: "client" | "server";
325
428
  }
326
429
  interface UserConfig extends Config {
327
- /**
328
- * The root directory of the project
329
- */
330
- root: string;
331
430
  /**
332
431
  * The name of the project
333
432
  */
@@ -353,46 +452,18 @@ interface UserConfig extends Config {
353
452
  * If this option is not provided, the build process will try to use the \`author\` value from the \`package.json\` file. If the \`author\` value cannot be determined, the {@link name | name configuration} will be used.
354
453
  */
355
454
  organization?: string;
356
- /**
357
- * The date to use for compatibility checks
358
- *
359
- * @remarks
360
- * 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.
361
- *
362
- * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
363
- * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
364
- * @see https://github.com/unjs/compatx
365
- */
366
- compatibilityDate?: CompatibilityDateSpec;
367
- /**
368
- * The log level to use for the Powerlines processes.
369
- *
370
- * @defaultValue "info"
371
- */
372
- logLevel?: LogLevel | null;
373
- /**
374
- * A custom logger function to use for logging messages
375
- */
376
- customLogger?: LogFn;
377
455
  /**
378
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.
379
457
  *
380
458
  * @defaultValue "production"
381
459
  */
382
- mode?: "development" | "test" | "production";
460
+ mode?: Mode;
383
461
  /**
384
462
  * The type of project being built
385
463
  *
386
464
  * @defaultValue "application"
387
465
  */
388
466
  projectType?: ProjectType;
389
- /**
390
- * A path to a custom configuration file to be used instead of the default `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` files.
391
- *
392
- * @remarks
393
- * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
394
- */
395
- configFile?: string;
396
467
  /**
397
468
  * Should the Powerlines processes automatically install missing package dependencies?
398
469
  *
@@ -428,98 +499,78 @@ interface UserConfig extends Config {
428
499
  * @defaultValue false
429
500
  */
430
501
  singleBuild?: boolean;
502
+ }
503
+ type PowerlinesCommand = "new" | "types" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
504
+ type InlineConfigPaths = {
431
505
  /**
432
- * A string identifier that allows a child framework or tool to identify itself when using Powerlines.
433
- *
434
- * @remarks
435
- * 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.
436
- *
437
- * @defaultValue "powerlines"
506
+ * The root directory of the project
438
507
  */
439
- framework?: string;
440
- }
441
- type InitialUserConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserConfig> & {
442
508
  root: string;
443
- };
444
- type ParsedUserConfig<TUserConfig extends UserConfig = UserConfig> = TUserConfig & ResolvedConfig<TUserConfig> & {
445
509
  /**
446
- * The path to the user configuration file, if it exists.
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.
447
511
  *
448
512
  * @remarks
449
- * This is typically the `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` file in the project root.
450
- */
451
- configFile?: ConfigLayer<TUserConfig>["configFile"];
452
- };
453
- type PowerlinesCommand = "new" | "types" | "prepare" | "build" | "lint" | "test" | "docs" | "deploy" | "clean";
454
- /**
455
- * The configuration provided while executing Powerlines commands.
456
- */
457
- type InlineConfig<TUserConfig extends UserConfig = UserConfig> = Partial<TUserConfig> & {
458
- /**
459
- * A string identifier for the Powerlines command being executed
460
- */
461
- command: PowerlinesCommand;
462
- };
463
- type NewInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & Required<Pick<InlineConfig<TUserConfig>, "root">> & {
464
- /**
465
- * A string identifier for the Powerlines command being executed
513
+ * This option is useful for running Powerlines commands with different configuration files, such as in CI/CD environments or when testing different configurations.
466
514
  */
467
- command: "new";
515
+ configFile?: string;
516
+ } | {
468
517
  /**
469
- * 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
518
+ * The root directory of the project
470
519
  */
471
- packageName?: string;
472
- };
473
- type CleanInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
520
+ root?: string;
474
521
  /**
475
- * 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.
476
526
  */
477
- command: "clean";
527
+ configFile?: string;
478
528
  };
479
- type PrepareInlineConfig<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">> & {
480
533
  /**
481
- * A string identifier for the Powerlines command being executed
534
+ * The root directory of the project
482
535
  */
483
- command: "prepare";
484
- };
485
- type TypesInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
536
+ root?: string;
486
537
  /**
487
- * 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.
488
542
  */
489
- command: "types";
490
- };
491
- type BuildInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
543
+ configFile?: string;
492
544
  /**
493
545
  * A string identifier for the Powerlines command being executed
494
546
  */
495
- command: "build";
496
- };
497
- type LintInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
547
+ command: string;
498
548
  /**
499
- * 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.
500
550
  */
501
- command: "lint";
551
+ additionalArgs?: Record<string, string | string[]>;
502
552
  };
503
- type DocsInlineConfig<TUserConfig extends UserConfig = UserConfig> = InlineConfig<TUserConfig> & {
553
+ type CreateInlineConfig<TUserConfig extends UserConfig = UserConfig> = RequiredKeys<InlineConfig<TUserConfig>, "root"> & {
504
554
  /**
505
- * 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
506
556
  */
507
- command: "docs";
557
+ packageName?: string;
508
558
  };
509
- 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"> & {
510
568
  /**
511
569
  * A string identifier for the Powerlines command being executed
512
570
  */
513
- command: "deploy";
571
+ command: string;
514
572
  };
515
- type ConfigEnv = Pick<ResolvedConfig$1, "command" | "mode" | "environments" | "preview">;
516
- type UserConfigFn<TUserConfig extends UserConfig = UserConfig> = (params: {
517
- projectRoot: string;
518
- workspaceRoot: string;
519
- mode: string;
520
- framework: string;
521
- command?: PowerlinesCommand;
522
- }) => MaybePromise<TUserConfig>;
573
+ type UserConfigFn<TUserConfig extends UserConfig = UserConfig> = (params: ConfigParams) => MaybePromise<TUserConfig>;
523
574
  type AnyOutputUserConfig = Partial<Omit<OutputConfig, "copy">> & {
524
575
  /**
525
576
  * The output configuration options to use for the build process
@@ -532,7 +583,7 @@ type AnyOutputUserConfig = Partial<Omit<OutputConfig, "copy">> & {
532
583
  * @remarks
533
584
  * This type represents the final shape of the configuration object that will be used throughout the Powerlines processes. It includes all default values, resolved paths, and normalized options. It is expected to be used in `powerlines.config.ts` files and by plugins and build processes to access the configuration options in a consistent format.
534
585
  */
535
- type AnyUserConfig = (Partial<Omit<UserConfig, "output" | "resolve">> & {
586
+ type AnyUserConfig<TUserConfig extends UserConfig = UserConfig> = (Partial<Omit<TUserConfig, "output" | "resolve">> & {
536
587
  /**
537
588
  * The output configuration options to use for the build process
538
589
  */
@@ -541,7 +592,16 @@ type AnyUserConfig = (Partial<Omit<UserConfig, "output" | "resolve">> & {
541
592
  * Configuration for module resolution during processing of the source code
542
593
  */
543
594
  resolve?: Partial<ResolveConfig>;
544
- } & Record<string, any>) | UserConfigFn;
595
+ } & Record<string, any>) | UserConfigFn<TUserConfig> | AnyUserConfig<TUserConfig>[];
596
+ type ParsedUserConfig<TUserConfig extends UserConfig = UserConfig> = ResolvedConfig<AnyUserConfig<TUserConfig>> & {
597
+ /**
598
+ * The path to the user configuration file, if it exists.
599
+ *
600
+ * @remarks
601
+ * This is typically the `powerlines.json`, `powerlines.config.js`, or `powerlines.config.ts` file in the project root.
602
+ */
603
+ configFile?: ConfigLayer<AnyUserConfig<TUserConfig>>["configFile"];
604
+ };
545
605
  interface ResolvedEntryTypeDefinition extends TypeDefinition {
546
606
  /**
547
607
  * The user provided entry point in the source code
@@ -552,9 +612,13 @@ interface ResolvedEntryTypeDefinition extends TypeDefinition {
552
612
  */
553
613
  output?: string;
554
614
  }
555
- type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "preview"> & Required<Pick<EnvironmentConfig, "consumer" | "ssr">> & {
615
+ type ResolvedEnvironmentConfig = RequiredKeys<Omit<EnvironmentConfig, "preview">, "consumer" | "ssr"> & {
556
616
  /**
557
- * 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.
558
622
  */
559
623
  name: string;
560
624
  /**
@@ -565,7 +629,7 @@ type EnvironmentResolvedConfig = Omit<EnvironmentConfig, "consumer" | "ssr" | "p
565
629
  /**
566
630
  * The configuration options for resolving modules in a Powerlines project.
567
631
  */
568
- type ResolveResolvedConfig = Required<Omit<ResolveConfig, "external" | "noExternal">> & {
632
+ type ResolvedResolveConfig = Required<Omit<ResolveConfig, "external" | "noExternal">> & {
569
633
  /**
570
634
  * A list of modules that should not be bundled, even if they are external dependencies.
571
635
  *
@@ -579,24 +643,47 @@ type ResolveResolvedConfig = Required<Omit<ResolveConfig, "external" | "noExtern
579
643
  noExternal?: string[];
580
644
  };
581
645
  type ResolvedAssetGlob = AssetGlob & Required<Pick<AssetGlob, "input">>;
582
- type CopyResolvedConfig = Required<Omit<CopyConfig, "assets">> & {
646
+ type ResolvedCopyConfig = Required<Omit<CopyConfig, "assets">> & {
583
647
  assets: ResolvedAssetGlob[];
584
648
  };
585
- type OutputResolvedConfig = Required<Omit<OutputConfig, "copy" | "storage">> & Pick<OutputConfig, "storage"> & {
586
- copy: CopyResolvedConfig | false;
649
+ type ResolvedOutputConfig = Required<Omit<OutputConfig, "copy" | "storage">> & Pick<OutputConfig, "storage"> & {
650
+ copy: ResolvedCopyConfig | false;
587
651
  };
588
652
  /**
589
- * 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.
590
654
  */
591
- type ResolvedConfig$2<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "root" | "name" | "title" | "organization" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "platform" | "projectType" | "input" | "output" | "resolve" | "logLevel" | "framework"> & Required<Pick<TUserConfig, "root" | "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;
592
679
  /**
593
680
  * The output configuration options to use for the build process
594
681
  */
595
- output: OutputResolvedConfig;
682
+ output: ResolvedOutputConfig;
596
683
  /**
597
684
  * Configuration for module resolution during processing of the source code
598
685
  */
599
- resolve: ResolveResolvedConfig;
686
+ resolve: ResolvedResolveConfig;
600
687
  /**
601
688
  * The date to use for compatibility checks
602
689
  *
@@ -609,27 +696,30 @@ type ResolvedConfig$2<TUserConfig extends UserConfig = UserConfig> = Omit<TUserC
609
696
  */
610
697
  compatibilityDate: CompatibilityDates;
611
698
  /**
612
- * The configuration options that were provided inline to the Powerlines CLI.
613
- */
614
- inlineConfig: InlineConfig<TUserConfig>;
615
- /**
616
- * The original configuration options that were provided by the user to the Powerlines 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.
617
703
  */
618
- userConfig: 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 & {
619
711
  /**
620
- * 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.
621
716
  */
622
- command: NonUndefined<InlineConfig<TUserConfig>["command"]>;
717
+ readonly environmentConfig: DeepReadonly<EnvironmentConfig>;
623
718
  /**
624
- * The log level to use for the Powerlines processes.
625
- *
626
- * @defaultValue "info"
719
+ * The resolved configuration options for the environment, which may include additional properties or modifications made during the configuration loading process.
627
720
  */
628
- logLevel: LogLevel | null;
721
+ environment: ResolvedEnvironmentConfig;
629
722
  };
630
- declare type __ΩLogLevel = any[];
631
- declare type __ΩLogFn = any[];
632
- declare type __ΩLogger = any[];
633
723
  declare type __ΩWorkspaceConfig = any[];
634
724
  declare type __ΩPluginFactory = any[];
635
725
  declare type __ΩPluginConfigTuple = any[];
@@ -638,35 +728,43 @@ declare type __ΩPluginConfig = any[];
638
728
  declare type __ΩPartialPlugin = any[];
639
729
  declare type __ΩPartialPluginFactory = any[];
640
730
  declare type __ΩProjectType = any[];
731
+ declare type __ΩMode = any[];
641
732
  declare type __ΩResolveConfig = any[];
642
733
  declare type __ΩCopyConfig = any[];
643
734
  declare type __ΩOutputConfig = any[];
735
+ declare type __ΩFrameworkOptions = any[];
736
+ declare type __ΩOptions = any[];
737
+ declare type __ΩBaseExecutionOptions = any[];
738
+ declare type __ΩExecutionOptions = any[];
644
739
  declare type __ΩConfig = any[];
645
740
  declare type __ΩEnvironmentConfig = any[];
646
741
  declare type __ΩUserConfig = any[];
647
- declare type __ΩInitialUserConfig = any[];
648
- declare type __ΩParsedUserConfig = any[];
649
742
  declare type __ΩPowerlinesCommand = any[];
743
+ declare type __ΩInlineConfigPaths = any[];
650
744
  declare type __ΩInlineConfig = any[];
651
- declare type __ΩNewInlineConfig = any[];
745
+ declare type __ΩCreateInlineConfig = any[];
652
746
  declare type __ΩCleanInlineConfig = any[];
653
747
  declare type __ΩPrepareInlineConfig = any[];
654
748
  declare type __ΩTypesInlineConfig = any[];
655
749
  declare type __ΩBuildInlineConfig = any[];
656
750
  declare type __ΩLintInlineConfig = any[];
751
+ declare type __ΩTestInlineConfig = any[];
657
752
  declare type __ΩDocsInlineConfig = any[];
658
753
  declare type __ΩDeployInlineConfig = any[];
659
- declare type __ΩConfigEnv = any[];
754
+ declare type __ΩConfigParams = any[];
660
755
  declare type __ΩUserConfigFn = any[];
661
756
  declare type __ΩAnyOutputUserConfig = any[];
662
757
  declare type __ΩAnyUserConfig = any[];
758
+ declare type __ΩParsedUserConfig = any[];
663
759
  declare type __ΩResolvedEntryTypeDefinition = any[];
664
- declare type __ΩEnvironmentResolvedConfig = any[];
665
- declare type __ΩResolveResolvedConfig = any[];
760
+ declare type __ΩResolvedEnvironmentConfig = any[];
761
+ declare type __ΩResolvedResolveConfig = any[];
666
762
  declare type __ΩResolvedAssetGlob = any[];
667
- declare type __ΩCopyResolvedConfig = any[];
668
- declare type __ΩOutputResolvedConfig = any[];
763
+ declare type __ΩResolvedCopyConfig = any[];
764
+ declare type __ΩResolvedOutputConfig = any[];
669
765
  declare type __ΩResolvedConfig = any[];
766
+ declare type __ΩInferOverridableConfig = any[];
767
+ declare type __ΩEnvironmentResolvedConfig = any[];
670
768
  //#endregion
671
- export { AnyOutputUserConfig, AnyUserConfig, BuildInlineConfig, CleanInlineConfig, Config, ConfigEnv, CopyConfig, CopyResolvedConfig, DeployInlineConfig, DocsInlineConfig, EnvironmentConfig, EnvironmentResolvedConfig, InitialUserConfig, InlineConfig, LintInlineConfig, LogFn, LogLevel, Logger, NewInlineConfig, OutputConfig, OutputResolvedConfig, ParsedUserConfig, PartialPlugin, PartialPluginFactory, PluginConfig, PluginConfigObject, PluginConfigTuple, PluginFactory, PowerlinesCommand, PrepareInlineConfig, ProjectType, ResolveConfig, ResolveResolvedConfig, ResolvedAssetGlob, ResolvedConfig$2 as ResolvedConfig, ResolvedEntryTypeDefinition, TypesInlineConfig, UserConfig, UserConfigFn, WorkspaceConfig, __ΩAnyOutputUserConfig, __ΩAnyUserConfig, __ΩBuildInlineConfig, __ΩCleanInlineConfig, __ΩConfig, __ΩConfigEnv, __ΩCopyConfig, __ΩCopyResolvedConfig, __ΩDeployInlineConfig, __ΩDocsInlineConfig, __ΩEnvironmentConfig, __ΩEnvironmentResolvedConfig, __ΩInitialUserConfig, __ΩInlineConfig, __ΩLintInlineConfig, __ΩLogFn, __ΩLogLevel, __ΩLogger, __ΩNewInlineConfig, __ΩOutputConfig, __ΩOutputResolvedConfig, __ΩParsedUserConfig, __ΩPartialPlugin, __ΩPartialPluginFactory, __ΩPluginConfig, __ΩPluginConfigObject, __ΩPluginConfigTuple, __ΩPluginFactory, __ΩPowerlinesCommand, __ΩPrepareInlineConfig, __ΩProjectType, __ΩResolveConfig, __ΩResolveResolvedConfig, __ΩResolvedAssetGlob, __ΩResolvedConfig, __ΩResolvedEntryTypeDefinition, __Ω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 };
672
770
  //# sourceMappingURL=config.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.cts","names":[],"sources":["../../src/types/config.ts"],"mappings":";;;;;;;;;;;;;;;KA4CY,QAAA;AAAA,KAEA,KAAA,IAAS,IAAA,EAAM,aAAA,KAAkB,IAAA;AAAA,UAE5B,MAAA;EACf,GAAA,EAAK,KAAA;EACL,KAAA,EAAO,aAAA;AAAA;;AAJT;;KAUY,eAAA,GAAkB,OAAA,CAAQ,oBAAA,IACpC,QAAA,CAAS,IAAA,CAAK,oBAAA;AAAA,KAEJ,aAAA,yBACc,aAAA,GAAgB,aAAA,qBAErC,OAAA,EAAS,QAAA,KAAa,YAAA,CAAa,MAAA,CAAO,QAAA,IAAY,MAAA,CAAO,QAAA;;;;KAKtD,iBAAA,kBACO,aAAA,GAAgB,aAAA,8BAErB,aAAA,CAAc,QAAA,EAAU,QAAA,GAAW,QAAA,KAAa,MAAA,CAAO,QAAA;;AAtBrE;;KA2BY,kBAAA,kBACO,aAAA,GAAgB,aAAA;EAI7B,MAAA,WAAiB,aAAA,CAAc,QAAA,EAAU,QAAA;EACzC,OAAA,EAAS,QAAA;AAAA;EAGT,MAAA,EAAQ,MAAA,CAAO,QAAA;EACf,OAAA;AAAA;;AA7BN;;KAmCY,YAAA,kBAA8B,aAAA,GAAgB,aAAA,aAEtD,aAAA,CAAc,QAAA,UACd,MAAA,CAAO,QAAA,IACP,iBAAA,CAAkB,QAAA,IAClB,kBAAA,CAAmB,QAAA,IACnB,OAAA,CAAQ,YAAA,CAAa,QAAA,KACrB,YAAA,CAAa,QAAA;AAAA,KAEL,aAAA,kBAA+B,aAAA,GAAgB,aAAA,IACzD,WAAA,CAAY,MAAA,CAAO,QAAA;AAAA,KAET,oBAAA,yBACc,aAAA,GAAgB,aAAA,qBAGxC,OAAA,EAAS,Q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