powerlines 0.36.6 → 0.36.8
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.
- package/dist/{api-DJoWdEeA.d.ts → api-BWgo9nPi.d.cts} +1 -1
- package/dist/{api-Ch19bYX6.d.cts → api-DvNkzaVu.d.ts} +1 -1
- package/dist/api.cjs +4 -3
- package/dist/api.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +3 -2
- package/dist/astro.cjs +6 -5
- package/dist/astro.d.cts +1 -1
- package/dist/astro.d.ts +1 -1
- package/dist/astro.js +5 -4
- package/dist/{chunk-CUWEXSOY.js → chunk-3MGUJSWR.js} +3 -3
- package/dist/{chunk-2KSN7OFD.cjs → chunk-4R3HEBO5.cjs} +4 -4
- package/dist/chunk-AJPO5EP7.js +32 -0
- package/dist/{chunk-NKND4FDS.js → chunk-CALTNXXH.js} +58 -25
- package/dist/chunk-HBY4WRXL.cjs +12 -0
- package/dist/{chunk-JOWWYLGG.cjs → chunk-HI6PZNZQ.cjs} +59 -26
- package/dist/{chunk-NGEYBLOE.js → chunk-HIPGXSUK.js} +3 -3
- package/dist/{chunk-AF7S443Q.js → chunk-OCI63N4G.js} +3 -3
- package/dist/chunk-PKMYBUJQ.cjs +12 -0
- package/dist/{chunk-J4X5AP3Y.js → chunk-SSI65F2I.js} +3 -3
- package/dist/chunk-U2RJRKLT.js +15 -0
- package/dist/{chunk-YESNRED3.js → chunk-W44XLC76.js} +3 -3
- package/dist/chunk-XOMY3USD.cjs +17 -0
- package/dist/{chunk-PO5JIBLR.cjs → chunk-YP42N5D7.cjs} +4 -4
- package/dist/chunk-ZCMOAOQN.cjs +36 -0
- package/dist/{chunk-M73QOKAB.cjs → chunk-ZCQYNPDB.cjs} +5 -5
- package/dist/{context-HIW4qjIs.d.cts → context-CbAqO09i.d.cts} +11 -6
- package/dist/{context-CWyF5B_6.d.ts → context-DC6tBOBW.d.ts} +11 -6
- package/dist/esbuild.cjs +8 -7
- package/dist/esbuild.d.cts +1 -1
- package/dist/esbuild.d.ts +1 -1
- package/dist/esbuild.js +5 -4
- package/dist/farm.cjs +5 -4
- package/dist/farm.d.cts +1 -1
- package/dist/farm.d.ts +1 -1
- package/dist/farm.js +4 -3
- package/dist/index.cjs +25 -13
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +4 -4
- package/dist/lib/{api-B8aBolnU.d.ts → api-BF0XHYsK.d.ts} +1 -1
- package/dist/lib/{api-C6p2jxI9.d.cts → api-Oduv5r36.d.cts} +1 -1
- package/dist/lib/build/esbuild.d.cts +1 -1
- package/dist/lib/build/esbuild.d.ts +1 -1
- package/dist/lib/build/index.d.cts +3 -3
- package/dist/lib/build/index.d.ts +3 -3
- package/dist/lib/build/rolldown.d.cts +1 -1
- package/dist/lib/build/rolldown.d.ts +1 -1
- package/dist/lib/build/rollup.d.cts +1 -1
- package/dist/lib/build/rollup.d.ts +1 -1
- package/dist/lib/build/rspack.d.cts +1 -1
- package/dist/lib/build/rspack.d.ts +1 -1
- package/dist/lib/build/tsdown.d.cts +1 -1
- package/dist/lib/build/tsdown.d.ts +1 -1
- package/dist/lib/build/tsup.d.cts +1 -1
- package/dist/lib/build/tsup.d.ts +1 -1
- package/dist/lib/build/unbuild.d.cts +3 -3
- package/dist/lib/build/unbuild.d.ts +3 -3
- package/dist/lib/build/vite.d.cts +1 -1
- package/dist/lib/build/vite.d.ts +1 -1
- package/dist/lib/build/webpack.d.cts +1 -1
- package/dist/lib/build/webpack.d.ts +1 -1
- package/dist/lib/{chunk-RUMDFGF3.cjs → chunk-3RTUKWWL.cjs} +37 -25
- package/dist/lib/chunk-3RTUKWWL.cjs.map +1 -0
- package/dist/lib/{chunk-KTCDTXRS.cjs → chunk-6VKHSJ2P.cjs} +73 -14
- package/dist/lib/chunk-6VKHSJ2P.cjs.map +1 -0
- package/dist/lib/{chunk-6YGUB7EC.js → chunk-DIM5X2B7.js} +3 -14
- package/dist/lib/chunk-DIM5X2B7.js.map +1 -0
- package/dist/lib/{chunk-35EO5Y7R.js → chunk-F5GKG7AF.js} +7 -4
- package/dist/lib/chunk-F5GKG7AF.js.map +1 -0
- package/dist/lib/{chunk-J2K7ISQ3.js → chunk-FG5KIBUV.js} +5 -5
- package/dist/lib/chunk-FG5KIBUV.js.map +1 -0
- package/dist/lib/{chunk-632PWWU7.cjs → chunk-GFUPZMLG.cjs} +7 -4
- package/dist/lib/chunk-GFUPZMLG.cjs.map +1 -0
- package/dist/lib/{chunk-ZVZFMMNL.js → chunk-GUZKITBG.js} +3 -3
- package/dist/lib/{chunk-ZVZFMMNL.js.map → chunk-GUZKITBG.js.map} +1 -1
- package/dist/lib/{chunk-BKFJFF7B.cjs → chunk-IOGI3CRA.cjs} +14 -25
- package/dist/lib/chunk-IOGI3CRA.cjs.map +1 -0
- package/dist/lib/{chunk-53LK7IG5.cjs → chunk-LSHBFMOA.cjs} +4 -4
- package/dist/lib/{chunk-53LK7IG5.cjs.map → chunk-LSHBFMOA.cjs.map} +1 -1
- package/dist/lib/{chunk-3DKBH67A.cjs → chunk-MZQFHBHY.cjs} +4 -4
- package/dist/lib/{chunk-3DKBH67A.cjs.map → chunk-MZQFHBHY.cjs.map} +1 -1
- package/dist/lib/{chunk-RHADQ6HA.js → chunk-OZKNYQEG.js} +3 -3
- package/dist/lib/{chunk-RHADQ6HA.js.map → chunk-OZKNYQEG.js.map} +1 -1
- package/dist/lib/{chunk-XAOD47WH.js → chunk-P7G6JMYM.js} +28 -16
- package/dist/lib/chunk-P7G6JMYM.js.map +1 -0
- package/dist/lib/{chunk-TB2ZWKZN.js → chunk-PEUTCIA5.js} +3 -3
- package/dist/lib/{chunk-TB2ZWKZN.js.map → chunk-PEUTCIA5.js.map} +1 -1
- package/dist/lib/{chunk-OGEFARN2.cjs → chunk-R56TN3SN.cjs} +4 -4
- package/dist/lib/{chunk-OGEFARN2.cjs.map → chunk-R56TN3SN.cjs.map} +1 -1
- package/dist/lib/{chunk-KYNBRBVJ.js → chunk-U62D4YIG.js} +68 -11
- package/dist/lib/chunk-U62D4YIG.js.map +1 -0
- package/dist/lib/{chunk-IYFHYIRD.cjs → chunk-YVTKFZ6T.cjs} +7 -7
- package/dist/lib/chunk-YVTKFZ6T.cjs.map +1 -0
- package/dist/lib/{config-CYz6Kd4L.d.cts → config-CI0wMZ6n.d.cts} +3 -4
- package/dist/lib/{config-CGGo9KcK.d.ts → config-ddlkdTiQ.d.ts} +3 -4
- package/dist/lib/config-file.d.cts +1 -1
- package/dist/lib/config-file.d.ts +1 -1
- package/dist/lib/contexts/api-context.cjs +6 -6
- package/dist/lib/contexts/api-context.d.cts +3 -3
- package/dist/lib/contexts/api-context.d.ts +3 -3
- package/dist/lib/contexts/api-context.js +5 -5
- package/dist/lib/contexts/context.cjs +4 -4
- package/dist/lib/contexts/context.d.cts +3 -3
- package/dist/lib/contexts/context.d.ts +3 -3
- package/dist/lib/contexts/context.js +3 -3
- package/dist/lib/contexts/environment-context.cjs +5 -5
- package/dist/lib/contexts/environment-context.d.cts +3 -3
- package/dist/lib/contexts/environment-context.d.ts +3 -3
- package/dist/lib/contexts/environment-context.js +4 -4
- package/dist/lib/contexts/index.cjs +8 -8
- package/dist/lib/contexts/index.d.cts +3 -3
- package/dist/lib/contexts/index.d.ts +3 -3
- package/dist/lib/contexts/index.js +5 -5
- package/dist/lib/contexts/plugin-context.d.cts +3 -3
- package/dist/lib/contexts/plugin-context.d.ts +3 -3
- package/dist/lib/entry.d.cts +1 -1
- package/dist/lib/entry.d.ts +1 -1
- package/dist/lib/fs/index.cjs +3 -3
- package/dist/lib/fs/index.d.cts +1 -1
- package/dist/lib/fs/index.d.ts +1 -1
- package/dist/lib/fs/index.js +2 -2
- package/dist/lib/fs/vfs.cjs +3 -3
- package/dist/lib/fs/vfs.d.cts +1 -1
- package/dist/lib/fs/vfs.d.ts +1 -1
- package/dist/lib/fs/vfs.js +2 -2
- package/dist/lib/index.cjs +18 -18
- package/dist/lib/index.d.cts +4 -4
- package/dist/lib/index.d.ts +4 -4
- package/dist/lib/index.js +8 -8
- package/dist/lib/{internal-DoGteMoK.d.ts → internal-CpImHgP1.d.ts} +2 -2
- package/dist/lib/{internal-YI5K6rmd.d.cts → internal-VWg0uhQX.d.cts} +2 -2
- package/dist/lib/logger.cjs +3 -3
- package/dist/lib/logger.d.cts +1 -1
- package/dist/lib/logger.d.ts +1 -1
- package/dist/lib/logger.js +1 -1
- package/dist/lib/typescript/import-transformer.d.cts +1 -1
- package/dist/lib/typescript/import-transformer.d.ts +1 -1
- package/dist/lib/typescript/index.d.cts +1 -1
- package/dist/lib/typescript/index.d.ts +1 -1
- package/dist/lib/typescript/ts-morph.d.cts +1 -1
- package/dist/lib/typescript/ts-morph.d.ts +1 -1
- package/dist/lib/unplugin/factory.cjs +7 -7
- package/dist/lib/unplugin/factory.d.cts +3 -3
- package/dist/lib/unplugin/factory.d.ts +3 -3
- package/dist/lib/unplugin/factory.js +6 -6
- package/dist/lib/unplugin/helpers.d.cts +1 -1
- package/dist/lib/unplugin/helpers.d.ts +1 -1
- package/dist/lib/unplugin/index.cjs +9 -9
- package/dist/lib/unplugin/index.d.cts +3 -3
- package/dist/lib/unplugin/index.d.ts +3 -3
- package/dist/lib/unplugin/index.js +7 -7
- package/dist/lib/unplugin/plugin.cjs +3 -3
- package/dist/lib/unplugin/plugin.d.cts +3 -3
- package/dist/lib/unplugin/plugin.d.ts +3 -3
- package/dist/lib/unplugin/plugin.js +2 -2
- package/dist/lib/{unplugin-DYkHIqSU.d.ts → unplugin-7X-TYepN.d.ts} +2 -2
- package/dist/lib/{unplugin-Dx_uD4rQ.d.cts → unplugin-B9f6tzsB.d.cts} +2 -2
- package/dist/lib/utilities/bundle.d.cts +1 -1
- package/dist/lib/utilities/bundle.d.ts +1 -1
- package/dist/lib/utilities/cache.d.cts +1 -1
- package/dist/lib/utilities/cache.d.ts +1 -1
- package/dist/lib/utilities/file-header.d.cts +1 -1
- package/dist/lib/utilities/file-header.d.ts +1 -1
- package/dist/lib/utilities/index.cjs +4 -4
- package/dist/lib/utilities/index.d.cts +1 -1
- package/dist/lib/utilities/index.d.ts +1 -1
- package/dist/lib/utilities/index.js +2 -2
- package/dist/lib/utilities/meta.d.cts +1 -1
- package/dist/lib/utilities/meta.d.ts +1 -1
- package/dist/lib/utilities/resolve.d.cts +1 -1
- package/dist/lib/utilities/resolve.d.ts +1 -1
- package/dist/lib/utilities/source-file.d.cts +1 -1
- package/dist/lib/utilities/source-file.d.ts +1 -1
- package/dist/lib/utilities/source-map.d.cts +1 -1
- package/dist/lib/utilities/source-map.d.ts +1 -1
- package/dist/lib/utilities/worker.cjs +4 -4
- package/dist/lib/utilities/worker.d.cts +1 -1
- package/dist/lib/utilities/worker.d.ts +1 -1
- package/dist/lib/utilities/worker.js +2 -2
- package/dist/lib/utilities/write-file.d.cts +1 -1
- package/dist/lib/utilities/write-file.d.ts +1 -1
- package/dist/next.cjs +6 -5
- package/dist/next.js +5 -4
- package/dist/nuxt.cjs +9 -8
- package/dist/nuxt.d.cts +1 -1
- package/dist/nuxt.d.ts +1 -1
- package/dist/nuxt.js +7 -6
- package/dist/plugin-utils/{chunk-DO3S34NW.cjs → chunk-AHZPK4Z5.cjs} +7 -7
- package/dist/plugin-utils/{chunk-DO3S34NW.cjs.map → chunk-AHZPK4Z5.cjs.map} +1 -1
- package/dist/plugin-utils/{chunk-IZMPXMCN.cjs → chunk-BWAX3NRG.cjs} +52 -8
- package/dist/plugin-utils/chunk-BWAX3NRG.cjs.map +1 -0
- package/dist/plugin-utils/{chunk-FINF3V34.cjs → chunk-EJ5XPAJQ.cjs} +6 -6
- package/dist/plugin-utils/{chunk-FINF3V34.cjs.map → chunk-EJ5XPAJQ.cjs.map} +1 -1
- package/dist/plugin-utils/{chunk-CTG3PTA6.js → chunk-FTVPZZJO.js} +52 -9
- package/dist/plugin-utils/chunk-FTVPZZJO.js.map +1 -0
- package/dist/plugin-utils/{chunk-VW6I3FEY.cjs → chunk-JAG7QJDV.cjs} +5 -5
- package/dist/plugin-utils/{chunk-VW6I3FEY.cjs.map → chunk-JAG7QJDV.cjs.map} +1 -1
- package/dist/plugin-utils/{chunk-DYCWCPQP.js → chunk-JCX2UJYO.js} +3 -3
- package/dist/plugin-utils/{chunk-DYCWCPQP.js.map → chunk-JCX2UJYO.js.map} +1 -1
- package/dist/plugin-utils/{chunk-LRSYWPP2.js → chunk-N4IXPCGY.js} +3 -3
- package/dist/plugin-utils/{chunk-LRSYWPP2.js.map → chunk-N4IXPCGY.js.map} +1 -1
- package/dist/plugin-utils/{chunk-ORSVDVXT.js → chunk-WZCGJ7JR.js} +3 -3
- package/dist/plugin-utils/{chunk-ORSVDVXT.js.map → chunk-WZCGJ7JR.js.map} +1 -1
- package/dist/plugin-utils/context-helpers.d.cts +1 -1
- package/dist/plugin-utils/context-helpers.d.ts +1 -1
- package/dist/plugin-utils/{context-BY72cezC.d.ts → context-tOHhfmcN.d.cts} +3 -4
- package/dist/plugin-utils/{context-BY72cezC.d.cts → context-tOHhfmcN.d.ts} +3 -4
- package/dist/plugin-utils/enforce.cjs +5 -5
- package/dist/plugin-utils/enforce.d.cts +1 -1
- package/dist/plugin-utils/enforce.d.ts +1 -1
- package/dist/plugin-utils/enforce.js +4 -4
- package/dist/plugin-utils/extend.cjs +4 -4
- package/dist/plugin-utils/extend.d.cts +1 -1
- package/dist/plugin-utils/extend.d.ts +1 -1
- package/dist/plugin-utils/extend.js +3 -3
- package/dist/plugin-utils/get-config-path.d.cts +1 -1
- package/dist/plugin-utils/get-config-path.d.ts +1 -1
- package/dist/plugin-utils/helpers.cjs +18 -14
- package/dist/plugin-utils/helpers.d.cts +13 -6
- package/dist/plugin-utils/helpers.d.ts +13 -6
- package/dist/plugin-utils/helpers.js +1 -1
- package/dist/plugin-utils/index.cjs +24 -20
- package/dist/plugin-utils/index.d.cts +2 -2
- package/dist/plugin-utils/index.d.ts +2 -2
- package/dist/plugin-utils/index.js +4 -4
- package/dist/plugin-utils/merge.cjs +3 -3
- package/dist/plugin-utils/merge.d.cts +1 -1
- package/dist/plugin-utils/merge.d.ts +1 -1
- package/dist/plugin-utils/merge.js +2 -2
- package/dist/plugin-utils/paths.d.cts +1 -1
- package/dist/plugin-utils/paths.d.ts +1 -1
- package/dist/rolldown.cjs +8 -7
- package/dist/rolldown.d.cts +1 -1
- package/dist/rolldown.d.ts +1 -1
- package/dist/rolldown.js +5 -4
- package/dist/rollup.cjs +5 -4
- package/dist/rollup.d.cts +1 -1
- package/dist/rollup.d.ts +1 -1
- package/dist/rollup.js +4 -3
- package/dist/rspack.cjs +5 -4
- package/dist/rspack.d.cts +1 -1
- package/dist/rspack.d.ts +1 -1
- package/dist/rspack.js +4 -3
- package/dist/tsdown.cjs +6 -5
- package/dist/tsdown.js +5 -4
- package/dist/tsup.cjs +6 -5
- package/dist/tsup.js +5 -4
- package/dist/types/api.d.cts +2 -2
- package/dist/types/api.d.ts +2 -2
- package/dist/types/babel.d.cts +1 -1
- package/dist/types/babel.d.ts +1 -1
- package/dist/types/build.cjs +8 -1
- package/dist/types/build.d.cts +2 -1
- package/dist/types/build.d.ts +2 -1
- package/dist/types/build.js +2 -1
- package/dist/types/commands.d.cts +1 -1
- package/dist/types/commands.d.ts +1 -1
- package/dist/types/config.d.cts +1 -1
- package/dist/types/config.d.ts +1 -1
- package/dist/types/context.d.cts +1 -1
- package/dist/types/context.d.ts +1 -1
- package/dist/types/hooks.d.cts +1 -1
- package/dist/types/hooks.d.ts +1 -1
- package/dist/types/index.cjs +15 -3
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.js +2 -2
- package/dist/types/internal.d.cts +2 -2
- package/dist/types/internal.d.ts +2 -2
- package/dist/types/plugin.cjs +12 -2
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/dist/types/plugin.js +3 -1
- package/dist/types/resolved.d.cts +1 -1
- package/dist/types/resolved.d.ts +1 -1
- package/dist/types/unplugin.d.cts +2 -2
- package/dist/types/unplugin.d.ts +2 -2
- package/dist/unloader.cjs +5 -4
- package/dist/unloader.d.cts +1 -1
- package/dist/unloader.d.ts +1 -1
- package/dist/unloader.js +4 -3
- package/dist/unplugin.cjs +7 -6
- package/dist/unplugin.d.cts +2 -2
- package/dist/unplugin.d.ts +2 -2
- package/dist/unplugin.js +5 -4
- package/dist/vite.cjs +8 -7
- package/dist/vite.d.cts +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +5 -4
- package/dist/webpack.cjs +8 -7
- package/dist/webpack.d.cts +1 -1
- package/dist/webpack.d.ts +1 -1
- package/dist/webpack.js +5 -4
- package/package.json +3 -4
- package/dist/chunk-7MCVYDAJ.cjs +0 -12
- package/dist/chunk-AXIRZAL7.js +0 -3
- package/dist/chunk-JGSCIWFQ.js +0 -13
- package/dist/chunk-TMHPFNNA.cjs +0 -12
- package/dist/chunk-VFXZVCGG.cjs +0 -15
- package/dist/chunk-VQCQRLGM.cjs +0 -4
- package/dist/lib/chunk-35EO5Y7R.js.map +0 -1
- package/dist/lib/chunk-632PWWU7.cjs.map +0 -1
- package/dist/lib/chunk-6YGUB7EC.js.map +0 -1
- package/dist/lib/chunk-BKFJFF7B.cjs.map +0 -1
- package/dist/lib/chunk-IYFHYIRD.cjs.map +0 -1
- package/dist/lib/chunk-J2K7ISQ3.js.map +0 -1
- package/dist/lib/chunk-KTCDTXRS.cjs.map +0 -1
- package/dist/lib/chunk-KYNBRBVJ.js.map +0 -1
- package/dist/lib/chunk-RUMDFGF3.cjs.map +0 -1
- package/dist/lib/chunk-XAOD47WH.js.map +0 -1
- package/dist/plugin-utils/chunk-CTG3PTA6.js.map +0 -1
- package/dist/plugin-utils/chunk-IZMPXMCN.cjs.map +0 -1
|
@@ -723,7 +723,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
|
|
|
723
723
|
* @remarks
|
|
724
724
|
* Modify config before it's resolved. The hook can either mutate {@link Context.config} on the passed-in context directly, or return a partial config object that will be deeply merged into existing config.
|
|
725
725
|
*
|
|
726
|
-
* @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
|
|
726
|
+
* @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
|
|
727
727
|
*
|
|
728
728
|
* @see https://vitejs.dev/guide/api-plugin#config
|
|
729
729
|
*
|
|
@@ -910,11 +910,10 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
|
|
|
910
910
|
* @param other - The other plugin to compare against.
|
|
911
911
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
912
912
|
*/
|
|
913
|
-
dedupe?: false | ((other: Plugin<
|
|
913
|
+
dedupe?: false | ((other: Plugin<any>) => boolean);
|
|
914
914
|
/**
|
|
915
915
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
916
916
|
*/
|
|
917
|
-
dependsOn?: PluginConfig<TContext>[];
|
|
918
917
|
/**
|
|
919
918
|
* Define environments where this plugin should be active. By default, the plugin is active in all environments.
|
|
920
919
|
*
|
|
@@ -1011,7 +1010,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
1011
1010
|
/**
|
|
1012
1011
|
* A configuration tuple for a Powerlines plugin.
|
|
1013
1012
|
*/
|
|
1014
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> |
|
|
1013
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | PluginConfigTuple<TContext> | PluginConfigObject<TContext> | Promise<PluginConfig<TContext>> | PluginConfig<TContext>[];
|
|
1015
1014
|
type PartialPlugin<in out TContext extends PluginContext = PluginContext> = DeepPartial$1<Plugin<TContext>>;
|
|
1016
1015
|
type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext> | PartialPlugin<TContext>[]>;
|
|
1017
1016
|
type ProjectType = "application" | "library";
|
|
@@ -723,7 +723,7 @@ interface BasePluginHookFunctions<TContext extends PluginContext = PluginContext
|
|
|
723
723
|
* @remarks
|
|
724
724
|
* Modify config before it's resolved. The hook can either mutate {@link Context.config} on the passed-in context directly, or return a partial config object that will be deeply merged into existing config.
|
|
725
725
|
*
|
|
726
|
-
* @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
|
|
726
|
+
* @warning User plugins are resolved before running this hook so injecting other plugins inside the config hook will have no effect.
|
|
727
727
|
*
|
|
728
728
|
* @see https://vitejs.dev/guide/api-plugin#config
|
|
729
729
|
*
|
|
@@ -910,11 +910,10 @@ interface Plugin<TContext extends PluginContext<ResolvedConfig> = PluginContext<
|
|
|
910
910
|
* @param other - The other plugin to compare against.
|
|
911
911
|
* @returns `true` if the two plugins are the same, `false` otherwise.
|
|
912
912
|
*/
|
|
913
|
-
dedupe?: false | ((other: Plugin<
|
|
913
|
+
dedupe?: false | ((other: Plugin<any>) => boolean);
|
|
914
914
|
/**
|
|
915
915
|
* A list of pre-requisite plugins that must be loaded before this plugin can be used.
|
|
916
916
|
*/
|
|
917
|
-
dependsOn?: PluginConfig<TContext>[];
|
|
918
917
|
/**
|
|
919
918
|
* Define environments where this plugin should be active. By default, the plugin is active in all environments.
|
|
920
919
|
*
|
|
@@ -1011,7 +1010,7 @@ type PluginConfigObject<TContext extends PluginContext = PluginContext, TOptions
|
|
|
1011
1010
|
/**
|
|
1012
1011
|
* A configuration tuple for a Powerlines plugin.
|
|
1013
1012
|
*/
|
|
1014
|
-
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> |
|
|
1013
|
+
type PluginConfig<TContext extends PluginContext = PluginContext> = string | PluginFactory<TContext, void> | Plugin<TContext> | PluginConfigTuple<TContext> | PluginConfigObject<TContext> | Promise<PluginConfig<TContext>> | PluginConfig<TContext>[];
|
|
1015
1014
|
type PartialPlugin<in out TContext extends PluginContext = PluginContext> = DeepPartial$1<Plugin<TContext>>;
|
|
1016
1015
|
type PartialPluginFactory<in out TContext extends PluginContext = PluginContext, TOptions = any> = (options: TOptions) => MaybePromise<PartialPlugin<TContext> | PartialPlugin<TContext>[]>;
|
|
1017
1016
|
type ProjectType = "application" | "library";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
6
|
-
require('./chunk-
|
|
3
|
+
var chunkJAG7QJDV_cjs = require('./chunk-JAG7QJDV.cjs');
|
|
4
|
+
require('./chunk-AHZPK4Z5.cjs');
|
|
5
|
+
require('./chunk-EJ5XPAJQ.cjs');
|
|
6
|
+
require('./chunk-BWAX3NRG.cjs');
|
|
7
7
|
require('./chunk-PK6SKIKE.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "enforceBuild", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkJAG7QJDV_cjs.enforceBuild; }
|
|
14
14
|
});
|
|
15
15
|
//# sourceMappingURL=enforce.cjs.map
|
|
16
16
|
//# sourceMappingURL=enforce.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-
|
|
1
|
+
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-tOHhfmcN.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/http/fetch';
|
|
4
4
|
import '@stryke/types/base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-
|
|
1
|
+
import { P as PluginContext, B as BuildVariant, a as Plugin, b as PluginFactory } from './context-tOHhfmcN.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/http/fetch';
|
|
4
4
|
import '@stryke/types/base';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { enforceBuild } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
1
|
+
export { enforceBuild } from './chunk-WZCGJ7JR.js';
|
|
2
|
+
import './chunk-N4IXPCGY.js';
|
|
3
|
+
import './chunk-JCX2UJYO.js';
|
|
4
|
+
import './chunk-FTVPZZJO.js';
|
|
5
5
|
import './chunk-7QVYU63E.js';
|
|
6
6
|
//# sourceMappingURL=enforce.js.map
|
|
7
7
|
//# sourceMappingURL=enforce.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
5
|
-
require('./chunk-
|
|
3
|
+
var chunkAHZPK4Z5_cjs = require('./chunk-AHZPK4Z5.cjs');
|
|
4
|
+
require('./chunk-EJ5XPAJQ.cjs');
|
|
5
|
+
require('./chunk-BWAX3NRG.cjs');
|
|
6
6
|
require('./chunk-PK6SKIKE.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "extend", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkAHZPK4Z5_cjs.extend; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=extend.cjs.map
|
|
15
15
|
//# sourceMappingURL=extend.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, b as PluginFactory, c as PartialPluginFactory, d as PartialPlugin, a as Plugin } from './context-
|
|
1
|
+
import { P as PluginContext, b as PluginFactory, c as PartialPluginFactory, d as PartialPlugin, a as Plugin } from './context-tOHhfmcN.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/http/fetch';
|
|
4
4
|
import '@stryke/types/base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, b as PluginFactory, c as PartialPluginFactory, d as PartialPlugin, a as Plugin } from './context-
|
|
1
|
+
import { P as PluginContext, b as PluginFactory, c as PartialPluginFactory, d as PartialPlugin, a as Plugin } from './context-tOHhfmcN.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/http/fetch';
|
|
4
4
|
import '@stryke/types/base';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { extend } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { extend } from './chunk-N4IXPCGY.js';
|
|
2
|
+
import './chunk-JCX2UJYO.js';
|
|
3
|
+
import './chunk-FTVPZZJO.js';
|
|
4
4
|
import './chunk-7QVYU63E.js';
|
|
5
5
|
//# sourceMappingURL=extend.js.map
|
|
6
6
|
//# sourceMappingURL=extend.js.map
|
|
@@ -1,61 +1,65 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkBWAX3NRG_cjs = require('./chunk-BWAX3NRG.cjs');
|
|
4
4
|
require('./chunk-PK6SKIKE.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "addPluginHook", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkBWAX3NRG_cjs.addPluginHook; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "checkDedupe", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkBWAX3NRG_cjs.checkDedupe; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "extractPluginHook", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkBWAX3NRG_cjs.extractPluginHook; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "findInvalidPluginConfig", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkBWAX3NRG_cjs.findInvalidPluginConfig; }
|
|
19
23
|
});
|
|
20
24
|
Object.defineProperty(exports, "getHookHandler", {
|
|
21
25
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkBWAX3NRG_cjs.getHookHandler; }
|
|
23
27
|
});
|
|
24
28
|
Object.defineProperty(exports, "isHookExternal", {
|
|
25
29
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkBWAX3NRG_cjs.isHookExternal; }
|
|
27
31
|
});
|
|
28
32
|
Object.defineProperty(exports, "isHookInternal", {
|
|
29
33
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkBWAX3NRG_cjs.isHookInternal; }
|
|
31
35
|
});
|
|
32
36
|
Object.defineProperty(exports, "isPlugin", {
|
|
33
37
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkBWAX3NRG_cjs.isPlugin; }
|
|
35
39
|
});
|
|
36
40
|
Object.defineProperty(exports, "isPluginConfig", {
|
|
37
41
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginConfig; }
|
|
39
43
|
});
|
|
40
44
|
Object.defineProperty(exports, "isPluginConfigObject", {
|
|
41
45
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginConfigObject; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "isPluginConfigTuple", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginConfigTuple; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "isPluginHook", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginHook; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "isPluginHookFunction", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginHookFunction; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "isPluginHookObject", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginHookObject; }
|
|
59
63
|
});
|
|
60
64
|
//# sourceMappingURL=helpers.cjs.map
|
|
61
65
|
//# sourceMappingURL=helpers.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, T as TypesResult } from './context-
|
|
1
|
+
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, T as TypesResult } from './context-tOHhfmcN.cjs';
|
|
2
2
|
import * as unplugin from 'unplugin';
|
|
3
3
|
import * as _stryke_types_base from '@stryke/types/base';
|
|
4
4
|
import { AnyFunction } from '@stryke/types/base';
|
|
@@ -38,7 +38,7 @@ interface BaseHooksListItem<TContext extends PluginContext = PluginContext, TKey
|
|
|
38
38
|
* @param value - The object to check
|
|
39
39
|
* @returns True if the object is a {@link Plugin}, false otherwise
|
|
40
40
|
*/
|
|
41
|
-
declare function isPlugin<
|
|
41
|
+
declare function isPlugin<TContext extends PluginContext = PluginContext<ResolvedConfig>>(value: unknown): value is Plugin<TContext>;
|
|
42
42
|
/**
|
|
43
43
|
* Type guard to check if an object is a {@link PluginConfigObject}
|
|
44
44
|
*
|
|
@@ -59,21 +59,21 @@ declare function isPluginConfigTuple(value: unknown): value is PluginConfigTuple
|
|
|
59
59
|
* @param value - The object to check
|
|
60
60
|
* @returns True if the object is a {@link PluginConfig}, false otherwise
|
|
61
61
|
*/
|
|
62
|
-
declare function isPluginConfig(value: unknown): value is PluginConfig
|
|
62
|
+
declare function isPluginConfig<TContext extends PluginContext = PluginContext<ResolvedConfig>>(value: unknown): value is PluginConfig<TContext>;
|
|
63
63
|
/**
|
|
64
64
|
* Type guard to check if an value is a {@link PluginHook} function
|
|
65
65
|
*
|
|
66
66
|
* @param value - The value to check
|
|
67
67
|
* @returns True if the value is a {@link PluginHook} function, false otherwise
|
|
68
68
|
*/
|
|
69
|
-
declare function
|
|
69
|
+
declare function isPluginHookObject(value: unknown): value is PluginHookObject<AnyFunction>;
|
|
70
70
|
/**
|
|
71
71
|
* Type guard to check if an value is a {@link PluginHook} function
|
|
72
72
|
*
|
|
73
73
|
* @param value - The value to check
|
|
74
74
|
* @returns True if the value is a {@link PluginHook} function, false otherwise
|
|
75
75
|
*/
|
|
76
|
-
declare function
|
|
76
|
+
declare function isPluginHookFunction(value: unknown): value is AnyFunction;
|
|
77
77
|
/**
|
|
78
78
|
* Type guard to check if an object is a {@link PluginHook}
|
|
79
79
|
*
|
|
@@ -149,5 +149,12 @@ declare function checkDedupe<TResolvedConfig extends ResolvedConfig = ResolvedCo
|
|
|
149
149
|
* @param hooksList - The list of hooks to add to
|
|
150
150
|
*/
|
|
151
151
|
declare function addPluginHook<TContext extends PluginContext = PluginContext>(context: TContext, plugin: Plugin<TContext>, pluginHook: PluginHook<AnyFunction>, hooksList: BaseHooksListItem<TContext, BaseHookKeys<TContext>>[]): void;
|
|
152
|
+
/**
|
|
153
|
+
* Check the provided {@link PluginConfig}, and return a stringified version of the invalid configuration. If an array is provided, check each item in the array.
|
|
154
|
+
*
|
|
155
|
+
* @param config - The plugin configuration to check
|
|
156
|
+
* @returns Null if the configuration is valid, otherwise an array of stringified invalid configurations
|
|
157
|
+
*/
|
|
158
|
+
declare function findInvalidPluginConfig<TContext extends PluginContext = PluginContext<ResolvedConfig>>(config: PluginConfig<TContext>): string[] | null;
|
|
152
159
|
|
|
153
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject };
|
|
160
|
+
export { addPluginHook, checkDedupe, extractPluginHook, findInvalidPluginConfig, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, T as TypesResult } from './context-
|
|
1
|
+
import { P as PluginContext, e as BasePluginHookFunctions, f as PluginHookFunctions, E as ExternalPluginHookFunctions, g as PluginHookObject, a as Plugin, R as ResolvedConfig, h as PluginConfigObject, i as PluginConfigTuple, j as PluginConfig, k as PluginHook, U as UnresolvedContext, C as ConfigResult, l as EnvironmentConfig, m as EnvironmentResolvedConfig, T as TypesResult } from './context-tOHhfmcN.js';
|
|
2
2
|
import * as unplugin from 'unplugin';
|
|
3
3
|
import * as _stryke_types_base from '@stryke/types/base';
|
|
4
4
|
import { AnyFunction } from '@stryke/types/base';
|
|
@@ -38,7 +38,7 @@ interface BaseHooksListItem<TContext extends PluginContext = PluginContext, TKey
|
|
|
38
38
|
* @param value - The object to check
|
|
39
39
|
* @returns True if the object is a {@link Plugin}, false otherwise
|
|
40
40
|
*/
|
|
41
|
-
declare function isPlugin<
|
|
41
|
+
declare function isPlugin<TContext extends PluginContext = PluginContext<ResolvedConfig>>(value: unknown): value is Plugin<TContext>;
|
|
42
42
|
/**
|
|
43
43
|
* Type guard to check if an object is a {@link PluginConfigObject}
|
|
44
44
|
*
|
|
@@ -59,21 +59,21 @@ declare function isPluginConfigTuple(value: unknown): value is PluginConfigTuple
|
|
|
59
59
|
* @param value - The object to check
|
|
60
60
|
* @returns True if the object is a {@link PluginConfig}, false otherwise
|
|
61
61
|
*/
|
|
62
|
-
declare function isPluginConfig(value: unknown): value is PluginConfig
|
|
62
|
+
declare function isPluginConfig<TContext extends PluginContext = PluginContext<ResolvedConfig>>(value: unknown): value is PluginConfig<TContext>;
|
|
63
63
|
/**
|
|
64
64
|
* Type guard to check if an value is a {@link PluginHook} function
|
|
65
65
|
*
|
|
66
66
|
* @param value - The value to check
|
|
67
67
|
* @returns True if the value is a {@link PluginHook} function, false otherwise
|
|
68
68
|
*/
|
|
69
|
-
declare function
|
|
69
|
+
declare function isPluginHookObject(value: unknown): value is PluginHookObject<AnyFunction>;
|
|
70
70
|
/**
|
|
71
71
|
* Type guard to check if an value is a {@link PluginHook} function
|
|
72
72
|
*
|
|
73
73
|
* @param value - The value to check
|
|
74
74
|
* @returns True if the value is a {@link PluginHook} function, false otherwise
|
|
75
75
|
*/
|
|
76
|
-
declare function
|
|
76
|
+
declare function isPluginHookFunction(value: unknown): value is AnyFunction;
|
|
77
77
|
/**
|
|
78
78
|
* Type guard to check if an object is a {@link PluginHook}
|
|
79
79
|
*
|
|
@@ -149,5 +149,12 @@ declare function checkDedupe<TResolvedConfig extends ResolvedConfig = ResolvedCo
|
|
|
149
149
|
* @param hooksList - The list of hooks to add to
|
|
150
150
|
*/
|
|
151
151
|
declare function addPluginHook<TContext extends PluginContext = PluginContext>(context: TContext, plugin: Plugin<TContext>, pluginHook: PluginHook<AnyFunction>, hooksList: BaseHooksListItem<TContext, BaseHookKeys<TContext>>[]): void;
|
|
152
|
+
/**
|
|
153
|
+
* Check the provided {@link PluginConfig}, and return a stringified version of the invalid configuration. If an array is provided, check each item in the array.
|
|
154
|
+
*
|
|
155
|
+
* @param config - The plugin configuration to check
|
|
156
|
+
* @returns Null if the configuration is valid, otherwise an array of stringified invalid configurations
|
|
157
|
+
*/
|
|
158
|
+
declare function findInvalidPluginConfig<TContext extends PluginContext = PluginContext<ResolvedConfig>>(config: PluginConfig<TContext>): string[] | null;
|
|
152
159
|
|
|
153
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject };
|
|
160
|
+
export { addPluginHook, checkDedupe, extractPluginHook, findInvalidPluginConfig, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-
|
|
1
|
+
export { addPluginHook, checkDedupe, extractPluginHook, findInvalidPluginConfig, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-FTVPZZJO.js';
|
|
2
2
|
import './chunk-7QVYU63E.js';
|
|
3
3
|
//# sourceMappingURL=helpers.js.map
|
|
4
4
|
//# sourceMappingURL=helpers.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkDUIPLC7F_cjs = require('./chunk-DUIPLC7F.cjs');
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkJAG7QJDV_cjs = require('./chunk-JAG7QJDV.cjs');
|
|
5
|
+
var chunkAHZPK4Z5_cjs = require('./chunk-AHZPK4Z5.cjs');
|
|
6
6
|
var chunkGH7PPING_cjs = require('./chunk-GH7PPING.cjs');
|
|
7
|
-
var
|
|
8
|
-
var
|
|
7
|
+
var chunkEJ5XPAJQ_cjs = require('./chunk-EJ5XPAJQ.cjs');
|
|
8
|
+
var chunkBWAX3NRG_cjs = require('./chunk-BWAX3NRG.cjs');
|
|
9
9
|
var chunkRBMEE2JC_cjs = require('./chunk-RBMEE2JC.cjs');
|
|
10
10
|
require('./chunk-PK6SKIKE.cjs');
|
|
11
11
|
|
|
@@ -21,11 +21,11 @@ Object.defineProperty(exports, "getWorkspaceName", {
|
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "enforceBuild", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkJAG7QJDV_cjs.enforceBuild; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "extend", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkAHZPK4Z5_cjs.extend; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "getConfigPath", {
|
|
31
31
|
enumerable: true,
|
|
@@ -33,59 +33,63 @@ Object.defineProperty(exports, "getConfigPath", {
|
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "merge", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkEJ5XPAJQ_cjs.merge; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "addPluginHook", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkBWAX3NRG_cjs.addPluginHook; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "checkDedupe", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkBWAX3NRG_cjs.checkDedupe; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "extractPluginHook", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkBWAX3NRG_cjs.extractPluginHook; }
|
|
49
|
+
});
|
|
50
|
+
Object.defineProperty(exports, "findInvalidPluginConfig", {
|
|
51
|
+
enumerable: true,
|
|
52
|
+
get: function () { return chunkBWAX3NRG_cjs.findInvalidPluginConfig; }
|
|
49
53
|
});
|
|
50
54
|
Object.defineProperty(exports, "getHookHandler", {
|
|
51
55
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkBWAX3NRG_cjs.getHookHandler; }
|
|
53
57
|
});
|
|
54
58
|
Object.defineProperty(exports, "isHookExternal", {
|
|
55
59
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkBWAX3NRG_cjs.isHookExternal; }
|
|
57
61
|
});
|
|
58
62
|
Object.defineProperty(exports, "isHookInternal", {
|
|
59
63
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkBWAX3NRG_cjs.isHookInternal; }
|
|
61
65
|
});
|
|
62
66
|
Object.defineProperty(exports, "isPlugin", {
|
|
63
67
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkBWAX3NRG_cjs.isPlugin; }
|
|
65
69
|
});
|
|
66
70
|
Object.defineProperty(exports, "isPluginConfig", {
|
|
67
71
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginConfig; }
|
|
69
73
|
});
|
|
70
74
|
Object.defineProperty(exports, "isPluginConfigObject", {
|
|
71
75
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginConfigObject; }
|
|
73
77
|
});
|
|
74
78
|
Object.defineProperty(exports, "isPluginConfigTuple", {
|
|
75
79
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginConfigTuple; }
|
|
77
81
|
});
|
|
78
82
|
Object.defineProperty(exports, "isPluginHook", {
|
|
79
83
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginHook; }
|
|
81
85
|
});
|
|
82
86
|
Object.defineProperty(exports, "isPluginHookFunction", {
|
|
83
87
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginHookFunction; }
|
|
85
89
|
});
|
|
86
90
|
Object.defineProperty(exports, "isPluginHookObject", {
|
|
87
91
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkBWAX3NRG_cjs.isPluginHookObject; }
|
|
89
93
|
});
|
|
90
94
|
Object.defineProperty(exports, "replacePathTokens", {
|
|
91
95
|
enumerable: true,
|
|
@@ -2,10 +2,10 @@ export { getOrganizationName, getWorkspaceName } from './context-helpers.cjs';
|
|
|
2
2
|
export { enforceBuild } from './enforce.cjs';
|
|
3
3
|
export { extend } from './extend.cjs';
|
|
4
4
|
export { getConfigPath } from './get-config-path.cjs';
|
|
5
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.cjs';
|
|
5
|
+
export { addPluginHook, checkDedupe, extractPluginHook, findInvalidPluginConfig, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.cjs';
|
|
6
6
|
export { MergeResult, __ΩMergeResult, merge } from './merge.cjs';
|
|
7
7
|
export { replacePathTokens } from './paths.cjs';
|
|
8
|
-
import './context-
|
|
8
|
+
import './context-tOHhfmcN.cjs';
|
|
9
9
|
import '@stryke/env/get-env-paths';
|
|
10
10
|
import '@stryke/http/fetch';
|
|
11
11
|
import '@stryke/types/base';
|
|
@@ -2,10 +2,10 @@ export { getOrganizationName, getWorkspaceName } from './context-helpers.js';
|
|
|
2
2
|
export { enforceBuild } from './enforce.js';
|
|
3
3
|
export { extend } from './extend.js';
|
|
4
4
|
export { getConfigPath } from './get-config-path.js';
|
|
5
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.js';
|
|
5
|
+
export { addPluginHook, checkDedupe, extractPluginHook, findInvalidPluginConfig, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.js';
|
|
6
6
|
export { MergeResult, __ΩMergeResult, merge } from './merge.js';
|
|
7
7
|
export { replacePathTokens } from './paths.js';
|
|
8
|
-
import './context-
|
|
8
|
+
import './context-tOHhfmcN.js';
|
|
9
9
|
import '@stryke/env/get-env-paths';
|
|
10
10
|
import '@stryke/http/fetch';
|
|
11
11
|
import '@stryke/types/base';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { getOrganizationName, getWorkspaceName } from './chunk-G32M72GJ.js';
|
|
2
|
-
export { enforceBuild } from './chunk-
|
|
3
|
-
export { extend } from './chunk-
|
|
2
|
+
export { enforceBuild } from './chunk-WZCGJ7JR.js';
|
|
3
|
+
export { extend } from './chunk-N4IXPCGY.js';
|
|
4
4
|
export { getConfigPath } from './chunk-H7GJUBNY.js';
|
|
5
|
-
export { merge } from './chunk-
|
|
6
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-
|
|
5
|
+
export { merge } from './chunk-JCX2UJYO.js';
|
|
6
|
+
export { addPluginHook, checkDedupe, extractPluginHook, findInvalidPluginConfig, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-FTVPZZJO.js';
|
|
7
7
|
export { replacePathTokens } from './chunk-NRJ5QYX2.js';
|
|
8
8
|
import './chunk-7QVYU63E.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkEJ5XPAJQ_cjs = require('./chunk-EJ5XPAJQ.cjs');
|
|
4
|
+
require('./chunk-BWAX3NRG.cjs');
|
|
5
5
|
require('./chunk-PK6SKIKE.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "merge", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkEJ5XPAJQ_cjs.merge; }
|
|
12
12
|
});
|
|
13
13
|
//# sourceMappingURL=merge.cjs.map
|
|
14
14
|
//# sourceMappingURL=merge.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, d as PartialPlugin } from './context-
|
|
1
|
+
import { P as PluginContext, a as Plugin, d as PartialPlugin } from './context-tOHhfmcN.cjs';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/http/fetch';
|
|
4
4
|
import '@stryke/types/base';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, d as PartialPlugin } from './context-
|
|
1
|
+
import { P as PluginContext, a as Plugin, d as PartialPlugin } from './context-tOHhfmcN.js';
|
|
2
2
|
import '@stryke/env/get-env-paths';
|
|
3
3
|
import '@stryke/http/fetch';
|
|
4
4
|
import '@stryke/types/base';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import { U as UnresolvedContext } from './context-
|
|
2
|
+
import { U as UnresolvedContext } from './context-tOHhfmcN.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/package-json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import { U as UnresolvedContext } from './context-
|
|
2
|
+
import { U as UnresolvedContext } from './context-tOHhfmcN.js';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/package-json';
|
package/dist/rolldown.cjs
CHANGED
|
@@ -2,10 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('./chunk-
|
|
7
|
-
require('./chunk-
|
|
8
|
-
require('./chunk-
|
|
5
|
+
var chunkPKMYBUJQ_cjs = require('./chunk-PKMYBUJQ.cjs');
|
|
6
|
+
require('./chunk-ZCQYNPDB.cjs');
|
|
7
|
+
require('./chunk-HI6PZNZQ.cjs');
|
|
8
|
+
require('./chunk-ZCMOAOQN.cjs');
|
|
9
|
+
require('./chunk-XOMY3USD.cjs');
|
|
9
10
|
require('./chunk-Z6ARQDHR.cjs');
|
|
10
11
|
require('./chunk-PK6SKIKE.cjs');
|
|
11
12
|
|
|
@@ -13,15 +14,15 @@ require('./chunk-PK6SKIKE.cjs');
|
|
|
13
14
|
|
|
14
15
|
Object.defineProperty(exports, "default", {
|
|
15
16
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkPKMYBUJQ_cjs.rolldown_default; }
|
|
17
18
|
});
|
|
18
19
|
Object.defineProperty(exports, "module.exports", {
|
|
19
20
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkPKMYBUJQ_cjs.rolldown; }
|
|
21
22
|
});
|
|
22
23
|
Object.defineProperty(exports, "rolldown", {
|
|
23
24
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkPKMYBUJQ_cjs.rolldown; }
|
|
25
26
|
});
|
|
26
27
|
//# sourceMappingURL=rolldown.cjs.map
|
|
27
28
|
//# sourceMappingURL=rolldown.cjs.map
|
package/dist/rolldown.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _rolldown from 'rolldown';
|
|
2
|
-
import { X as RolldownUserConfig } from './context-
|
|
2
|
+
import { X as RolldownUserConfig } from './context-CbAqO09i.cjs';
|
|
3
3
|
import '@stryke/env/get-env-paths';
|
|
4
4
|
import '@stryke/http/fetch';
|
|
5
5
|
import '@stryke/types/base';
|