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/esbuild.cjs
CHANGED
|
@@ -1,29 +1,57 @@
|
|
|
1
|
-
'
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
const require_unplugin = require('./unplugin.cjs');
|
|
4
|
+
let unplugin = require("unplugin");
|
|
5
|
+
let _powerlines_plugin_esbuild_helpers_resolve_options = require("@powerlines/plugin-esbuild/helpers/resolve-options");
|
|
6
|
+
let _stryke_type_checks_is_undefined = require("@stryke/type-checks/is-undefined");
|
|
7
|
+
let _powerlines_plugin_esbuild = require("@powerlines/plugin-esbuild");
|
|
8
|
+
_powerlines_plugin_esbuild = require_runtime.__toESM(_powerlines_plugin_esbuild, 1);
|
|
2
9
|
|
|
3
|
-
|
|
10
|
+
//#region src/esbuild.ts
|
|
11
|
+
/**
|
|
12
|
+
* An ESBuild plugin that will invoke the Powerlines API hooks during the build process.
|
|
13
|
+
*
|
|
14
|
+
* @see https://esbuild.github.io/plugins/
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```js
|
|
18
|
+
* // esbuild.config.js
|
|
19
|
+
* import powerlines from "powerlines/esbuild";
|
|
20
|
+
*
|
|
21
|
+
* export default {
|
|
22
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
23
|
+
* };
|
|
24
|
+
*
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
const unplugin$1 = (0, unplugin.createEsbuildPlugin)(require_unplugin.createUnpluginFactory("esbuild", (api, plugin) => {
|
|
28
|
+
return {
|
|
29
|
+
...plugin,
|
|
30
|
+
esbuild: {
|
|
31
|
+
config: (options) => {
|
|
32
|
+
options ??= {};
|
|
33
|
+
const result = (0, _powerlines_plugin_esbuild_helpers_resolve_options.resolveOptions)(api.context);
|
|
34
|
+
for (const key in result) if ((0, _stryke_type_checks_is_undefined.isUndefined)(options[key]) && !(0, _stryke_type_checks_is_undefined.isUndefined)(result[key])) options[key] = result[key];
|
|
35
|
+
},
|
|
36
|
+
setup: async (build) => {
|
|
37
|
+
const environment = await api.context.getEnvironment();
|
|
38
|
+
return api.callHook("esbuild:setup", { environment }, build);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}));
|
|
4
43
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
require('./chunk-WCTOTE3T.cjs');
|
|
8
|
-
require('./chunk-PJRHRDLS.cjs');
|
|
9
|
-
require('./chunk-APVMN2H7.cjs');
|
|
10
|
-
require('./chunk-22K72CJ5.cjs');
|
|
11
|
-
require('./chunk-5VPVJHJO.cjs');
|
|
12
|
-
require('./chunk-PK6SKIKE.cjs');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
Object.defineProperty(exports, "default", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkMW2CYPK5_cjs.esbuild_default; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "esbuild", {
|
|
44
|
+
//#endregion
|
|
45
|
+
Object.defineProperty(exports, 'esbuild', {
|
|
21
46
|
enumerable: true,
|
|
22
|
-
get: function () {
|
|
47
|
+
get: function () {
|
|
48
|
+
return _powerlines_plugin_esbuild.default;
|
|
49
|
+
}
|
|
23
50
|
});
|
|
24
|
-
Object.defineProperty(exports,
|
|
51
|
+
Object.defineProperty(exports, 'plugin', {
|
|
25
52
|
enumerable: true,
|
|
26
|
-
get: function () {
|
|
53
|
+
get: function () {
|
|
54
|
+
return _powerlines_plugin_esbuild.default;
|
|
55
|
+
}
|
|
27
56
|
});
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=esbuild.cjs.map
|
|
57
|
+
exports.unplugin = unplugin$1;
|
package/dist/esbuild.d.cts
CHANGED
|
@@ -1,42 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
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 '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.cjs';
|
|
32
|
-
import '@stryke/types/tsconfig';
|
|
33
|
-
import 'typescript';
|
|
34
|
-
import '@stryke/types/array';
|
|
35
|
-
import './types/vfs.cjs';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
|
-
import 'unionfs';
|
|
1
|
+
import * as _$esbuild from "esbuild";
|
|
2
|
+
import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin";
|
|
3
|
+
import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
|
|
39
4
|
|
|
5
|
+
//#region src/esbuild.d.ts
|
|
40
6
|
/**
|
|
41
7
|
* An ESBuild plugin that will invoke the Powerlines API hooks during the build process.
|
|
42
8
|
*
|
|
@@ -45,13 +11,15 @@ import 'unionfs';
|
|
|
45
11
|
* @example
|
|
46
12
|
* ```js
|
|
47
13
|
* // esbuild.config.js
|
|
48
|
-
* import powerlines from
|
|
14
|
+
* import powerlines from "powerlines/esbuild";
|
|
15
|
+
*
|
|
16
|
+
* export default {
|
|
17
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
18
|
+
* };
|
|
49
19
|
*
|
|
50
|
-
* default export {
|
|
51
|
-
* plugins: [powerlines()],
|
|
52
|
-
* }
|
|
53
20
|
* ```
|
|
54
21
|
*/
|
|
55
|
-
declare const
|
|
56
|
-
|
|
57
|
-
export { esbuild
|
|
22
|
+
declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => _$esbuild.Plugin;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { esbuild, plugin, unplugin };
|
|
25
|
+
//# sourceMappingURL=esbuild.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esbuild.d.cts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA8CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
|
|
2
|
+
import * as _$esbuild from "esbuild";
|
|
3
|
+
import { EsbuildPluginUserConfig } from "@powerlines/plugin-esbuild/types/plugin";
|
|
4
|
+
|
|
5
|
+
//#region src/esbuild.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* An ESBuild plugin that will invoke the Powerlines API hooks during the build process.
|
|
8
|
+
*
|
|
9
|
+
* @see https://esbuild.github.io/plugins/
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```js
|
|
13
|
+
* // esbuild.config.js
|
|
14
|
+
* import powerlines from "powerlines/esbuild";
|
|
15
|
+
*
|
|
16
|
+
* export default {
|
|
17
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
18
|
+
* };
|
|
19
|
+
*
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
declare const unplugin: (options: Partial<EsbuildPluginUserConfig>) => _$esbuild.Plugin;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { esbuild, plugin, unplugin };
|
|
25
|
+
//# sourceMappingURL=esbuild.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esbuild.d.mts","names":[],"sources":["../src/esbuild.ts"],"mappings":";;;;;;;;AA8CA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAA,uBAAA,MAAA,SAAA,CAAA,MAAA"}
|
package/dist/esbuild.mjs
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { createUnpluginFactory } from "./unplugin.mjs";
|
|
2
|
+
import { createEsbuildPlugin } from "unplugin";
|
|
3
|
+
import { resolveOptions } from "@powerlines/plugin-esbuild/helpers/resolve-options";
|
|
4
|
+
import { isUndefined } from "@stryke/type-checks/is-undefined";
|
|
5
|
+
import esbuild, { default as plugin } from "@powerlines/plugin-esbuild";
|
|
6
|
+
|
|
7
|
+
//#region src/esbuild.ts
|
|
8
|
+
/**
|
|
9
|
+
* An ESBuild plugin that will invoke the Powerlines API hooks during the build process.
|
|
10
|
+
*
|
|
11
|
+
* @see https://esbuild.github.io/plugins/
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```js
|
|
15
|
+
* // esbuild.config.js
|
|
16
|
+
* import powerlines from "powerlines/esbuild";
|
|
17
|
+
*
|
|
18
|
+
* export default {
|
|
19
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
20
|
+
* };
|
|
21
|
+
*
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
const unplugin = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin) => {
|
|
25
|
+
return {
|
|
26
|
+
...plugin,
|
|
27
|
+
esbuild: {
|
|
28
|
+
config: (options) => {
|
|
29
|
+
options ??= {};
|
|
30
|
+
const result = resolveOptions(api.context);
|
|
31
|
+
for (const key in result) if (isUndefined(options[key]) && !isUndefined(result[key])) options[key] = result[key];
|
|
32
|
+
},
|
|
33
|
+
setup: async (build) => {
|
|
34
|
+
const environment = await api.context.getEnvironment();
|
|
35
|
+
return api.callHook("esbuild:setup", { environment }, build);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}));
|
|
40
|
+
|
|
41
|
+
//#endregion
|
|
42
|
+
export { esbuild, plugin, unplugin };
|
|
43
|
+
//# sourceMappingURL=esbuild.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esbuild.mjs","names":[],"sources":["../src/esbuild.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { resolveOptions } from \"@powerlines/plugin-esbuild/helpers/resolve-options\";\nimport { EsbuildPluginUserConfig } from \"@powerlines/plugin-esbuild/types/plugin\";\nimport { isUndefined } from \"@stryke/type-checks/is-undefined\";\nimport type { BuildOptions, PluginBuild } from \"esbuild\";\nimport { createEsbuildPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\nexport {\n default as esbuild,\n default as plugin\n} from \"@powerlines/plugin-esbuild\";\n\n/**\n * An ESBuild plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://esbuild.github.io/plugins/\n *\n * @example\n * ```js\n * // esbuild.config.js\n * import powerlines from \"powerlines/esbuild\";\n *\n * export default {\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * };\n *\n * ```\n */\nexport const unplugin = createEsbuildPlugin<Partial<EsbuildPluginUserConfig>>(\n createUnpluginFactory(\"esbuild\", (api, plugin) => {\n return {\n ...plugin,\n esbuild: {\n config: options => {\n options ??= {};\n\n const result = resolveOptions(api.context);\n for (const key in result) {\n if (\n isUndefined(options[key as keyof BuildOptions]) &&\n !isUndefined(result[key as keyof BuildOptions])\n ) {\n options[key as keyof BuildOptions] = result[\n key as keyof BuildOptions\n ] as any;\n }\n }\n },\n setup: async (build: PluginBuild) => {\n const environment = await api.context.getEnvironment();\n\n return api.callHook(\"esbuild:setup\", { environment }, build);\n }\n }\n };\n })\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA8CA,MAAa,WAAW,oBACtB,sBAAsB,YAAY,KAAK,WAAW;AAChD,QAAO;EACL,GAAG;EACH,SAAS;GACP,SAAQ,YAAW;AACjB,gBAAY,EAAE;IAEd,MAAM,SAAS,eAAe,IAAI,QAAQ;AAC1C,SAAK,MAAM,OAAO,OAChB,KACE,YAAY,QAAQ,KAA2B,IAC/C,CAAC,YAAY,OAAO,KAA2B,CAE/C,SAAQ,OAA6B,OACnC;;GAKR,OAAO,OAAO,UAAuB;IACnC,MAAM,cAAc,MAAM,IAAI,QAAQ,gBAAgB;AAEtD,WAAO,IAAI,SAAS,iBAAiB,EAAE,aAAa,EAAE,MAAM;;GAE/D;EACF;EACD,CACH"}
|
package/dist/farm.cjs
CHANGED
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
'
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
const require_unplugin = require('./unplugin.cjs');
|
|
4
|
+
let unplugin = require("unplugin");
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
//#region src/farm.ts
|
|
7
|
+
/**
|
|
8
|
+
* A Farm plugin that will invoke the Powerlines API hooks during the build process.
|
|
9
|
+
*
|
|
10
|
+
* @see https://farmjs.dev/plugins/writing-plugins
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* // farm.config.ts
|
|
15
|
+
* import powerlines from "powerlines/farm";
|
|
16
|
+
* import { defineConfig } from "@farmfe/core";
|
|
17
|
+
*
|
|
18
|
+
* export default defineConfig({
|
|
19
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
20
|
+
* });
|
|
21
|
+
*
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
const unplugin$1 = (0, unplugin.createFarmPlugin)(require_unplugin.createUnpluginFactory("farm"));
|
|
4
25
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
require('./chunk-22K72CJ5.cjs');
|
|
9
|
-
require('./chunk-5VPVJHJO.cjs');
|
|
10
|
-
require('./chunk-PK6SKIKE.cjs');
|
|
11
|
-
var unplugin = require('unplugin');
|
|
12
|
-
|
|
13
|
-
var farm = unplugin.createFarmPlugin(chunkWCTOTE3T_cjs.createUnpluginFactory("farm"));
|
|
14
|
-
var farm_default = farm;
|
|
15
|
-
|
|
16
|
-
exports.default = farm_default;
|
|
17
|
-
exports.farm = farm;
|
|
18
|
-
exports["module.exports"] = farm;
|
|
19
|
-
//# sourceMappingURL=farm.cjs.map
|
|
20
|
-
//# sourceMappingURL=farm.cjs.map
|
|
26
|
+
//#endregion
|
|
27
|
+
exports.farm = unplugin$1;
|
|
28
|
+
exports.unplugin = unplugin$1;
|
package/dist/farm.d.cts
CHANGED
|
@@ -1,57 +1,25 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
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 '@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.cjs';
|
|
32
|
-
import '@stryke/types/tsconfig';
|
|
33
|
-
import 'typescript';
|
|
34
|
-
import '@stryke/types/array';
|
|
35
|
-
import './types/vfs.cjs';
|
|
36
|
-
import '@stryke/json/types';
|
|
37
|
-
import 'node:fs';
|
|
38
|
-
import 'unionfs';
|
|
1
|
+
import * as _$_powerlines_core0 from "@powerlines/core";
|
|
2
|
+
import * as _$_farmfe_core0 from "@farmfe/core";
|
|
39
3
|
|
|
4
|
+
//#region src/farm.d.ts
|
|
40
5
|
/**
|
|
41
6
|
* A Farm plugin that will invoke the Powerlines API hooks during the build process.
|
|
42
7
|
*
|
|
43
8
|
* @see https://farmjs.dev/plugins/writing-plugins
|
|
44
9
|
*
|
|
45
10
|
* @example
|
|
46
|
-
* ```
|
|
47
|
-
* // farm.config.
|
|
48
|
-
* import powerlines from
|
|
11
|
+
* ```ts
|
|
12
|
+
* // farm.config.ts
|
|
13
|
+
* import powerlines from "powerlines/farm";
|
|
14
|
+
* import { defineConfig } from "@farmfe/core";
|
|
15
|
+
*
|
|
16
|
+
* export default defineConfig({
|
|
17
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
18
|
+
* });
|
|
49
19
|
*
|
|
50
|
-
* export default {
|
|
51
|
-
* plugins: [powerlines({ ...options })],
|
|
52
|
-
* }
|
|
53
20
|
* ```
|
|
54
21
|
*/
|
|
55
|
-
declare const
|
|
56
|
-
|
|
57
|
-
export {
|
|
22
|
+
declare const unplugin: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { unplugin as farm, unplugin };
|
|
25
|
+
//# sourceMappingURL=farm.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"farm.d.cts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAkD,mBAAA,CAAlD,UAAA,MAAA,eAAA,CAAA,QAAA"}
|
package/dist/farm.d.mts
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as _$_powerlines_core0 from "@powerlines/core";
|
|
2
|
+
import * as _$_farmfe_core0 from "@farmfe/core";
|
|
3
|
+
|
|
4
|
+
//#region src/farm.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* A Farm plugin that will invoke the Powerlines API hooks during the build process.
|
|
7
|
+
*
|
|
8
|
+
* @see https://farmjs.dev/plugins/writing-plugins
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // farm.config.ts
|
|
13
|
+
* import powerlines from "powerlines/farm";
|
|
14
|
+
* import { defineConfig } from "@farmfe/core";
|
|
15
|
+
*
|
|
16
|
+
* export default defineConfig({
|
|
17
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
18
|
+
* });
|
|
19
|
+
*
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
declare const unplugin: (options: Partial<_$_powerlines_core0.UserConfig>) => _$_farmfe_core0.JsPlugin;
|
|
23
|
+
//#endregion
|
|
24
|
+
export { unplugin as farm, unplugin };
|
|
25
|
+
//# sourceMappingURL=farm.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"farm.d.mts","names":[],"sources":["../src/farm.ts"],"mappings":";;;;;;;;AAsCA;;;;;;;;;;;;;cAAa,QAAA,GAAQ,OAAA,EAAA,OAAA,CAAkD,mBAAA,CAAlD,UAAA,MAAA,eAAA,CAAA,QAAA"}
|
package/dist/farm.mjs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { createUnpluginFactory } from "./unplugin.mjs";
|
|
2
|
+
import { createFarmPlugin } from "unplugin";
|
|
3
|
+
|
|
4
|
+
//#region src/farm.ts
|
|
5
|
+
/**
|
|
6
|
+
* A Farm plugin that will invoke the Powerlines API hooks during the build process.
|
|
7
|
+
*
|
|
8
|
+
* @see https://farmjs.dev/plugins/writing-plugins
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```ts
|
|
12
|
+
* // farm.config.ts
|
|
13
|
+
* import powerlines from "powerlines/farm";
|
|
14
|
+
* import { defineConfig } from "@farmfe/core";
|
|
15
|
+
*
|
|
16
|
+
* export default defineConfig({
|
|
17
|
+
* plugins: [powerlines({ name: "example-app", ... })],
|
|
18
|
+
* });
|
|
19
|
+
*
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
const unplugin = createFarmPlugin(createUnpluginFactory("farm"));
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { unplugin as farm, unplugin };
|
|
26
|
+
//# sourceMappingURL=farm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"farm.mjs","names":[],"sources":["../src/farm.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createFarmPlugin } from \"unplugin\";\nimport { createUnpluginFactory } from \"./unplugin\";\n\n/**\n * A Farm plugin that will invoke the Powerlines API hooks during the build process.\n *\n * @see https://farmjs.dev/plugins/writing-plugins\n *\n * @example\n * ```ts\n * // farm.config.ts\n * import powerlines from \"powerlines/farm\";\n * import { defineConfig } from \"@farmfe/core\";\n *\n * export default defineConfig({\n * plugins: [powerlines({ name: \"example-app\", ... })],\n * });\n *\n * ```\n */\nexport const unplugin = createFarmPlugin(createUnpluginFactory(\"farm\"));\n\nexport { unplugin as farm };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAsCA,MAAa,WAAW,iBAAiB,sBAAsB,OAAO,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1,95 +1,44 @@
|
|
|
1
|
-
'
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
+
const require_runtime = require('./_virtual/_rolldown/runtime.cjs');
|
|
3
|
+
require('./api.cjs');
|
|
4
|
+
const require_engine = require('./engine.cjs');
|
|
5
|
+
let _powerlines_engine_api = require("@powerlines/engine/api");
|
|
2
6
|
|
|
3
|
-
|
|
7
|
+
//#region src/index.ts
|
|
8
|
+
/**
|
|
9
|
+
* The powerlines library used by Storm Software for building NodeJS applications.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* A build toolkit and runtime used by Storm Software in TypeScript applications
|
|
13
|
+
*
|
|
14
|
+
* @packageDocumentation
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Creates a new {@link PowerlinesEngine} instance.
|
|
18
|
+
*
|
|
19
|
+
* @param options - The user configuration options.
|
|
20
|
+
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
21
|
+
*/
|
|
22
|
+
async function createEngine(options) {
|
|
23
|
+
return require_engine.PowerlinesEngine.fromOptions(options);
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Creates a new {@link PowerlinesAPI} instance.
|
|
27
|
+
*
|
|
28
|
+
* @param options - The user configuration options.
|
|
29
|
+
* @returns A promise that resolves to a {@link PowerlinesAPI} instance.
|
|
30
|
+
*/
|
|
31
|
+
async function createAPI(options, override) {
|
|
32
|
+
return _powerlines_engine_api.PowerlinesAPI.fromOptions(options, override);
|
|
33
|
+
}
|
|
4
34
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
require('./chunk-Q7EJVZVI.cjs');
|
|
8
|
-
require('./chunk-7BZQBW77.cjs');
|
|
9
|
-
require('./chunk-IHUNA3MO.cjs');
|
|
10
|
-
require('./chunk-DFLNRC3B.cjs');
|
|
11
|
-
require('./chunk-VQCQRLGM.cjs');
|
|
12
|
-
require('./chunk-XBF43VLE.cjs');
|
|
13
|
-
require('./chunk-4JCNAKOE.cjs');
|
|
14
|
-
var chunkYIWHO6SW_cjs = require('./chunk-YIWHO6SW.cjs');
|
|
15
|
-
require('./chunk-XZO6ZJQP.cjs');
|
|
16
|
-
var chunkRIOZPUCZ_cjs = require('./chunk-RIOZPUCZ.cjs');
|
|
17
|
-
require('./chunk-4FZTGBHW.cjs');
|
|
18
|
-
require('./chunk-TLRPAJU2.cjs');
|
|
19
|
-
require('./chunk-Y5CDUGSN.cjs');
|
|
20
|
-
require('./chunk-UFEM5JTE.cjs');
|
|
21
|
-
require('./chunk-TSWMWZ4U.cjs');
|
|
22
|
-
require('./chunk-ZEJHPSLK.cjs');
|
|
23
|
-
var chunkGC3BRYAK_cjs = require('./chunk-GC3BRYAK.cjs');
|
|
24
|
-
require('./chunk-MW2CYPK5.cjs');
|
|
25
|
-
var chunk4AKYOJXA_cjs = require('./chunk-4AKYOJXA.cjs');
|
|
26
|
-
require('./chunk-7HF3SEKY.cjs');
|
|
27
|
-
require('./chunk-YTOIG4CV.cjs');
|
|
28
|
-
require('./chunk-O7GICJVN.cjs');
|
|
29
|
-
require('./chunk-UZQYBO6Z.cjs');
|
|
30
|
-
require('./chunk-3IM6CTCB.cjs');
|
|
31
|
-
require('./chunk-WCTOTE3T.cjs');
|
|
32
|
-
var chunkPJRHRDLS_cjs = require('./chunk-PJRHRDLS.cjs');
|
|
33
|
-
var chunkAPVMN2H7_cjs = require('./chunk-APVMN2H7.cjs');
|
|
34
|
-
var chunk22K72CJ5_cjs = require('./chunk-22K72CJ5.cjs');
|
|
35
|
-
var chunk5VPVJHJO_cjs = require('./chunk-5VPVJHJO.cjs');
|
|
36
|
-
require('./chunk-PK6SKIKE.cjs');
|
|
37
|
-
|
|
38
|
-
// src/index.ts
|
|
39
|
-
var index_default = chunkPJRHRDLS_cjs.PowerlinesAPI;
|
|
40
|
-
|
|
41
|
-
Object.defineProperty(exports, "LogLevel", {
|
|
42
|
-
enumerable: true,
|
|
43
|
-
get: function () { return chunkYIWHO6SW_cjs.LogLevel; }
|
|
44
|
-
});
|
|
45
|
-
Object.defineProperty(exports, "plugins", {
|
|
46
|
-
enumerable: true,
|
|
47
|
-
get: function () { return chunkRIOZPUCZ_cjs.plugins; }
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "defineConfig", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () { return chunkGC3BRYAK_cjs.defineConfig; }
|
|
52
|
-
});
|
|
53
|
-
Object.defineProperty(exports, "extendPlugin", {
|
|
54
|
-
enumerable: true,
|
|
55
|
-
get: function () { return chunk4AKYOJXA_cjs.extendPlugin; }
|
|
56
|
-
});
|
|
57
|
-
Object.defineProperty(exports, "PowerlinesAPI", {
|
|
58
|
-
enumerable: true,
|
|
59
|
-
get: function () { return chunkPJRHRDLS_cjs.PowerlinesAPI; }
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "PLUGIN_NON_HOOK_FIELDS", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () { return chunkAPVMN2H7_cjs.PLUGIN_NON_HOOK_FIELDS; }
|
|
64
|
-
});
|
|
65
|
-
Object.defineProperty(exports, "__VFS_CACHE__", {
|
|
66
|
-
enumerable: true,
|
|
67
|
-
get: function () { return chunk22K72CJ5_cjs.__VFS_CACHE__; }
|
|
68
|
-
});
|
|
69
|
-
Object.defineProperty(exports, "__VFS_INIT__", {
|
|
70
|
-
enumerable: true,
|
|
71
|
-
get: function () { return chunk22K72CJ5_cjs.__VFS_INIT__; }
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, "__VFS_RESOLVER__", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function () { return chunk22K72CJ5_cjs.__VFS_RESOLVER__; }
|
|
76
|
-
});
|
|
77
|
-
Object.defineProperty(exports, "__VFS_REVERT__", {
|
|
78
|
-
enumerable: true,
|
|
79
|
-
get: function () { return chunk22K72CJ5_cjs.__VFS_REVERT__; }
|
|
80
|
-
});
|
|
81
|
-
Object.defineProperty(exports, "__VFS_UNIFIED__", {
|
|
82
|
-
enumerable: true,
|
|
83
|
-
get: function () { return chunk22K72CJ5_cjs.__VFS_UNIFIED__; }
|
|
84
|
-
});
|
|
85
|
-
Object.defineProperty(exports, "__VFS_VIRTUAL__", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
get: function () { return chunk22K72CJ5_cjs.__VFS_VIRTUAL__; }
|
|
88
|
-
});
|
|
89
|
-
Object.defineProperty(exports, "SUPPORTED_COMMANDS", {
|
|
35
|
+
//#endregion
|
|
36
|
+
Object.defineProperty(exports, 'PowerlinesAPI', {
|
|
90
37
|
enumerable: true,
|
|
91
|
-
get: function () {
|
|
38
|
+
get: function () {
|
|
39
|
+
return _powerlines_engine_api.PowerlinesAPI;
|
|
40
|
+
}
|
|
92
41
|
});
|
|
93
|
-
exports.
|
|
94
|
-
|
|
95
|
-
|
|
42
|
+
exports.PowerlinesEngine = require_engine.PowerlinesEngine;
|
|
43
|
+
exports.createAPI = createAPI;
|
|
44
|
+
exports.createEngine = createEngine;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,65 +1,26 @@
|
|
|
1
|
-
import { PowerlinesAPI } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
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-DtY60yLh.cjs';
|
|
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.cjs';
|
|
7
|
-
export { DeepkitOptions, ParsedTypeScriptConfig, RawReflectionMode, ReflectionLevel, ReflectionMode, TSCompilerOptions, TSConfig, __ΩDeepkitOptions, __ΩParsedTypeScriptConfig, __ΩRawReflectionMode, __ΩReflectionLevel, __ΩReflectionMode, __ΩTSCompilerOptions, __ΩTSConfig } from './types/tsconfig.cjs';
|
|
8
|
-
export { MarkdownPageEvent, MarkdownRendererEvent, __ΩMarkdownPageEvent, __ΩMarkdownRendererEvent } from './types/typedoc.cjs';
|
|
9
|
-
export { InferUnpluginOptions, StormStackUnpluginFactory, UnpluginUserConfig, __ΩInferUnpluginOptions, __ΩStormStackUnpluginFactory, __ΩUnpluginUserConfig } from './types/unplugin.cjs';
|
|
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.cjs';
|
|
11
|
-
import './hooks-Wrj1dKJ9.cjs';
|
|
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.cjs';
|
|
22
|
-
import 'next';
|
|
23
|
-
import './tsup.cjs';
|
|
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';
|
|
1
|
+
import { PowerlinesAPI } from "./api.cjs";
|
|
2
|
+
import { types_d_exports } from "./types.cjs";
|
|
3
|
+
import { PowerlinesEngine } from "./engine.cjs";
|
|
4
|
+
export * from "@powerlines/core";
|
|
55
5
|
|
|
6
|
+
//#region src/index.d.ts
|
|
7
|
+
declare namespace index_d_exports {
|
|
8
|
+
export { PowerlinesAPI, PowerlinesEngine, createAPI, createEngine };
|
|
9
|
+
}
|
|
56
10
|
/**
|
|
57
|
-
*
|
|
11
|
+
* Creates a new {@link PowerlinesEngine} instance.
|
|
58
12
|
*
|
|
59
|
-
* @
|
|
60
|
-
* A
|
|
13
|
+
* @param options - The user configuration options.
|
|
14
|
+
* @returns A promise that resolves to a {@link PowerlinesEngine} instance.
|
|
15
|
+
*/
|
|
16
|
+
declare function createEngine(options: types_d_exports.EngineOptions): Promise<PowerlinesEngine>;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new {@link PowerlinesAPI} instance.
|
|
61
19
|
*
|
|
62
|
-
* @
|
|
20
|
+
* @param options - The user configuration options.
|
|
21
|
+
* @returns A promise that resolves to a {@link PowerlinesAPI} instance.
|
|
63
22
|
*/
|
|
64
|
-
|
|
65
|
-
|
|
23
|
+
declare function createAPI<TResolvedConfig extends types_d_exports.ResolvedConfig = types_d_exports.ResolvedConfig>(options: types_d_exports.EngineOptions, override?: Partial<TResolvedConfig>): Promise<PowerlinesAPI<TResolvedConfig>>;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { PowerlinesAPI, PowerlinesEngine, createAPI, createEngine };
|
|
26
|
+
//# sourceMappingURL=index.d.cts.map
|