powerlines 0.19.5 → 0.21.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.
- package/dist/api.cjs +4 -4
- package/dist/api.d.cts +7 -8
- package/dist/api.d.ts +7 -8
- package/dist/api.js +3 -3
- package/dist/astro.cjs +10 -10
- package/dist/astro.d.cts +1 -2
- package/dist/astro.d.ts +1 -2
- package/dist/astro.js +7 -7
- package/dist/{chunk-MLAYLHZO.js → chunk-237NITCY.js} +20 -5
- package/dist/{chunk-5PRY6OJM.cjs → chunk-2HNC5JVK.cjs} +2 -2
- package/dist/{chunk-AEJIVPUZ.js → chunk-2Q2PSPZK.js} +1 -1
- package/dist/{chunk-JPWBN72J.js → chunk-3FS7K4DZ.js} +1 -1
- package/dist/{chunk-BSGWY4AP.cjs → chunk-3JH36WUJ.cjs} +2 -2
- package/dist/{chunk-ZOUGUAQY.cjs → chunk-44UTUCBG.cjs} +34 -16
- package/dist/{chunk-KMELWYHW.cjs → chunk-6XRDZOE3.cjs} +967 -664
- package/dist/{chunk-YQZXG4X6.cjs → chunk-7C2NEC7D.cjs} +2 -2
- package/dist/{chunk-GQM2JCO3.js → chunk-A5GTERYN.js} +2 -2
- package/dist/chunk-B4KLWFY6.cjs +32 -0
- package/dist/{chunk-I4LLZ5BI.js → chunk-C5TKY75S.js} +1 -1
- package/dist/{chunk-TK6CN2KT.cjs → chunk-DMXXNXLS.cjs} +4 -4
- package/dist/{chunk-MCDMY6GK.cjs → chunk-F4BD5CXH.cjs} +2 -2
- package/dist/chunk-GRAVJX3I.js +29 -0
- package/dist/chunk-HV7SHEHD.cjs +118 -0
- package/dist/{chunk-WJ4CZKXY.js → chunk-JKBJF3UI.js} +1 -1
- package/dist/{chunk-BHPTTRBA.js → chunk-L4AXJFX2.js} +32 -14
- package/dist/{chunk-Z63SQZUB.cjs → chunk-LKYBC6DX.cjs} +4 -4
- package/dist/{chunk-RR7EC4RF.js → chunk-M6XGEVJY.js} +1 -1
- package/dist/{chunk-PAJB5K7A.js → chunk-NZXMP4J5.js} +3 -2
- package/dist/{chunk-GFINPIIK.js → chunk-OZU47JET.js} +1000 -704
- package/dist/{chunk-FCTNMPJF.cjs → chunk-PAMSESZV.cjs} +1 -1
- package/dist/chunk-PDFOF6ZP.js +112 -0
- package/dist/{chunk-7HKTQSUG.cjs → chunk-PJP4MECA.cjs} +4 -3
- package/dist/{chunk-OJSRHKHW.js → chunk-QQGXARP3.js} +1 -1
- package/dist/{chunk-ULFJBFI7.cjs → chunk-SQANNMRF.cjs} +22 -7
- package/dist/{chunk-HI3LNK6Q.js → chunk-SVDPKN3U.js} +1 -1
- package/dist/chunk-SVF4ATJR.cjs +8 -0
- package/dist/{chunk-A3FMGMBV.cjs → chunk-UVM4JAR3.cjs} +2 -2
- package/dist/{chunk-VICSRRKQ.js → chunk-WU7I52LM.js} +2 -2
- package/dist/{chunk-X5LPEBDE.cjs → chunk-WYJGOC3Y.cjs} +2 -2
- package/dist/{chunk-LIXKMZW5.cjs → chunk-YG5ORYN2.cjs} +2 -2
- package/dist/{chunk-HEG6IAVR.js → chunk-ZPOCM5XZ.js} +1 -1
- package/dist/chunk-ZWF7LZXE.js +5 -0
- package/dist/config.d.cts +1 -2
- package/dist/config.d.ts +1 -2
- package/dist/esbuild.cjs +9 -9
- package/dist/esbuild.d.cts +1 -2
- package/dist/esbuild.d.ts +1 -2
- package/dist/esbuild.js +6 -6
- package/dist/farm.cjs +5 -5
- package/dist/farm.d.cts +1 -2
- package/dist/farm.d.ts +1 -2
- package/dist/farm.js +4 -4
- package/dist/{hooks-C6t50M6a.d.cts → hooks-CJ1W5lrx.d.cts} +1 -1
- package/dist/{hooks-Bq2jUAKs.d.ts → hooks-CNEZpkMS.d.ts} +1 -1
- package/dist/index.cjs +45 -287
- package/dist/index.d.cts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +20 -244
- package/dist/lib/build/esbuild.cjs +5 -5
- package/dist/lib/build/esbuild.d.cts +3 -5
- package/dist/lib/build/esbuild.d.ts +3 -5
- package/dist/lib/build/esbuild.js +2 -2
- package/dist/lib/build/index.cjs +25 -25
- package/dist/lib/build/index.d.cts +3 -5
- package/dist/lib/build/index.d.ts +3 -5
- package/dist/lib/build/index.js +9 -9
- package/dist/lib/build/rolldown.cjs +3 -3
- package/dist/lib/build/rolldown.d.cts +1 -3
- package/dist/lib/build/rolldown.d.ts +1 -3
- package/dist/lib/build/rolldown.js +2 -2
- package/dist/lib/build/rollup.cjs +3 -3
- package/dist/lib/build/rollup.d.cts +1 -3
- package/dist/lib/build/rollup.d.ts +1 -3
- package/dist/lib/build/rollup.js +1 -1
- package/dist/lib/build/rspack.cjs +2 -2
- package/dist/lib/build/rspack.d.cts +1 -3
- package/dist/lib/build/rspack.d.ts +1 -3
- package/dist/lib/build/rspack.js +1 -1
- package/dist/lib/build/tsup.cjs +6 -6
- package/dist/lib/build/tsup.d.cts +1 -3
- package/dist/lib/build/tsup.d.ts +1 -3
- package/dist/lib/build/tsup.js +3 -3
- package/dist/lib/build/unbuild.cjs +5 -5
- package/dist/lib/build/unbuild.d.cts +2 -4
- package/dist/lib/build/unbuild.d.ts +2 -4
- package/dist/lib/build/unbuild.js +2 -2
- package/dist/lib/build/vite.cjs +5 -5
- package/dist/lib/build/vite.d.cts +1 -3
- package/dist/lib/build/vite.d.ts +1 -3
- package/dist/lib/build/vite.js +3 -3
- package/dist/lib/build/webpack.cjs +2 -2
- package/dist/lib/build/webpack.d.cts +1 -3
- package/dist/lib/build/webpack.d.ts +1 -3
- package/dist/lib/build/webpack.js +1 -1
- package/dist/lib/chunk-27VJFYDM.cjs +132 -0
- package/dist/lib/chunk-3G4C3YAU.js +124 -0
- package/dist/lib/{chunk-DX4TFRS3.js → chunk-43VJVIL2.js} +976 -681
- package/dist/lib/{chunk-5EXW3ZRC.cjs → chunk-4FX4VOLA.cjs} +25 -4
- package/dist/lib/{chunk-ADKYAHF5.js → chunk-5GM5UAUO.js} +32 -12
- package/dist/lib/{chunk-JB2JJXGW.js → chunk-5SADLYYK.js} +1 -1
- package/dist/lib/{chunk-KXCEN6Y4.js → chunk-5SP6QZLX.js} +1 -1
- package/dist/lib/{chunk-TNHDC2ZQ.cjs → chunk-7XHBIYIN.cjs} +1 -20
- package/dist/lib/{chunk-SM3S7DYW.js → chunk-BHDQZ6YX.js} +12 -2
- package/dist/lib/{chunk-F7IDAYLH.cjs → chunk-CSJ6KNIX.cjs} +12 -9
- package/dist/lib/{chunk-37W2ZDLA.cjs → chunk-E2MVGKGH.cjs} +2 -2
- package/dist/lib/{chunk-ET5QBFGZ.cjs → chunk-FN7673NC.cjs} +2 -2
- package/dist/lib/{chunk-67IBLMW6.cjs → chunk-GDXHCTCX.cjs} +14 -7
- package/dist/lib/{chunk-ESNHFT4V.cjs → chunk-HCOHRD3Q.cjs} +26 -13
- package/dist/lib/{chunk-SYHVP3OW.js → chunk-HOZ37BFN.js} +23 -4
- package/dist/lib/{chunk-7OHD3BD4.js → chunk-HQ5YA43H.js} +12 -9
- package/dist/lib/{chunk-47WZIAPZ.js → chunk-IOM7GRZU.js} +5 -8
- package/dist/lib/{chunk-WFUO3YPK.js → chunk-L4NEN725.js} +19 -4
- package/dist/lib/{chunk-MVSXEH4P.cjs → chunk-LAFEAMNN.cjs} +6 -9
- package/dist/lib/{chunk-7Y5MJRWF.js → chunk-LIN4KAV3.js} +57 -34
- package/dist/lib/{chunk-LJ4WO7TW.cjs → chunk-LMO7PRBP.cjs} +35 -13
- package/dist/lib/{chunk-4AMFNBTX.cjs → chunk-LPA7UJIR.cjs} +956 -659
- package/dist/lib/{chunk-OTBLE55Z.cjs → chunk-MPCVQK2D.cjs} +12 -1
- package/dist/lib/{chunk-5ASXKB2V.js → chunk-QAXCBFBP.js} +1 -1
- package/dist/lib/{chunk-N2EGPL2L.js → chunk-T7RMV2FW.js} +25 -12
- package/dist/lib/{chunk-7K7JH3DF.cjs → chunk-ULJVBW4L.cjs} +19 -4
- package/dist/lib/{chunk-UDJ37BEE.cjs → chunk-VGSV2BEL.cjs} +57 -34
- package/dist/lib/{chunk-AOKLB4V2.cjs → chunk-Y2BHXV33.cjs} +1 -1
- package/dist/lib/{chunk-GRJJZ5VJ.js → chunk-YH5GOJS3.js} +2 -15
- package/dist/lib/{chunk-Q3ERHHXJ.js → chunk-YV6MDKW4.js} +13 -6
- package/dist/lib/{config-LK_Wl1SU.d.cts → config-7vXtXiGg.d.cts} +204 -118
- package/dist/lib/{config-CnPcoKqT.d.ts → config-B9aVEiiX.d.ts} +204 -118
- package/dist/lib/config-file.d.cts +1 -3
- package/dist/lib/config-file.d.ts +1 -3
- package/dist/lib/create-program.d.cts +1 -3
- package/dist/lib/create-program.d.ts +1 -3
- package/dist/lib/entry.cjs +9 -9
- package/dist/lib/entry.d.cts +1 -3
- package/dist/lib/entry.d.ts +1 -3
- package/dist/lib/entry.js +1 -1
- package/dist/lib/{hooks-DX1o8l6J.d.ts → hooks-BxUBzqCb.d.ts} +1 -1
- package/dist/lib/{hooks-BD2rDhpA.d.cts → hooks-cvv50JDh.d.cts} +1 -1
- package/dist/lib/index.cjs +32 -28
- package/dist/lib/index.d.cts +326 -7
- package/dist/lib/index.d.ts +326 -7
- package/dist/lib/index.js +8 -8
- package/dist/lib/logger.d.cts +1 -3
- package/dist/lib/logger.d.ts +1 -3
- package/dist/lib/typescript/compiler-host.d.cts +1 -3
- package/dist/lib/typescript/compiler-host.d.ts +1 -3
- package/dist/lib/typescript/import-transformer.d.cts +1 -3
- package/dist/lib/typescript/import-transformer.d.ts +1 -3
- package/dist/lib/typescript/index.d.cts +1 -3
- package/dist/lib/typescript/index.d.ts +1 -3
- package/dist/lib/typescript/program.d.cts +1 -3
- package/dist/lib/typescript/program.d.ts +1 -3
- package/dist/lib/unplugin/factory.cjs +5 -5
- package/dist/lib/unplugin/factory.d.cts +7 -9
- package/dist/lib/unplugin/factory.d.ts +7 -9
- package/dist/lib/unplugin/factory.js +4 -4
- package/dist/lib/unplugin/index.cjs +8 -8
- package/dist/lib/unplugin/index.d.cts +2 -4
- package/dist/lib/unplugin/index.d.ts +2 -4
- package/dist/lib/unplugin/index.js +5 -5
- package/dist/lib/unplugin/plugin.cjs +3 -3
- package/dist/lib/unplugin/plugin.d.cts +1 -3
- package/dist/lib/unplugin/plugin.d.ts +1 -3
- package/dist/lib/unplugin/plugin.js +2 -2
- package/dist/lib/unplugin/resolve-id.cjs +2 -2
- package/dist/lib/unplugin/resolve-id.d.cts +1 -3
- package/dist/lib/unplugin/resolve-id.d.ts +1 -3
- package/dist/lib/unplugin/resolve-id.js +1 -1
- package/dist/lib/utilities/bundle.cjs +4 -4
- package/dist/lib/utilities/bundle.d.cts +1 -3
- package/dist/lib/utilities/bundle.d.ts +1 -3
- package/dist/lib/utilities/bundle.js +3 -3
- package/dist/lib/utilities/cache.d.cts +1 -3
- package/dist/lib/utilities/cache.d.ts +1 -3
- package/dist/lib/utilities/file-header.d.cts +1 -3
- package/dist/lib/utilities/file-header.d.ts +1 -3
- package/dist/lib/utilities/index.cjs +14 -14
- package/dist/lib/utilities/index.d.cts +1 -3
- package/dist/lib/utilities/index.d.ts +1 -3
- package/dist/lib/utilities/index.js +5 -5
- package/dist/lib/utilities/meta.cjs +8 -8
- package/dist/lib/utilities/meta.d.cts +1 -3
- package/dist/lib/utilities/meta.d.ts +1 -3
- package/dist/lib/utilities/meta.js +1 -1
- package/dist/lib/utilities/resolve-path.d.cts +1 -3
- package/dist/lib/utilities/resolve-path.d.ts +1 -3
- package/dist/lib/utilities/resolve.cjs +5 -5
- package/dist/lib/utilities/resolve.d.cts +1 -3
- package/dist/lib/utilities/resolve.d.ts +1 -3
- package/dist/lib/utilities/resolve.js +4 -4
- package/dist/lib/utilities/source-file.d.cts +1 -3
- package/dist/lib/utilities/source-file.d.ts +1 -3
- package/dist/lib/utilities/source-map.d.cts +1 -3
- package/dist/lib/utilities/source-map.d.ts +1 -3
- package/dist/lib/utilities/worker.d.cts +1 -3
- package/dist/lib/utilities/worker.d.ts +1 -3
- package/dist/lib/utilities/write-file.d.cts +1 -3
- package/dist/lib/utilities/write-file.d.ts +1 -3
- package/dist/next.cjs +9 -9
- package/dist/next.js +6 -6
- package/dist/nuxt.cjs +11 -11
- package/dist/nuxt.js +8 -8
- package/dist/plugin-utils/{chunk-YKIS7BLU.cjs → chunk-5MO4BCOW.cjs} +24 -0
- package/dist/plugin-utils/{chunk-HHFA3IEZ.js → chunk-CYVV2MB7.js} +24 -0
- package/dist/plugin-utils/{chunk-75UVEMIV.cjs → chunk-DZZPNO5H.cjs} +2 -2
- package/dist/plugin-utils/{chunk-WEIEQXIJ.cjs → chunk-ECFS7DPV.cjs} +5 -5
- package/dist/plugin-utils/{chunk-MQOW6ENT.cjs → chunk-F65J5WOX.cjs} +1 -1
- package/dist/plugin-utils/{chunk-IHME6YWJ.js → chunk-GV7O3E7P.js} +1 -1
- package/dist/plugin-utils/chunk-J33TXWF6.js +12 -0
- package/dist/plugin-utils/{chunk-PK6PYFWY.js → chunk-L277XSSN.js} +1 -1
- package/dist/plugin-utils/{chunk-YDYJAGMP.js → chunk-QKMG6ZAU.js} +1 -1
- package/dist/plugin-utils/chunk-QP6OJWFG.cjs +14 -0
- package/dist/plugin-utils/{chunk-5TL6KEQ5.cjs → chunk-UNAGYQRB.cjs} +4 -4
- package/dist/plugin-utils/{chunk-432MQOUZ.js → chunk-XIXI67PY.js} +1 -1
- package/dist/plugin-utils/{config-48EWGWXq.d.cts → config-BzVVjChJ.d.cts} +201 -115
- package/dist/plugin-utils/{config-48EWGWXq.d.ts → config-BzVVjChJ.d.ts} +201 -115
- package/dist/plugin-utils/enforce.cjs +5 -5
- package/dist/plugin-utils/enforce.d.cts +1 -3
- package/dist/plugin-utils/enforce.d.ts +1 -3
- package/dist/plugin-utils/enforce.js +4 -4
- package/dist/plugin-utils/extend.cjs +4 -4
- package/dist/plugin-utils/extend.d.cts +1 -3
- package/dist/plugin-utils/extend.d.ts +1 -3
- package/dist/plugin-utils/extend.js +3 -3
- package/dist/plugin-utils/get-config-path.cjs +2 -2
- package/dist/plugin-utils/get-config-path.d.cts +2 -4
- package/dist/plugin-utils/get-config-path.d.ts +2 -4
- package/dist/plugin-utils/get-config-path.js +1 -1
- package/dist/plugin-utils/helpers.cjs +14 -14
- package/dist/plugin-utils/helpers.d.cts +3 -5
- package/dist/plugin-utils/helpers.d.ts +3 -5
- package/dist/plugin-utils/helpers.js +1 -1
- package/dist/plugin-utils/index.cjs +24 -24
- package/dist/plugin-utils/index.d.cts +1 -3
- package/dist/plugin-utils/index.d.ts +1 -3
- package/dist/plugin-utils/index.js +6 -6
- package/dist/plugin-utils/merge.cjs +3 -3
- package/dist/plugin-utils/merge.d.cts +1 -3
- package/dist/plugin-utils/merge.d.ts +1 -3
- package/dist/plugin-utils/merge.js +2 -2
- package/dist/plugin-utils/paths.cjs +2 -2
- package/dist/plugin-utils/paths.d.cts +4 -5
- package/dist/plugin-utils/paths.d.ts +4 -5
- package/dist/plugin-utils/paths.js +1 -1
- package/dist/{resolved-B41SbjnS.d.cts → resolved-D8vIizyA.d.cts} +81 -66
- package/dist/{resolved-J7a2Aeuk.d.ts → resolved-DWxXKJYy.d.ts} +81 -66
- package/dist/rolldown.cjs +8 -8
- package/dist/rolldown.d.cts +1 -2
- package/dist/rolldown.d.ts +1 -2
- package/dist/rolldown.js +5 -5
- package/dist/rollup.cjs +8 -8
- package/dist/rollup.d.cts +1 -2
- package/dist/rollup.d.ts +1 -2
- package/dist/rollup.js +5 -5
- package/dist/rspack.cjs +8 -8
- package/dist/rspack.d.cts +1 -2
- package/dist/rspack.d.ts +1 -2
- package/dist/rspack.js +5 -5
- package/dist/tsup.cjs +10 -10
- package/dist/tsup.js +7 -7
- package/dist/types/babel.d.cts +1 -2
- package/dist/types/babel.d.ts +1 -2
- package/dist/types/build.d.cts +94 -7
- package/dist/types/build.d.ts +94 -7
- package/dist/types/commands.cjs +2 -2
- package/dist/types/commands.d.cts +1 -2
- package/dist/types/commands.d.ts +1 -2
- package/dist/types/commands.js +1 -1
- package/dist/types/config.d.cts +1 -2
- package/dist/types/config.d.ts +1 -2
- package/dist/types/context.d.cts +2 -3
- package/dist/types/context.d.ts +2 -3
- package/dist/types/hooks.d.cts +1 -2
- package/dist/types/hooks.d.ts +1 -2
- package/dist/types/index.cjs +6 -22
- package/dist/types/index.d.cts +2 -3
- package/dist/types/index.d.ts +2 -3
- package/dist/types/index.js +2 -2
- package/dist/types/internal.d.cts +2 -3
- package/dist/types/internal.d.ts +2 -3
- package/dist/types/plugin.d.cts +1 -2
- package/dist/types/plugin.d.ts +1 -2
- package/dist/types/resolved.d.cts +1 -2
- package/dist/types/resolved.d.ts +1 -2
- package/dist/types/unplugin.d.cts +1 -2
- package/dist/types/unplugin.d.ts +1 -2
- package/dist/types/vfs.cjs +4 -20
- package/dist/types/vfs.d.cts +47 -54
- package/dist/types/vfs.d.ts +47 -54
- package/dist/types/vfs.js +1 -1
- package/dist/unloader.cjs +8 -8
- package/dist/unloader.d.cts +3 -4
- package/dist/unloader.d.ts +3 -4
- package/dist/unloader.js +5 -5
- package/dist/unplugin.cjs +20 -20
- package/dist/unplugin.d.cts +4 -5
- package/dist/unplugin.d.ts +4 -5
- package/dist/unplugin.js +17 -17
- package/dist/vite.cjs +9 -9
- package/dist/vite.d.cts +1 -2
- package/dist/vite.d.ts +1 -2
- package/dist/vite.js +6 -6
- package/dist/webpack.cjs +8 -8
- package/dist/webpack.d.cts +1 -2
- package/dist/webpack.d.ts +1 -2
- package/dist/webpack.js +5 -5
- package/package.json +8 -6
- package/dist/chunk-CWCEYGLM.js +0 -43
- package/dist/chunk-F5NKLRZD.cjs +0 -49
- package/dist/chunk-OBYFBPPO.js +0 -9
- package/dist/chunk-RDMLGFIT.js +0 -29
- package/dist/chunk-RF6RSWD4.cjs +0 -16
- package/dist/chunk-XDLLDHRY.cjs +0 -32
- package/dist/lib/chunk-POOHWK7C.cjs +0 -63
- package/dist/lib/chunk-VLHOYZG2.js +0 -55
- package/dist/plugin-utils/chunk-2HFS2OOG.cjs +0 -14
- package/dist/plugin-utils/chunk-CVZA2RT3.js +0 -12
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5MO4BCOW_cjs = require('./chunk-5MO4BCOW.cjs');
|
|
4
4
|
require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "getConfigPath", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk5MO4BCOW_cjs.getConfigPath; }
|
|
11
11
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { U as UnresolvedContext } from './config-BzVVjChJ.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -16,9 +16,7 @@ import '@stryke/types/array';
|
|
|
16
16
|
import '@stryke/types/tsconfig';
|
|
17
17
|
import 'typescript';
|
|
18
18
|
import '@stryke/json/types';
|
|
19
|
-
import 'memfs';
|
|
20
19
|
import 'node:fs';
|
|
21
|
-
import 'unionfs';
|
|
22
20
|
|
|
23
21
|
/**
|
|
24
22
|
* Get the configuration file path for a given name.
|
|
@@ -27,6 +25,6 @@ import 'unionfs';
|
|
|
27
25
|
* @param name - The name of the configuration file (without extension).
|
|
28
26
|
* @returns The absolute path to the configuration file, or undefined if not found.
|
|
29
27
|
*/
|
|
30
|
-
declare function getConfigPath(context:
|
|
28
|
+
declare function getConfigPath(context: UnresolvedContext, name: string): string | undefined;
|
|
31
29
|
|
|
32
30
|
export { getConfigPath };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { U as UnresolvedContext } from './config-BzVVjChJ.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -16,9 +16,7 @@ import '@stryke/types/array';
|
|
|
16
16
|
import '@stryke/types/tsconfig';
|
|
17
17
|
import 'typescript';
|
|
18
18
|
import '@stryke/json/types';
|
|
19
|
-
import 'memfs';
|
|
20
19
|
import 'node:fs';
|
|
21
|
-
import 'unionfs';
|
|
22
20
|
|
|
23
21
|
/**
|
|
24
22
|
* Get the configuration file path for a given name.
|
|
@@ -27,6 +25,6 @@ import 'unionfs';
|
|
|
27
25
|
* @param name - The name of the configuration file (without extension).
|
|
28
26
|
* @returns The absolute path to the configuration file, or undefined if not found.
|
|
29
27
|
*/
|
|
30
|
-
declare function getConfigPath(context:
|
|
28
|
+
declare function getConfigPath(context: UnresolvedContext, name: string): string | undefined;
|
|
31
29
|
|
|
32
30
|
export { getConfigPath };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { getConfigPath } from './chunk-
|
|
1
|
+
export { getConfigPath } from './chunk-CYVV2MB7.js';
|
|
2
2
|
import './chunk-SHUYVCID.js';
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkF65J5WOX_cjs = require('./chunk-F65J5WOX.cjs');
|
|
4
4
|
require('./chunk-USNT2KNT.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 chunkF65J5WOX_cjs.addPluginHook; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "checkDedupe", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkF65J5WOX_cjs.checkDedupe; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "extractPluginHook", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkF65J5WOX_cjs.extractPluginHook; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "getHookHandler", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkF65J5WOX_cjs.getHookHandler; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "isHookExternal", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkF65J5WOX_cjs.isHookExternal; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "isHookInternal", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkF65J5WOX_cjs.isHookInternal; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "isPlugin", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkF65J5WOX_cjs.isPlugin; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "isPluginConfig", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginConfig; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "isPluginConfigObject", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginConfigObject; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "isPluginConfigTuple", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginConfigTuple; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "isPluginHook", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginHook; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "isPluginHookFunction", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginHookFunction; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "isPluginHookObject", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginHookObject; }
|
|
59
59
|
});
|
|
@@ -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, C as
|
|
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, G as GenerateTypesResult } from './config-BzVVjChJ.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';
|
|
@@ -17,9 +17,7 @@ import '@stryke/types/array';
|
|
|
17
17
|
import '@stryke/types/tsconfig';
|
|
18
18
|
import 'typescript';
|
|
19
19
|
import '@stryke/json/types';
|
|
20
|
-
import 'memfs';
|
|
21
20
|
import 'node:fs';
|
|
22
|
-
import 'unionfs';
|
|
23
21
|
|
|
24
22
|
type BaseHooks<TContext extends PluginContext = PluginContext> = BasePluginHookFunctions<TContext>;
|
|
25
23
|
type BaseHookKeys<TContext extends PluginContext = PluginContext> = keyof BaseHooks<TContext>;
|
|
@@ -96,7 +94,7 @@ declare function getHookHandler(pluginHook: PluginHook<AnyFunction>): AnyFunctio
|
|
|
96
94
|
* @returns The extracted hook, or undefined if the hook does not exist
|
|
97
95
|
*/
|
|
98
96
|
declare function extractPluginHook<TContext extends PluginContext = PluginContext, TPlugin extends Plugin<TContext> = Plugin<TContext>>(context: TContext, plugin: TPlugin, hook: BaseHookKeys<TContext>): {
|
|
99
|
-
normal: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | (((this:
|
|
97
|
+
normal: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>)) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>, never>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & (TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) & Record<string, any>) | (PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>, never> & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, "code" | "id">) | (PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, never> & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, "id">) | (PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, never> & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
100
98
|
isEntry: boolean;
|
|
101
99
|
}) => _stryke_types_base.MaybePromise<string | unplugin.ExternalIdResult | null | undefined>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
102
100
|
isEntry: boolean;
|
|
@@ -110,7 +108,7 @@ declare function extractPluginHook<TContext extends PluginContext = PluginContex
|
|
|
110
108
|
isEntry: boolean;
|
|
111
109
|
}) => _stryke_types_base.MaybePromise<string | unplugin.ExternalIdResult | null | undefined>)) | ((this: TContext, name: string, environment: EnvironmentConfig) => _stryke_types_base.MaybePromise<Partial<EnvironmentResolvedConfig> | undefined | null>) | ((this: TContext) => _stryke_types_base.MaybePromise<void>) | ((this: TContext, code: string) => _stryke_types_base.MaybePromise<GenerateTypesResult | string | undefined | null>) | ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext) => _stryke_types_base.MaybePromise<void>) | ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext) => _stryke_types_base.MaybePromise<void>) | ((this: TContext) => _stryke_types_base.MaybePromise<void>)>;
|
|
112
110
|
} | {
|
|
113
|
-
[x: string]: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | ((this:
|
|
111
|
+
[x: string]: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
114
112
|
isEntry: boolean;
|
|
115
113
|
}) => _stryke_types_base.MaybePromise<string | unplugin.ExternalIdResult | null | undefined>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
116
114
|
isEntry: boolean;
|
|
@@ -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, C as
|
|
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, G as GenerateTypesResult } from './config-BzVVjChJ.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';
|
|
@@ -17,9 +17,7 @@ import '@stryke/types/array';
|
|
|
17
17
|
import '@stryke/types/tsconfig';
|
|
18
18
|
import 'typescript';
|
|
19
19
|
import '@stryke/json/types';
|
|
20
|
-
import 'memfs';
|
|
21
20
|
import 'node:fs';
|
|
22
|
-
import 'unionfs';
|
|
23
21
|
|
|
24
22
|
type BaseHooks<TContext extends PluginContext = PluginContext> = BasePluginHookFunctions<TContext>;
|
|
25
23
|
type BaseHookKeys<TContext extends PluginContext = PluginContext> = keyof BaseHooks<TContext>;
|
|
@@ -96,7 +94,7 @@ declare function getHookHandler(pluginHook: PluginHook<AnyFunction>): AnyFunctio
|
|
|
96
94
|
* @returns The extracted hook, or undefined if the hook does not exist
|
|
97
95
|
*/
|
|
98
96
|
declare function extractPluginHook<TContext extends PluginContext = PluginContext, TPlugin extends Plugin<TContext> = Plugin<TContext>>(context: TContext, plugin: TPlugin, hook: BaseHookKeys<TContext>): {
|
|
99
|
-
normal: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | (((this:
|
|
97
|
+
normal: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>)) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>, never>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & (TContext["config"] extends infer T ? { [K in keyof T]?: (T[K] extends infer T_1 ? { [K_2 in keyof T_1]?: (T_1[K_2] extends infer T_2 ? { [K_3 in keyof T_2]?: (T_2[K_3] extends infer T_3 ? { [K_4 in keyof T_3]?: (T_3[K_4] extends infer T_4 ? { [K_5 in keyof T_4]?: (T_4[K_5] extends infer T_5 ? { [K_6 in keyof T_5]?: (T_5[K_6] extends infer T_6 ? { [K_7 in keyof T_6]?: (T_6[K_7] extends infer T_7 ? { [K_8 in keyof T_7]?: (T_7[K_8] extends infer T_8 ? { [K_9 in keyof T_8]?: (T_8[K_9] extends infer T_9 ? { [K_10 in keyof T_9]?: (T_9[K_10] extends infer T_10 ? { [K_11 in keyof T_10]?: /*elided*/ any | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) | undefined; } : never) & Record<string, any>) | (PluginHookObject<(this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>, never> & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, "code" | "id">) | (PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, never> & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, "id">) | (PluginHookObject<(this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>, never> & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
100
98
|
isEntry: boolean;
|
|
101
99
|
}) => _stryke_types_base.MaybePromise<string | unplugin.ExternalIdResult | null | undefined>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
102
100
|
isEntry: boolean;
|
|
@@ -110,7 +108,7 @@ declare function extractPluginHook<TContext extends PluginContext = PluginContex
|
|
|
110
108
|
isEntry: boolean;
|
|
111
109
|
}) => _stryke_types_base.MaybePromise<string | unplugin.ExternalIdResult | null | undefined>)) | ((this: TContext, name: string, environment: EnvironmentConfig) => _stryke_types_base.MaybePromise<Partial<EnvironmentResolvedConfig> | undefined | null>) | ((this: TContext) => _stryke_types_base.MaybePromise<void>) | ((this: TContext, code: string) => _stryke_types_base.MaybePromise<GenerateTypesResult | string | undefined | null>) | ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext) => _stryke_types_base.MaybePromise<void>) | ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext) => _stryke_types_base.MaybePromise<void>) | ((this: TContext) => _stryke_types_base.MaybePromise<void>)>;
|
|
112
110
|
} | {
|
|
113
|
-
[x: string]: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | ((this:
|
|
111
|
+
[x: string]: OmitThisParameter<((this: TContext) => _stryke_types_base.MaybePromise<void>) | ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) | (((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>) & ((this: UnresolvedContext<TContext["config"]>) => _stryke_types_base.MaybePromise<ConfigResult<TContext>>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, code: string, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string) => _stryke_types_base.MaybePromise<unplugin.TransformResult>)) | (((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
114
112
|
isEntry: boolean;
|
|
115
113
|
}) => _stryke_types_base.MaybePromise<string | unplugin.ExternalIdResult | null | undefined>) & ((this: PluginContext<TContext["config"]> & Omit<unplugin.UnpluginBuildContext, "parse"> & TContext, id: string, importer: string | undefined, options: {
|
|
116
114
|
isEntry: boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-
|
|
1
|
+
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-L277XSSN.js';
|
|
2
2
|
import './chunk-SHUYVCID.js';
|
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
3
|
+
var chunkDZZPNO5H_cjs = require('./chunk-DZZPNO5H.cjs');
|
|
4
|
+
var chunkECFS7DPV_cjs = require('./chunk-ECFS7DPV.cjs');
|
|
5
|
+
var chunk5MO4BCOW_cjs = require('./chunk-5MO4BCOW.cjs');
|
|
6
|
+
var chunkUNAGYQRB_cjs = require('./chunk-UNAGYQRB.cjs');
|
|
7
|
+
var chunkF65J5WOX_cjs = require('./chunk-F65J5WOX.cjs');
|
|
8
|
+
var chunkQP6OJWFG_cjs = require('./chunk-QP6OJWFG.cjs');
|
|
9
9
|
require('./chunk-USNT2KNT.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
Object.defineProperty(exports, "enforceVariant", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkDZZPNO5H_cjs.enforceVariant; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "extend", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkECFS7DPV_cjs.extend; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "getConfigPath", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk5MO4BCOW_cjs.getConfigPath; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "merge", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkUNAGYQRB_cjs.merge; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "addPluginHook", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkF65J5WOX_cjs.addPluginHook; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "checkDedupe", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkF65J5WOX_cjs.checkDedupe; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "extractPluginHook", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkF65J5WOX_cjs.extractPluginHook; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "getHookHandler", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkF65J5WOX_cjs.getHookHandler; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "isHookExternal", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkF65J5WOX_cjs.isHookExternal; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "isHookInternal", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkF65J5WOX_cjs.isHookInternal; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "isPlugin", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkF65J5WOX_cjs.isPlugin; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "isPluginConfig", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginConfig; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "isPluginConfigObject", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginConfigObject; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "isPluginConfigTuple", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginConfigTuple; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "isPluginHook", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginHook; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "isPluginHookFunction", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginHookFunction; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "isPluginHookObject", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkF65J5WOX_cjs.isPluginHookObject; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "replacePathTokens", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkQP6OJWFG_cjs.replacePathTokens; }
|
|
84
84
|
});
|
|
@@ -4,7 +4,7 @@ export { getConfigPath } from './get-config-path.cjs';
|
|
|
4
4
|
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.cjs';
|
|
5
5
|
export { MergeResult, merge } from './merge.cjs';
|
|
6
6
|
export { replacePathTokens } from './paths.cjs';
|
|
7
|
-
import './config-
|
|
7
|
+
import './config-BzVVjChJ.cjs';
|
|
8
8
|
import '@storm-software/build-tools/types';
|
|
9
9
|
import '@storm-software/config-tools/types';
|
|
10
10
|
import '@storm-software/config/types';
|
|
@@ -22,6 +22,4 @@ import '@stryke/types/array';
|
|
|
22
22
|
import '@stryke/types/tsconfig';
|
|
23
23
|
import 'typescript';
|
|
24
24
|
import '@stryke/json/types';
|
|
25
|
-
import 'memfs';
|
|
26
25
|
import 'node:fs';
|
|
27
|
-
import 'unionfs';
|
|
@@ -4,7 +4,7 @@ export { getConfigPath } from './get-config-path.js';
|
|
|
4
4
|
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './helpers.js';
|
|
5
5
|
export { MergeResult, merge } from './merge.js';
|
|
6
6
|
export { replacePathTokens } from './paths.js';
|
|
7
|
-
import './config-
|
|
7
|
+
import './config-BzVVjChJ.js';
|
|
8
8
|
import '@storm-software/build-tools/types';
|
|
9
9
|
import '@storm-software/config-tools/types';
|
|
10
10
|
import '@storm-software/config/types';
|
|
@@ -22,6 +22,4 @@ import '@stryke/types/array';
|
|
|
22
22
|
import '@stryke/types/tsconfig';
|
|
23
23
|
import 'typescript';
|
|
24
24
|
import '@stryke/json/types';
|
|
25
|
-
import 'memfs';
|
|
26
25
|
import 'node:fs';
|
|
27
|
-
import 'unionfs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { enforceVariant } from './chunk-
|
|
2
|
-
export { extend } from './chunk-
|
|
3
|
-
export { getConfigPath } from './chunk-
|
|
4
|
-
export { merge } from './chunk-
|
|
5
|
-
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-
|
|
6
|
-
export { replacePathTokens } from './chunk-
|
|
1
|
+
export { enforceVariant } from './chunk-XIXI67PY.js';
|
|
2
|
+
export { extend } from './chunk-GV7O3E7P.js';
|
|
3
|
+
export { getConfigPath } from './chunk-CYVV2MB7.js';
|
|
4
|
+
export { merge } from './chunk-QKMG6ZAU.js';
|
|
5
|
+
export { addPluginHook, checkDedupe, extractPluginHook, getHookHandler, isHookExternal, isHookInternal, isPlugin, isPluginConfig, isPluginConfigObject, isPluginConfigTuple, isPluginHook, isPluginHookFunction, isPluginHookObject } from './chunk-L277XSSN.js';
|
|
6
|
+
export { replacePathTokens } from './chunk-J33TXWF6.js';
|
|
7
7
|
import './chunk-SHUYVCID.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkUNAGYQRB_cjs = require('./chunk-UNAGYQRB.cjs');
|
|
4
|
+
require('./chunk-F65J5WOX.cjs');
|
|
5
5
|
require('./chunk-USNT2KNT.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 chunkUNAGYQRB_cjs.merge; }
|
|
12
12
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-BzVVjChJ.cjs';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -16,9 +16,7 @@ import '@stryke/types/array';
|
|
|
16
16
|
import '@stryke/types/tsconfig';
|
|
17
17
|
import 'typescript';
|
|
18
18
|
import '@stryke/json/types';
|
|
19
|
-
import 'memfs';
|
|
20
19
|
import 'node:fs';
|
|
21
|
-
import 'unionfs';
|
|
22
20
|
|
|
23
21
|
type MergeResult<TContext extends PluginContext, TPluginA extends Plugin<TContext> | PartialPlugin<TContext>, TPluginB extends Plugin<TContext> | PartialPlugin<TContext>> = TPluginA extends Plugin<TContext> ? Plugin<TContext> : TPluginB extends Plugin<TContext> ? Plugin<TContext> : PartialPlugin<TContext>;
|
|
24
22
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-
|
|
1
|
+
import { P as PluginContext, a as Plugin, c as PartialPlugin } from './config-BzVVjChJ.js';
|
|
2
2
|
import '@storm-software/build-tools/types';
|
|
3
3
|
import '@storm-software/config-tools/types';
|
|
4
4
|
import '@storm-software/config/types';
|
|
@@ -16,9 +16,7 @@ import '@stryke/types/array';
|
|
|
16
16
|
import '@stryke/types/tsconfig';
|
|
17
17
|
import 'typescript';
|
|
18
18
|
import '@stryke/json/types';
|
|
19
|
-
import 'memfs';
|
|
20
19
|
import 'node:fs';
|
|
21
|
-
import 'unionfs';
|
|
22
20
|
|
|
23
21
|
type MergeResult<TContext extends PluginContext, TPluginA extends Plugin<TContext> | PartialPlugin<TContext>, TPluginB extends Plugin<TContext> | PartialPlugin<TContext>> = TPluginA extends Plugin<TContext> ? Plugin<TContext> : TPluginB extends Plugin<TContext> ? Plugin<TContext> : PartialPlugin<TContext>;
|
|
24
22
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { merge } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { merge } from './chunk-QKMG6ZAU.js';
|
|
2
|
+
import './chunk-L277XSSN.js';
|
|
3
3
|
import './chunk-SHUYVCID.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkQP6OJWFG_cjs = require('./chunk-QP6OJWFG.cjs');
|
|
4
4
|
require('./chunk-USNT2KNT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "replacePathTokens", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkQP6OJWFG_cjs.replacePathTokens; }
|
|
11
11
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import {
|
|
2
|
+
import { U as UnresolvedContext } from './config-BzVVjChJ.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -16,9 +16,7 @@ import '@stryke/types/array';
|
|
|
16
16
|
import '@stryke/types/tsconfig';
|
|
17
17
|
import 'typescript';
|
|
18
18
|
import '@stryke/json/types';
|
|
19
|
-
import 'memfs';
|
|
20
19
|
import 'node:fs';
|
|
21
|
-
import 'unionfs';
|
|
22
20
|
|
|
23
21
|
/**
|
|
24
22
|
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
@@ -26,7 +24,8 @@ import 'unionfs';
|
|
|
26
24
|
* @remarks
|
|
27
25
|
* The following tokens are supported:
|
|
28
26
|
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
29
|
-
* - `{
|
|
27
|
+
* - `{root}` - The root directory of the project (same as `{projectRoot}`).
|
|
28
|
+
* - `{projectRoot}` - The root directory of the project (same as `{root}`).
|
|
30
29
|
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
31
30
|
* - `{cachePath}` - The environment's directory for cached files.
|
|
32
31
|
* - `{dataPath}` - The environment's directory for data files.
|
|
@@ -41,6 +40,6 @@ import 'unionfs';
|
|
|
41
40
|
* @param path - The path string with tokens to replace.
|
|
42
41
|
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
43
42
|
*/
|
|
44
|
-
declare function replacePathTokens(context:
|
|
43
|
+
declare function replacePathTokens(context: UnresolvedContext, path?: string): IsUndefined<typeof path> extends true ? undefined : string;
|
|
45
44
|
|
|
46
45
|
export { replacePathTokens };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IsUndefined } from '@stryke/types/base';
|
|
2
|
-
import {
|
|
2
|
+
import { U as UnresolvedContext } from './config-BzVVjChJ.js';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
|
5
5
|
import '@storm-software/config/types';
|
|
@@ -16,9 +16,7 @@ import '@stryke/types/array';
|
|
|
16
16
|
import '@stryke/types/tsconfig';
|
|
17
17
|
import 'typescript';
|
|
18
18
|
import '@stryke/json/types';
|
|
19
|
-
import 'memfs';
|
|
20
19
|
import 'node:fs';
|
|
21
|
-
import 'unionfs';
|
|
22
20
|
|
|
23
21
|
/**
|
|
24
22
|
* Replaces tokens in the given path string with their corresponding values from the context.
|
|
@@ -26,7 +24,8 @@ import 'unionfs';
|
|
|
26
24
|
* @remarks
|
|
27
25
|
* The following tokens are supported:
|
|
28
26
|
* - `{workspaceRoot}` - The root directory of the workspace.
|
|
29
|
-
* - `{
|
|
27
|
+
* - `{root}` - The root directory of the project (same as `{projectRoot}`).
|
|
28
|
+
* - `{projectRoot}` - The root directory of the project (same as `{root}`).
|
|
30
29
|
* - `{powerlinesPath}` - The directory where Powerlines is installed.
|
|
31
30
|
* - `{cachePath}` - The environment's directory for cached files.
|
|
32
31
|
* - `{dataPath}` - The environment's directory for data files.
|
|
@@ -41,6 +40,6 @@ import 'unionfs';
|
|
|
41
40
|
* @param path - The path string with tokens to replace.
|
|
42
41
|
* @returns The path string with tokens replaced by their corresponding values from the context.
|
|
43
42
|
*/
|
|
44
|
-
declare function replacePathTokens(context:
|
|
43
|
+
declare function replacePathTokens(context: UnresolvedContext, path?: string): IsUndefined<typeof path> extends true ? undefined : string;
|
|
45
44
|
|
|
46
45
|
export { replacePathTokens };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { replacePathTokens } from './chunk-
|
|
1
|
+
export { replacePathTokens } from './chunk-J33TXWF6.js';
|
|
2
2
|
import './chunk-SHUYVCID.js';
|