powerlines 0.14.1 → 0.14.5
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/README.md +30 -21
- package/dist/_virtual/_rolldown/runtime.cjs +29 -0
- package/dist/_virtual/_rolldown/runtime.mjs +36 -0
- package/dist/api.cjs +10 -0
- package/dist/api.d.cts +2 -0
- package/dist/api.d.mts +2 -0
- package/dist/api.mjs +3 -0
- package/dist/astro.cjs +24 -28
- package/dist/astro.d.cts +14 -47
- package/dist/astro.d.cts.map +1 -0
- package/dist/astro.d.mts +25 -0
- package/dist/astro.d.mts.map +1 -0
- package/dist/astro.mjs +25 -0
- package/dist/astro.mjs.map +1 -0
- package/dist/config.cjs +9 -0
- package/dist/config.d.cts +1 -0
- package/dist/config.d.mts +1 -0
- package/dist/config.mjs +3 -0
- package/dist/constants.cjs +9 -0
- package/dist/constants.d.cts +1 -0
- package/dist/constants.d.mts +1 -0
- package/dist/constants.mjs +3 -0
- package/dist/context.cjs +9 -0
- package/dist/context.d.cts +1 -0
- package/dist/context.d.mts +1 -0
- package/dist/context.mjs +3 -0
- package/dist/engine.cjs +30 -0
- package/dist/engine.d.cts +24 -0
- package/dist/engine.d.cts.map +1 -0
- package/dist/engine.d.mts +24 -0
- package/dist/engine.d.mts.map +1 -0
- package/dist/engine.mjs +29 -0
- package/dist/engine.mjs.map +1 -0
- package/dist/esbuild.cjs +51 -23
- package/dist/esbuild.d.cts +13 -45
- package/dist/esbuild.d.cts.map +1 -0
- package/dist/esbuild.d.mts +25 -0
- package/dist/esbuild.d.mts.map +1 -0
- package/dist/esbuild.mjs +43 -0
- package/dist/esbuild.mjs.map +1 -0
- package/dist/farm.cjs +26 -18
- package/dist/farm.d.cts +15 -47
- package/dist/farm.d.cts.map +1 -0
- package/dist/farm.d.mts +25 -0
- package/dist/farm.d.mts.map +1 -0
- package/dist/farm.mjs +26 -0
- package/dist/farm.mjs.map +1 -0
- package/dist/index.cjs +40 -91
- package/dist/index.d.cts +21 -60
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +34 -0
- package/dist/index.mjs.map +1 -0
- package/dist/next.cjs +35 -27
- package/dist/next.d.cts +6 -4
- package/dist/next.d.cts.map +1 -0
- package/dist/{next.d.ts → next.d.mts} +6 -4
- package/dist/next.d.mts.map +1 -0
- package/dist/next.mjs +36 -0
- package/dist/next.mjs.map +1 -0
- package/dist/nuxt.cjs +44 -29
- package/dist/nuxt.d.cts +19 -10
- package/dist/nuxt.d.cts.map +1 -0
- package/dist/nuxt.d.mts +29 -0
- package/dist/nuxt.d.mts.map +1 -0
- package/dist/nuxt.mjs +44 -0
- package/dist/nuxt.mjs.map +1 -0
- package/dist/package.cjs +18 -0
- package/dist/package.mjs +7 -0
- package/dist/package.mjs.map +1 -0
- package/dist/plugin-utils.cjs +9 -0
- package/dist/plugin-utils.d.cts +1 -0
- package/dist/plugin-utils.d.mts +1 -0
- package/dist/plugin-utils.mjs +3 -0
- package/dist/rolldown.cjs +43 -22
- package/dist/rolldown.d.cts +10 -43
- package/dist/rolldown.d.cts.map +1 -0
- package/dist/rolldown.d.mts +24 -0
- package/dist/rolldown.d.mts.map +1 -0
- package/dist/rolldown.mjs +35 -0
- package/dist/rolldown.mjs.map +1 -0
- package/dist/rollup.cjs +34 -22
- package/dist/rollup.d.cts +11 -43
- package/dist/rollup.d.cts.map +1 -0
- package/dist/rollup.d.mts +25 -0
- package/dist/rollup.d.mts.map +1 -0
- package/dist/rollup.mjs +26 -0
- package/dist/rollup.mjs.map +1 -0
- package/dist/rspack.cjs +34 -22
- package/dist/rspack.d.cts +14 -46
- package/dist/rspack.d.cts.map +1 -0
- package/dist/rspack.d.mts +25 -0
- package/dist/rspack.d.mts.map +1 -0
- package/dist/rspack.mjs +26 -0
- package/dist/rspack.mjs.map +1 -0
- package/dist/schemas.cjs +9 -0
- package/dist/schemas.d.cts +1 -0
- package/dist/schemas.d.mts +1 -0
- package/dist/schemas.mjs +3 -0
- package/dist/storage.cjs +9 -0
- package/dist/storage.d.cts +1 -0
- package/dist/storage.d.mts +1 -0
- package/dist/storage.mjs +3 -0
- package/dist/tsdown.cjs +96 -0
- package/dist/tsdown.d.cts +31 -0
- package/dist/tsdown.d.cts.map +1 -0
- package/dist/tsdown.d.mts +31 -0
- package/dist/tsdown.d.mts.map +1 -0
- package/dist/tsdown.mjs +82 -0
- package/dist/tsdown.mjs.map +1 -0
- package/dist/tsup.cjs +67 -24
- package/dist/tsup.d.cts +12 -8
- package/dist/tsup.d.cts.map +1 -0
- package/dist/{tsup.d.ts → tsup.d.mts} +12 -8
- package/dist/tsup.d.mts.map +1 -0
- package/dist/tsup.mjs +59 -0
- package/dist/tsup.mjs.map +1 -0
- package/dist/types.cjs +0 -0
- package/dist/types.d.cts +8 -0
- package/dist/types.d.cts.map +1 -0
- package/dist/types.d.mts +8 -0
- package/dist/types.d.mts.map +1 -0
- package/dist/types.mjs +1 -0
- package/dist/typescript.cjs +9 -0
- package/dist/typescript.d.cts +1 -0
- package/dist/typescript.d.mts +1 -0
- package/dist/typescript.mjs +3 -0
- package/dist/unbuild.cjs +17 -0
- package/dist/unbuild.d.cts +2 -0
- package/dist/unbuild.d.mts +2 -0
- package/dist/unbuild.mjs +3 -0
- package/dist/unloader.cjs +23 -26
- package/dist/unloader.d.cts +11 -45
- package/dist/unloader.d.cts.map +1 -0
- package/dist/unloader.d.mts +22 -0
- package/dist/unloader.d.mts.map +1 -0
- package/dist/unloader.mjs +23 -0
- package/dist/unloader.mjs.map +1 -0
- package/dist/unplugin.cjs +105 -37
- package/dist/unplugin.d.cts +9 -69
- package/dist/unplugin.d.cts.map +1 -0
- package/dist/unplugin.d.mts +17 -0
- package/dist/unplugin.d.mts.map +1 -0
- package/dist/unplugin.mjs +101 -0
- package/dist/unplugin.mjs.map +1 -0
- package/dist/utils.cjs +25 -0
- package/dist/utils.d.cts +3 -0
- package/dist/utils.d.mts +3 -0
- package/dist/utils.mjs +7 -0
- package/dist/vite.cjs +76 -24
- package/dist/vite.d.cts +12 -44
- package/dist/vite.d.cts.map +1 -0
- package/dist/vite.d.mts +25 -0
- package/dist/vite.d.mts.map +1 -0
- package/dist/vite.mjs +66 -0
- package/dist/vite.mjs.map +1 -0
- package/dist/webpack.cjs +34 -23
- package/dist/webpack.d.cts +10 -43
- package/dist/webpack.d.cts.map +1 -0
- package/dist/webpack.d.mts +24 -0
- package/dist/webpack.d.mts.map +1 -0
- package/dist/webpack.mjs +25 -0
- package/dist/webpack.mjs.map +1 -0
- package/files/application/README.md.hbs +16 -42
- package/files/application/package.json.hbs +7 -28
- package/files/common/jest.config.ts.hbs +2 -3
- package/files/common/tsconfig.json.hbs +5 -10
- package/files/common/tsconfig.spec.json.hbs +3 -13
- package/files/library/README.md.hbs +11 -34
- package/files/library/package.json.hbs +9 -32
- package/package.json +253 -342
- package/schemas/fs.capnp +42 -0
- package/dist/astro.d.ts +0 -58
- package/dist/astro.js +0 -11
- package/dist/babel-types.d.ts +0 -292
- package/dist/chunk-22K72CJ5.cjs +0 -18
- package/dist/chunk-2OGPXWHG.js +0 -21
- package/dist/chunk-2VIXD2XB.js +0 -3
- package/dist/chunk-3IM6CTCB.cjs +0 -12
- package/dist/chunk-4AKYOJXA.cjs +0 -20
- package/dist/chunk-4FZTGBHW.cjs +0 -12
- package/dist/chunk-4HGQJ4KR.js +0 -11
- package/dist/chunk-4JCNAKOE.cjs +0 -4
- package/dist/chunk-5A5AK6JI.js +0 -31
- package/dist/chunk-5S33UKRI.js +0 -9
- package/dist/chunk-5VPVJHJO.cjs +0 -18
- package/dist/chunk-6TJGZR5X.js +0 -46
- package/dist/chunk-6ZGIV2SU.cjs +0 -4
- package/dist/chunk-7BZQBW77.cjs +0 -4
- package/dist/chunk-7GVRTQLJ.js +0 -16
- package/dist/chunk-7HF3SEKY.cjs +0 -24
- package/dist/chunk-7QQZH7V2.js +0 -9
- package/dist/chunk-7QVYU63E.js +0 -6
- package/dist/chunk-AFJCY3R6.js +0 -3
- package/dist/chunk-APVMN2H7.cjs +0 -14
- package/dist/chunk-AXIRZAL7.js +0 -3
- package/dist/chunk-DFLNRC3B.cjs +0 -4
- package/dist/chunk-DS7OM4NX.cjs +0 -4
- package/dist/chunk-DURCSSLV.js +0 -3
- package/dist/chunk-EBMELFCF.js +0 -12
- package/dist/chunk-GC3BRYAK.cjs +0 -13
- package/dist/chunk-GIE6OE3X.js +0 -3
- package/dist/chunk-HJW7OH6E.js +0 -3
- package/dist/chunk-IHUNA3MO.cjs +0 -4
- package/dist/chunk-KMLFL4CW.js +0 -14
- package/dist/chunk-LO77RPRV.js +0 -16
- package/dist/chunk-M6XRJI44.js +0 -9
- package/dist/chunk-MW2CYPK5.cjs +0 -34
- package/dist/chunk-N2RUZCWA.js +0 -9
- package/dist/chunk-N6L2CYXV.js +0 -21
- package/dist/chunk-NVNMK4CE.js +0 -39
- package/dist/chunk-O7GICJVN.cjs +0 -116
- package/dist/chunk-OYASPHNL.js +0 -3
- package/dist/chunk-P4BOYWXT.js +0 -3570
- package/dist/chunk-PJRHRDLS.cjs +0 -3602
- package/dist/chunk-PK6SKIKE.cjs +0 -8
- package/dist/chunk-Q7EJVZVI.cjs +0 -4
- package/dist/chunk-RIOZPUCZ.cjs +0 -34
- package/dist/chunk-SIZKRND7.js +0 -12
- package/dist/chunk-TLHFXGYV.js +0 -3
- package/dist/chunk-TLRPAJU2.cjs +0 -12
- package/dist/chunk-TSWMWZ4U.cjs +0 -12
- package/dist/chunk-UFEM5JTE.cjs +0 -42
- package/dist/chunk-UZQYBO6Z.cjs +0 -52
- package/dist/chunk-V7LXFIGK.js +0 -199
- package/dist/chunk-VNRXLY2T.js +0 -3
- package/dist/chunk-VQCQRLGM.cjs +0 -4
- package/dist/chunk-WA6IOZHV.js +0 -109
- package/dist/chunk-WCTOTE3T.cjs +0 -201
- package/dist/chunk-XBF43VLE.cjs +0 -4
- package/dist/chunk-XZO6ZJQP.cjs +0 -4
- package/dist/chunk-Y5CDUGSN.cjs +0 -12
- package/dist/chunk-YFP5GQWW.js +0 -9
- package/dist/chunk-YIWHO6SW.cjs +0 -14
- package/dist/chunk-YQXNZNGK.js +0 -31
- package/dist/chunk-YTOIG4CV.cjs +0 -24
- package/dist/chunk-YZCTXGFH.js +0 -11
- package/dist/chunk-Z5H7LD6W.js +0 -3
- package/dist/chunk-ZEJHPSLK.cjs +0 -19
- package/dist/define-config.cjs +0 -13
- package/dist/define-config.d.cts +0 -50
- package/dist/define-config.d.ts +0 -50
- package/dist/define-config.js +0 -4
- package/dist/esbuild.d.ts +0 -57
- package/dist/esbuild.js +0 -10
- package/dist/extend-plugin.cjs +0 -13
- package/dist/extend-plugin.d.cts +0 -48
- package/dist/extend-plugin.d.ts +0 -48
- package/dist/extend-plugin.js +0 -4
- package/dist/farm.d.ts +0 -57
- package/dist/farm.js +0 -14
- package/dist/hooks-Wrj1dKJ9.d.cts +0 -28
- package/dist/hooks-q1Az_C64.d.ts +0 -28
- package/dist/index.d.ts +0 -65
- package/dist/index.js +0 -40
- package/dist/internal/api.cjs +0 -16
- package/dist/internal/api.cjs.map +0 -1
- package/dist/internal/api.d.cts +0 -192
- package/dist/internal/api.d.ts +0 -192
- package/dist/internal/api.js +0 -7
- package/dist/internal/api.js.map +0 -1
- package/dist/lib/build/esbuild.cjs +0 -22
- package/dist/lib/build/esbuild.cjs.map +0 -1
- package/dist/lib/build/esbuild.d.cts +0 -51
- package/dist/lib/build/esbuild.d.ts +0 -51
- package/dist/lib/build/esbuild.js +0 -5
- package/dist/lib/build/esbuild.js.map +0 -1
- package/dist/lib/build/index.cjs +0 -82
- package/dist/lib/build/index.cjs.map +0 -1
- package/dist/lib/build/index.d.cts +0 -41
- package/dist/lib/build/index.d.ts +0 -41
- package/dist/lib/build/index.js +0 -13
- package/dist/lib/build/index.js.map +0 -1
- package/dist/lib/build/rolldown.cjs +0 -14
- package/dist/lib/build/rolldown.cjs.map +0 -1
- package/dist/lib/build/rolldown.d.cts +0 -42
- package/dist/lib/build/rolldown.d.ts +0 -42
- package/dist/lib/build/rolldown.js +0 -5
- package/dist/lib/build/rolldown.js.map +0 -1
- package/dist/lib/build/rollup.cjs +0 -17
- package/dist/lib/build/rollup.cjs.map +0 -1
- package/dist/lib/build/rollup.d.cts +0 -49
- package/dist/lib/build/rollup.d.ts +0 -49
- package/dist/lib/build/rollup.js +0 -4
- package/dist/lib/build/rollup.js.map +0 -1
- package/dist/lib/build/rspack.cjs +0 -13
- package/dist/lib/build/rspack.cjs.map +0 -1
- package/dist/lib/build/rspack.d.cts +0 -42
- package/dist/lib/build/rspack.d.ts +0 -42
- package/dist/lib/build/rspack.js +0 -4
- package/dist/lib/build/rspack.js.map +0 -1
- package/dist/lib/build/tsup.cjs +0 -23
- package/dist/lib/build/tsup.cjs.map +0 -1
- package/dist/lib/build/tsup.d.cts +0 -51
- package/dist/lib/build/tsup.d.ts +0 -51
- package/dist/lib/build/tsup.js +0 -6
- package/dist/lib/build/tsup.js.map +0 -1
- package/dist/lib/build/unbuild.cjs +0 -23
- package/dist/lib/build/unbuild.cjs.map +0 -1
- package/dist/lib/build/unbuild.d.cts +0 -63
- package/dist/lib/build/unbuild.d.ts +0 -63
- package/dist/lib/build/unbuild.js +0 -6
- package/dist/lib/build/unbuild.js.map +0 -1
- package/dist/lib/build/vite.cjs +0 -19
- package/dist/lib/build/vite.cjs.map +0 -1
- package/dist/lib/build/vite.d.cts +0 -43
- package/dist/lib/build/vite.d.ts +0 -43
- package/dist/lib/build/vite.js +0 -6
- package/dist/lib/build/vite.js.map +0 -1
- package/dist/lib/build/webpack.cjs +0 -13
- package/dist/lib/build/webpack.cjs.map +0 -1
- package/dist/lib/build/webpack.d.cts +0 -42
- package/dist/lib/build/webpack.d.ts +0 -42
- package/dist/lib/build/webpack.js +0 -4
- package/dist/lib/build/webpack.js.map +0 -1
- package/dist/lib/chunk-35EO5Y7R.js +0 -50
- package/dist/lib/chunk-35EO5Y7R.js.map +0 -1
- package/dist/lib/chunk-367E23MI.js +0 -48
- package/dist/lib/chunk-367E23MI.js.map +0 -1
- package/dist/lib/chunk-3GMJQ5G3.cjs +0 -4
- package/dist/lib/chunk-3GMJQ5G3.cjs.map +0 -1
- package/dist/lib/chunk-3I2YOM2E.js +0 -58
- package/dist/lib/chunk-3I2YOM2E.js.map +0 -1
- package/dist/lib/chunk-4BPHC6QQ.js +0 -3
- package/dist/lib/chunk-4BPHC6QQ.js.map +0 -1
- package/dist/lib/chunk-4XUVP2LL.cjs +0 -39
- package/dist/lib/chunk-4XUVP2LL.cjs.map +0 -1
- package/dist/lib/chunk-56LQSSQ3.js +0 -62
- package/dist/lib/chunk-56LQSSQ3.js.map +0 -1
- package/dist/lib/chunk-5PNLONNN.cjs +0 -30
- package/dist/lib/chunk-5PNLONNN.cjs.map +0 -1
- package/dist/lib/chunk-62ZJYXT3.cjs +0 -54
- package/dist/lib/chunk-62ZJYXT3.cjs.map +0 -1
- package/dist/lib/chunk-632PWWU7.cjs +0 -57
- package/dist/lib/chunk-632PWWU7.cjs.map +0 -1
- package/dist/lib/chunk-6BRTJXZ2.js +0 -3333
- package/dist/lib/chunk-6BRTJXZ2.js.map +0 -1
- package/dist/lib/chunk-6IJTWIVJ.cjs +0 -107
- package/dist/lib/chunk-6IJTWIVJ.cjs.map +0 -1
- package/dist/lib/chunk-7EAV6Q7B.cjs +0 -78
- package/dist/lib/chunk-7EAV6Q7B.cjs.map +0 -1
- package/dist/lib/chunk-7LLECRBP.cjs +0 -41
- package/dist/lib/chunk-7LLECRBP.cjs.map +0 -1
- package/dist/lib/chunk-7QVYU63E.js +0 -6
- package/dist/lib/chunk-7QVYU63E.js.map +0 -1
- package/dist/lib/chunk-7R23HVGQ.js +0 -27
- package/dist/lib/chunk-7R23HVGQ.js.map +0 -1
- package/dist/lib/chunk-BEKLDCTV.cjs +0 -95
- package/dist/lib/chunk-BEKLDCTV.cjs.map +0 -1
- package/dist/lib/chunk-BW3VFCTS.cjs +0 -110
- package/dist/lib/chunk-BW3VFCTS.cjs.map +0 -1
- package/dist/lib/chunk-CAPN4FSS.js +0 -152
- package/dist/lib/chunk-CAPN4FSS.js.map +0 -1
- package/dist/lib/chunk-ESYYL5UH.js +0 -105
- package/dist/lib/chunk-ESYYL5UH.js.map +0 -1
- package/dist/lib/chunk-GJNFAFKR.cjs +0 -66
- package/dist/lib/chunk-GJNFAFKR.cjs.map +0 -1
- package/dist/lib/chunk-GWYTWFZE.cjs +0 -72
- package/dist/lib/chunk-GWYTWFZE.cjs.map +0 -1
- package/dist/lib/chunk-HJWJNSSZ.js +0 -3
- package/dist/lib/chunk-HJWJNSSZ.js.map +0 -1
- package/dist/lib/chunk-HQ6TGY34.js +0 -27
- package/dist/lib/chunk-HQ6TGY34.js.map +0 -1
- package/dist/lib/chunk-IK3ABDPP.cjs +0 -64
- package/dist/lib/chunk-IK3ABDPP.cjs.map +0 -1
- package/dist/lib/chunk-JTUL3477.cjs +0 -137
- package/dist/lib/chunk-JTUL3477.cjs.map +0 -1
- package/dist/lib/chunk-KOCDKJDJ.js +0 -96
- package/dist/lib/chunk-KOCDKJDJ.js.map +0 -1
- package/dist/lib/chunk-KSBESEOF.js +0 -169
- package/dist/lib/chunk-KSBESEOF.js.map +0 -1
- package/dist/lib/chunk-LBMMBFQE.js +0 -65
- package/dist/lib/chunk-LBMMBFQE.js.map +0 -1
- package/dist/lib/chunk-LEIOWD2W.js +0 -28
- package/dist/lib/chunk-LEIOWD2W.js.map +0 -1
- package/dist/lib/chunk-LJZEN4HP.cjs +0 -110
- package/dist/lib/chunk-LJZEN4HP.cjs.map +0 -1
- package/dist/lib/chunk-LTVWU4J2.js +0 -47
- package/dist/lib/chunk-LTVWU4J2.js.map +0 -1
- package/dist/lib/chunk-LYD5OTBI.cjs +0 -3362
- package/dist/lib/chunk-LYD5OTBI.cjs.map +0 -1
- package/dist/lib/chunk-MAHHHINV.js +0 -67
- package/dist/lib/chunk-MAHHHINV.js.map +0 -1
- package/dist/lib/chunk-MFC7UJHT.cjs +0 -30
- package/dist/lib/chunk-MFC7UJHT.cjs.map +0 -1
- package/dist/lib/chunk-MGEZC2RV.cjs +0 -69
- package/dist/lib/chunk-MGEZC2RV.cjs.map +0 -1
- package/dist/lib/chunk-MVQSM5WM.cjs +0 -73
- package/dist/lib/chunk-MVQSM5WM.cjs.map +0 -1
- package/dist/lib/chunk-NANLYIUO.cjs +0 -70
- package/dist/lib/chunk-NANLYIUO.cjs.map +0 -1
- package/dist/lib/chunk-NE46WXNJ.js +0 -58
- package/dist/lib/chunk-NE46WXNJ.js.map +0 -1
- package/dist/lib/chunk-ODJBZ6PS.js +0 -39
- package/dist/lib/chunk-ODJBZ6PS.js.map +0 -1
- package/dist/lib/chunk-OF5IJ4WG.js +0 -65
- package/dist/lib/chunk-OF5IJ4WG.js.map +0 -1
- package/dist/lib/chunk-OO4BIM7N.js +0 -98
- package/dist/lib/chunk-OO4BIM7N.js.map +0 -1
- package/dist/lib/chunk-PEZXLKQD.cjs +0 -4
- package/dist/lib/chunk-PEZXLKQD.cjs.map +0 -1
- package/dist/lib/chunk-PK6SKIKE.cjs +0 -8
- package/dist/lib/chunk-PK6SKIKE.cjs.map +0 -1
- package/dist/lib/chunk-PXSRMP4E.js +0 -39
- package/dist/lib/chunk-PXSRMP4E.js.map +0 -1
- package/dist/lib/chunk-Q2L3FNJO.js +0 -120
- package/dist/lib/chunk-Q2L3FNJO.js.map +0 -1
- package/dist/lib/chunk-Q3KJZ3B5.js +0 -161
- package/dist/lib/chunk-Q3KJZ3B5.js.map +0 -1
- package/dist/lib/chunk-RK2VVGL6.cjs +0 -107
- package/dist/lib/chunk-RK2VVGL6.cjs.map +0 -1
- package/dist/lib/chunk-RLMEYZ5I.cjs +0 -167
- package/dist/lib/chunk-RLMEYZ5I.cjs.map +0 -1
- package/dist/lib/chunk-RQICHHZM.cjs +0 -29
- package/dist/lib/chunk-RQICHHZM.cjs.map +0 -1
- package/dist/lib/chunk-RXQWNSZX.js +0 -37
- package/dist/lib/chunk-RXQWNSZX.js.map +0 -1
- package/dist/lib/chunk-STAKGAWR.js +0 -86
- package/dist/lib/chunk-STAKGAWR.js.map +0 -1
- package/dist/lib/chunk-U36VZLW6.cjs +0 -172
- package/dist/lib/chunk-U36VZLW6.cjs.map +0 -1
- package/dist/lib/chunk-UGRFAVAJ.js +0 -93
- package/dist/lib/chunk-UGRFAVAJ.js.map +0 -1
- package/dist/lib/chunk-UQJWVRRE.cjs +0 -47
- package/dist/lib/chunk-UQJWVRRE.cjs.map +0 -1
- package/dist/lib/chunk-V2T4H24I.js +0 -156
- package/dist/lib/chunk-V2T4H24I.js.map +0 -1
- package/dist/lib/chunk-V5OY4ALI.cjs +0 -56
- package/dist/lib/chunk-V5OY4ALI.cjs.map +0 -1
- package/dist/lib/chunk-VJN72T2O.js +0 -50
- package/dist/lib/chunk-VJN72T2O.js.map +0 -1
- package/dist/lib/chunk-W4OMKQ7W.cjs +0 -128
- package/dist/lib/chunk-W4OMKQ7W.cjs.map +0 -1
- package/dist/lib/chunk-XGH6JWRO.js +0 -3
- package/dist/lib/chunk-XGH6JWRO.js.map +0 -1
- package/dist/lib/chunk-XQMVE2NH.cjs +0 -4
- package/dist/lib/chunk-XQMVE2NH.cjs.map +0 -1
- package/dist/lib/chunk-XZD7S5TU.cjs +0 -53
- package/dist/lib/chunk-XZD7S5TU.cjs.map +0 -1
- package/dist/lib/chunk-YBIWVB66.js +0 -76
- package/dist/lib/chunk-YBIWVB66.js.map +0 -1
- package/dist/lib/chunk-YF3YHK4X.js +0 -127
- package/dist/lib/chunk-YF3YHK4X.js.map +0 -1
- package/dist/lib/chunk-YVDJCVE5.cjs +0 -160
- package/dist/lib/chunk-YVDJCVE5.cjs.map +0 -1
- package/dist/lib/chunk-ZP7PDTVE.cjs +0 -167
- package/dist/lib/chunk-ZP7PDTVE.cjs.map +0 -1
- package/dist/lib/compiler-CuQLTmTB.d.cts +0 -32
- package/dist/lib/compiler-CuQLTmTB.d.ts +0 -32
- package/dist/lib/config-DnifzkPt.d.ts +0 -1474
- package/dist/lib/config-Ro14HmyO.d.cts +0 -1474
- package/dist/lib/config-file.cjs +0 -17
- package/dist/lib/config-file.cjs.map +0 -1
- package/dist/lib/config-file.d.cts +0 -57
- package/dist/lib/config-file.d.ts +0 -57
- package/dist/lib/config-file.js +0 -4
- package/dist/lib/config-file.js.map +0 -1
- package/dist/lib/create-program.cjs +0 -13
- package/dist/lib/create-program.cjs.map +0 -1
- package/dist/lib/create-program.d.cts +0 -42
- package/dist/lib/create-program.d.ts +0 -42
- package/dist/lib/create-program.js +0 -4
- package/dist/lib/create-program.js.map +0 -1
- package/dist/lib/entry.cjs +0 -41
- package/dist/lib/entry.cjs.map +0 -1
- package/dist/lib/entry.d.cts +0 -69
- package/dist/lib/entry.d.ts +0 -69
- package/dist/lib/entry.js +0 -4
- package/dist/lib/entry.js.map +0 -1
- package/dist/lib/hooks-B6Ow5MtE.d.ts +0 -28
- package/dist/lib/hooks-CM-BbMzz.d.cts +0 -28
- package/dist/lib/index.cjs +0 -281
- package/dist/lib/index.cjs.map +0 -1
- package/dist/lib/index.d.cts +0 -57
- package/dist/lib/index.d.ts +0 -57
- package/dist/lib/index.js +0 -28
- package/dist/lib/index.js.map +0 -1
- package/dist/lib/logger.cjs +0 -17
- package/dist/lib/logger.cjs.map +0 -1
- package/dist/lib/logger.d.cts +0 -51
- package/dist/lib/logger.d.ts +0 -51
- package/dist/lib/logger.js +0 -4
- package/dist/lib/logger.js.map +0 -1
- package/dist/lib/tsconfig-Bz-CiFqD.d.cts +0 -68
- package/dist/lib/tsconfig-Bz-CiFqD.d.ts +0 -68
- package/dist/lib/typescript/compiler-host.cjs +0 -166
- package/dist/lib/typescript/compiler-host.cjs.map +0 -1
- package/dist/lib/typescript/compiler-host.d.cts +0 -64
- package/dist/lib/typescript/compiler-host.d.ts +0 -64
- package/dist/lib/typescript/compiler-host.js +0 -158
- package/dist/lib/typescript/compiler-host.js.map +0 -1
- package/dist/lib/typescript/import-transformer.cjs +0 -51
- package/dist/lib/typescript/import-transformer.cjs.map +0 -1
- package/dist/lib/typescript/import-transformer.d.cts +0 -36
- package/dist/lib/typescript/import-transformer.d.ts +0 -36
- package/dist/lib/typescript/import-transformer.js +0 -49
- package/dist/lib/typescript/import-transformer.js.map +0 -1
- package/dist/lib/typescript/index.cjs +0 -60
- package/dist/lib/typescript/index.cjs.map +0 -1
- package/dist/lib/typescript/index.d.cts +0 -35
- package/dist/lib/typescript/index.d.ts +0 -35
- package/dist/lib/typescript/index.js +0 -7
- package/dist/lib/typescript/index.js.map +0 -1
- package/dist/lib/typescript/isolated-decl.cjs +0 -13
- package/dist/lib/typescript/isolated-decl.cjs.map +0 -1
- package/dist/lib/typescript/isolated-decl.d.cts +0 -11
- package/dist/lib/typescript/isolated-decl.d.ts +0 -11
- package/dist/lib/typescript/isolated-decl.js +0 -4
- package/dist/lib/typescript/isolated-decl.js.map +0 -1
- package/dist/lib/typescript/program.cjs +0 -29
- package/dist/lib/typescript/program.cjs.map +0 -1
- package/dist/lib/typescript/program.d.cts +0 -69
- package/dist/lib/typescript/program.d.ts +0 -69
- package/dist/lib/typescript/program.js +0 -4
- package/dist/lib/typescript/program.js.map +0 -1
- package/dist/lib/typescript/tsconfig.cjs +0 -33
- package/dist/lib/typescript/tsconfig.cjs.map +0 -1
- package/dist/lib/typescript/tsconfig.d.cts +0 -61
- package/dist/lib/typescript/tsconfig.d.ts +0 -61
- package/dist/lib/typescript/tsconfig.js +0 -4
- package/dist/lib/typescript/tsconfig.js.map +0 -1
- package/dist/lib/unplugin/factory.cjs +0 -23
- package/dist/lib/unplugin/factory.cjs.map +0 -1
- package/dist/lib/unplugin/factory.d.cts +0 -200
- package/dist/lib/unplugin/factory.d.ts +0 -200
- package/dist/lib/unplugin/factory.js +0 -14
- package/dist/lib/unplugin/factory.js.map +0 -1
- package/dist/lib/unplugin/index.cjs +0 -33
- package/dist/lib/unplugin/index.cjs.map +0 -1
- package/dist/lib/unplugin/index.d.cts +0 -36
- package/dist/lib/unplugin/index.d.ts +0 -36
- package/dist/lib/unplugin/index.js +0 -16
- package/dist/lib/unplugin/index.js.map +0 -1
- package/dist/lib/unplugin/plugin.cjs +0 -16
- package/dist/lib/unplugin/plugin.cjs.map +0 -1
- package/dist/lib/unplugin/plugin.d.cts +0 -55
- package/dist/lib/unplugin/plugin.d.ts +0 -55
- package/dist/lib/unplugin/plugin.js +0 -7
- package/dist/lib/unplugin/plugin.js.map +0 -1
- package/dist/lib/unplugin/resolve-id.cjs +0 -13
- package/dist/lib/unplugin/resolve-id.cjs.map +0 -1
- package/dist/lib/unplugin/resolve-id.d.cts +0 -60
- package/dist/lib/unplugin/resolve-id.d.ts +0 -60
- package/dist/lib/unplugin/resolve-id.js +0 -4
- package/dist/lib/unplugin/resolve-id.js.map +0 -1
- package/dist/lib/utilities/bundle.cjs +0 -16
- package/dist/lib/utilities/bundle.cjs.map +0 -1
- package/dist/lib/utilities/bundle.d.cts +0 -44
- package/dist/lib/utilities/bundle.d.ts +0 -44
- package/dist/lib/utilities/bundle.js +0 -7
- package/dist/lib/utilities/bundle.js.map +0 -1
- package/dist/lib/utilities/cache.cjs +0 -18
- package/dist/lib/utilities/cache.cjs.map +0 -1
- package/dist/lib/utilities/cache.d.cts +0 -7
- package/dist/lib/utilities/cache.d.ts +0 -7
- package/dist/lib/utilities/cache.js +0 -5
- package/dist/lib/utilities/cache.js.map +0 -1
- package/dist/lib/utilities/file-header.cjs +0 -17
- package/dist/lib/utilities/file-header.cjs.map +0 -1
- package/dist/lib/utilities/file-header.d.cts +0 -42
- package/dist/lib/utilities/file-header.d.ts +0 -42
- package/dist/lib/utilities/file-header.js +0 -4
- package/dist/lib/utilities/file-header.js.map +0 -1
- package/dist/lib/utilities/index.cjs +0 -159
- package/dist/lib/utilities/index.cjs.map +0 -1
- package/dist/lib/utilities/index.d.cts +0 -45
- package/dist/lib/utilities/index.d.ts +0 -45
- package/dist/lib/utilities/index.js +0 -18
- package/dist/lib/utilities/index.js.map +0 -1
- package/dist/lib/utilities/meta.cjs +0 -37
- package/dist/lib/utilities/meta.cjs.map +0 -1
- package/dist/lib/utilities/meta.d.cts +0 -68
- package/dist/lib/utilities/meta.d.ts +0 -68
- package/dist/lib/utilities/meta.js +0 -4
- package/dist/lib/utilities/meta.js.map +0 -1
- package/dist/lib/utilities/plugin-helpers.cjs +0 -61
- package/dist/lib/utilities/plugin-helpers.cjs.map +0 -1
- package/dist/lib/utilities/plugin-helpers.d.cts +0 -153
- package/dist/lib/utilities/plugin-helpers.d.ts +0 -153
- package/dist/lib/utilities/plugin-helpers.js +0 -4
- package/dist/lib/utilities/plugin-helpers.js.map +0 -1
- package/dist/lib/utilities/resolve-path.cjs +0 -13
- package/dist/lib/utilities/resolve-path.cjs.map +0 -1
- package/dist/lib/utilities/resolve-path.d.cts +0 -43
- package/dist/lib/utilities/resolve-path.d.ts +0 -43
- package/dist/lib/utilities/resolve-path.js +0 -4
- package/dist/lib/utilities/resolve-path.js.map +0 -1
- package/dist/lib/utilities/resolve.cjs +0 -17
- package/dist/lib/utilities/resolve.cjs.map +0 -1
- package/dist/lib/utilities/resolve.d.cts +0 -44
- package/dist/lib/utilities/resolve.d.ts +0 -44
- package/dist/lib/utilities/resolve.js +0 -8
- package/dist/lib/utilities/resolve.js.map +0 -1
- package/dist/lib/utilities/source-file.cjs +0 -21
- package/dist/lib/utilities/source-file.cjs.map +0 -1
- package/dist/lib/utilities/source-file.d.cts +0 -28
- package/dist/lib/utilities/source-file.d.ts +0 -28
- package/dist/lib/utilities/source-file.js +0 -4
- package/dist/lib/utilities/source-file.js.map +0 -1
- package/dist/lib/utilities/source-map.cjs +0 -13
- package/dist/lib/utilities/source-map.cjs.map +0 -1
- package/dist/lib/utilities/source-map.d.cts +0 -14
- package/dist/lib/utilities/source-map.d.ts +0 -14
- package/dist/lib/utilities/source-map.js +0 -4
- package/dist/lib/utilities/source-map.js.map +0 -1
- package/dist/lib/utilities/worker.cjs +0 -18
- package/dist/lib/utilities/worker.cjs.map +0 -1
- package/dist/lib/utilities/worker.d.cts +0 -58
- package/dist/lib/utilities/worker.d.ts +0 -58
- package/dist/lib/utilities/worker.js +0 -5
- package/dist/lib/utilities/worker.js.map +0 -1
- package/dist/lib/utilities/write-file.cjs +0 -13
- package/dist/lib/utilities/write-file.cjs.map +0 -1
- package/dist/lib/utilities/write-file.d.cts +0 -44
- package/dist/lib/utilities/write-file.d.ts +0 -44
- package/dist/lib/utilities/write-file.js +0 -4
- package/dist/lib/utilities/write-file.js.map +0 -1
- package/dist/next.js +0 -10
- package/dist/nuxt.d.ts +0 -20
- package/dist/nuxt.js +0 -12
- package/dist/resolved-DtY60yLh.d.cts +0 -1351
- package/dist/resolved-wPXZS7aW.d.ts +0 -1351
- package/dist/rolldown.d.ts +0 -57
- package/dist/rolldown.js +0 -9
- package/dist/rollup.d.ts +0 -57
- package/dist/rollup.js +0 -9
- package/dist/rspack.d.ts +0 -57
- package/dist/rspack.js +0 -9
- package/dist/tsup.js +0 -11
- package/dist/types/babel.cjs +0 -6
- package/dist/types/babel.cjs.map +0 -1
- package/dist/types/babel.d.cts +0 -38
- package/dist/types/babel.d.ts +0 -38
- package/dist/types/babel.js +0 -3
- package/dist/types/babel.js.map +0 -1
- package/dist/types/build.cjs +0 -6
- package/dist/types/build.cjs.map +0 -1
- package/dist/types/build.d.cts +0 -111
- package/dist/types/build.d.ts +0 -111
- package/dist/types/build.js +0 -3
- package/dist/types/build.js.map +0 -1
- package/dist/types/commands.cjs +0 -13
- package/dist/types/commands.cjs.map +0 -1
- package/dist/types/commands.d.cts +0 -38
- package/dist/types/commands.d.ts +0 -38
- package/dist/types/commands.js +0 -4
- package/dist/types/commands.js.map +0 -1
- package/dist/types/compiler.cjs +0 -6
- package/dist/types/compiler.cjs.map +0 -1
- package/dist/types/compiler.d.cts +0 -38
- package/dist/types/compiler.d.ts +0 -38
- package/dist/types/compiler.js +0 -3
- package/dist/types/compiler.js.map +0 -1
- package/dist/types/config.cjs +0 -6
- package/dist/types/config.cjs.map +0 -1
- package/dist/types/config.d.cts +0 -38
- package/dist/types/config.d.ts +0 -38
- package/dist/types/config.js +0 -3
- package/dist/types/config.js.map +0 -1
- package/dist/types/context.cjs +0 -13
- package/dist/types/context.cjs.map +0 -1
- package/dist/types/context.d.cts +0 -38
- package/dist/types/context.d.ts +0 -38
- package/dist/types/context.js +0 -4
- package/dist/types/context.js.map +0 -1
- package/dist/types/hooks.cjs +0 -6
- package/dist/types/hooks.cjs.map +0 -1
- package/dist/types/hooks.d.cts +0 -38
- package/dist/types/hooks.d.ts +0 -38
- package/dist/types/hooks.js +0 -3
- package/dist/types/hooks.js.map +0 -1
- package/dist/types/index.cjs +0 -58
- package/dist/types/index.cjs.map +0 -1
- package/dist/types/index.d.cts +0 -42
- package/dist/types/index.d.ts +0 -42
- package/dist/types/index.js +0 -17
- package/dist/types/index.js.map +0 -1
- package/dist/types/internal.cjs +0 -4
- package/dist/types/internal.cjs.map +0 -1
- package/dist/types/internal.d.cts +0 -61
- package/dist/types/internal.d.ts +0 -61
- package/dist/types/internal.js +0 -3
- package/dist/types/internal.js.map +0 -1
- package/dist/types/plugin.cjs +0 -13
- package/dist/types/plugin.cjs.map +0 -1
- package/dist/types/plugin.d.cts +0 -38
- package/dist/types/plugin.d.ts +0 -38
- package/dist/types/plugin.js +0 -4
- package/dist/types/plugin.js.map +0 -1
- package/dist/types/resolved.cjs +0 -6
- package/dist/types/resolved.cjs.map +0 -1
- package/dist/types/resolved.d.cts +0 -38
- package/dist/types/resolved.d.ts +0 -38
- package/dist/types/resolved.js +0 -3
- package/dist/types/resolved.js.map +0 -1
- package/dist/types/tsconfig.cjs +0 -6
- package/dist/types/tsconfig.cjs.map +0 -1
- package/dist/types/tsconfig.d.cts +0 -75
- package/dist/types/tsconfig.d.ts +0 -75
- package/dist/types/tsconfig.js +0 -3
- package/dist/types/tsconfig.js.map +0 -1
- package/dist/types/typedoc.cjs +0 -6
- package/dist/types/typedoc.cjs.map +0 -1
- package/dist/types/typedoc.d.cts +0 -25
- package/dist/types/typedoc.d.ts +0 -25
- package/dist/types/typedoc.js +0 -3
- package/dist/types/typedoc.js.map +0 -1
- package/dist/types/unplugin.cjs +0 -6
- package/dist/types/unplugin.cjs.map +0 -1
- package/dist/types/unplugin.d.cts +0 -54
- package/dist/types/unplugin.d.ts +0 -54
- package/dist/types/unplugin.js +0 -3
- package/dist/types/unplugin.js.map +0 -1
- package/dist/types/vfs.cjs +0 -33
- package/dist/types/vfs.cjs.map +0 -1
- package/dist/types/vfs.d.cts +0 -408
- package/dist/types/vfs.d.ts +0 -408
- package/dist/types/vfs.js +0 -4
- package/dist/types/vfs.js.map +0 -1
- package/dist/unloader.d.ts +0 -56
- package/dist/unloader.js +0 -9
- package/dist/unplugin.d.ts +0 -77
- package/dist/unplugin.js +0 -21
- package/dist/vite.d.ts +0 -57
- package/dist/vite.js +0 -10
- package/dist/webpack.d.ts +0 -57
- package/dist/webpack.js +0 -9
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { FilterPattern } from '@stryke/types/file';
|
|
2
|
-
import ts from 'typescript';
|
|
3
|
-
import { T as TSConfig, P as ParsedTypeScriptConfig } from '../tsconfig-Bz-CiFqD.js';
|
|
4
|
-
import '@stryke/types/tsconfig';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Get the path to the tsconfig.json file.
|
|
8
|
-
*
|
|
9
|
-
* @param workspaceRoot - The root directory of the workspace.
|
|
10
|
-
* @param projectRoot - The root directory of the project.
|
|
11
|
-
* @param tsconfig - The path to the tsconfig.json file.
|
|
12
|
-
* @returns The absolute path to the tsconfig.json file.
|
|
13
|
-
* @throws If the tsconfig.json file does not exist.
|
|
14
|
-
*/
|
|
15
|
-
declare function getTsconfigFilePath(workspaceRoot: string, projectRoot: string, tsconfig?: string): string;
|
|
16
|
-
/**
|
|
17
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
18
|
-
*
|
|
19
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
20
|
-
* @param types - An array of type names to check against.
|
|
21
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
22
|
-
*/
|
|
23
|
-
declare function findMatch(tsconfigType: string | RegExp | null, types: (string | RegExp | null)[], extensions?: string[]): string | RegExp | null | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
26
|
-
*
|
|
27
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
28
|
-
* @param types - An array of type names to check against.
|
|
29
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
30
|
-
*/
|
|
31
|
-
declare function findIncludeMatch(tsconfigType: string | RegExp | null, types: (string | RegExp | null)[]): string | RegExp | null | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
34
|
-
*
|
|
35
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
36
|
-
* @param types - An array of type names to check against.
|
|
37
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
38
|
-
*/
|
|
39
|
-
declare function isMatchFound(tsconfigType: string | RegExp | null, types: (string | RegExp | null)[]): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
42
|
-
*
|
|
43
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
44
|
-
* @param types - An array of type names to check against.
|
|
45
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
46
|
-
*/
|
|
47
|
-
declare function isIncludeMatchFound(tsconfigType: FilterPattern, types: FilterPattern[]): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Get the parsed TypeScript configuration.
|
|
50
|
-
*
|
|
51
|
-
* @param workspaceRoot - The root directory of the workspace.
|
|
52
|
-
* @param projectRoot - The root directory of the project.
|
|
53
|
-
* @param tsconfig - The path to the tsconfig.json file.
|
|
54
|
-
* @param tsconfigRaw - The raw tsconfig.json content.
|
|
55
|
-
* @param originalTsconfigJson - The original tsconfig.json content.
|
|
56
|
-
* @param host - The TypeScript parse config host.
|
|
57
|
-
* @returns The resolved TypeScript configuration.
|
|
58
|
-
*/
|
|
59
|
-
declare function getParsedTypeScriptConfig(workspaceRoot: string, projectRoot: string, tsconfig?: string, tsconfigRaw?: TSConfig, originalTsconfigJson?: TSConfig, host?: ts.ParseConfigHost): ParsedTypeScriptConfig;
|
|
60
|
-
|
|
61
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"tsconfig.js"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkLYD5OTBI_cjs = require('../chunk-LYD5OTBI.cjs');
|
|
4
|
-
require('../chunk-RQICHHZM.cjs');
|
|
5
|
-
require('../chunk-MFC7UJHT.cjs');
|
|
6
|
-
require('../chunk-BW3VFCTS.cjs');
|
|
7
|
-
require('../chunk-RK2VVGL6.cjs');
|
|
8
|
-
require('../chunk-7EAV6Q7B.cjs');
|
|
9
|
-
require('../chunk-LJZEN4HP.cjs');
|
|
10
|
-
require('../chunk-MGEZC2RV.cjs');
|
|
11
|
-
require('../chunk-632PWWU7.cjs');
|
|
12
|
-
require('../chunk-UQJWVRRE.cjs');
|
|
13
|
-
require('../chunk-BEKLDCTV.cjs');
|
|
14
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
19
|
-
enumerable: true,
|
|
20
|
-
get: function () { return chunkLYD5OTBI_cjs.createUnpluginFactory; }
|
|
21
|
-
});
|
|
22
|
-
//# sourceMappingURL=factory.cjs.map
|
|
23
|
-
//# sourceMappingURL=factory.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"factory.cjs"}
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { UnpluginOptions, UnpluginFactory } from 'unplugin';
|
|
2
|
-
import { u as BuildVariant, v as InferUnpluginVariant, w as BuildPlugin, e as PluginContext, x as InferResolvedConfig, y as UnpluginBuildVariant, z as InferUserConfig, f as ResolvedConfig, A as APIContext, D as InitialUserConfig, F as PrepareInlineConfig, N as NewInlineConfig, G as CleanInlineConfig, J as BuildInlineConfig, K as LintInlineConfig, O as DocsInlineConfig, Q as ReleaseInlineConfig, H as HookKeys, r as EnvironmentContext, I as InferHookParameters, C as Context } from '../config-Ro14HmyO.cjs';
|
|
3
|
-
import { C as CallHookOptions } from '../hooks-CM-BbMzz.cjs';
|
|
4
|
-
import '@storm-software/build-tools/types';
|
|
5
|
-
import '@storm-software/config-tools/types';
|
|
6
|
-
import '@storm-software/config/types';
|
|
7
|
-
import '@stryke/types/base';
|
|
8
|
-
import '@stryke/types/configuration';
|
|
9
|
-
import '@stryke/types/file';
|
|
10
|
-
import 'c12';
|
|
11
|
-
import 'vite';
|
|
12
|
-
import '@farmfe/core';
|
|
13
|
-
import '@rspack/core';
|
|
14
|
-
import '@storm-software/esbuild/types';
|
|
15
|
-
import '@storm-software/unbuild/types';
|
|
16
|
-
import 'esbuild';
|
|
17
|
-
import 'rolldown';
|
|
18
|
-
import 'rollup';
|
|
19
|
-
import 'webpack';
|
|
20
|
-
import '@stryke/env/get-env-paths';
|
|
21
|
-
import '@stryke/types/package-json';
|
|
22
|
-
import 'jest-worker';
|
|
23
|
-
import 'jiti';
|
|
24
|
-
import 'oxc-parser';
|
|
25
|
-
import 'semver';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.cjs';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'memfs';
|
|
32
|
-
import 'node:fs';
|
|
33
|
-
import 'unionfs';
|
|
34
|
-
|
|
35
|
-
type InferUnpluginOptions<TBuildVariant extends BuildVariant> = UnpluginOptions & {
|
|
36
|
-
[TKey in InferUnpluginVariant<TBuildVariant>]: BuildPlugin<PluginContext<InferResolvedConfig<TBuildVariant>>, TKey>;
|
|
37
|
-
};
|
|
38
|
-
type StormStackUnpluginFactory<TBuildVariant extends UnpluginBuildVariant> = UnpluginFactory<Partial<InferUserConfig<TBuildVariant>>, false>;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* The Powerlines API class
|
|
42
|
-
*
|
|
43
|
-
* @remarks
|
|
44
|
-
* This class is responsible for managing the Powerlines project lifecycle, including initialization, building, and finalization.
|
|
45
|
-
*
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements AsyncDisposable {
|
|
49
|
-
#private;
|
|
50
|
-
/**
|
|
51
|
-
* The Powerlines context
|
|
52
|
-
*/
|
|
53
|
-
get context(): APIContext<TResolvedConfig>;
|
|
54
|
-
/**
|
|
55
|
-
* Create a new Powerlines API instance
|
|
56
|
-
*
|
|
57
|
-
* @param context - The Powerlines context
|
|
58
|
-
*/
|
|
59
|
-
private constructor();
|
|
60
|
-
/**
|
|
61
|
-
* Initialize the Powerlines API
|
|
62
|
-
*/
|
|
63
|
-
static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
|
|
64
|
-
/**
|
|
65
|
-
* Prepare the Powerlines API
|
|
66
|
-
*/
|
|
67
|
-
prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | ReleaseInlineConfig): Promise<void>;
|
|
68
|
-
/**
|
|
69
|
-
* Create a new Powerlines project
|
|
70
|
-
*
|
|
71
|
-
* @remarks
|
|
72
|
-
* This method will create a new Powerlines project in the current directory.
|
|
73
|
-
*
|
|
74
|
-
* @param inlineConfig - The inline configuration for the new command
|
|
75
|
-
* @returns A promise that resolves when the project has been created
|
|
76
|
-
*/
|
|
77
|
-
new(inlineConfig: NewInlineConfig): Promise<void>;
|
|
78
|
-
/**
|
|
79
|
-
* Clean any previously prepared artifacts
|
|
80
|
-
*
|
|
81
|
-
* @remarks
|
|
82
|
-
* This method will remove the previous Powerlines artifacts from the project.
|
|
83
|
-
*
|
|
84
|
-
* @param inlineConfig - The inline configuration for the clean command
|
|
85
|
-
* @returns A promise that resolves when the clean command has completed
|
|
86
|
-
*/
|
|
87
|
-
clean(inlineConfig?: CleanInlineConfig | PrepareInlineConfig): Promise<void>;
|
|
88
|
-
/**
|
|
89
|
-
* Lint the project
|
|
90
|
-
*
|
|
91
|
-
* @param inlineConfig - The inline configuration for the lint command
|
|
92
|
-
* @returns A promise that resolves when the lint command has completed
|
|
93
|
-
*/
|
|
94
|
-
lint(inlineConfig?: LintInlineConfig | BuildInlineConfig): Promise<void>;
|
|
95
|
-
/**
|
|
96
|
-
* Build the project
|
|
97
|
-
*
|
|
98
|
-
* @remarks
|
|
99
|
-
* This method will build the Powerlines project, generating the necessary artifacts.
|
|
100
|
-
*
|
|
101
|
-
* @param inlineConfig - The inline configuration for the build command
|
|
102
|
-
* @returns A promise that resolves when the build command has completed
|
|
103
|
-
*/
|
|
104
|
-
build(inlineConfig?: BuildInlineConfig): Promise<void>;
|
|
105
|
-
/**
|
|
106
|
-
* Prepare the documentation for the project
|
|
107
|
-
*
|
|
108
|
-
* @param inlineConfig - The inline configuration for the docs command
|
|
109
|
-
* @returns A promise that resolves when the documentation generation has completed
|
|
110
|
-
*/
|
|
111
|
-
docs(inlineConfig?: DocsInlineConfig): Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* Release the project
|
|
114
|
-
*
|
|
115
|
-
* @remarks
|
|
116
|
-
* This method will prepare and build the Powerlines project, generating the necessary artifacts for release.
|
|
117
|
-
*
|
|
118
|
-
* @param inlineConfig - The inline configuration for the release command
|
|
119
|
-
*/
|
|
120
|
-
release(inlineConfig?: ReleaseInlineConfig): Promise<void>;
|
|
121
|
-
/**
|
|
122
|
-
* Finalization process
|
|
123
|
-
*
|
|
124
|
-
* @remarks
|
|
125
|
-
* This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
|
|
126
|
-
*
|
|
127
|
-
* @returns A promise that resolves when the finalization process has completed
|
|
128
|
-
*/
|
|
129
|
-
finalize(): Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Calls a hook in parallel
|
|
132
|
-
*
|
|
133
|
-
* @param hook - The hook to call
|
|
134
|
-
* @param options - Options for calling the hook
|
|
135
|
-
* @param args - The arguments to pass to the hook
|
|
136
|
-
* @returns The result of the hook call
|
|
137
|
-
*/
|
|
138
|
-
callHookParallel<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
139
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
140
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
141
|
-
/**
|
|
142
|
-
* Calls a hook in sequence
|
|
143
|
-
*
|
|
144
|
-
* @param hook - The hook to call
|
|
145
|
-
* @param options - Options for calling the hook
|
|
146
|
-
* @param args - The arguments to pass to the hook
|
|
147
|
-
* @returns The result of the hook call
|
|
148
|
-
*/
|
|
149
|
-
callHookSequential<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
150
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
151
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
152
|
-
/**
|
|
153
|
-
* Calls the `"pre"` ordered hooks in sequence
|
|
154
|
-
*
|
|
155
|
-
* @param environment - The environment to use for the hook call
|
|
156
|
-
* @param hook - The hook to call
|
|
157
|
-
* @param args - The arguments to pass to the hook
|
|
158
|
-
* @returns The result of the hook call
|
|
159
|
-
*/
|
|
160
|
-
callPreHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
161
|
-
/**
|
|
162
|
-
* Calls the `"post"` ordered hooks in sequence
|
|
163
|
-
*
|
|
164
|
-
* @param environment - The environment to use for the hook call
|
|
165
|
-
* @param hook - The hook to call
|
|
166
|
-
* @param args - The arguments to pass to the hook
|
|
167
|
-
* @returns The result of the hook call
|
|
168
|
-
*/
|
|
169
|
-
callPostHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
170
|
-
/**
|
|
171
|
-
* Calls a hook in sequence
|
|
172
|
-
*
|
|
173
|
-
* @param environment - The environment to use for the hook call
|
|
174
|
-
* @param hook - The hook to call
|
|
175
|
-
* @param args - The arguments to pass to the hook
|
|
176
|
-
* @returns The result of the hook call
|
|
177
|
-
*/
|
|
178
|
-
callNormalHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
179
|
-
/**
|
|
180
|
-
* Calls the `"pre"` and `"post"` ordered hooks, as well as the normal hooks in sequence
|
|
181
|
-
*
|
|
182
|
-
* @param environment - The environment to use for the hook call
|
|
183
|
-
* @param hook - The hook to call
|
|
184
|
-
* @param args - The arguments to pass to the hook
|
|
185
|
-
* @returns The result of the hook call
|
|
186
|
-
*/
|
|
187
|
-
callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
188
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Creates a Powerlines unplugin factory that generates a plugin instance.
|
|
193
|
-
*
|
|
194
|
-
* @param variant - The build variant for which to create the unplugin.
|
|
195
|
-
* @param decorate - An optional function to decorate the unplugin options.
|
|
196
|
-
* @returns The unplugin factory that generates a plugin instance.
|
|
197
|
-
*/
|
|
198
|
-
declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<UnpluginOptions, UnpluginBuildVariant>) => InferUnpluginOptions<TBuildVariant>): StormStackUnpluginFactory<TBuildVariant>;
|
|
199
|
-
|
|
200
|
-
export { createUnpluginFactory };
|
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { UnpluginOptions, UnpluginFactory } from 'unplugin';
|
|
2
|
-
import { u as BuildVariant, v as InferUnpluginVariant, w as BuildPlugin, e as PluginContext, x as InferResolvedConfig, y as UnpluginBuildVariant, z as InferUserConfig, f as ResolvedConfig, A as APIContext, D as InitialUserConfig, F as PrepareInlineConfig, N as NewInlineConfig, G as CleanInlineConfig, J as BuildInlineConfig, K as LintInlineConfig, O as DocsInlineConfig, Q as ReleaseInlineConfig, H as HookKeys, r as EnvironmentContext, I as InferHookParameters, C as Context } from '../config-DnifzkPt.js';
|
|
3
|
-
import { C as CallHookOptions } from '../hooks-B6Ow5MtE.js';
|
|
4
|
-
import '@storm-software/build-tools/types';
|
|
5
|
-
import '@storm-software/config-tools/types';
|
|
6
|
-
import '@storm-software/config/types';
|
|
7
|
-
import '@stryke/types/base';
|
|
8
|
-
import '@stryke/types/configuration';
|
|
9
|
-
import '@stryke/types/file';
|
|
10
|
-
import 'c12';
|
|
11
|
-
import 'vite';
|
|
12
|
-
import '@farmfe/core';
|
|
13
|
-
import '@rspack/core';
|
|
14
|
-
import '@storm-software/esbuild/types';
|
|
15
|
-
import '@storm-software/unbuild/types';
|
|
16
|
-
import 'esbuild';
|
|
17
|
-
import 'rolldown';
|
|
18
|
-
import 'rollup';
|
|
19
|
-
import 'webpack';
|
|
20
|
-
import '@stryke/env/get-env-paths';
|
|
21
|
-
import '@stryke/types/package-json';
|
|
22
|
-
import 'jest-worker';
|
|
23
|
-
import 'jiti';
|
|
24
|
-
import 'oxc-parser';
|
|
25
|
-
import 'semver';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.js';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import 'typescript';
|
|
30
|
-
import '@stryke/json/types';
|
|
31
|
-
import 'memfs';
|
|
32
|
-
import 'node:fs';
|
|
33
|
-
import 'unionfs';
|
|
34
|
-
|
|
35
|
-
type InferUnpluginOptions<TBuildVariant extends BuildVariant> = UnpluginOptions & {
|
|
36
|
-
[TKey in InferUnpluginVariant<TBuildVariant>]: BuildPlugin<PluginContext<InferResolvedConfig<TBuildVariant>>, TKey>;
|
|
37
|
-
};
|
|
38
|
-
type StormStackUnpluginFactory<TBuildVariant extends UnpluginBuildVariant> = UnpluginFactory<Partial<InferUserConfig<TBuildVariant>>, false>;
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* The Powerlines API class
|
|
42
|
-
*
|
|
43
|
-
* @remarks
|
|
44
|
-
* This class is responsible for managing the Powerlines project lifecycle, including initialization, building, and finalization.
|
|
45
|
-
*
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements AsyncDisposable {
|
|
49
|
-
#private;
|
|
50
|
-
/**
|
|
51
|
-
* The Powerlines context
|
|
52
|
-
*/
|
|
53
|
-
get context(): APIContext<TResolvedConfig>;
|
|
54
|
-
/**
|
|
55
|
-
* Create a new Powerlines API instance
|
|
56
|
-
*
|
|
57
|
-
* @param context - The Powerlines context
|
|
58
|
-
*/
|
|
59
|
-
private constructor();
|
|
60
|
-
/**
|
|
61
|
-
* Initialize the Powerlines API
|
|
62
|
-
*/
|
|
63
|
-
static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
|
|
64
|
-
/**
|
|
65
|
-
* Prepare the Powerlines API
|
|
66
|
-
*/
|
|
67
|
-
prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | ReleaseInlineConfig): Promise<void>;
|
|
68
|
-
/**
|
|
69
|
-
* Create a new Powerlines project
|
|
70
|
-
*
|
|
71
|
-
* @remarks
|
|
72
|
-
* This method will create a new Powerlines project in the current directory.
|
|
73
|
-
*
|
|
74
|
-
* @param inlineConfig - The inline configuration for the new command
|
|
75
|
-
* @returns A promise that resolves when the project has been created
|
|
76
|
-
*/
|
|
77
|
-
new(inlineConfig: NewInlineConfig): Promise<void>;
|
|
78
|
-
/**
|
|
79
|
-
* Clean any previously prepared artifacts
|
|
80
|
-
*
|
|
81
|
-
* @remarks
|
|
82
|
-
* This method will remove the previous Powerlines artifacts from the project.
|
|
83
|
-
*
|
|
84
|
-
* @param inlineConfig - The inline configuration for the clean command
|
|
85
|
-
* @returns A promise that resolves when the clean command has completed
|
|
86
|
-
*/
|
|
87
|
-
clean(inlineConfig?: CleanInlineConfig | PrepareInlineConfig): Promise<void>;
|
|
88
|
-
/**
|
|
89
|
-
* Lint the project
|
|
90
|
-
*
|
|
91
|
-
* @param inlineConfig - The inline configuration for the lint command
|
|
92
|
-
* @returns A promise that resolves when the lint command has completed
|
|
93
|
-
*/
|
|
94
|
-
lint(inlineConfig?: LintInlineConfig | BuildInlineConfig): Promise<void>;
|
|
95
|
-
/**
|
|
96
|
-
* Build the project
|
|
97
|
-
*
|
|
98
|
-
* @remarks
|
|
99
|
-
* This method will build the Powerlines project, generating the necessary artifacts.
|
|
100
|
-
*
|
|
101
|
-
* @param inlineConfig - The inline configuration for the build command
|
|
102
|
-
* @returns A promise that resolves when the build command has completed
|
|
103
|
-
*/
|
|
104
|
-
build(inlineConfig?: BuildInlineConfig): Promise<void>;
|
|
105
|
-
/**
|
|
106
|
-
* Prepare the documentation for the project
|
|
107
|
-
*
|
|
108
|
-
* @param inlineConfig - The inline configuration for the docs command
|
|
109
|
-
* @returns A promise that resolves when the documentation generation has completed
|
|
110
|
-
*/
|
|
111
|
-
docs(inlineConfig?: DocsInlineConfig): Promise<void>;
|
|
112
|
-
/**
|
|
113
|
-
* Release the project
|
|
114
|
-
*
|
|
115
|
-
* @remarks
|
|
116
|
-
* This method will prepare and build the Powerlines project, generating the necessary artifacts for release.
|
|
117
|
-
*
|
|
118
|
-
* @param inlineConfig - The inline configuration for the release command
|
|
119
|
-
*/
|
|
120
|
-
release(inlineConfig?: ReleaseInlineConfig): Promise<void>;
|
|
121
|
-
/**
|
|
122
|
-
* Finalization process
|
|
123
|
-
*
|
|
124
|
-
* @remarks
|
|
125
|
-
* This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
|
|
126
|
-
*
|
|
127
|
-
* @returns A promise that resolves when the finalization process has completed
|
|
128
|
-
*/
|
|
129
|
-
finalize(): Promise<void>;
|
|
130
|
-
/**
|
|
131
|
-
* Calls a hook in parallel
|
|
132
|
-
*
|
|
133
|
-
* @param hook - The hook to call
|
|
134
|
-
* @param options - Options for calling the hook
|
|
135
|
-
* @param args - The arguments to pass to the hook
|
|
136
|
-
* @returns The result of the hook call
|
|
137
|
-
*/
|
|
138
|
-
callHookParallel<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
139
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
140
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
141
|
-
/**
|
|
142
|
-
* Calls a hook in sequence
|
|
143
|
-
*
|
|
144
|
-
* @param hook - The hook to call
|
|
145
|
-
* @param options - Options for calling the hook
|
|
146
|
-
* @param args - The arguments to pass to the hook
|
|
147
|
-
* @returns The result of the hook call
|
|
148
|
-
*/
|
|
149
|
-
callHookSequential<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
150
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
151
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
152
|
-
/**
|
|
153
|
-
* Calls the `"pre"` ordered hooks in sequence
|
|
154
|
-
*
|
|
155
|
-
* @param environment - The environment to use for the hook call
|
|
156
|
-
* @param hook - The hook to call
|
|
157
|
-
* @param args - The arguments to pass to the hook
|
|
158
|
-
* @returns The result of the hook call
|
|
159
|
-
*/
|
|
160
|
-
callPreHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
161
|
-
/**
|
|
162
|
-
* Calls the `"post"` ordered hooks in sequence
|
|
163
|
-
*
|
|
164
|
-
* @param environment - The environment to use for the hook call
|
|
165
|
-
* @param hook - The hook to call
|
|
166
|
-
* @param args - The arguments to pass to the hook
|
|
167
|
-
* @returns The result of the hook call
|
|
168
|
-
*/
|
|
169
|
-
callPostHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
170
|
-
/**
|
|
171
|
-
* Calls a hook in sequence
|
|
172
|
-
*
|
|
173
|
-
* @param environment - The environment to use for the hook call
|
|
174
|
-
* @param hook - The hook to call
|
|
175
|
-
* @param args - The arguments to pass to the hook
|
|
176
|
-
* @returns The result of the hook call
|
|
177
|
-
*/
|
|
178
|
-
callNormalHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
179
|
-
/**
|
|
180
|
-
* Calls the `"pre"` and `"post"` ordered hooks, as well as the normal hooks in sequence
|
|
181
|
-
*
|
|
182
|
-
* @param environment - The environment to use for the hook call
|
|
183
|
-
* @param hook - The hook to call
|
|
184
|
-
* @param args - The arguments to pass to the hook
|
|
185
|
-
* @returns The result of the hook call
|
|
186
|
-
*/
|
|
187
|
-
callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
188
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* Creates a Powerlines unplugin factory that generates a plugin instance.
|
|
193
|
-
*
|
|
194
|
-
* @param variant - The build variant for which to create the unplugin.
|
|
195
|
-
* @param decorate - An optional function to decorate the unplugin options.
|
|
196
|
-
* @returns The unplugin factory that generates a plugin instance.
|
|
197
|
-
*/
|
|
198
|
-
declare function createUnpluginFactory<TBuildVariant extends UnpluginBuildVariant, TContext extends Context<InferResolvedConfig<TBuildVariant>> = Context<InferResolvedConfig<TBuildVariant>>>(variant: TBuildVariant, decorate?: (api: PowerlinesAPI<TContext["config"]>, plugin: Omit<UnpluginOptions, UnpluginBuildVariant>) => InferUnpluginOptions<TBuildVariant>): StormStackUnpluginFactory<TBuildVariant>;
|
|
199
|
-
|
|
200
|
-
export { createUnpluginFactory };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export { createUnpluginFactory } from '../chunk-6BRTJXZ2.js';
|
|
2
|
-
import '../chunk-HQ6TGY34.js';
|
|
3
|
-
import '../chunk-7R23HVGQ.js';
|
|
4
|
-
import '../chunk-KOCDKJDJ.js';
|
|
5
|
-
import '../chunk-UGRFAVAJ.js';
|
|
6
|
-
import '../chunk-YBIWVB66.js';
|
|
7
|
-
import '../chunk-OO4BIM7N.js';
|
|
8
|
-
import '../chunk-56LQSSQ3.js';
|
|
9
|
-
import '../chunk-35EO5Y7R.js';
|
|
10
|
-
import '../chunk-PXSRMP4E.js';
|
|
11
|
-
import '../chunk-STAKGAWR.js';
|
|
12
|
-
import '../chunk-7QVYU63E.js';
|
|
13
|
-
//# sourceMappingURL=factory.js.map
|
|
14
|
-
//# sourceMappingURL=factory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"factory.js"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../chunk-3GMJQ5G3.cjs');
|
|
4
|
-
var chunkLYD5OTBI_cjs = require('../chunk-LYD5OTBI.cjs');
|
|
5
|
-
require('../chunk-RQICHHZM.cjs');
|
|
6
|
-
require('../chunk-MFC7UJHT.cjs');
|
|
7
|
-
require('../chunk-BW3VFCTS.cjs');
|
|
8
|
-
require('../chunk-RK2VVGL6.cjs');
|
|
9
|
-
var chunkZP7PDTVE_cjs = require('../chunk-ZP7PDTVE.cjs');
|
|
10
|
-
var chunk7EAV6Q7B_cjs = require('../chunk-7EAV6Q7B.cjs');
|
|
11
|
-
require('../chunk-LJZEN4HP.cjs');
|
|
12
|
-
require('../chunk-MGEZC2RV.cjs');
|
|
13
|
-
require('../chunk-632PWWU7.cjs');
|
|
14
|
-
require('../chunk-UQJWVRRE.cjs');
|
|
15
|
-
require('../chunk-BEKLDCTV.cjs');
|
|
16
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Object.defineProperty(exports, "createUnpluginFactory", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkLYD5OTBI_cjs.createUnpluginFactory; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "createUnplugin", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunkZP7PDTVE_cjs.createUnplugin; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "handleResolveId", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunk7EAV6Q7B_cjs.handleResolveId; }
|
|
31
|
-
});
|
|
32
|
-
//# sourceMappingURL=index.cjs.map
|
|
33
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export { createUnpluginFactory } from './factory.cjs';
|
|
2
|
-
export { CreateUnpluginOptions, __ΩCreateUnpluginOptions, createUnplugin } from './plugin.cjs';
|
|
3
|
-
export { ResolveIdArgs, ResolveIdOptions, __ΩResolveIdArgs, __ΩResolveIdOptions, handleResolveId } from './resolve-id.cjs';
|
|
4
|
-
import 'unplugin';
|
|
5
|
-
import '../config-Ro14HmyO.cjs';
|
|
6
|
-
import '@storm-software/build-tools/types';
|
|
7
|
-
import '@storm-software/config-tools/types';
|
|
8
|
-
import '@storm-software/config/types';
|
|
9
|
-
import '@stryke/types/base';
|
|
10
|
-
import '@stryke/types/configuration';
|
|
11
|
-
import '@stryke/types/file';
|
|
12
|
-
import 'c12';
|
|
13
|
-
import 'vite';
|
|
14
|
-
import '@farmfe/core';
|
|
15
|
-
import '@rspack/core';
|
|
16
|
-
import '@storm-software/esbuild/types';
|
|
17
|
-
import '@storm-software/unbuild/types';
|
|
18
|
-
import 'esbuild';
|
|
19
|
-
import 'rolldown';
|
|
20
|
-
import 'rollup';
|
|
21
|
-
import 'webpack';
|
|
22
|
-
import '@stryke/env/get-env-paths';
|
|
23
|
-
import '@stryke/types/package-json';
|
|
24
|
-
import 'jest-worker';
|
|
25
|
-
import 'jiti';
|
|
26
|
-
import 'oxc-parser';
|
|
27
|
-
import 'semver';
|
|
28
|
-
import '@stryke/types/array';
|
|
29
|
-
import '../tsconfig-Bz-CiFqD.cjs';
|
|
30
|
-
import '@stryke/types/tsconfig';
|
|
31
|
-
import 'typescript';
|
|
32
|
-
import '@stryke/json/types';
|
|
33
|
-
import 'memfs';
|
|
34
|
-
import 'node:fs';
|
|
35
|
-
import 'unionfs';
|
|
36
|
-
import '../hooks-CM-BbMzz.cjs';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export { createUnpluginFactory } from './factory.js';
|
|
2
|
-
export { CreateUnpluginOptions, __ΩCreateUnpluginOptions, createUnplugin } from './plugin.js';
|
|
3
|
-
export { ResolveIdArgs, ResolveIdOptions, __ΩResolveIdArgs, __ΩResolveIdOptions, handleResolveId } from './resolve-id.js';
|
|
4
|
-
import 'unplugin';
|
|
5
|
-
import '../config-DnifzkPt.js';
|
|
6
|
-
import '@storm-software/build-tools/types';
|
|
7
|
-
import '@storm-software/config-tools/types';
|
|
8
|
-
import '@storm-software/config/types';
|
|
9
|
-
import '@stryke/types/base';
|
|
10
|
-
import '@stryke/types/configuration';
|
|
11
|
-
import '@stryke/types/file';
|
|
12
|
-
import 'c12';
|
|
13
|
-
import 'vite';
|
|
14
|
-
import '@farmfe/core';
|
|
15
|
-
import '@rspack/core';
|
|
16
|
-
import '@storm-software/esbuild/types';
|
|
17
|
-
import '@storm-software/unbuild/types';
|
|
18
|
-
import 'esbuild';
|
|
19
|
-
import 'rolldown';
|
|
20
|
-
import 'rollup';
|
|
21
|
-
import 'webpack';
|
|
22
|
-
import '@stryke/env/get-env-paths';
|
|
23
|
-
import '@stryke/types/package-json';
|
|
24
|
-
import 'jest-worker';
|
|
25
|
-
import 'jiti';
|
|
26
|
-
import 'oxc-parser';
|
|
27
|
-
import 'semver';
|
|
28
|
-
import '@stryke/types/array';
|
|
29
|
-
import '../tsconfig-Bz-CiFqD.js';
|
|
30
|
-
import '@stryke/types/tsconfig';
|
|
31
|
-
import 'typescript';
|
|
32
|
-
import '@stryke/json/types';
|
|
33
|
-
import 'memfs';
|
|
34
|
-
import 'node:fs';
|
|
35
|
-
import 'unionfs';
|
|
36
|
-
import '../hooks-B6Ow5MtE.js';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import '../chunk-4BPHC6QQ.js';
|
|
2
|
-
export { createUnpluginFactory } from '../chunk-6BRTJXZ2.js';
|
|
3
|
-
import '../chunk-HQ6TGY34.js';
|
|
4
|
-
import '../chunk-7R23HVGQ.js';
|
|
5
|
-
import '../chunk-KOCDKJDJ.js';
|
|
6
|
-
import '../chunk-UGRFAVAJ.js';
|
|
7
|
-
export { createUnplugin } from '../chunk-Q3KJZ3B5.js';
|
|
8
|
-
export { handleResolveId } from '../chunk-YBIWVB66.js';
|
|
9
|
-
import '../chunk-OO4BIM7N.js';
|
|
10
|
-
import '../chunk-56LQSSQ3.js';
|
|
11
|
-
import '../chunk-35EO5Y7R.js';
|
|
12
|
-
import '../chunk-PXSRMP4E.js';
|
|
13
|
-
import '../chunk-STAKGAWR.js';
|
|
14
|
-
import '../chunk-7QVYU63E.js';
|
|
15
|
-
//# sourceMappingURL=index.js.map
|
|
16
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkZP7PDTVE_cjs = require('../chunk-ZP7PDTVE.cjs');
|
|
4
|
-
require('../chunk-7EAV6Q7B.cjs');
|
|
5
|
-
require('../chunk-632PWWU7.cjs');
|
|
6
|
-
require('../chunk-UQJWVRRE.cjs');
|
|
7
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, "createUnplugin", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkZP7PDTVE_cjs.createUnplugin; }
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=plugin.cjs.map
|
|
16
|
-
//# sourceMappingURL=plugin.cjs.map
|