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
package/dist/farm.d.ts
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as _farmfe_core from '@farmfe/core';
|
|
2
|
-
import { a8 as FarmUserConfig } from './resolved-wPXZS7aW.js';
|
|
3
|
-
import '@stryke/types/base';
|
|
4
|
-
import '@stryke/types/configuration';
|
|
5
|
-
import '@stryke/types/file';
|
|
6
|
-
import 'vite';
|
|
7
|
-
import './types/build.js';
|
|
8
|
-
import '@rspack/core';
|
|
9
|
-
import '@storm-software/esbuild/types';
|
|
10
|
-
import '@storm-software/unbuild/types';
|
|
11
|
-
import 'esbuild';
|
|
12
|
-
import 'rolldown';
|
|
13
|
-
import 'rollup';
|
|
14
|
-
import 'webpack';
|
|
15
|
-
import '@babel/core';
|
|
16
|
-
import '@storm-software/build-tools/types';
|
|
17
|
-
import '@storm-software/config-tools/types';
|
|
18
|
-
import '@storm-software/config/types';
|
|
19
|
-
import 'c12';
|
|
20
|
-
import '@babel/helper-plugin-utils';
|
|
21
|
-
import '@stryke/env/get-env-paths';
|
|
22
|
-
import '@stryke/types/package-json';
|
|
23
|
-
import 'jest-worker';
|
|
24
|
-
import 'jiti';
|
|
25
|
-
import 'memfs';
|
|
26
|
-
import 'oxc-parser';
|
|
27
|
-
import 'semver';
|
|
28
|
-
import 'unimport';
|
|
29
|
-
import 'unplugin';
|
|
30
|
-
import 'magic-string';
|
|
31
|
-
import './types/tsconfig.js';
|
|
32
|
-
import '@stryke/types/tsconfig';
|
|
33
|
-
import 'typescript';
|
|
34
|
-
import '@stryke/types/array';
|
|
35
|
-
import './types/vfs.js';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
|
-
import 'unionfs';
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* A Farm plugin that will invoke the Powerlines API hooks during the build process.
|
|
42
|
-
*
|
|
43
|
-
* @see https://farmjs.dev/plugins/writing-plugins
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* ```js
|
|
47
|
-
* // farm.config.js
|
|
48
|
-
* import powerlines from 'powerlines/farm'
|
|
49
|
-
*
|
|
50
|
-
* export default {
|
|
51
|
-
* plugins: [powerlines({ ...options })],
|
|
52
|
-
* }
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
declare const farm: (options: Partial<FarmUserConfig>) => _farmfe_core.JsPlugin;
|
|
56
|
-
|
|
57
|
-
export { farm as "module.exports", farm as default, farm };
|
package/dist/farm.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-V7LXFIGK.js';
|
|
2
|
-
import './chunk-P4BOYWXT.js';
|
|
3
|
-
import './chunk-EBMELFCF.js';
|
|
4
|
-
import './chunk-4HGQJ4KR.js';
|
|
5
|
-
import './chunk-LO77RPRV.js';
|
|
6
|
-
import './chunk-7QVYU63E.js';
|
|
7
|
-
import { createFarmPlugin } from 'unplugin';
|
|
8
|
-
|
|
9
|
-
var farm = createFarmPlugin(createUnpluginFactory("farm"));
|
|
10
|
-
var farm_default = farm;
|
|
11
|
-
|
|
12
|
-
export { farm_default as default, farm, farm as "module.exports" };
|
|
13
|
-
//# sourceMappingURL=farm.js.map
|
|
14
|
-
//# sourceMappingURL=farm.js.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { b8 as SelectHooksOptions } from './resolved-DtY60yLh.cjs';
|
|
2
|
-
|
|
3
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
4
|
-
/**
|
|
5
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
6
|
-
*
|
|
7
|
-
* @defaultValue true
|
|
8
|
-
*/
|
|
9
|
-
sequential?: true;
|
|
10
|
-
/**
|
|
11
|
-
* How to handle multiple return values from hooks.
|
|
12
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
13
|
-
* - "first": Return the first non-undefined value.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Merging only works if the return values are objects.
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue "merge"
|
|
19
|
-
*/
|
|
20
|
-
result?: "merge" | "first";
|
|
21
|
-
} | {
|
|
22
|
-
/**
|
|
23
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
24
|
-
*/
|
|
25
|
-
sequential: false;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type { CallHookOptions as C };
|
package/dist/hooks-q1Az_C64.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { b8 as SelectHooksOptions } from './resolved-wPXZS7aW.js';
|
|
2
|
-
|
|
3
|
-
type CallHookOptions = SelectHooksOptions & ({
|
|
4
|
-
/**
|
|
5
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
6
|
-
*
|
|
7
|
-
* @defaultValue true
|
|
8
|
-
*/
|
|
9
|
-
sequential?: true;
|
|
10
|
-
/**
|
|
11
|
-
* How to handle multiple return values from hooks.
|
|
12
|
-
* - "merge": Merge all non-undefined return values (if they are objects).
|
|
13
|
-
* - "first": Return the first non-undefined value.
|
|
14
|
-
*
|
|
15
|
-
* @remarks
|
|
16
|
-
* Merging only works if the return values are objects.
|
|
17
|
-
*
|
|
18
|
-
* @defaultValue "merge"
|
|
19
|
-
*/
|
|
20
|
-
result?: "merge" | "first";
|
|
21
|
-
} | {
|
|
22
|
-
/**
|
|
23
|
-
* Whether to call the hooks sequentially or in parallel.
|
|
24
|
-
*/
|
|
25
|
-
sequential: false;
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
export type { CallHookOptions as C };
|
package/dist/index.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { PowerlinesAPI } from './internal/api.js';
|
|
2
|
-
export { default as plugins } from './unplugin.js';
|
|
3
|
-
export { defineConfig } from './define-config.js';
|
|
4
|
-
export { extendPlugin } from './extend-plugin.js';
|
|
5
|
-
export { bb as APIContext, am as AnyUserConfig, B as BabelPluginPass, cj as BabelResolvedConfig, d as BabelTransformInput, b as BabelTransformPlugin, f as BabelTransformPluginBuilder, e as BabelTransformPluginBuilderParams, a as BabelTransformPluginFilter, c as BabelTransformPluginOptions, U as BabelUserConfig, X as BaseConfig, bw as BaseHookKeys, bv as BaseHooks, bC as BaseHooksList, bB as BaseHooksListItem, bZ as BasePluginHookFunctions, ah as BuildInlineConfig, b_ as BuildPlugin, bf as BuildPluginContext, af as CleanInlineConfig, C as CommandType, u as Commands, Z as CommonUserConfig, A as CompilerInterface, z as CompilerOptions, x as CompilerResult, al as ConfigEnv, ba as Context, g as DeclareBabelTransformPluginReturn, D as DefaultImportDefinition, aj as DocsInlineConfig, cr as ESBuildResolvedConfig, a5 as ESBuildUserConfig, Y as EnvironmentConfig, bd as EnvironmentContext, bc as EnvironmentContextPlugin, ck as EnvironmentResolvedConfig, by as ExternalHookKeys, bx as ExternalHooks, bD as ExternalHooksListItem, c0 as ExternalPluginHookFunctions, b$ as ExternalPluginHookFunctionsVariant, cw as FarmResolvedConfig, a8 as FarmUserConfig, bA as HookKeys, bz as Hooks, bE as HooksList, I as ImportDefinition, h as ImportSpecifier, bF as InferHookHandler, bH as InferHookParameters, bG as InferHookReturnType, bI as InferHookThisType, cx as InferResolvedConfig, a9 as InferUserConfig, b9 as InitContextOptions, aa as InitialUserConfig, ad as InlineConfig, ai as LintInlineConfig, L as LogFn, b3 as LogLevel, b5 as MetaInfo, N as NamedImportDefinition, ae as NewInlineConfig, V as OutputConfig, cm as OutputResolvedConfig, c5 as PLUGIN_NON_HOOK_FIELDS, ab as ParsedUserConfig, c4 as Plugin, c3 as PluginBuildPlugins, O as PluginConfig, M as PluginConfigObject, K as PluginConfigTuple, be as PluginContext, P as PluginFactory, bY as PluginHook, c1 as PluginHookFunctions, bX as PluginHookObject, c2 as PluginHooks, c6 as PluginNonHookFields, ac as PowerlinesCommand, ag as PrepareInlineConfig, Q as ProjectType, ak as ReleaseInlineConfig, cl as ResolvedAssetGlob, R as ResolvedBabelTransformPluginOptions, cn as ResolvedConfig, ci as ResolvedEntryTypeDefinition, b6 as Resolver, ct as RolldownResolvedConfig, a3 as RolldownUserConfig, cs as RollupResolvedConfig, a2 as RollupUserConfig, cq as RspackResolvedConfig, a1 as RspackUserConfig, S as SUPPORTED_COMMANDS, b8 as SelectHooksOptions, bg as SerializedVirtualFileSystem, y as SourceFile, T as TranspilerOptions, cu as TsupResolvedConfig, a7 as TsupUserConfig, cv as UnbuildResolvedConfig, a6 as UnbuildUserConfig, b7 as UnimportContext, $ as UserConfig, aq as UserConfigExport, ap as UserConfigFn, an as UserConfigFnObject, ao as UserConfigFnPromise, co as ViteResolvedConfig, a4 as ViteUserConfig, cp as WebpackResolvedConfig, a0 as WebpackUserConfig, b4 as WorkerProcess, W as WorkspaceConfig, bp as __ΩAPIContext, a_ as __ΩAnyUserConfig, k as __ΩBabelPluginPass, cz as __ΩBabelResolvedConfig, p as __ΩBabelTransformInput, m as __ΩBabelTransformPlugin, r as __ΩBabelTransformPluginBuilder, q as __ΩBabelTransformPluginBuilderParams, l as __ΩBabelTransformPluginFilter, n as __ΩBabelTransformPluginOptions, ay as __ΩBabelUserConfig, aA as __ΩBaseConfig, bK as __ΩBaseHookKeys, bJ as __ΩBaseHooks, bQ as __ΩBaseHooksList, bP as __ΩBaseHooksListItem, c9 as __ΩBasePluginHookFunctions, aV as __ΩBuildInlineConfig, ca as __ΩBuildPlugin, bt as __ΩBuildPluginContext, aT as __ΩCleanInlineConfig, v as __ΩCommandType, w as __ΩCommands, aC as __ΩCommonUserConfig, J as __ΩCompilerInterface, H as __ΩCompilerOptions, E as __ΩCompilerResult, aZ as __ΩConfigEnv, bo as __ΩContext, s as __ΩDeclareBabelTransformPluginReturn, i as __ΩDefaultImportDefinition, aX as __ΩDocsInlineConfig, cH as __ΩESBuildResolvedConfig, aJ as __ΩESBuildUserConfig, aB as __ΩEnvironmentConfig, br as __ΩEnvironmentContext, bq as __ΩEnvironmentContextPlugin, cA as __ΩEnvironmentResolvedConfig, bM as __ΩExternalHookKeys, bL as __ΩExternalHooks, bR as __ΩExternalHooksListItem, cc as __ΩExternalPluginHookFunctions, cb as __ΩExternalPluginHookFunctionsVariant, cM as __ΩFarmResolvedConfig, aM as __ΩFarmUserConfig, bO as __ΩHookKeys, bN as __ΩHooks, bS as __ΩHooksList, j as __ΩImportDefinition, t as __ΩImportSpecifier, bT as __ΩInferHookHandler, bV as __ΩInferHookParameters, bU as __ΩInferHookReturnType, bW as __ΩInferHookThisType, cN as __ΩInferResolvedConfig, aN as __ΩInferUserConfig, bn as __ΩInitContextOptions, aO as __ΩInitialUserConfig, aR as __ΩInlineConfig, aW as __ΩLintInlineConfig, ar as __ΩLogFn, bh as __ΩLogLevel, bj as __ΩMetaInfo, _ as __ΩNamedImportDefinition, aS as __ΩNewInlineConfig, az as __ΩOutputConfig, cC as __ΩOutputResolvedConfig, aP as __ΩParsedUserConfig, cg as __ΩPlugin, cf as __ΩPluginBuildPlugins, aw as __ΩPluginConfig, av as __ΩPluginConfigObject, au as __ΩPluginConfigTuple, bs as __ΩPluginContext, at as __ΩPluginFactory, c8 as __ΩPluginHook, cd as __ΩPluginHookFunctions, c7 as __ΩPluginHookObject, ce as __ΩPluginHooks, ch as __ΩPluginNonHookFields, aQ as __ΩPowerlinesCommand, aU as __ΩPrepareInlineConfig, ax as __ΩProjectType, aY as __ΩReleaseInlineConfig, cB as __ΩResolvedAssetGlob, o as __ΩResolvedBabelTransformPluginOptions, cD as __ΩResolvedConfig, cy as __ΩResolvedEntryTypeDefinition, bk as __ΩResolver, cJ as __ΩRolldownResolvedConfig, aH as __ΩRolldownUserConfig, cI as __ΩRollupResolvedConfig, aG as __ΩRollupUserConfig, cG as __ΩRspackResolvedConfig, aF as __ΩRspackUserConfig, bm as __ΩSelectHooksOptions, bu as __ΩSerializedVirtualFileSystem, F as __ΩSourceFile, G as __ΩTranspilerOptions, cK as __ΩTsupResolvedConfig, aL as __ΩTsupUserConfig, cL as __ΩUnbuildResolvedConfig, aK as __ΩUnbuildUserConfig, bl as __ΩUnimportContext, aD as __ΩUserConfig, b2 as __ΩUserConfigExport, b1 as __ΩUserConfigFn, a$ as __ΩUserConfigFnObject, b0 as __ΩUserConfigFnPromise, cE as __ΩViteResolvedConfig, aI as __ΩViteUserConfig, cF as __ΩWebpackResolvedConfig, aE as __ΩWebpackUserConfig, bi as __ΩWorkerProcess, as as __ΩWorkspaceConfig } from './resolved-wPXZS7aW.js';
|
|
6
|
-
export { BuildConfig, BuildResolvedConfig, BuildVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownBuildOutputConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupBuildOutputConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuildVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig, __ΩBuildConfig, __ΩBuildResolvedConfig, __ΩBuildVariant, __ΩESBuildBuildConfig, __ΩESBuildResolvedBuildConfig, __ΩFarmBuildConfig, __ΩFarmResolvedBuildConfig, __ΩInferUnpluginVariant, __ΩRolldownBuildConfig, __ΩRolldownBuildOutputConfig, __ΩRolldownResolvedBuildConfig, __ΩRollupBuildConfig, __ΩRollupBuildOutputConfig, __ΩRollupResolvedBuildConfig, __ΩRspackBuildConfig, __ΩRspackResolvedBuildConfig, __ΩTsupBuildConfig, __ΩTsupResolvedBuildConfig, __ΩUnbuildBuildConfig, __ΩUnbuildResolvedBuildConfig, __ΩUnpluginBuildVariant, __ΩViteBuildConfig, __ΩViteResolvedBuildConfig, __ΩWebpackBuildConfig, __ΩWebpackResolvedBuildConfig } from './types/build.js';
|
|
7
|
-
export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig, __ΩDeepkitOptions, __ΩParsedTypeScriptConfig, __ΩRawReflectionMode, __ΩReflectionLevel, __ΩReflectionMode, __ΩTSCompilerOptions, __ΩTSConfig } from './types/tsconfig.js';
|
|
8
|
-
export { MarkdownPageEvent, MarkdownRendererEvent, __ΩMarkdownPageEvent, __ΩMarkdownRendererEvent } from './types/typedoc.js';
|
|
9
|
-
export { InferUnpluginOptions, StormStackUnpluginFactory, UnpluginUserConfig, __ΩInferUnpluginOptions, __ΩStormStackUnpluginFactory, __ΩUnpluginUserConfig } from './types/unplugin.js';
|
|
10
|
-
export { MakeDirectoryOptions, NodeWriteFileOptions, OutputModeType, PowerLinesWriteFileData, PowerlinesWriteFileOptions, ResolveFSOptions, ResolvePathOptions, VirtualFile, VirtualFileExtension, VirtualFileSystemInterface, VirtualFileSystemMetadata, WriteFileData, WriteFileOptions, __VFS_CACHE__, __VFS_INIT__, __VFS_RESOLVER__, __VFS_REVERT__, __VFS_UNIFIED__, __VFS_VIRTUAL__, __ΩMakeDirectoryOptions, __ΩNodeWriteFileOptions, __ΩOutputModeType, __ΩPowerLinesWriteFileData, __ΩPowerlinesWriteFileOptions, __ΩResolveFSOptions, __ΩResolvePathOptions, __ΩVirtualFile, __ΩVirtualFileExtension, __ΩVirtualFileSystemInterface, __ΩVirtualFileSystemMetadata, __ΩWriteFileData, __ΩWriteFileOptions } from './types/vfs.js';
|
|
11
|
-
import './hooks-q1Az_C64.js';
|
|
12
|
-
import 'webpack';
|
|
13
|
-
import 'vite';
|
|
14
|
-
import 'unloader';
|
|
15
|
-
import 'unplugin';
|
|
16
|
-
import 'rollup';
|
|
17
|
-
import 'rolldown';
|
|
18
|
-
import '@nuxt/schema';
|
|
19
|
-
import 'esbuild';
|
|
20
|
-
import 'astro';
|
|
21
|
-
import './next.js';
|
|
22
|
-
import 'next';
|
|
23
|
-
import './tsup.js';
|
|
24
|
-
import 'tsup';
|
|
25
|
-
import '@stryke/types/base';
|
|
26
|
-
import '@stryke/types/configuration';
|
|
27
|
-
import '@stryke/types/file';
|
|
28
|
-
import '@babel/core';
|
|
29
|
-
import '@storm-software/build-tools/types';
|
|
30
|
-
import '@storm-software/config-tools/types';
|
|
31
|
-
import '@storm-software/config/types';
|
|
32
|
-
import 'c12';
|
|
33
|
-
import '@babel/helper-plugin-utils';
|
|
34
|
-
import '@stryke/env/get-env-paths';
|
|
35
|
-
import '@stryke/types/package-json';
|
|
36
|
-
import 'jest-worker';
|
|
37
|
-
import 'jiti';
|
|
38
|
-
import 'memfs';
|
|
39
|
-
import 'oxc-parser';
|
|
40
|
-
import 'semver';
|
|
41
|
-
import 'unimport';
|
|
42
|
-
import 'magic-string';
|
|
43
|
-
import '@stryke/types/array';
|
|
44
|
-
import '@farmfe/core';
|
|
45
|
-
import '@rspack/core';
|
|
46
|
-
import '@storm-software/esbuild/types';
|
|
47
|
-
import '@storm-software/unbuild/types';
|
|
48
|
-
import '@stryke/types/tsconfig';
|
|
49
|
-
import 'typescript';
|
|
50
|
-
import 'typedoc';
|
|
51
|
-
import 'typedoc-plugin-markdown';
|
|
52
|
-
import '@stryke/json/types';
|
|
53
|
-
import 'node:fs';
|
|
54
|
-
import 'unionfs';
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* The powerlines library used by Storm Software for building NodeJS applications.
|
|
58
|
-
*
|
|
59
|
-
* @remarks
|
|
60
|
-
* A build toolkit and runtime used by Storm Software in TypeScript applications
|
|
61
|
-
*
|
|
62
|
-
* @packageDocumentation
|
|
63
|
-
*/
|
|
64
|
-
|
|
65
|
-
export { PowerlinesAPI, PowerlinesAPI as default };
|
package/dist/index.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import './chunk-VNRXLY2T.js';
|
|
2
|
-
import './chunk-2VIXD2XB.js';
|
|
3
|
-
import './chunk-Z5H7LD6W.js';
|
|
4
|
-
import './chunk-TLHFXGYV.js';
|
|
5
|
-
import './chunk-AFJCY3R6.js';
|
|
6
|
-
import './chunk-GIE6OE3X.js';
|
|
7
|
-
import './chunk-AXIRZAL7.js';
|
|
8
|
-
import './chunk-DURCSSLV.js';
|
|
9
|
-
import './chunk-OYASPHNL.js';
|
|
10
|
-
export { LogLevel } from './chunk-SIZKRND7.js';
|
|
11
|
-
import './chunk-HJW7OH6E.js';
|
|
12
|
-
export { plugins } from './chunk-YQXNZNGK.js';
|
|
13
|
-
import './chunk-7QQZH7V2.js';
|
|
14
|
-
import './chunk-YFP5GQWW.js';
|
|
15
|
-
import './chunk-M6XRJI44.js';
|
|
16
|
-
import './chunk-NVNMK4CE.js';
|
|
17
|
-
import './chunk-5S33UKRI.js';
|
|
18
|
-
import './chunk-7GVRTQLJ.js';
|
|
19
|
-
export { defineConfig } from './chunk-YZCTXGFH.js';
|
|
20
|
-
import './chunk-5A5AK6JI.js';
|
|
21
|
-
export { extendPlugin } from './chunk-KMLFL4CW.js';
|
|
22
|
-
import './chunk-2OGPXWHG.js';
|
|
23
|
-
import './chunk-N6L2CYXV.js';
|
|
24
|
-
import './chunk-WA6IOZHV.js';
|
|
25
|
-
import './chunk-6TJGZR5X.js';
|
|
26
|
-
import './chunk-N2RUZCWA.js';
|
|
27
|
-
import './chunk-V7LXFIGK.js';
|
|
28
|
-
import { PowerlinesAPI } from './chunk-P4BOYWXT.js';
|
|
29
|
-
export { PowerlinesAPI } from './chunk-P4BOYWXT.js';
|
|
30
|
-
export { PLUGIN_NON_HOOK_FIELDS } from './chunk-EBMELFCF.js';
|
|
31
|
-
export { __VFS_CACHE__, __VFS_INIT__, __VFS_RESOLVER__, __VFS_REVERT__, __VFS_UNIFIED__, __VFS_VIRTUAL__ } from './chunk-4HGQJ4KR.js';
|
|
32
|
-
export { SUPPORTED_COMMANDS } from './chunk-LO77RPRV.js';
|
|
33
|
-
import './chunk-7QVYU63E.js';
|
|
34
|
-
|
|
35
|
-
// src/index.ts
|
|
36
|
-
var index_default = PowerlinesAPI;
|
|
37
|
-
|
|
38
|
-
export { index_default as default };
|
|
39
|
-
//# sourceMappingURL=index.js.map
|
|
40
|
-
//# sourceMappingURL=index.js.map
|
package/dist/internal/api.cjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkPJRHRDLS_cjs = require('../chunk-PJRHRDLS.cjs');
|
|
4
|
-
require('../chunk-APVMN2H7.cjs');
|
|
5
|
-
require('../chunk-22K72CJ5.cjs');
|
|
6
|
-
require('../chunk-5VPVJHJO.cjs');
|
|
7
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkPJRHRDLS_cjs.PowerlinesAPI; }
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=api.cjs.map
|
|
16
|
-
//# sourceMappingURL=api.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"api.cjs"}
|
package/dist/internal/api.d.cts
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { cn as ResolvedConfig, bb as APIContext, aa as InitialUserConfig, ag as PrepareInlineConfig, ae as NewInlineConfig, af as CleanInlineConfig, ah as BuildInlineConfig, ai as LintInlineConfig, aj as DocsInlineConfig, ak as ReleaseInlineConfig, bA as HookKeys, be as PluginContext, bd as EnvironmentContext, bH as InferHookParameters } from '../resolved-DtY60yLh.cjs';
|
|
2
|
-
import { C as CallHookOptions } from '../hooks-Wrj1dKJ9.cjs';
|
|
3
|
-
import '@stryke/types/base';
|
|
4
|
-
import '@stryke/types/configuration';
|
|
5
|
-
import '@stryke/types/file';
|
|
6
|
-
import 'vite';
|
|
7
|
-
import '../types/build.cjs';
|
|
8
|
-
import '@farmfe/core';
|
|
9
|
-
import '@rspack/core';
|
|
10
|
-
import '@storm-software/esbuild/types';
|
|
11
|
-
import '@storm-software/unbuild/types';
|
|
12
|
-
import 'esbuild';
|
|
13
|
-
import 'rolldown';
|
|
14
|
-
import 'rollup';
|
|
15
|
-
import 'webpack';
|
|
16
|
-
import '@babel/core';
|
|
17
|
-
import '@storm-software/build-tools/types';
|
|
18
|
-
import '@storm-software/config-tools/types';
|
|
19
|
-
import '@storm-software/config/types';
|
|
20
|
-
import 'c12';
|
|
21
|
-
import '@babel/helper-plugin-utils';
|
|
22
|
-
import '@stryke/env/get-env-paths';
|
|
23
|
-
import '@stryke/types/package-json';
|
|
24
|
-
import 'jest-worker';
|
|
25
|
-
import 'jiti';
|
|
26
|
-
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
|
-
import 'semver';
|
|
29
|
-
import 'unimport';
|
|
30
|
-
import 'unplugin';
|
|
31
|
-
import 'magic-string';
|
|
32
|
-
import '../types/tsconfig.cjs';
|
|
33
|
-
import '@stryke/types/tsconfig';
|
|
34
|
-
import 'typescript';
|
|
35
|
-
import '@stryke/types/array';
|
|
36
|
-
import '../types/vfs.cjs';
|
|
37
|
-
import '@stryke/json/types';
|
|
38
|
-
import 'node:fs';
|
|
39
|
-
import 'unionfs';
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* The Powerlines API class
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* This class is responsible for managing the Powerlines project lifecycle, including initialization, building, and finalization.
|
|
46
|
-
*
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements AsyncDisposable {
|
|
50
|
-
#private;
|
|
51
|
-
/**
|
|
52
|
-
* The Powerlines context
|
|
53
|
-
*/
|
|
54
|
-
get context(): APIContext<TResolvedConfig>;
|
|
55
|
-
/**
|
|
56
|
-
* Create a new Powerlines API instance
|
|
57
|
-
*
|
|
58
|
-
* @param context - The Powerlines context
|
|
59
|
-
*/
|
|
60
|
-
private constructor();
|
|
61
|
-
/**
|
|
62
|
-
* Initialize the Powerlines API
|
|
63
|
-
*/
|
|
64
|
-
static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
|
|
65
|
-
/**
|
|
66
|
-
* Prepare the Powerlines API
|
|
67
|
-
*/
|
|
68
|
-
prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | ReleaseInlineConfig): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* Create a new Powerlines project
|
|
71
|
-
*
|
|
72
|
-
* @remarks
|
|
73
|
-
* This method will create a new Powerlines project in the current directory.
|
|
74
|
-
*
|
|
75
|
-
* @param inlineConfig - The inline configuration for the new command
|
|
76
|
-
* @returns A promise that resolves when the project has been created
|
|
77
|
-
*/
|
|
78
|
-
new(inlineConfig: NewInlineConfig): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* Clean any previously prepared artifacts
|
|
81
|
-
*
|
|
82
|
-
* @remarks
|
|
83
|
-
* This method will remove the previous Powerlines artifacts from the project.
|
|
84
|
-
*
|
|
85
|
-
* @param inlineConfig - The inline configuration for the clean command
|
|
86
|
-
* @returns A promise that resolves when the clean command has completed
|
|
87
|
-
*/
|
|
88
|
-
clean(inlineConfig?: CleanInlineConfig | PrepareInlineConfig): Promise<void>;
|
|
89
|
-
/**
|
|
90
|
-
* Lint the project
|
|
91
|
-
*
|
|
92
|
-
* @param inlineConfig - The inline configuration for the lint command
|
|
93
|
-
* @returns A promise that resolves when the lint command has completed
|
|
94
|
-
*/
|
|
95
|
-
lint(inlineConfig?: LintInlineConfig | BuildInlineConfig): Promise<void>;
|
|
96
|
-
/**
|
|
97
|
-
* Build the project
|
|
98
|
-
*
|
|
99
|
-
* @remarks
|
|
100
|
-
* This method will build the Powerlines project, generating the necessary artifacts.
|
|
101
|
-
*
|
|
102
|
-
* @param inlineConfig - The inline configuration for the build command
|
|
103
|
-
* @returns A promise that resolves when the build command has completed
|
|
104
|
-
*/
|
|
105
|
-
build(inlineConfig?: BuildInlineConfig): Promise<void>;
|
|
106
|
-
/**
|
|
107
|
-
* Prepare the documentation for the project
|
|
108
|
-
*
|
|
109
|
-
* @param inlineConfig - The inline configuration for the docs command
|
|
110
|
-
* @returns A promise that resolves when the documentation generation has completed
|
|
111
|
-
*/
|
|
112
|
-
docs(inlineConfig?: DocsInlineConfig): Promise<void>;
|
|
113
|
-
/**
|
|
114
|
-
* Release the project
|
|
115
|
-
*
|
|
116
|
-
* @remarks
|
|
117
|
-
* This method will prepare and build the Powerlines project, generating the necessary artifacts for release.
|
|
118
|
-
*
|
|
119
|
-
* @param inlineConfig - The inline configuration for the release command
|
|
120
|
-
*/
|
|
121
|
-
release(inlineConfig?: ReleaseInlineConfig): Promise<void>;
|
|
122
|
-
/**
|
|
123
|
-
* Finalization process
|
|
124
|
-
*
|
|
125
|
-
* @remarks
|
|
126
|
-
* This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
|
|
127
|
-
*
|
|
128
|
-
* @returns A promise that resolves when the finalization process has completed
|
|
129
|
-
*/
|
|
130
|
-
finalize(): Promise<void>;
|
|
131
|
-
/**
|
|
132
|
-
* Calls a hook in parallel
|
|
133
|
-
*
|
|
134
|
-
* @param hook - The hook to call
|
|
135
|
-
* @param options - Options for calling the hook
|
|
136
|
-
* @param args - The arguments to pass to the hook
|
|
137
|
-
* @returns The result of the hook call
|
|
138
|
-
*/
|
|
139
|
-
callHookParallel<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
140
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
141
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
142
|
-
/**
|
|
143
|
-
* Calls a hook in sequence
|
|
144
|
-
*
|
|
145
|
-
* @param hook - The hook to call
|
|
146
|
-
* @param options - Options for calling the hook
|
|
147
|
-
* @param args - The arguments to pass to the hook
|
|
148
|
-
* @returns The result of the hook call
|
|
149
|
-
*/
|
|
150
|
-
callHookSequential<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
151
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
152
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
153
|
-
/**
|
|
154
|
-
* Calls the `"pre"` ordered hooks in sequence
|
|
155
|
-
*
|
|
156
|
-
* @param environment - The environment to use for the hook call
|
|
157
|
-
* @param hook - The hook to call
|
|
158
|
-
* @param args - The arguments to pass to the hook
|
|
159
|
-
* @returns The result of the hook call
|
|
160
|
-
*/
|
|
161
|
-
callPreHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
162
|
-
/**
|
|
163
|
-
* Calls the `"post"` ordered hooks in sequence
|
|
164
|
-
*
|
|
165
|
-
* @param environment - The environment to use for the hook call
|
|
166
|
-
* @param hook - The hook to call
|
|
167
|
-
* @param args - The arguments to pass to the hook
|
|
168
|
-
* @returns The result of the hook call
|
|
169
|
-
*/
|
|
170
|
-
callPostHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
171
|
-
/**
|
|
172
|
-
* Calls a hook in sequence
|
|
173
|
-
*
|
|
174
|
-
* @param environment - The environment to use for the hook call
|
|
175
|
-
* @param hook - The hook to call
|
|
176
|
-
* @param args - The arguments to pass to the hook
|
|
177
|
-
* @returns The result of the hook call
|
|
178
|
-
*/
|
|
179
|
-
callNormalHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
180
|
-
/**
|
|
181
|
-
* Calls the `"pre"` and `"post"` ordered hooks, as well as the normal hooks in sequence
|
|
182
|
-
*
|
|
183
|
-
* @param environment - The environment to use for the hook call
|
|
184
|
-
* @param hook - The hook to call
|
|
185
|
-
* @param args - The arguments to pass to the hook
|
|
186
|
-
* @returns The result of the hook call
|
|
187
|
-
*/
|
|
188
|
-
callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
189
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export { PowerlinesAPI };
|
package/dist/internal/api.d.ts
DELETED
|
@@ -1,192 +0,0 @@
|
|
|
1
|
-
import { cn as ResolvedConfig, bb as APIContext, aa as InitialUserConfig, ag as PrepareInlineConfig, ae as NewInlineConfig, af as CleanInlineConfig, ah as BuildInlineConfig, ai as LintInlineConfig, aj as DocsInlineConfig, ak as ReleaseInlineConfig, bA as HookKeys, be as PluginContext, bd as EnvironmentContext, bH as InferHookParameters } from '../resolved-wPXZS7aW.js';
|
|
2
|
-
import { C as CallHookOptions } from '../hooks-q1Az_C64.js';
|
|
3
|
-
import '@stryke/types/base';
|
|
4
|
-
import '@stryke/types/configuration';
|
|
5
|
-
import '@stryke/types/file';
|
|
6
|
-
import 'vite';
|
|
7
|
-
import '../types/build.js';
|
|
8
|
-
import '@farmfe/core';
|
|
9
|
-
import '@rspack/core';
|
|
10
|
-
import '@storm-software/esbuild/types';
|
|
11
|
-
import '@storm-software/unbuild/types';
|
|
12
|
-
import 'esbuild';
|
|
13
|
-
import 'rolldown';
|
|
14
|
-
import 'rollup';
|
|
15
|
-
import 'webpack';
|
|
16
|
-
import '@babel/core';
|
|
17
|
-
import '@storm-software/build-tools/types';
|
|
18
|
-
import '@storm-software/config-tools/types';
|
|
19
|
-
import '@storm-software/config/types';
|
|
20
|
-
import 'c12';
|
|
21
|
-
import '@babel/helper-plugin-utils';
|
|
22
|
-
import '@stryke/env/get-env-paths';
|
|
23
|
-
import '@stryke/types/package-json';
|
|
24
|
-
import 'jest-worker';
|
|
25
|
-
import 'jiti';
|
|
26
|
-
import 'memfs';
|
|
27
|
-
import 'oxc-parser';
|
|
28
|
-
import 'semver';
|
|
29
|
-
import 'unimport';
|
|
30
|
-
import 'unplugin';
|
|
31
|
-
import 'magic-string';
|
|
32
|
-
import '../types/tsconfig.js';
|
|
33
|
-
import '@stryke/types/tsconfig';
|
|
34
|
-
import 'typescript';
|
|
35
|
-
import '@stryke/types/array';
|
|
36
|
-
import '../types/vfs.js';
|
|
37
|
-
import '@stryke/json/types';
|
|
38
|
-
import 'node:fs';
|
|
39
|
-
import 'unionfs';
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* The Powerlines API class
|
|
43
|
-
*
|
|
44
|
-
* @remarks
|
|
45
|
-
* This class is responsible for managing the Powerlines project lifecycle, including initialization, building, and finalization.
|
|
46
|
-
*
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
49
|
-
declare class PowerlinesAPI<TResolvedConfig extends ResolvedConfig = ResolvedConfig> implements AsyncDisposable {
|
|
50
|
-
#private;
|
|
51
|
-
/**
|
|
52
|
-
* The Powerlines context
|
|
53
|
-
*/
|
|
54
|
-
get context(): APIContext<TResolvedConfig>;
|
|
55
|
-
/**
|
|
56
|
-
* Create a new Powerlines API instance
|
|
57
|
-
*
|
|
58
|
-
* @param context - The Powerlines context
|
|
59
|
-
*/
|
|
60
|
-
private constructor();
|
|
61
|
-
/**
|
|
62
|
-
* Initialize the Powerlines API
|
|
63
|
-
*/
|
|
64
|
-
static from<TResolvedConfig extends ResolvedConfig = ResolvedConfig>(workspaceRoot: string, config: InitialUserConfig<TResolvedConfig["userConfig"]>): Promise<PowerlinesAPI<TResolvedConfig>>;
|
|
65
|
-
/**
|
|
66
|
-
* Prepare the Powerlines API
|
|
67
|
-
*/
|
|
68
|
-
prepare(inlineConfig?: PrepareInlineConfig | NewInlineConfig | CleanInlineConfig | BuildInlineConfig | LintInlineConfig | DocsInlineConfig | ReleaseInlineConfig): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* Create a new Powerlines project
|
|
71
|
-
*
|
|
72
|
-
* @remarks
|
|
73
|
-
* This method will create a new Powerlines project in the current directory.
|
|
74
|
-
*
|
|
75
|
-
* @param inlineConfig - The inline configuration for the new command
|
|
76
|
-
* @returns A promise that resolves when the project has been created
|
|
77
|
-
*/
|
|
78
|
-
new(inlineConfig: NewInlineConfig): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* Clean any previously prepared artifacts
|
|
81
|
-
*
|
|
82
|
-
* @remarks
|
|
83
|
-
* This method will remove the previous Powerlines artifacts from the project.
|
|
84
|
-
*
|
|
85
|
-
* @param inlineConfig - The inline configuration for the clean command
|
|
86
|
-
* @returns A promise that resolves when the clean command has completed
|
|
87
|
-
*/
|
|
88
|
-
clean(inlineConfig?: CleanInlineConfig | PrepareInlineConfig): Promise<void>;
|
|
89
|
-
/**
|
|
90
|
-
* Lint the project
|
|
91
|
-
*
|
|
92
|
-
* @param inlineConfig - The inline configuration for the lint command
|
|
93
|
-
* @returns A promise that resolves when the lint command has completed
|
|
94
|
-
*/
|
|
95
|
-
lint(inlineConfig?: LintInlineConfig | BuildInlineConfig): Promise<void>;
|
|
96
|
-
/**
|
|
97
|
-
* Build the project
|
|
98
|
-
*
|
|
99
|
-
* @remarks
|
|
100
|
-
* This method will build the Powerlines project, generating the necessary artifacts.
|
|
101
|
-
*
|
|
102
|
-
* @param inlineConfig - The inline configuration for the build command
|
|
103
|
-
* @returns A promise that resolves when the build command has completed
|
|
104
|
-
*/
|
|
105
|
-
build(inlineConfig?: BuildInlineConfig): Promise<void>;
|
|
106
|
-
/**
|
|
107
|
-
* Prepare the documentation for the project
|
|
108
|
-
*
|
|
109
|
-
* @param inlineConfig - The inline configuration for the docs command
|
|
110
|
-
* @returns A promise that resolves when the documentation generation has completed
|
|
111
|
-
*/
|
|
112
|
-
docs(inlineConfig?: DocsInlineConfig): Promise<void>;
|
|
113
|
-
/**
|
|
114
|
-
* Release the project
|
|
115
|
-
*
|
|
116
|
-
* @remarks
|
|
117
|
-
* This method will prepare and build the Powerlines project, generating the necessary artifacts for release.
|
|
118
|
-
*
|
|
119
|
-
* @param inlineConfig - The inline configuration for the release command
|
|
120
|
-
*/
|
|
121
|
-
release(inlineConfig?: ReleaseInlineConfig): Promise<void>;
|
|
122
|
-
/**
|
|
123
|
-
* Finalization process
|
|
124
|
-
*
|
|
125
|
-
* @remarks
|
|
126
|
-
* This step includes any final processes or clean up required by Powerlines. It will be run after each Powerlines command.
|
|
127
|
-
*
|
|
128
|
-
* @returns A promise that resolves when the finalization process has completed
|
|
129
|
-
*/
|
|
130
|
-
finalize(): Promise<void>;
|
|
131
|
-
/**
|
|
132
|
-
* Calls a hook in parallel
|
|
133
|
-
*
|
|
134
|
-
* @param hook - The hook to call
|
|
135
|
-
* @param options - Options for calling the hook
|
|
136
|
-
* @param args - The arguments to pass to the hook
|
|
137
|
-
* @returns The result of the hook call
|
|
138
|
-
*/
|
|
139
|
-
callHookParallel<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
140
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
141
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
142
|
-
/**
|
|
143
|
-
* Calls a hook in sequence
|
|
144
|
-
*
|
|
145
|
-
* @param hook - The hook to call
|
|
146
|
-
* @param options - Options for calling the hook
|
|
147
|
-
* @param args - The arguments to pass to the hook
|
|
148
|
-
* @returns The result of the hook call
|
|
149
|
-
*/
|
|
150
|
-
callHookSequential<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(hook: TKey, options: Omit<CallHookOptions, "sequential"> & {
|
|
151
|
-
environment?: string | EnvironmentContext<TResolvedConfig>;
|
|
152
|
-
}, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
153
|
-
/**
|
|
154
|
-
* Calls the `"pre"` ordered hooks in sequence
|
|
155
|
-
*
|
|
156
|
-
* @param environment - The environment to use for the hook call
|
|
157
|
-
* @param hook - The hook to call
|
|
158
|
-
* @param args - The arguments to pass to the hook
|
|
159
|
-
* @returns The result of the hook call
|
|
160
|
-
*/
|
|
161
|
-
callPreHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
162
|
-
/**
|
|
163
|
-
* Calls the `"post"` ordered hooks in sequence
|
|
164
|
-
*
|
|
165
|
-
* @param environment - The environment to use for the hook call
|
|
166
|
-
* @param hook - The hook to call
|
|
167
|
-
* @param args - The arguments to pass to the hook
|
|
168
|
-
* @returns The result of the hook call
|
|
169
|
-
*/
|
|
170
|
-
callPostHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
171
|
-
/**
|
|
172
|
-
* Calls a hook in sequence
|
|
173
|
-
*
|
|
174
|
-
* @param environment - The environment to use for the hook call
|
|
175
|
-
* @param hook - The hook to call
|
|
176
|
-
* @param args - The arguments to pass to the hook
|
|
177
|
-
* @returns The result of the hook call
|
|
178
|
-
*/
|
|
179
|
-
callNormalHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
180
|
-
/**
|
|
181
|
-
* Calls the `"pre"` and `"post"` ordered hooks, as well as the normal hooks in sequence
|
|
182
|
-
*
|
|
183
|
-
* @param environment - The environment to use for the hook call
|
|
184
|
-
* @param hook - The hook to call
|
|
185
|
-
* @param args - The arguments to pass to the hook
|
|
186
|
-
* @returns The result of the hook call
|
|
187
|
-
*/
|
|
188
|
-
callHook<TKey extends HookKeys<PluginContext<TResolvedConfig>>>(environment: string | EnvironmentContext<TResolvedConfig>, hook: TKey, ...args: InferHookParameters<PluginContext<TResolvedConfig>, TKey>): Promise<any>;
|
|
189
|
-
[Symbol.asyncDispose](): Promise<void>;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export { PowerlinesAPI };
|
package/dist/internal/api.js
DELETED
package/dist/internal/api.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"api.js"}
|