powerlines 0.6.1 → 0.7.0

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 (253) hide show
  1. package/dist/astro.cjs +8 -8
  2. package/dist/astro.d.cts +1 -1
  3. package/dist/astro.d.ts +1 -1
  4. package/dist/astro.js +5 -5
  5. package/dist/{chunk-KNO2M23A.js → chunk-2CNNHTLQ.js} +3 -3
  6. package/dist/{chunk-L5GLIKXZ.js → chunk-3KDLNXR2.js} +3 -3
  7. package/dist/{chunk-ADSCR5XG.js → chunk-3M7JOAG2.js} +3 -3
  8. package/dist/{chunk-TXTWKVWH.js → chunk-3TWKQNDH.js} +3 -3
  9. package/dist/chunk-3WADZS76.cjs +24 -0
  10. package/dist/chunk-4AKYOJXA.cjs +20 -0
  11. package/dist/{chunk-WJT7T6W5.cjs → chunk-5BMVZ2J3.cjs} +25 -20
  12. package/dist/{chunk-5QMOCGCK.js → chunk-5FOMG64G.js} +3 -3
  13. package/dist/{chunk-FO3BCZ7I.cjs → chunk-B5UJMXT7.cjs} +2 -2
  14. package/dist/chunk-CT56Z4A5.cjs +12 -0
  15. package/dist/{chunk-AW2LSG43.cjs → chunk-G4VNZ3U2.cjs} +4 -4
  16. package/dist/{chunk-FK3MZTKX.cjs → chunk-H3DAM4ZC.cjs} +4 -4
  17. package/dist/{chunk-B6G6LTDH.js → chunk-HQOIPPXC.js} +3 -3
  18. package/dist/{chunk-KFCDBHCT.js → chunk-ITUNIK6G.js} +24 -19
  19. package/dist/{chunk-RF2IZCFH.cjs → chunk-IWAWK6QY.cjs} +4 -4
  20. package/dist/chunk-KMLFL4CW.js +14 -0
  21. package/dist/{chunk-FAMB6PTO.cjs → chunk-L2FOZFCY.cjs} +4 -4
  22. package/dist/{chunk-S7USQUJV.js → chunk-L3BSBOST.js} +3 -3
  23. package/dist/chunk-LJKLD77I.cjs +12 -0
  24. package/dist/chunk-NKOW5VPV.cjs +12 -0
  25. package/dist/chunk-NWADEQ7Z.cjs +12 -0
  26. package/dist/chunk-PBF6NZ5X.cjs +12 -0
  27. package/dist/{chunk-UPPRHJT4.js → chunk-QQGS6IQZ.js} +3 -3
  28. package/dist/{chunk-NDZJPIXK.cjs → chunk-R7QBD2CA.cjs} +8 -8
  29. package/dist/{chunk-7HEPGGKY.cjs → chunk-RELMZQ2F.cjs} +4 -4
  30. package/dist/{chunk-UDSXA7AL.cjs → chunk-S7OH2JEE.cjs} +2 -2
  31. package/dist/{chunk-N2QM4T3D.js → chunk-SXZICBIR.js} +2 -2
  32. package/dist/chunk-ULXUM6T3.cjs +34 -0
  33. package/dist/chunk-UWSABODX.js +31 -0
  34. package/dist/{chunk-SXQLYT2H.js → chunk-UXQMPRRF.js} +2 -2
  35. package/dist/{chunk-5ACQG5UA.js → chunk-XPRQFK7T.js} +3 -3
  36. package/dist/{chunk-S4I5DL5U.js → chunk-XQNFWNO4.js} +3 -3
  37. package/dist/{chunk-DJ7OEHR6.js → chunk-Y3DXEDVV.js} +3 -3
  38. package/dist/{chunk-TBICI24M.js → chunk-ZBOHY2FX.js} +4 -4
  39. package/dist/define-config.d.cts +1 -1
  40. package/dist/define-config.d.ts +1 -1
  41. package/dist/esbuild.cjs +7 -7
  42. package/dist/esbuild.d.cts +1 -1
  43. package/dist/esbuild.d.ts +1 -1
  44. package/dist/esbuild.js +4 -4
  45. package/dist/extend-plugin.cjs +13 -0
  46. package/dist/extend-plugin.d.cts +48 -0
  47. package/dist/extend-plugin.d.ts +48 -0
  48. package/dist/extend-plugin.js +4 -0
  49. package/dist/farm.cjs +4 -4
  50. package/dist/farm.d.cts +1 -1
  51. package/dist/farm.d.ts +1 -1
  52. package/dist/farm.js +3 -3
  53. package/dist/hooks-Bsux3yRH.d.cts +28 -0
  54. package/dist/hooks-DNo6rFyJ.d.ts +28 -0
  55. package/dist/index.cjs +27 -22
  56. package/dist/index.d.cts +4 -2
  57. package/dist/index.d.ts +4 -2
  58. package/dist/index.js +18 -17
  59. package/dist/internal/api.cjs +3 -3
  60. package/dist/internal/api.d.cts +2 -1
  61. package/dist/internal/api.d.ts +2 -1
  62. package/dist/internal/api.js +2 -2
  63. package/dist/lib/build/esbuild.d.cts +2 -2
  64. package/dist/lib/build/esbuild.d.ts +2 -2
  65. package/dist/lib/build/index.cjs +4 -4
  66. package/dist/lib/build/index.d.cts +3 -2
  67. package/dist/lib/build/index.d.ts +3 -2
  68. package/dist/lib/build/index.js +1 -1
  69. package/dist/lib/build/rolldown.d.cts +2 -2
  70. package/dist/lib/build/rolldown.d.ts +2 -2
  71. package/dist/lib/build/rollup.d.cts +2 -2
  72. package/dist/lib/build/rollup.d.ts +2 -2
  73. package/dist/lib/build/rspack.d.cts +2 -2
  74. package/dist/lib/build/rspack.d.ts +2 -2
  75. package/dist/lib/build/tsup.d.cts +2 -2
  76. package/dist/lib/build/tsup.d.ts +2 -2
  77. package/dist/lib/build/unbuild.cjs +4 -4
  78. package/dist/lib/build/unbuild.d.cts +22 -3
  79. package/dist/lib/build/unbuild.d.ts +22 -3
  80. package/dist/lib/build/unbuild.js +1 -1
  81. package/dist/lib/build/vite.d.cts +2 -2
  82. package/dist/lib/build/vite.d.ts +2 -2
  83. package/dist/lib/build/webpack.d.cts +2 -2
  84. package/dist/lib/build/webpack.d.ts +2 -2
  85. package/dist/lib/{chunk-TJURBPBY.cjs → chunk-6WVUO7M4.cjs} +3 -3
  86. package/dist/lib/chunk-6WVUO7M4.cjs.map +1 -0
  87. package/dist/lib/{chunk-RAMRPMFI.js → chunk-76ZPTPDX.js} +3 -4
  88. package/dist/lib/chunk-76ZPTPDX.js.map +1 -0
  89. package/dist/lib/{chunk-W6ZSRUY2.cjs → chunk-7IBV47QK.cjs} +2 -3
  90. package/dist/lib/chunk-7IBV47QK.cjs.map +1 -0
  91. package/dist/lib/{chunk-UGV446VO.cjs → chunk-7QV523K6.cjs} +3 -4
  92. package/dist/lib/chunk-7QV523K6.cjs.map +1 -0
  93. package/dist/lib/{chunk-OY2CMFTJ.js → chunk-B74JOQLB.js} +2 -3
  94. package/dist/lib/chunk-B74JOQLB.js.map +1 -0
  95. package/dist/lib/{chunk-YO7VJP6Z.cjs → chunk-K5WQ3PLT.cjs} +36 -31
  96. package/dist/lib/chunk-K5WQ3PLT.cjs.map +1 -0
  97. package/dist/lib/{chunk-T6FKCZRX.js → chunk-XOHGJW5P.js} +3 -3
  98. package/dist/lib/chunk-XOHGJW5P.js.map +1 -0
  99. package/dist/lib/{chunk-QZUPXK3A.js → chunk-XXK5BM6Z.js} +23 -18
  100. package/dist/lib/chunk-XXK5BM6Z.js.map +1 -0
  101. package/dist/lib/{config-CHVR37vX.d.ts → config-CNAXWorR.d.ts} +11 -53
  102. package/dist/lib/{config-DoR-gOOH.d.cts → config-Db6OT19W.d.cts} +11 -53
  103. package/dist/lib/config-file.d.cts +2 -2
  104. package/dist/lib/config-file.d.ts +2 -2
  105. package/dist/lib/deepkit/index.cjs +1 -1
  106. package/dist/lib/deepkit/index.d.cts +2 -2
  107. package/dist/lib/deepkit/index.d.ts +2 -2
  108. package/dist/lib/deepkit/index.js +1 -1
  109. package/dist/lib/deepkit/reflect-type.cjs +1 -1
  110. package/dist/lib/deepkit/reflect-type.d.cts +2 -2
  111. package/dist/lib/deepkit/reflect-type.d.ts +2 -2
  112. package/dist/lib/deepkit/reflect-type.js +1 -1
  113. package/dist/lib/deepkit/resolve-reflections.d.cts +2 -2
  114. package/dist/lib/deepkit/resolve-reflections.d.ts +2 -2
  115. package/dist/lib/deepkit/transformer.d.cts +2 -2
  116. package/dist/lib/deepkit/transformer.d.ts +2 -2
  117. package/dist/lib/entry.d.cts +2 -2
  118. package/dist/lib/entry.d.ts +2 -2
  119. package/dist/lib/hooks-Do13PWjN.d.cts +28 -0
  120. package/dist/lib/hooks-PaFdWKMh.d.ts +28 -0
  121. package/dist/lib/index.cjs +19 -19
  122. package/dist/lib/index.d.cts +3 -2
  123. package/dist/lib/index.d.ts +3 -2
  124. package/dist/lib/index.js +4 -4
  125. package/dist/lib/logger.d.cts +2 -2
  126. package/dist/lib/logger.d.ts +2 -2
  127. package/dist/lib/typescript/compiler-host.d.cts +2 -2
  128. package/dist/lib/typescript/compiler-host.d.ts +2 -2
  129. package/dist/lib/typescript/import-transformer.d.cts +2 -2
  130. package/dist/lib/typescript/import-transformer.d.ts +2 -2
  131. package/dist/lib/typescript/index.d.cts +2 -2
  132. package/dist/lib/typescript/index.d.ts +2 -2
  133. package/dist/lib/typescript/program.d.cts +2 -2
  134. package/dist/lib/typescript/program.d.ts +2 -2
  135. package/dist/lib/typescript/transpile.d.cts +2 -2
  136. package/dist/lib/typescript/transpile.d.ts +2 -2
  137. package/dist/lib/unplugin/factory.cjs +3 -3
  138. package/dist/lib/unplugin/factory.d.cts +3 -2
  139. package/dist/lib/unplugin/factory.d.ts +3 -2
  140. package/dist/lib/unplugin/factory.js +2 -2
  141. package/dist/lib/unplugin/index.cjs +5 -5
  142. package/dist/lib/unplugin/index.d.cts +3 -2
  143. package/dist/lib/unplugin/index.d.ts +3 -2
  144. package/dist/lib/unplugin/index.js +3 -3
  145. package/dist/lib/unplugin/plugin.cjs +2 -2
  146. package/dist/lib/unplugin/plugin.d.cts +2 -2
  147. package/dist/lib/unplugin/plugin.d.ts +2 -2
  148. package/dist/lib/unplugin/plugin.js +1 -1
  149. package/dist/lib/unplugin/resolve-id.d.cts +2 -2
  150. package/dist/lib/unplugin/resolve-id.d.ts +2 -2
  151. package/dist/lib/utilities/file-header.d.cts +2 -2
  152. package/dist/lib/utilities/file-header.d.ts +2 -2
  153. package/dist/lib/utilities/index.cjs +14 -14
  154. package/dist/lib/utilities/index.d.cts +2 -2
  155. package/dist/lib/utilities/index.d.ts +2 -2
  156. package/dist/lib/utilities/index.js +1 -1
  157. package/dist/lib/utilities/meta.d.cts +2 -2
  158. package/dist/lib/utilities/meta.d.ts +2 -2
  159. package/dist/lib/utilities/plugin-helpers.cjs +14 -14
  160. package/dist/lib/utilities/plugin-helpers.d.cts +1 -1
  161. package/dist/lib/utilities/plugin-helpers.d.ts +1 -1
  162. package/dist/lib/utilities/plugin-helpers.js +1 -1
  163. package/dist/lib/utilities/resolve-path.d.cts +2 -2
  164. package/dist/lib/utilities/resolve-path.d.ts +2 -2
  165. package/dist/lib/utilities/worker.d.cts +2 -2
  166. package/dist/lib/utilities/worker.d.ts +2 -2
  167. package/dist/lib/utilities/write-file.d.cts +2 -2
  168. package/dist/lib/utilities/write-file.d.ts +2 -2
  169. package/dist/next.cjs +8 -8
  170. package/dist/next.js +5 -5
  171. package/dist/nuxt.cjs +9 -9
  172. package/dist/nuxt.js +6 -6
  173. package/dist/{resolved-FsbyTSdi.d.cts → resolved-DcBls4aH.d.cts} +142 -186
  174. package/dist/{resolved-BAlwv88V.d.ts → resolved-vAIx5R3j.d.ts} +142 -186
  175. package/dist/rolldown.cjs +7 -7
  176. package/dist/rolldown.d.cts +1 -1
  177. package/dist/rolldown.d.ts +1 -1
  178. package/dist/rolldown.js +4 -4
  179. package/dist/rollup.cjs +7 -7
  180. package/dist/rollup.d.cts +1 -1
  181. package/dist/rollup.d.ts +1 -1
  182. package/dist/rollup.js +4 -4
  183. package/dist/rspack.cjs +7 -7
  184. package/dist/rspack.d.cts +1 -1
  185. package/dist/rspack.d.ts +1 -1
  186. package/dist/rspack.js +4 -4
  187. package/dist/tsup.cjs +8 -8
  188. package/dist/tsup.js +5 -5
  189. package/dist/types/babel.d.cts +1 -1
  190. package/dist/types/babel.d.ts +1 -1
  191. package/dist/types/commands.d.cts +1 -1
  192. package/dist/types/commands.d.ts +1 -1
  193. package/dist/types/compiler.d.cts +1 -1
  194. package/dist/types/compiler.d.ts +1 -1
  195. package/dist/types/config.d.cts +1 -1
  196. package/dist/types/config.d.ts +1 -1
  197. package/dist/types/context.cjs +2 -2
  198. package/dist/types/context.d.cts +1 -1
  199. package/dist/types/context.d.ts +1 -1
  200. package/dist/types/context.js +1 -1
  201. package/dist/types/hooks.d.cts +1 -1
  202. package/dist/types/hooks.d.ts +1 -1
  203. package/dist/types/index.cjs +4 -4
  204. package/dist/types/index.d.cts +1 -1
  205. package/dist/types/index.d.ts +1 -1
  206. package/dist/types/index.js +2 -2
  207. package/dist/types/internal.cjs +4 -0
  208. package/dist/types/internal.cjs.map +1 -0
  209. package/dist/types/internal.d.cts +61 -0
  210. package/dist/types/internal.d.ts +61 -0
  211. package/dist/types/internal.js +3 -0
  212. package/dist/types/internal.js.map +1 -0
  213. package/dist/types/plugin.cjs +2 -2
  214. package/dist/types/plugin.d.cts +1 -1
  215. package/dist/types/plugin.d.ts +1 -1
  216. package/dist/types/plugin.js +1 -1
  217. package/dist/types/resolved.d.cts +1 -1
  218. package/dist/types/resolved.d.ts +1 -1
  219. package/dist/types/unplugin.d.cts +1 -1
  220. package/dist/types/unplugin.d.ts +1 -1
  221. package/dist/unloader.cjs +7 -7
  222. package/dist/unloader.d.cts +1 -1
  223. package/dist/unloader.d.ts +1 -1
  224. package/dist/unloader.js +4 -4
  225. package/dist/unplugin.cjs +18 -18
  226. package/dist/unplugin.d.cts +2 -1
  227. package/dist/unplugin.d.ts +2 -1
  228. package/dist/unplugin.js +15 -15
  229. package/dist/vite.cjs +7 -7
  230. package/dist/vite.d.cts +1 -1
  231. package/dist/vite.d.ts +1 -1
  232. package/dist/vite.js +4 -4
  233. package/dist/webpack.cjs +7 -7
  234. package/dist/webpack.d.cts +1 -1
  235. package/dist/webpack.d.ts +1 -1
  236. package/dist/webpack.js +4 -4
  237. package/package.json +65 -51
  238. package/dist/chunk-3UC4BQUF.cjs +0 -12
  239. package/dist/chunk-5N6IHHFL.cjs +0 -12
  240. package/dist/chunk-7XTLR5US.cjs +0 -12
  241. package/dist/chunk-BMCONDG7.cjs +0 -12
  242. package/dist/chunk-H2CDRBLH.cjs +0 -24
  243. package/dist/chunk-KZKUYJFE.cjs +0 -34
  244. package/dist/chunk-LKIMLMOB.cjs +0 -12
  245. package/dist/chunk-OFLJD3YF.js +0 -31
  246. package/dist/lib/chunk-OY2CMFTJ.js.map +0 -1
  247. package/dist/lib/chunk-QZUPXK3A.js.map +0 -1
  248. package/dist/lib/chunk-RAMRPMFI.js.map +0 -1
  249. package/dist/lib/chunk-T6FKCZRX.js.map +0 -1
  250. package/dist/lib/chunk-TJURBPBY.cjs.map +0 -1
  251. package/dist/lib/chunk-UGV446VO.cjs.map +0 -1
  252. package/dist/lib/chunk-W6ZSRUY2.cjs.map +0 -1
  253. package/dist/lib/chunk-YO7VJP6Z.cjs.map +0 -1
@@ -1580,6 +1580,138 @@ declare class SerializedTypes extends $.Struct {
1580
1580
  toString(): string;
1581
1581
  }
1582
1582
 
1583
+ /**
1584
+ * The result of the compiler
1585
+ */
1586
+ type CompilerResult = {
1587
+ code: string;
1588
+ map: SourceMap | null;
1589
+ } | undefined;
1590
+ /**
1591
+ * The format for providing source code to the compiler
1592
+ */
1593
+ interface SourceFile {
1594
+ /**
1595
+ * The name of the file to be compiled
1596
+ */
1597
+ id: string;
1598
+ /**
1599
+ * The source code to be compiled
1600
+ */
1601
+ code: MagicString;
1602
+ /**
1603
+ * The environment variables used in the source code
1604
+ */
1605
+ env: string[];
1606
+ /**
1607
+ * The transpiled source code
1608
+ */
1609
+ result?: CompilerResult;
1610
+ }
1611
+ interface TranspilerOptions {
1612
+ /**
1613
+ * The reflection mode to use for the transformation.
1614
+ *
1615
+ * @defaultValue "default"
1616
+ */
1617
+ reflectionMode?: ReflectionMode;
1618
+ /**
1619
+ * The reflection level to use for the transformation.
1620
+ *
1621
+ * @defaultValue "minimal"
1622
+ */
1623
+ reflectionLevel?: ReflectionLevel;
1624
+ }
1625
+ interface CompilerOptions<TContext = any> extends TranspilerOptions {
1626
+ /**
1627
+ * Skip the cache.
1628
+ *
1629
+ * @defaultValue false
1630
+ */
1631
+ skipCache?: boolean;
1632
+ /**
1633
+ * Transform the source file before other transformations.
1634
+ *
1635
+ * @param context - The context object
1636
+ * @param source - The source file
1637
+ * @returns The transformed source file
1638
+ */
1639
+ onPreTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
1640
+ /**
1641
+ * Transform the source file after transformations.
1642
+ *
1643
+ * @param context - The context object
1644
+ * @param source - The source file
1645
+ * @returns The transformed source file
1646
+ */
1647
+ onPostTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
1648
+ /**
1649
+ * A filter function to determine if the source file should be compiled.
1650
+ *
1651
+ * @param sourceFile - The source file
1652
+ * @returns Whether the source file should be compiled
1653
+ */
1654
+ filter?: (sourceFile: SourceFile) => boolean;
1655
+ /**
1656
+ * Skip all transformations.
1657
+ *
1658
+ * @defaultValue false
1659
+ */
1660
+ skipAllTransforms?: boolean;
1661
+ /**
1662
+ * Skip the unimport transformation.
1663
+ *
1664
+ * @defaultValue false
1665
+ */
1666
+ skipTransformUnimport?: boolean;
1667
+ /**
1668
+ * Override the Babel options for the transformation.
1669
+ */
1670
+ babel?: Partial<BabelResolvedConfig>;
1671
+ }
1672
+ interface CompilerInterface {
1673
+ /**
1674
+ * Get the result of the compiler.
1675
+ *
1676
+ * @param sourceFile - The source file.
1677
+ * @param transpiled - The transpiled source code.
1678
+ * @returns The result of the compiler.
1679
+ */
1680
+ getResult: (sourceFile: SourceFile, transpiled?: string) => CompilerResult;
1681
+ /**
1682
+ * Transpile the module.
1683
+ *
1684
+ * @param code - The source code to transpile
1685
+ * @param id - The name of the file to transpile
1686
+ * @param options - The transpile options
1687
+ * @returns The transpiled module.
1688
+ */
1689
+ transpile: (code: string | MagicString, id: string, options?: TranspilerOptions) => Promise<string>;
1690
+ /**
1691
+ * Transform the module.
1692
+ *
1693
+ * @param code - The source code to transpile
1694
+ * @param id - The name of the file to transpile
1695
+ * @param options - The transpile options
1696
+ * @returns The transpiled module.
1697
+ */
1698
+ transform: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
1699
+ /**
1700
+ * Run the compiler.
1701
+ *
1702
+ * @param code - The source code to compile
1703
+ * @param id - The name of the file to compile
1704
+ * @param options - The compiler options
1705
+ * @returns The compiled source code
1706
+ */
1707
+ compile: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
1708
+ }
1709
+ declare type __ΩCompilerResult = any[];
1710
+ declare type __ΩSourceFile = any[];
1711
+ declare type __ΩTranspilerOptions = any[];
1712
+ declare type __ΩCompilerOptions = any[];
1713
+ declare type __ΩCompilerInterface = any[];
1714
+
1583
1715
  declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "release", "finalize"];
1584
1716
  type CommandType = ArrayValues<typeof SUPPORTED_COMMANDS>;
1585
1717
  type Commands<TContext extends Context = Context> = Record<CommandType, (this: TContext) => MaybePromise<void>>;
@@ -1776,16 +1908,16 @@ interface Plugin<in out TContext extends PluginContext<ResolvedConfig> = PluginC
1776
1908
  * A function to determine if two plugins are the same and can be de-duplicated.
1777
1909
  *
1778
1910
  * @remarks
1779
- * If this is not provided, the plugin will not be de-duplicated.
1911
+ * If this is not provided, plugins are de-duplicated by comparing their names.
1780
1912
  *
1781
1913
  * @param other - The other plugin to compare against.
1782
1914
  * @returns `true` if the two plugins are the same, `false` otherwise.
1783
1915
  */
1784
- dedupe?: false | ((other: PluginConfig<any>) => boolean);
1916
+ dedupe?: false | ((other: Plugin<any>) => boolean);
1785
1917
  /**
1786
1918
  * A list of pre-requisite plugins that must be loaded before this plugin can be used.
1787
1919
  */
1788
- dependsOn?: PluginConfig<TContext>[];
1920
+ dependsOn?: PluginConfig<any>[];
1789
1921
  /**
1790
1922
  * Define environments where this plugin should be active. By default, the plugin is active in all environments.
1791
1923
  *
@@ -1852,163 +1984,6 @@ declare type __ΩInferHookReturnType = any[];
1852
1984
  declare type __ΩInferHookParameters = any[];
1853
1985
  declare type __ΩInferHookThisType = any[];
1854
1986
 
1855
- type CallHookOptions = SelectHooksOptions & ({
1856
- /**
1857
- * Whether to call the hooks sequentially or in parallel.
1858
- *
1859
- * @defaultValue true
1860
- */
1861
- sequential?: true;
1862
- /**
1863
- * How to handle multiple return values from hooks.
1864
- * - "merge": Merge all non-undefined return values (if they are objects).
1865
- * - "first": Return the first non-undefined value.
1866
- *
1867
- * @remarks
1868
- * Merging only works if the return values are objects.
1869
- *
1870
- * @defaultValue "merge"
1871
- */
1872
- result?: "merge" | "first";
1873
- } | {
1874
- /**
1875
- * Whether to call the hooks sequentially or in parallel.
1876
- */
1877
- sequential: false;
1878
- });
1879
-
1880
- /**
1881
- * The result of the compiler
1882
- */
1883
- type CompilerResult = {
1884
- code: string;
1885
- map: SourceMap | null;
1886
- } | undefined;
1887
- /**
1888
- * The format for providing source code to the compiler
1889
- */
1890
- interface SourceFile {
1891
- /**
1892
- * The name of the file to be compiled
1893
- */
1894
- id: string;
1895
- /**
1896
- * The source code to be compiled
1897
- */
1898
- code: MagicString;
1899
- /**
1900
- * The environment variables used in the source code
1901
- */
1902
- env: string[];
1903
- /**
1904
- * The transpiled source code
1905
- */
1906
- result?: CompilerResult;
1907
- }
1908
- interface TranspilerOptions {
1909
- /**
1910
- * The reflection mode to use for the transformation.
1911
- *
1912
- * @defaultValue "default"
1913
- */
1914
- reflectionMode?: ReflectionMode;
1915
- /**
1916
- * The reflection level to use for the transformation.
1917
- *
1918
- * @defaultValue "minimal"
1919
- */
1920
- reflectionLevel?: ReflectionLevel;
1921
- }
1922
- interface CompilerOptions<TContext = any> extends TranspilerOptions {
1923
- /**
1924
- * Skip the cache.
1925
- *
1926
- * @defaultValue false
1927
- */
1928
- skipCache?: boolean;
1929
- /**
1930
- * Transform the source file before other transformations.
1931
- *
1932
- * @param context - The context object
1933
- * @param source - The source file
1934
- * @returns The transformed source file
1935
- */
1936
- onPreTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
1937
- /**
1938
- * Transform the source file after transformations.
1939
- *
1940
- * @param context - The context object
1941
- * @param source - The source file
1942
- * @returns The transformed source file
1943
- */
1944
- onPostTransform?: (context: TContext, source: SourceFile) => MaybePromise<SourceFile>;
1945
- /**
1946
- * A filter function to determine if the source file should be compiled.
1947
- *
1948
- * @param sourceFile - The source file
1949
- * @returns Whether the source file should be compiled
1950
- */
1951
- filter?: (sourceFile: SourceFile) => boolean;
1952
- /**
1953
- * Skip all transformations.
1954
- *
1955
- * @defaultValue false
1956
- */
1957
- skipAllTransforms?: boolean;
1958
- /**
1959
- * Skip the unimport transformation.
1960
- *
1961
- * @defaultValue false
1962
- */
1963
- skipTransformUnimport?: boolean;
1964
- /**
1965
- * Override the Babel options for the transformation.
1966
- */
1967
- babel?: Partial<BabelResolvedConfig>;
1968
- }
1969
- interface CompilerInterface {
1970
- /**
1971
- * Get the result of the compiler.
1972
- *
1973
- * @param sourceFile - The source file.
1974
- * @param transpiled - The transpiled source code.
1975
- * @returns The result of the compiler.
1976
- */
1977
- getResult: (sourceFile: SourceFile, transpiled?: string) => CompilerResult;
1978
- /**
1979
- * Transpile the module.
1980
- *
1981
- * @param code - The source code to transpile
1982
- * @param id - The name of the file to transpile
1983
- * @param options - The transpile options
1984
- * @returns The transpiled module.
1985
- */
1986
- transpile: (code: string | MagicString, id: string, options?: TranspilerOptions) => Promise<string>;
1987
- /**
1988
- * Transform the module.
1989
- *
1990
- * @param code - The source code to transpile
1991
- * @param id - The name of the file to transpile
1992
- * @param options - The transpile options
1993
- * @returns The transpiled module.
1994
- */
1995
- transform: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
1996
- /**
1997
- * Run the compiler.
1998
- *
1999
- * @param code - The source code to compile
2000
- * @param id - The name of the file to compile
2001
- * @param options - The compiler options
2002
- * @returns The compiled source code
2003
- */
2004
- compile: (code: string | MagicString, id: string, options?: CompilerOptions) => Promise<string>;
2005
- }
2006
- declare type __ΩCompilerResult = any[];
2007
- declare type __ΩSourceFile = any[];
2008
- declare type __ΩTranspilerOptions = any[];
2009
- declare type __ΩCompilerOptions = any[];
2010
- declare type __ΩCompilerInterface = any[];
2011
-
2012
1987
  /**
2013
1988
  * The severity level of a {@link LogRecord}.
2014
1989
  */
@@ -2317,23 +2292,6 @@ interface PluginContext<out TResolvedConfig extends ResolvedConfig = ResolvedCon
2317
2292
  logger: LogFn;
2318
2293
  }
2319
2294
  type BuildPluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> = PluginContext<TResolvedConfig> & UnpluginBuildContext;
2320
- /**
2321
- * Internal fields and methods for the internal plugin context
2322
- *
2323
- * @internal
2324
- */
2325
- interface Internal_PluginContextInternal<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
2326
- environment: EnvironmentContext<TResolvedConfig>;
2327
- callHook: <TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: CallHookOptions, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>) => Promise<InferHookReturnType<PluginContext<TResolvedConfig>, TKey> | undefined>;
2328
- }
2329
- /**
2330
- * An internal representation of the plugin context, used for managing hooks and environment data.
2331
- *
2332
- * @internal
2333
- */
2334
- interface Internal_PluginContext<TResolvedConfig extends ResolvedConfig = ResolvedConfig> extends PluginContext<TResolvedConfig> {
2335
- $$internal: Internal_PluginContextInternal<TResolvedConfig>;
2336
- }
2337
2295
  interface SerializedVirtualFileSystem {
2338
2296
  builtinIdMap: Record<string, string>;
2339
2297
  virtualFiles: DirectoryJSON<string | null>;
@@ -2354,8 +2312,6 @@ declare type __ΩEnvironmentContextPlugin = any[];
2354
2312
  declare type __ΩEnvironmentContext = any[];
2355
2313
  declare type __ΩPluginContext = any[];
2356
2314
  declare type __ΩBuildPluginContext = any[];
2357
- declare type __ΩInternal_PluginContextInternal = any[];
2358
- declare type __ΩInternal_PluginContext = any[];
2359
2315
  declare type __ΩSerializedVirtualFileSystem = any[];
2360
2316
 
2361
2317
  interface NamedImportDefinition {
@@ -2437,17 +2393,17 @@ type LogFn = (type: LogLevelLabel, ...args: string[]) => void;
2437
2393
  * The {@link StormWorkspaceConfig | configuration} object for an entire Powerlines workspace
2438
2394
  */
2439
2395
  type WorkspaceConfig = Partial<StormWorkspaceConfig> & Required<Pick<StormWorkspaceConfig, "workspaceRoot">>;
2440
- type PluginFactory<TProps = unknown, in out TContext extends PluginContext = PluginContext> = (options: TProps) => Plugin<TContext>;
2396
+ type PluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<Plugin<TContext>>;
2441
2397
  /**
2442
2398
  * A configuration tuple for a Powerlines plugin.
2443
2399
  */
2444
- type PluginConfigTuple<TProps = unknown, TContext extends PluginContext = PluginContext> = [string | PluginFactory<TProps, TContext>, TProps] | [Plugin<TContext>];
2400
+ type PluginConfigTuple<TContext extends PluginContext = PluginContext, TOptions = any> = [string | PluginFactory<TContext, TOptions>, TOptions] | [Plugin<TContext>];
2445
2401
  /**
2446
2402
  * A configuration object for a Powerlines plugin.
2447
2403
  */
2448
- type PluginConfigObject<TProps = unknown, TContext extends PluginContext = PluginContext> = {
2449
- plugin: string | PluginFactory<TProps, TContext>;
2450
- options: TProps;
2404
+ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions = any> = {
2405
+ plugin: string | PluginFactory<TContext, TOptions>;
2406
+ options: TOptions;
2451
2407
  } | {
2452
2408
  plugin: Plugin<TContext>;
2453
2409
  options?: never;
@@ -2455,7 +2411,7 @@ type PluginConfigObject<TProps = unknown, TContext extends PluginContext = Plugi
2455
2411
  /**
2456
2412
  * A configuration tuple for a Powerlines plugin.
2457
2413
  */
2458
- type PluginConfig<TContext extends PluginContext = PluginContext, TProps = unknown> = string | PluginFactory<void, TContext> | Plugin<TContext> | PluginConfigTuple<TProps> | PluginConfigObject<TProps>;
2414
+ type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | Promise<Plugin<TContext>> | PluginConfigTuple<TContext> | PluginConfigObject<TContext>;
2459
2415
  type ProjectType = "application" | "library";
2460
2416
  type BabelUserConfig = Parameters<typeof transformAsync>[1] & {
2461
2417
  /**
@@ -2935,4 +2891,4 @@ declare type __ΩUnbuildResolvedConfig = any[];
2935
2891
  declare type __ΩFarmResolvedConfig = any[];
2936
2892
  declare type __ΩInferResolvedConfig = any[];
2937
2893
 
2938
- export { type UserConfig as $, type CompilerInterface as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type __ΩCompilerResult as E, type __ΩSourceFile as F, type __ΩTranspilerOptions as G, type __ΩCompilerOptions as H, type ImportDefinition as I, type __ΩCompilerInterface as J, type PluginConfigTuple as K, type LogFn as L, type PluginConfigObject as M, type NamedImportDefinition as N, type PluginConfig as O, type PluginFactory as P, type ProjectType as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TranspilerOptions as T, type BabelUserConfig as U, type OutputConfig as V, type WorkspaceConfig as W, type BaseConfig as X, type EnvironmentConfig as Y, type CommonUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type __ΩUserConfigFnObject as a$, type WebpackUserConfig as a0, type RspackUserConfig as a1, type RollupUserConfig as a2, type RolldownUserConfig as a3, type ViteUserConfig as a4, type ESBuildUserConfig as a5, type UnbuildUserConfig as a6, type TsupUserConfig as a7, type FarmUserConfig as a8, type InferUserConfig as a9, type __ΩBaseConfig as aA, type __ΩEnvironmentConfig as aB, type __ΩCommonUserConfig as aC, type __ΩUserConfig as aD, type __ΩWebpackUserConfig as aE, type __ΩRspackUserConfig as aF, type __ΩRollupUserConfig as aG, type __ΩRolldownUserConfig as aH, type __ΩViteUserConfig as aI, type __ΩESBuildUserConfig as aJ, type __ΩUnbuildUserConfig as aK, type __ΩTsupUserConfig as aL, type __ΩFarmUserConfig as aM, type __ΩInferUserConfig as aN, type __ΩInitialUserConfig as aO, type __ΩParsedUserConfig as aP, type __ΩPowerlinesCommand as aQ, type __ΩInlineConfig as aR, type __ΩNewInlineConfig as aS, type __ΩCleanInlineConfig as aT, type __ΩPrepareInlineConfig as aU, type __ΩBuildInlineConfig as aV, type __ΩLintInlineConfig as aW, type __ΩDocsInlineConfig as aX, type __ΩReleaseInlineConfig as aY, type __ΩConfigEnv as aZ, type __ΩAnyUserConfig as a_, type InitialUserConfig as aa, type ParsedUserConfig as ab, type PowerlinesCommand as ac, type InlineConfig as ad, type NewInlineConfig as ae, type CleanInlineConfig as af, type PrepareInlineConfig as ag, type BuildInlineConfig as ah, type LintInlineConfig as ai, type DocsInlineConfig as aj, type ReleaseInlineConfig as ak, type ConfigEnv as al, type AnyUserConfig as am, type UserConfigFnObject as an, type UserConfigFnPromise as ao, type UserConfigFn as ap, type UserConfigExport as aq, type __ΩLogFn as ar, type __ΩWorkspaceConfig as as, type __ΩPluginFactory as at, type __ΩPluginConfigTuple as au, type __ΩPluginConfigObject as av, type __ΩPluginConfig as aw, type __ΩProjectType as ax, type __ΩBabelUserConfig as ay, type __ΩOutputConfig as az, type BabelTransformPlugin as b, type __ΩExternalHooksListItem as b$, type __ΩUserConfigFnPromise as b0, type __ΩUserConfigFn as b1, type __ΩUserConfigExport as b2, LogLevel as b3, type WorkerProcess as b4, type MetaInfo as b5, type Resolver as b6, type UnimportContext as b7, type Reflection as b8, type ReflectionRecord as b9, type __ΩPluginContext as bA, type __ΩBuildPluginContext as bB, type __ΩInternal_PluginContextInternal as bC, type __ΩInternal_PluginContext as bD, type __ΩSerializedVirtualFileSystem as bE, type BaseHooks as bF, type BaseHookKeys as bG, type ExternalHooks as bH, type ExternalHookKeys as bI, type Hooks as bJ, type HookKeys as bK, type BaseHooksListItem as bL, type BaseHooksList as bM, type ExternalHooksListItem as bN, type HooksList as bO, type InferHookHandler as bP, type InferHookReturnType as bQ, type InferHookParameters as bR, type InferHookThisType as bS, type __ΩBaseHooks as bT, type __ΩBaseHookKeys as bU, type __ΩExternalHooks as bV, type __ΩExternalHookKeys as bW, type __ΩHooks as bX, type __ΩHookKeys as bY, type __ΩBaseHooksListItem as bZ, type __ΩBaseHooksList as b_, type ContextReflectionRecord as ba, type SelectHooksOptions as bb, type InitContextOptions as bc, type Context as bd, type APIContext as be, type EnvironmentContextPlugin as bf, type EnvironmentContext as bg, type PluginContext as bh, type BuildPluginContext as bi, type Internal_PluginContextInternal as bj, type Internal_PluginContext as bk, type SerializedVirtualFileSystem as bl, type __ΩLogLevel as bm, type __ΩWorkerProcess as bn, type __ΩMetaInfo as bo, type __ΩResolver as bp, type __ΩUnimportContext as bq, type __ΩReflection as br, type __ΩReflectionRecord as bs, type __ΩContextReflectionRecord as bt, type __ΩSelectHooksOptions as bu, type __ΩInitContextOptions as bv, type __ΩContext as bw, type __ΩAPIContext as bx, type __ΩEnvironmentContextPlugin as by, type __ΩEnvironmentContext as bz, type BabelTransformPluginOptions as c, type __ΩHooksList as c0, type __ΩInferHookHandler as c1, type __ΩInferHookReturnType as c2, type __ΩInferHookParameters as c3, type __ΩInferHookThisType as c4, type PluginHookObject as c5, type PluginHook as c6, type BasePluginHookFunctions as c7, type BuildPlugin as c8, type ExternalPluginHookFunctionsVariant as c9, type RspackResolvedConfig as cA, type ESBuildResolvedConfig as cB, type RollupResolvedConfig as cC, type RolldownResolvedConfig as cD, type TsupResolvedConfig as cE, type UnbuildResolvedConfig as cF, type FarmResolvedConfig as cG, type InferResolvedConfig as cH, type __ΩResolvedEntryTypeDefinition as cI, type __ΩBabelResolvedConfig as cJ, type __ΩEnvironmentResolvedConfig as cK, type __ΩResolvedAssetGlob as cL, type __ΩOutputResolvedConfig as cM, type __ΩResolvedConfig as cN, type __ΩViteResolvedConfig as cO, type __ΩWebpackResolvedConfig as cP, type __ΩRspackResolvedConfig as cQ, type __ΩESBuildResolvedConfig as cR, type __ΩRollupResolvedConfig as cS, type __ΩRolldownResolvedConfig as cT, type __ΩTsupResolvedConfig as cU, type __ΩUnbuildResolvedConfig as cV, type __ΩFarmResolvedConfig as cW, type __ΩInferResolvedConfig as cX, type CallHookOptions as cY, type ExternalPluginHookFunctions as ca, type PluginHookFunctions as cb, type PluginHooks as cc, type PluginBuildPlugins as cd, type Plugin as ce, PLUGIN_NON_HOOK_FIELDS as cf, type PluginNonHookFields as cg, type __ΩPluginHookObject as ch, type __ΩPluginHook as ci, type __ΩBasePluginHookFunctions as cj, type __ΩBuildPlugin as ck, type __ΩExternalPluginHookFunctionsVariant as cl, type __ΩExternalPluginHookFunctions as cm, type __ΩPluginHookFunctions as cn, type __ΩPluginHooks as co, type __ΩPluginBuildPlugins as cp, type __ΩPlugin as cq, type __ΩPluginNonHookFields as cr, type ResolvedEntryTypeDefinition as cs, type BabelResolvedConfig as ct, type EnvironmentResolvedConfig as cu, type ResolvedAssetGlob as cv, type OutputResolvedConfig as cw, type ResolvedConfig as cx, type ViteResolvedConfig as cy, type WebpackResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type CompilerResult as x, type SourceFile as y, type CompilerOptions as z };
2894
+ export { type UserConfig as $, type CompilerInterface as A, type BabelPluginPass as B, type CommandType as C, type DefaultImportDefinition as D, type __ΩCompilerResult as E, type __ΩSourceFile as F, type __ΩTranspilerOptions as G, type __ΩCompilerOptions as H, type ImportDefinition as I, type __ΩCompilerInterface as J, type PluginConfigTuple as K, type LogFn as L, type PluginConfigObject as M, type NamedImportDefinition as N, type PluginConfig as O, type PluginFactory as P, type ProjectType as Q, type ResolvedBabelTransformPluginOptions as R, SUPPORTED_COMMANDS as S, type TranspilerOptions as T, type BabelUserConfig as U, type OutputConfig as V, type WorkspaceConfig as W, type BaseConfig as X, type EnvironmentConfig as Y, type CommonUserConfig as Z, type __ΩNamedImportDefinition as _, type BabelTransformPluginFilter as a, type __ΩUserConfigFnObject as a$, type WebpackUserConfig as a0, type RspackUserConfig as a1, type RollupUserConfig as a2, type RolldownUserConfig as a3, type ViteUserConfig as a4, type ESBuildUserConfig as a5, type UnbuildUserConfig as a6, type TsupUserConfig as a7, type FarmUserConfig as a8, type InferUserConfig as a9, type __ΩBaseConfig as aA, type __ΩEnvironmentConfig as aB, type __ΩCommonUserConfig as aC, type __ΩUserConfig as aD, type __ΩWebpackUserConfig as aE, type __ΩRspackUserConfig as aF, type __ΩRollupUserConfig as aG, type __ΩRolldownUserConfig as aH, type __ΩViteUserConfig as aI, type __ΩESBuildUserConfig as aJ, type __ΩUnbuildUserConfig as aK, type __ΩTsupUserConfig as aL, type __ΩFarmUserConfig as aM, type __ΩInferUserConfig as aN, type __ΩInitialUserConfig as aO, type __ΩParsedUserConfig as aP, type __ΩPowerlinesCommand as aQ, type __ΩInlineConfig as aR, type __ΩNewInlineConfig as aS, type __ΩCleanInlineConfig as aT, type __ΩPrepareInlineConfig as aU, type __ΩBuildInlineConfig as aV, type __ΩLintInlineConfig as aW, type __ΩDocsInlineConfig as aX, type __ΩReleaseInlineConfig as aY, type __ΩConfigEnv as aZ, type __ΩAnyUserConfig as a_, type InitialUserConfig as aa, type ParsedUserConfig as ab, type PowerlinesCommand as ac, type InlineConfig as ad, type NewInlineConfig as ae, type CleanInlineConfig as af, type PrepareInlineConfig as ag, type BuildInlineConfig as ah, type LintInlineConfig as ai, type DocsInlineConfig as aj, type ReleaseInlineConfig as ak, type ConfigEnv as al, type AnyUserConfig as am, type UserConfigFnObject as an, type UserConfigFnPromise as ao, type UserConfigFn as ap, type UserConfigExport as aq, type __ΩLogFn as ar, type __ΩWorkspaceConfig as as, type __ΩPluginFactory as at, type __ΩPluginConfigTuple as au, type __ΩPluginConfigObject as av, type __ΩPluginConfig as aw, type __ΩProjectType as ax, type __ΩBabelUserConfig as ay, type __ΩOutputConfig as az, type BabelTransformPlugin as b, type __ΩInferHookParameters as b$, type __ΩUserConfigFnPromise as b0, type __ΩUserConfigFn as b1, type __ΩUserConfigExport as b2, LogLevel as b3, type WorkerProcess as b4, type MetaInfo as b5, type Resolver as b6, type UnimportContext as b7, type Reflection as b8, type ReflectionRecord as b9, type __ΩSerializedVirtualFileSystem as bA, type BaseHooks as bB, type BaseHookKeys as bC, type ExternalHooks as bD, type ExternalHookKeys as bE, type Hooks as bF, type HookKeys as bG, type BaseHooksListItem as bH, type BaseHooksList as bI, type ExternalHooksListItem as bJ, type HooksList as bK, type InferHookHandler as bL, type InferHookReturnType as bM, type InferHookParameters as bN, type InferHookThisType as bO, type __ΩBaseHooks as bP, type __ΩBaseHookKeys as bQ, type __ΩExternalHooks as bR, type __ΩExternalHookKeys as bS, type __ΩHooks as bT, type __ΩHookKeys as bU, type __ΩBaseHooksListItem as bV, type __ΩBaseHooksList as bW, type __ΩExternalHooksListItem as bX, type __ΩHooksList as bY, type __ΩInferHookHandler as bZ, type __ΩInferHookReturnType as b_, type ContextReflectionRecord as ba, type SelectHooksOptions as bb, type InitContextOptions as bc, type Context as bd, type APIContext as be, type EnvironmentContextPlugin as bf, type EnvironmentContext as bg, type PluginContext as bh, type BuildPluginContext as bi, type SerializedVirtualFileSystem as bj, type __ΩLogLevel as bk, type __ΩWorkerProcess as bl, type __ΩMetaInfo as bm, type __ΩResolver as bn, type __ΩUnimportContext as bo, type __ΩReflection as bp, type __ΩReflectionRecord as bq, type __ΩContextReflectionRecord as br, type __ΩSelectHooksOptions as bs, type __ΩInitContextOptions as bt, type __ΩContext as bu, type __ΩAPIContext as bv, type __ΩEnvironmentContextPlugin as bw, type __ΩEnvironmentContext as bx, type __ΩPluginContext as by, type __ΩBuildPluginContext as bz, type BabelTransformPluginOptions as c, type __ΩInferHookThisType as c0, type PluginHookObject as c1, type PluginHook as c2, type BasePluginHookFunctions as c3, type BuildPlugin as c4, type ExternalPluginHookFunctionsVariant as c5, type ExternalPluginHookFunctions as c6, type PluginHookFunctions as c7, type PluginHooks as c8, type PluginBuildPlugins as c9, type TsupResolvedConfig as cA, type UnbuildResolvedConfig as cB, type FarmResolvedConfig as cC, type InferResolvedConfig as cD, type __ΩResolvedEntryTypeDefinition as cE, type __ΩBabelResolvedConfig as cF, type __ΩEnvironmentResolvedConfig as cG, type __ΩResolvedAssetGlob as cH, type __ΩOutputResolvedConfig as cI, type __ΩResolvedConfig as cJ, type __ΩViteResolvedConfig as cK, type __ΩWebpackResolvedConfig as cL, type __ΩRspackResolvedConfig as cM, type __ΩESBuildResolvedConfig as cN, type __ΩRollupResolvedConfig as cO, type __ΩRolldownResolvedConfig as cP, type __ΩTsupResolvedConfig as cQ, type __ΩUnbuildResolvedConfig as cR, type __ΩFarmResolvedConfig as cS, type __ΩInferResolvedConfig as cT, type Plugin as ca, PLUGIN_NON_HOOK_FIELDS as cb, type PluginNonHookFields as cc, type __ΩPluginHookObject as cd, type __ΩPluginHook as ce, type __ΩBasePluginHookFunctions as cf, type __ΩBuildPlugin as cg, type __ΩExternalPluginHookFunctionsVariant as ch, type __ΩExternalPluginHookFunctions as ci, type __ΩPluginHookFunctions as cj, type __ΩPluginHooks as ck, type __ΩPluginBuildPlugins as cl, type __ΩPlugin as cm, type __ΩPluginNonHookFields as cn, type ResolvedEntryTypeDefinition as co, type BabelResolvedConfig as cp, type EnvironmentResolvedConfig as cq, type ResolvedAssetGlob as cr, type OutputResolvedConfig as cs, type ResolvedConfig as ct, type ViteResolvedConfig as cu, type WebpackResolvedConfig as cv, type RspackResolvedConfig as cw, type ESBuildResolvedConfig as cx, type RollupResolvedConfig as cy, type RolldownResolvedConfig as cz, type BabelTransformInput as d, type BabelTransformPluginBuilderParams as e, type BabelTransformPluginBuilder as f, type DeclareBabelTransformPluginReturn as g, type ImportSpecifier as h, type __ΩDefaultImportDefinition as i, type __ΩImportDefinition as j, type __ΩBabelPluginPass as k, type __ΩBabelTransformPluginFilter as l, type __ΩBabelTransformPlugin as m, type __ΩBabelTransformPluginOptions as n, type __ΩResolvedBabelTransformPluginOptions as o, type __ΩBabelTransformInput as p, type __ΩBabelTransformPluginBuilderParams as q, type __ΩBabelTransformPluginBuilder as r, type __ΩDeclareBabelTransformPluginReturn as s, type __ΩImportSpecifier as t, type Commands as u, type __ΩCommandType as v, type __ΩCommands as w, type CompilerResult as x, type SourceFile as y, type CompilerOptions as z };
package/dist/rolldown.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk3UC4BQUF_cjs = require('./chunk-3UC4BQUF.cjs');
6
- require('./chunk-NDZJPIXK.cjs');
7
- require('./chunk-WJT7T6W5.cjs');
8
- require('./chunk-FO3BCZ7I.cjs');
5
+ var chunkNWADEQ7Z_cjs = require('./chunk-NWADEQ7Z.cjs');
6
+ require('./chunk-R7QBD2CA.cjs');
7
+ require('./chunk-5BMVZ2J3.cjs');
8
+ require('./chunk-B5UJMXT7.cjs');
9
9
  require('./chunk-YE56I7CZ.cjs');
10
10
  require('./chunk-5VPVJHJO.cjs');
11
11
  require('./chunk-PK6SKIKE.cjs');
@@ -14,15 +14,15 @@ require('./chunk-PK6SKIKE.cjs');
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunk3UC4BQUF_cjs.rolldown_default; }
17
+ get: function () { return chunkNWADEQ7Z_cjs.rolldown_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunk3UC4BQUF_cjs.rolldown; }
21
+ get: function () { return chunkNWADEQ7Z_cjs.rolldown; }
22
22
  });
23
23
  Object.defineProperty(exports, "rolldown", {
24
24
  enumerable: true,
25
- get: function () { return chunk3UC4BQUF_cjs.rolldown; }
25
+ get: function () { return chunkNWADEQ7Z_cjs.rolldown; }
26
26
  });
27
27
  //# sourceMappingURL=rolldown.cjs.map
28
28
  //# sourceMappingURL=rolldown.cjs.map
@@ -1,5 +1,5 @@
1
1
  import * as rolldown$1 from 'rolldown';
2
- import { a3 as RolldownUserConfig } from './resolved-FsbyTSdi.cjs';
2
+ import { a3 as RolldownUserConfig } from './resolved-DcBls4aH.cjs';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
@@ -1,5 +1,5 @@
1
1
  import * as rolldown$1 from 'rolldown';
2
- import { a3 as RolldownUserConfig } from './resolved-BAlwv88V.js';
2
+ import { a3 as RolldownUserConfig } from './resolved-vAIx5R3j.js';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
package/dist/rolldown.js CHANGED
@@ -1,7 +1,7 @@
1
- export { rolldown_default as default, rolldown as "module.exports", rolldown } from './chunk-TXTWKVWH.js';
2
- import './chunk-5QMOCGCK.js';
3
- import './chunk-KFCDBHCT.js';
4
- import './chunk-SXQLYT2H.js';
1
+ export { rolldown_default as default, rolldown as "module.exports", rolldown } from './chunk-3TWKQNDH.js';
2
+ import './chunk-5FOMG64G.js';
3
+ import './chunk-ITUNIK6G.js';
4
+ import './chunk-UXQMPRRF.js';
5
5
  import './chunk-ILVCZATT.js';
6
6
  import './chunk-LO77RPRV.js';
7
7
  import './chunk-7QVYU63E.js';
package/dist/rollup.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk7XTLR5US_cjs = require('./chunk-7XTLR5US.cjs');
6
- require('./chunk-NDZJPIXK.cjs');
7
- require('./chunk-WJT7T6W5.cjs');
8
- require('./chunk-FO3BCZ7I.cjs');
5
+ var chunkLJKLD77I_cjs = require('./chunk-LJKLD77I.cjs');
6
+ require('./chunk-R7QBD2CA.cjs');
7
+ require('./chunk-5BMVZ2J3.cjs');
8
+ require('./chunk-B5UJMXT7.cjs');
9
9
  require('./chunk-YE56I7CZ.cjs');
10
10
  require('./chunk-5VPVJHJO.cjs');
11
11
  require('./chunk-PK6SKIKE.cjs');
@@ -14,15 +14,15 @@ require('./chunk-PK6SKIKE.cjs');
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunk7XTLR5US_cjs.rollup_default; }
17
+ get: function () { return chunkLJKLD77I_cjs.rollup_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunk7XTLR5US_cjs.rollup; }
21
+ get: function () { return chunkLJKLD77I_cjs.rollup; }
22
22
  });
23
23
  Object.defineProperty(exports, "rollup", {
24
24
  enumerable: true,
25
- get: function () { return chunk7XTLR5US_cjs.rollup; }
25
+ get: function () { return chunkLJKLD77I_cjs.rollup; }
26
26
  });
27
27
  //# sourceMappingURL=rollup.cjs.map
28
28
  //# sourceMappingURL=rollup.cjs.map
package/dist/rollup.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as rollup$1 from 'rollup';
2
- import { a2 as RollupUserConfig } from './resolved-FsbyTSdi.cjs';
2
+ import { a2 as RollupUserConfig } from './resolved-DcBls4aH.cjs';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
package/dist/rollup.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as rollup$1 from 'rollup';
2
- import { a2 as RollupUserConfig } from './resolved-BAlwv88V.js';
2
+ import { a2 as RollupUserConfig } from './resolved-vAIx5R3j.js';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
package/dist/rollup.js CHANGED
@@ -1,7 +1,7 @@
1
- export { rollup_default as default, rollup as "module.exports", rollup } from './chunk-ADSCR5XG.js';
2
- import './chunk-5QMOCGCK.js';
3
- import './chunk-KFCDBHCT.js';
4
- import './chunk-SXQLYT2H.js';
1
+ export { rollup_default as default, rollup as "module.exports", rollup } from './chunk-3M7JOAG2.js';
2
+ import './chunk-5FOMG64G.js';
3
+ import './chunk-ITUNIK6G.js';
4
+ import './chunk-UXQMPRRF.js';
5
5
  import './chunk-ILVCZATT.js';
6
6
  import './chunk-LO77RPRV.js';
7
7
  import './chunk-7QVYU63E.js';
package/dist/rspack.cjs CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk5N6IHHFL_cjs = require('./chunk-5N6IHHFL.cjs');
6
- require('./chunk-NDZJPIXK.cjs');
7
- require('./chunk-WJT7T6W5.cjs');
8
- require('./chunk-FO3BCZ7I.cjs');
5
+ var chunkCT56Z4A5_cjs = require('./chunk-CT56Z4A5.cjs');
6
+ require('./chunk-R7QBD2CA.cjs');
7
+ require('./chunk-5BMVZ2J3.cjs');
8
+ require('./chunk-B5UJMXT7.cjs');
9
9
  require('./chunk-YE56I7CZ.cjs');
10
10
  require('./chunk-5VPVJHJO.cjs');
11
11
  require('./chunk-PK6SKIKE.cjs');
@@ -14,15 +14,15 @@ require('./chunk-PK6SKIKE.cjs');
14
14
 
15
15
  Object.defineProperty(exports, "default", {
16
16
  enumerable: true,
17
- get: function () { return chunk5N6IHHFL_cjs.rspack_default; }
17
+ get: function () { return chunkCT56Z4A5_cjs.rspack_default; }
18
18
  });
19
19
  Object.defineProperty(exports, "module.exports", {
20
20
  enumerable: true,
21
- get: function () { return chunk5N6IHHFL_cjs.rspack; }
21
+ get: function () { return chunkCT56Z4A5_cjs.rspack; }
22
22
  });
23
23
  Object.defineProperty(exports, "rspack", {
24
24
  enumerable: true,
25
- get: function () { return chunk5N6IHHFL_cjs.rspack; }
25
+ get: function () { return chunkCT56Z4A5_cjs.rspack; }
26
26
  });
27
27
  //# sourceMappingURL=rspack.cjs.map
28
28
  //# sourceMappingURL=rspack.cjs.map
package/dist/rspack.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as unplugin from 'unplugin';
2
- import { a1 as RspackUserConfig } from './resolved-FsbyTSdi.cjs';
2
+ import { a1 as RspackUserConfig } from './resolved-DcBls4aH.cjs';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
package/dist/rspack.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as unplugin from 'unplugin';
2
- import { a1 as RspackUserConfig } from './resolved-BAlwv88V.js';
2
+ import { a1 as RspackUserConfig } from './resolved-vAIx5R3j.js';
3
3
  import '@storm-software/config-tools/types';
4
4
  import '@stryke/types/base';
5
5
  import '@stryke/types/configuration';
package/dist/rspack.js CHANGED
@@ -1,7 +1,7 @@
1
- export { rspack_default as default, rspack as "module.exports", rspack } from './chunk-5ACQG5UA.js';
2
- import './chunk-5QMOCGCK.js';
3
- import './chunk-KFCDBHCT.js';
4
- import './chunk-SXQLYT2H.js';
1
+ export { rspack_default as default, rspack as "module.exports", rspack } from './chunk-XPRQFK7T.js';
2
+ import './chunk-5FOMG64G.js';
3
+ import './chunk-ITUNIK6G.js';
4
+ import './chunk-UXQMPRRF.js';
5
5
  import './chunk-ILVCZATT.js';
6
6
  import './chunk-LO77RPRV.js';
7
7
  import './chunk-7QVYU63E.js';
package/dist/tsup.cjs CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var chunk7HEPGGKY_cjs = require('./chunk-7HEPGGKY.cjs');
6
- require('./chunk-RF2IZCFH.cjs');
5
+ var chunkRELMZQ2F_cjs = require('./chunk-RELMZQ2F.cjs');
6
+ require('./chunk-IWAWK6QY.cjs');
7
7
  require('./chunk-QIKKQQF7.cjs');
8
- require('./chunk-NDZJPIXK.cjs');
9
- require('./chunk-WJT7T6W5.cjs');
10
- require('./chunk-FO3BCZ7I.cjs');
8
+ require('./chunk-R7QBD2CA.cjs');
9
+ require('./chunk-5BMVZ2J3.cjs');
10
+ require('./chunk-B5UJMXT7.cjs');
11
11
  require('./chunk-YE56I7CZ.cjs');
12
12
  require('./chunk-5VPVJHJO.cjs');
13
13
  require('./chunk-PK6SKIKE.cjs');
@@ -16,15 +16,15 @@ require('./chunk-PK6SKIKE.cjs');
16
16
 
17
17
  Object.defineProperty(exports, "default", {
18
18
  enumerable: true,
19
- get: function () { return chunk7HEPGGKY_cjs.tsup_default; }
19
+ get: function () { return chunkRELMZQ2F_cjs.tsup_default; }
20
20
  });
21
21
  Object.defineProperty(exports, "module.exports", {
22
22
  enumerable: true,
23
- get: function () { return chunk7HEPGGKY_cjs.tsup; }
23
+ get: function () { return chunkRELMZQ2F_cjs.tsup; }
24
24
  });
25
25
  Object.defineProperty(exports, "tsup", {
26
26
  enumerable: true,
27
- get: function () { return chunk7HEPGGKY_cjs.tsup; }
27
+ get: function () { return chunkRELMZQ2F_cjs.tsup; }
28
28
  });
29
29
  //# sourceMappingURL=tsup.cjs.map
30
30
  //# sourceMappingURL=tsup.cjs.map