powerlines 0.14.1 → 0.14.4
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/schemas/fs.capnp
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
@0xa56c61324b9d6e49;
|
|
2
|
+
|
|
3
|
+
# Additional metadata associated with a file in the file system.
|
|
4
|
+
struct FileMetadata {
|
|
5
|
+
# The identifier for the file data.
|
|
6
|
+
id @0 :Text;
|
|
7
|
+
# The type of the file.
|
|
8
|
+
type @1 :Text = "normal";
|
|
9
|
+
# The timestamp representing the file's creation date.
|
|
10
|
+
timestamp @2 :UInt32;
|
|
11
|
+
# Additional metadata associated with the file.
|
|
12
|
+
properties @3 :List(KeyValuePair);
|
|
13
|
+
|
|
14
|
+
struct KeyValuePair {
|
|
15
|
+
key @0 :Text;
|
|
16
|
+
value @1 :Text;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
# A mapping between a file path and its unique identifier.
|
|
21
|
+
# Note: Multiple paths can map to the same identifier (e.g., symlinks).
|
|
22
|
+
struct FileId {
|
|
23
|
+
# An identifier for the file.
|
|
24
|
+
id @0 :Text;
|
|
25
|
+
# A virtual (or actual) path to the file in the file system.
|
|
26
|
+
path @1 :Text;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
# The content of a file in the file system.
|
|
30
|
+
struct FileStorage {
|
|
31
|
+
# An identifier for the file.
|
|
32
|
+
path @0 :Text;
|
|
33
|
+
# A virtual (or actual) path to the file in the file system.
|
|
34
|
+
code @1 :Text;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
# A virtual representation of a file system containing multiple files.
|
|
38
|
+
struct FileSystem {
|
|
39
|
+
ids @0 :List(FileId);
|
|
40
|
+
storage @1 :List(FileStorage);
|
|
41
|
+
metadata @2 :List(FileMetadata);
|
|
42
|
+
}
|
package/dist/astro.d.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { AstroUserConfig } from 'astro';
|
|
2
|
-
import { co as ViteResolvedConfig } 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 '@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
|
-
* An Astro plugin that will invoke the Powerlines API hooks during the build process.
|
|
43
|
-
*
|
|
44
|
-
* @see https://docs.astro.build/en/guides/integrations-guide/#creating-an-integration
|
|
45
|
-
*
|
|
46
|
-
* @example
|
|
47
|
-
* ```js
|
|
48
|
-
* // astro.config.js
|
|
49
|
-
* import powerlines from 'powerlines/astro'
|
|
50
|
-
*
|
|
51
|
-
* default export {
|
|
52
|
-
* plugins: [powerlines()],
|
|
53
|
-
* }
|
|
54
|
-
* ```
|
|
55
|
-
*/
|
|
56
|
-
declare const astro: (config: Partial<Omit<ViteResolvedConfig["userConfig"], "variant">>) => AstroUserConfig;
|
|
57
|
-
|
|
58
|
-
export { astro as "module.exports", astro, astro as default };
|
package/dist/astro.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { astro, astro_default as default, astro as "module.exports" } from './chunk-7GVRTQLJ.js';
|
|
2
|
-
import './chunk-WA6IOZHV.js';
|
|
3
|
-
import './chunk-6TJGZR5X.js';
|
|
4
|
-
import './chunk-V7LXFIGK.js';
|
|
5
|
-
import './chunk-P4BOYWXT.js';
|
|
6
|
-
import './chunk-EBMELFCF.js';
|
|
7
|
-
import './chunk-4HGQJ4KR.js';
|
|
8
|
-
import './chunk-LO77RPRV.js';
|
|
9
|
-
import './chunk-7QVYU63E.js';
|
|
10
|
-
//# sourceMappingURL=astro.js.map
|
|
11
|
-
//# sourceMappingURL=astro.js.map
|
package/dist/babel-types.d.ts
DELETED
|
@@ -1,292 +0,0 @@
|
|
|
1
|
-
/* -------------------------------------------------------------------
|
|
2
|
-
|
|
3
|
-
⚡ Storm Software - Powerlines
|
|
4
|
-
|
|
5
|
-
This code was released as part of the Powerlines project. Powerlines
|
|
6
|
-
is maintained by Storm Software under the Apache-2.0 license, and is
|
|
7
|
-
free for commercial and private use. For more information, please visit
|
|
8
|
-
our licensing page at https://stormsoftware.com/licenses/projects/powerlines.
|
|
9
|
-
|
|
10
|
-
Website: https://stormsoftware.com
|
|
11
|
-
Repository: https://github.com/storm-software/powerlines
|
|
12
|
-
Documentation: https://docs.stormsoftware.com/projects/powerlines
|
|
13
|
-
Contact: https://stormsoftware.com/contact
|
|
14
|
-
|
|
15
|
-
SPDX-License-Identifier: Apache-2.0
|
|
16
|
-
|
|
17
|
-
------------------------------------------------------------------- */
|
|
18
|
-
|
|
19
|
-
import type { ConfigAPI, NodePath, types as t } from "@babel/core";
|
|
20
|
-
import type { HubInterface } from "@babel/traverse";
|
|
21
|
-
|
|
22
|
-
declare module "@babel/helper-plugin-utils" {
|
|
23
|
-
const knownAssumptions: readonly [
|
|
24
|
-
"arrayLikeIsIterable",
|
|
25
|
-
"constantReexports",
|
|
26
|
-
"constantSuper",
|
|
27
|
-
"enumerableModuleMeta",
|
|
28
|
-
"ignoreFunctionLength",
|
|
29
|
-
"ignoreToPrimitiveHint",
|
|
30
|
-
"iterableIsArray",
|
|
31
|
-
"mutableTemplateObject",
|
|
32
|
-
"noClassCalls",
|
|
33
|
-
"noDocumentAll",
|
|
34
|
-
"noIncompleteNsImportDetection",
|
|
35
|
-
"noNewArrows",
|
|
36
|
-
"noUninitializedPrivateFieldAccess",
|
|
37
|
-
"objectRestNoSymbols",
|
|
38
|
-
"privateFieldsAsSymbols",
|
|
39
|
-
"privateFieldsAsProperties",
|
|
40
|
-
"pureGetters",
|
|
41
|
-
"setClassMethods",
|
|
42
|
-
"setComputedProperties",
|
|
43
|
-
"setPublicClassFields",
|
|
44
|
-
"setSpreadProperties",
|
|
45
|
-
"skipForOfIteratorClosing",
|
|
46
|
-
"superIsCallableConstructor"
|
|
47
|
-
];
|
|
48
|
-
|
|
49
|
-
export type AssumptionName = (typeof knownAssumptions)[number];
|
|
50
|
-
|
|
51
|
-
type AssumptionFunction = (name: AssumptionName) => boolean | undefined;
|
|
52
|
-
|
|
53
|
-
export type Target =
|
|
54
|
-
| "node"
|
|
55
|
-
| "deno"
|
|
56
|
-
| "chrome"
|
|
57
|
-
| "opera"
|
|
58
|
-
| "edge"
|
|
59
|
-
| "firefox"
|
|
60
|
-
| "safari"
|
|
61
|
-
| "ie"
|
|
62
|
-
| "ios"
|
|
63
|
-
| "android"
|
|
64
|
-
| "electron"
|
|
65
|
-
| "samsung"
|
|
66
|
-
| "opera_mobile";
|
|
67
|
-
|
|
68
|
-
export type Targets = {
|
|
69
|
-
[target in Target]?: string;
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
type TargetsFunction = () => Targets;
|
|
73
|
-
|
|
74
|
-
export type PresetAPI = {
|
|
75
|
-
targets: TargetsFunction;
|
|
76
|
-
addExternalDependency: (ref: string) => void;
|
|
77
|
-
} & ConfigAPI;
|
|
78
|
-
|
|
79
|
-
export type PluginAPI = {
|
|
80
|
-
assumption: AssumptionFunction;
|
|
81
|
-
} & PresetAPI &
|
|
82
|
-
BabelAPI;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
declare module "@babel/core" {
|
|
86
|
-
export interface BabelFile
|
|
87
|
-
extends HubInterface,
|
|
88
|
-
Pick<PluginPass, "get" | "set"> {}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
declare module "@babel/helper-module-transforms" {
|
|
92
|
-
interface LocalExportMetadata {
|
|
93
|
-
/**
|
|
94
|
-
* names of exports
|
|
95
|
-
*/
|
|
96
|
-
names: string[];
|
|
97
|
-
kind: "import" | "hoisted" | "block" | "var";
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
type InteropType =
|
|
101
|
-
/**
|
|
102
|
-
* Babel interop for default-only imports
|
|
103
|
-
*/
|
|
104
|
-
| "default"
|
|
105
|
-
/**
|
|
106
|
-
* Babel interop for namespace or default+named imports
|
|
107
|
-
*/
|
|
108
|
-
| "namespace"
|
|
109
|
-
/**
|
|
110
|
-
* Node.js interop for default-only imports
|
|
111
|
-
*/
|
|
112
|
-
| "node-default"
|
|
113
|
-
/**
|
|
114
|
-
* Node.js interop for namespace or default+named imports
|
|
115
|
-
*/
|
|
116
|
-
| "node-namespace"
|
|
117
|
-
/**
|
|
118
|
-
* No interop, or named-only imports
|
|
119
|
-
*/
|
|
120
|
-
| "none";
|
|
121
|
-
|
|
122
|
-
interface SourceModuleMetadata {
|
|
123
|
-
/**
|
|
124
|
-
* A unique variable name to use for this namespace object.
|
|
125
|
-
* Centralized for simplicity.
|
|
126
|
-
*/
|
|
127
|
-
name: string;
|
|
128
|
-
loc: t.SourceLocation | undefined | null;
|
|
129
|
-
interop: InteropType;
|
|
130
|
-
/**
|
|
131
|
-
* Local binding to reference from this source namespace.
|
|
132
|
-
* Key: Local name, value: Import name
|
|
133
|
-
*/
|
|
134
|
-
imports: Map<string, string>;
|
|
135
|
-
/**
|
|
136
|
-
* Local names that reference namespace object.
|
|
137
|
-
*/
|
|
138
|
-
importsNamespace: Set<string>;
|
|
139
|
-
/**
|
|
140
|
-
* Reexports to create for namespace. Key: Export name, value: Import name
|
|
141
|
-
*/
|
|
142
|
-
reexports: Map<string, string>;
|
|
143
|
-
/**
|
|
144
|
-
* List of names to re-export namespace as.
|
|
145
|
-
*/
|
|
146
|
-
reexportNamespace: Set<string>;
|
|
147
|
-
/**
|
|
148
|
-
* Tracks if the source should be re-exported.
|
|
149
|
-
*/
|
|
150
|
-
reexportAll: null | {
|
|
151
|
-
loc: t.SourceLocation | undefined | null;
|
|
152
|
-
};
|
|
153
|
-
wrap?: unknown;
|
|
154
|
-
referenced: boolean;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
interface ModuleMetadata {
|
|
158
|
-
exportName: string;
|
|
159
|
-
/**
|
|
160
|
-
* The name of the variable that will reference an object
|
|
161
|
-
* containing export names.
|
|
162
|
-
*/
|
|
163
|
-
exportNameListName: null | string;
|
|
164
|
-
hasExports: boolean;
|
|
165
|
-
/**
|
|
166
|
-
* Lookup from local binding to export information.
|
|
167
|
-
*/
|
|
168
|
-
local: Map<string, LocalExportMetadata>;
|
|
169
|
-
/**
|
|
170
|
-
* Lookup of source file to source file metadata.
|
|
171
|
-
*/
|
|
172
|
-
source: Map<string, SourceModuleMetadata>;
|
|
173
|
-
/**
|
|
174
|
-
* List of names that should only be printed as string literals.
|
|
175
|
-
* i.e. `import { "any unicode" as foo } from "some-module"`
|
|
176
|
-
* `stringSpecifiers` is `Set(1) ["any unicode"]`
|
|
177
|
-
* In most cases `stringSpecifiers` is an empty Set
|
|
178
|
-
*/
|
|
179
|
-
stringSpecifiers: Set<string>;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
type ImportInterop =
|
|
183
|
-
| "none"
|
|
184
|
-
| "babel"
|
|
185
|
-
| "node"
|
|
186
|
-
| ((source: string, filename?: string) => "none" | "babel" | "node");
|
|
187
|
-
|
|
188
|
-
type Lazy = boolean | string[] | ((source: string) => boolean);
|
|
189
|
-
|
|
190
|
-
interface RootOptions {
|
|
191
|
-
filename?: string | null;
|
|
192
|
-
filenameRelative?: string | null;
|
|
193
|
-
sourceRoot?: string | null;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
export interface PluginOptions {
|
|
197
|
-
moduleId?: string;
|
|
198
|
-
moduleIds?: boolean;
|
|
199
|
-
getModuleId?: (moduleName: string) => string | null | undefined;
|
|
200
|
-
moduleRoot?: string;
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
export function getModuleName(
|
|
204
|
-
rootOpts: RootOptions,
|
|
205
|
-
pluginOpts: PluginOptions
|
|
206
|
-
): string | null;
|
|
207
|
-
|
|
208
|
-
export interface RewriteModuleStatementsAndPrepareHeaderOptions {
|
|
209
|
-
exportName?: string;
|
|
210
|
-
strict?: boolean;
|
|
211
|
-
allowTopLevelThis?: boolean;
|
|
212
|
-
strictMode?: boolean;
|
|
213
|
-
loose?: boolean;
|
|
214
|
-
importInterop?: ImportInterop;
|
|
215
|
-
noInterop?: boolean;
|
|
216
|
-
lazy?: Lazy;
|
|
217
|
-
getWrapperPayload?: (
|
|
218
|
-
source: string,
|
|
219
|
-
metadata: SourceModuleMetadata,
|
|
220
|
-
importNodes: t.Node[]
|
|
221
|
-
) => unknown;
|
|
222
|
-
wrapReference?: (
|
|
223
|
-
ref: t.Expression,
|
|
224
|
-
payload: unknown
|
|
225
|
-
) => t.Expression | null | undefined;
|
|
226
|
-
esNamespaceOnly?: boolean;
|
|
227
|
-
filename: string | undefined | null;
|
|
228
|
-
constantReexports?: boolean | void;
|
|
229
|
-
enumerableModuleMeta?: boolean | void;
|
|
230
|
-
noIncompleteNsImportDetection?: boolean | void;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Perform all of the generic ES6 module rewriting needed to handle initial
|
|
235
|
-
* module processing. This function will rewrite the majority of the given
|
|
236
|
-
* program to reference the modules described by the returned metadata,
|
|
237
|
-
* and returns a list of statements for use when initializing the module.
|
|
238
|
-
*/
|
|
239
|
-
export function rewriteModuleStatementsAndPrepareHeader(
|
|
240
|
-
path: NodePath<t.Program>,
|
|
241
|
-
options: RewriteModuleStatementsAndPrepareHeaderOptions
|
|
242
|
-
): {
|
|
243
|
-
meta: ModuleMetadata;
|
|
244
|
-
headers: t.Statement[];
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Check if a given source is an anonymous import, e.g. `import 'foo';`
|
|
249
|
-
*/
|
|
250
|
-
export function isSideEffectImport(source: SourceModuleMetadata): boolean;
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* Create the runtime initialization statements for a given requested source.
|
|
254
|
-
* These will initialize all of the runtime import/export logic that
|
|
255
|
-
* can't be handled statically by the statements created by
|
|
256
|
-
* `buildExportInitializationStatements()`.
|
|
257
|
-
*/
|
|
258
|
-
export function buildNamespaceInitStatements(
|
|
259
|
-
metadata: ModuleMetadata,
|
|
260
|
-
sourceMetadata: SourceModuleMetadata,
|
|
261
|
-
constantReexports?: boolean | void,
|
|
262
|
-
wrapReference?: (
|
|
263
|
-
ref: t.Identifier,
|
|
264
|
-
payload: unknown
|
|
265
|
-
) => t.Expression | null | undefined
|
|
266
|
-
): t.Statement[];
|
|
267
|
-
|
|
268
|
-
/**
|
|
269
|
-
* Flag a set of statements as hoisted above all else so that module init
|
|
270
|
-
* statements all run before user code.
|
|
271
|
-
*/
|
|
272
|
-
export function ensureStatementsHoisted(statements: t.Statement[]): void;
|
|
273
|
-
|
|
274
|
-
/**
|
|
275
|
-
* Given an expression for a standard import object, like `require('foo')`,
|
|
276
|
-
* wrap it in a call to the interop helpers based on the type.
|
|
277
|
-
*/
|
|
278
|
-
export function wrapInterop(
|
|
279
|
-
programPath: NodePath<t.Program>,
|
|
280
|
-
expr: t.Expression,
|
|
281
|
-
type: InteropType
|
|
282
|
-
): t.CallExpression;
|
|
283
|
-
|
|
284
|
-
export function buildDynamicImport(
|
|
285
|
-
node: t.CallExpression | t.ImportExpression,
|
|
286
|
-
deferToThen: boolean,
|
|
287
|
-
wrapWithPromise: boolean,
|
|
288
|
-
builder: (specifier: t.Expression) => t.Expression
|
|
289
|
-
): t.Expression;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
export {};
|
package/dist/chunk-22K72CJ5.cjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// src/types/vfs.ts
|
|
4
|
-
var __VFS_INIT__ = "__VFS_INIT__";
|
|
5
|
-
var __VFS_REVERT__ = "__VFS_REVERT__";
|
|
6
|
-
var __VFS_CACHE__ = "__VFS_CACHE__";
|
|
7
|
-
var __VFS_RESOLVER__ = "__VFS_RESOLVER__";
|
|
8
|
-
var __VFS_VIRTUAL__ = "__VFS_VIRTUAL__";
|
|
9
|
-
var __VFS_UNIFIED__ = "__VFS_UNIFIED__";
|
|
10
|
-
|
|
11
|
-
exports.__VFS_CACHE__ = __VFS_CACHE__;
|
|
12
|
-
exports.__VFS_INIT__ = __VFS_INIT__;
|
|
13
|
-
exports.__VFS_RESOLVER__ = __VFS_RESOLVER__;
|
|
14
|
-
exports.__VFS_REVERT__ = __VFS_REVERT__;
|
|
15
|
-
exports.__VFS_UNIFIED__ = __VFS_UNIFIED__;
|
|
16
|
-
exports.__VFS_VIRTUAL__ = __VFS_VIRTUAL__;
|
|
17
|
-
//# sourceMappingURL=chunk-22K72CJ5.cjs.map
|
|
18
|
-
//# sourceMappingURL=chunk-22K72CJ5.cjs.map
|
package/dist/chunk-2OGPXWHG.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { webpack_default } from './chunk-N2RUZCWA.js';
|
|
2
|
-
import { __name } from './chunk-7QVYU63E.js';
|
|
3
|
-
|
|
4
|
-
// src/next.ts
|
|
5
|
-
function next(config = {}) {
|
|
6
|
-
return {
|
|
7
|
-
...config,
|
|
8
|
-
webpack(webpackConfig, context) {
|
|
9
|
-
const result = config.webpack?.(webpackConfig, context) || webpackConfig;
|
|
10
|
-
result.plugins ??= [];
|
|
11
|
-
result.plugins.push(webpack_default(webpackConfig));
|
|
12
|
-
return result;
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
__name(next, "next");
|
|
17
|
-
var next_default = next;
|
|
18
|
-
|
|
19
|
-
export { next, next_default };
|
|
20
|
-
//# sourceMappingURL=chunk-2OGPXWHG.js.map
|
|
21
|
-
//# sourceMappingURL=chunk-2OGPXWHG.js.map
|
package/dist/chunk-2VIXD2XB.js
DELETED
package/dist/chunk-3IM6CTCB.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkWCTOTE3T_cjs = require('./chunk-WCTOTE3T.cjs');
|
|
4
|
-
var unplugin = require('unplugin');
|
|
5
|
-
|
|
6
|
-
var webpack = unplugin.createWebpackPlugin(chunkWCTOTE3T_cjs.createUnpluginFactory("webpack"));
|
|
7
|
-
var webpack_default = webpack;
|
|
8
|
-
|
|
9
|
-
exports.webpack = webpack;
|
|
10
|
-
exports.webpack_default = webpack_default;
|
|
11
|
-
//# sourceMappingURL=chunk-3IM6CTCB.cjs.map
|
|
12
|
-
//# sourceMappingURL=chunk-3IM6CTCB.cjs.map
|
package/dist/chunk-4AKYOJXA.cjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
4
|
-
var defu = require('defu');
|
|
5
|
-
|
|
6
|
-
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
7
|
-
|
|
8
|
-
var defu__default = /*#__PURE__*/_interopDefault(defu);
|
|
9
|
-
|
|
10
|
-
function extendPlugin(builder) {
|
|
11
|
-
return async (options) => {
|
|
12
|
-
const result = await Promise.resolve(builder(options));
|
|
13
|
-
return defu__default.default(options ?? {}, result);
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
chunkPK6SKIKE_cjs.__name(extendPlugin, "extendPlugin");
|
|
17
|
-
|
|
18
|
-
exports.extendPlugin = extendPlugin;
|
|
19
|
-
//# sourceMappingURL=chunk-4AKYOJXA.cjs.map
|
|
20
|
-
//# sourceMappingURL=chunk-4AKYOJXA.cjs.map
|
package/dist/chunk-4FZTGBHW.cjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkWCTOTE3T_cjs = require('./chunk-WCTOTE3T.cjs');
|
|
4
|
-
var unplugin = require('unplugin');
|
|
5
|
-
|
|
6
|
-
var rolldown = unplugin.createRolldownPlugin(chunkWCTOTE3T_cjs.createUnpluginFactory("rolldown"));
|
|
7
|
-
var rolldown_default = rolldown;
|
|
8
|
-
|
|
9
|
-
exports.rolldown = rolldown;
|
|
10
|
-
exports.rolldown_default = rolldown_default;
|
|
11
|
-
//# sourceMappingURL=chunk-4FZTGBHW.cjs.map
|
|
12
|
-
//# sourceMappingURL=chunk-4FZTGBHW.cjs.map
|
package/dist/chunk-4HGQJ4KR.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// src/types/vfs.ts
|
|
2
|
-
var __VFS_INIT__ = "__VFS_INIT__";
|
|
3
|
-
var __VFS_REVERT__ = "__VFS_REVERT__";
|
|
4
|
-
var __VFS_CACHE__ = "__VFS_CACHE__";
|
|
5
|
-
var __VFS_RESOLVER__ = "__VFS_RESOLVER__";
|
|
6
|
-
var __VFS_VIRTUAL__ = "__VFS_VIRTUAL__";
|
|
7
|
-
var __VFS_UNIFIED__ = "__VFS_UNIFIED__";
|
|
8
|
-
|
|
9
|
-
export { __VFS_CACHE__, __VFS_INIT__, __VFS_RESOLVER__, __VFS_REVERT__, __VFS_UNIFIED__, __VFS_VIRTUAL__ };
|
|
10
|
-
//# sourceMappingURL=chunk-4HGQJ4KR.js.map
|
|
11
|
-
//# sourceMappingURL=chunk-4HGQJ4KR.js.map
|
package/dist/chunk-4JCNAKOE.cjs
DELETED
package/dist/chunk-5A5AK6JI.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { extractESBuildConfig } from './chunk-6TJGZR5X.js';
|
|
2
|
-
import { createUnpluginFactory } from './chunk-V7LXFIGK.js';
|
|
3
|
-
import { __name } from './chunk-7QVYU63E.js';
|
|
4
|
-
import { isUndefined } from '@stryke/type-checks/is-undefined';
|
|
5
|
-
import { createEsbuildPlugin } from 'unplugin';
|
|
6
|
-
|
|
7
|
-
var esbuild = createEsbuildPlugin(createUnpluginFactory("esbuild", (api, plugin) => {
|
|
8
|
-
return {
|
|
9
|
-
...plugin,
|
|
10
|
-
esbuild: {
|
|
11
|
-
config: /* @__PURE__ */ __name((options) => {
|
|
12
|
-
options ??= {};
|
|
13
|
-
const result = extractESBuildConfig(api.context);
|
|
14
|
-
for (const key in result) {
|
|
15
|
-
if (isUndefined(options[key]) && !isUndefined(result[key])) {
|
|
16
|
-
options[key] = result[key];
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}, "config"),
|
|
20
|
-
setup: /* @__PURE__ */ __name(async (build) => {
|
|
21
|
-
const environment = await api.context.getEnvironment();
|
|
22
|
-
return api.callHook(environment, "esbuild:setup", build);
|
|
23
|
-
}, "setup")
|
|
24
|
-
}
|
|
25
|
-
};
|
|
26
|
-
}));
|
|
27
|
-
var esbuild_default = esbuild;
|
|
28
|
-
|
|
29
|
-
export { esbuild, esbuild_default };
|
|
30
|
-
//# sourceMappingURL=chunk-5A5AK6JI.js.map
|
|
31
|
-
//# sourceMappingURL=chunk-5A5AK6JI.js.map
|
package/dist/chunk-5S33UKRI.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createUnpluginFactory } from './chunk-V7LXFIGK.js';
|
|
2
|
-
import { createUnloaderPlugin } from 'unplugin';
|
|
3
|
-
|
|
4
|
-
var unloader = createUnloaderPlugin(createUnpluginFactory("unloader"));
|
|
5
|
-
var unloader_default = unloader;
|
|
6
|
-
|
|
7
|
-
export { unloader, unloader_default };
|
|
8
|
-
//# sourceMappingURL=chunk-5S33UKRI.js.map
|
|
9
|
-
//# sourceMappingURL=chunk-5S33UKRI.js.map
|
package/dist/chunk-5VPVJHJO.cjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
// src/types/commands.ts
|
|
4
|
-
var SUPPORTED_COMMANDS = [
|
|
5
|
-
"new",
|
|
6
|
-
"clean",
|
|
7
|
-
"prepare",
|
|
8
|
-
"lint",
|
|
9
|
-
"test",
|
|
10
|
-
"build",
|
|
11
|
-
"docs",
|
|
12
|
-
"release",
|
|
13
|
-
"finalize"
|
|
14
|
-
];
|
|
15
|
-
|
|
16
|
-
exports.SUPPORTED_COMMANDS = SUPPORTED_COMMANDS;
|
|
17
|
-
//# sourceMappingURL=chunk-5VPVJHJO.cjs.map
|
|
18
|
-
//# sourceMappingURL=chunk-5VPVJHJO.cjs.map
|
package/dist/chunk-6TJGZR5X.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { __name } from './chunk-7QVYU63E.js';
|
|
2
|
-
import '@stryke/path/file-path-fns';
|
|
3
|
-
import '@stryke/path/replace';
|
|
4
|
-
import '@stryke/type-checks/is-string';
|
|
5
|
-
import defu from 'defu';
|
|
6
|
-
|
|
7
|
-
var DEFAULT_ESBUILD_CONFIG = {
|
|
8
|
-
target: "esnext",
|
|
9
|
-
platform: "neutral",
|
|
10
|
-
format: "esm",
|
|
11
|
-
write: true,
|
|
12
|
-
minify: true,
|
|
13
|
-
sourcemap: false,
|
|
14
|
-
bundle: true,
|
|
15
|
-
treeShaking: true,
|
|
16
|
-
keepNames: true,
|
|
17
|
-
splitting: true,
|
|
18
|
-
logLevel: "silent"
|
|
19
|
-
};
|
|
20
|
-
function extractESBuildConfig(context) {
|
|
21
|
-
return defu({
|
|
22
|
-
alias: context.builtins.reduce((ret, id) => {
|
|
23
|
-
const path = context.fs.ids[id];
|
|
24
|
-
if (path) {
|
|
25
|
-
ret[id] = path;
|
|
26
|
-
}
|
|
27
|
-
return ret;
|
|
28
|
-
}, {})
|
|
29
|
-
}, context.config.build.variant === "esbuild" ? context.config.override : {}, {
|
|
30
|
-
format: Array.isArray(context.config.output.format) ? context.config.output.format[0] : context.config.output.format,
|
|
31
|
-
platform: context.config.build.platform,
|
|
32
|
-
treeShaking: Boolean(context.config.build?.treeshake) || context.config.build?.treeShaking,
|
|
33
|
-
outdir: context.config.output.outputPath,
|
|
34
|
-
tsconfig: context.tsconfig.tsconfigFilePath,
|
|
35
|
-
tsconfigRaw: context.tsconfig.tsconfigJson
|
|
36
|
-
}, context.config.build.variant === "esbuild" ? context.config.build : {}, {
|
|
37
|
-
minify: context.config.mode !== "development",
|
|
38
|
-
metafile: context.config.mode === "development",
|
|
39
|
-
sourcemap: context.config.mode === "development"
|
|
40
|
-
}, DEFAULT_ESBUILD_CONFIG);
|
|
41
|
-
}
|
|
42
|
-
__name(extractESBuildConfig, "extractESBuildConfig");
|
|
43
|
-
|
|
44
|
-
export { extractESBuildConfig };
|
|
45
|
-
//# sourceMappingURL=chunk-6TJGZR5X.js.map
|
|
46
|
-
//# sourceMappingURL=chunk-6TJGZR5X.js.map
|
package/dist/chunk-6ZGIV2SU.cjs
DELETED
package/dist/chunk-7BZQBW77.cjs
DELETED
package/dist/chunk-7GVRTQLJ.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { vite_default } from './chunk-WA6IOZHV.js';
|
|
2
|
-
import { __name } from './chunk-7QVYU63E.js';
|
|
3
|
-
|
|
4
|
-
// src/astro.ts
|
|
5
|
-
var astro = /* @__PURE__ */ __name((config) => ({
|
|
6
|
-
vite: {
|
|
7
|
-
plugins: [
|
|
8
|
-
vite_default(config)
|
|
9
|
-
]
|
|
10
|
-
}
|
|
11
|
-
}), "astro");
|
|
12
|
-
var astro_default = astro;
|
|
13
|
-
|
|
14
|
-
export { astro, astro_default };
|
|
15
|
-
//# sourceMappingURL=chunk-7GVRTQLJ.js.map
|
|
16
|
-
//# sourceMappingURL=chunk-7GVRTQLJ.js.map
|
package/dist/chunk-7HF3SEKY.cjs
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk3IM6CTCB_cjs = require('./chunk-3IM6CTCB.cjs');
|
|
4
|
-
var chunkPK6SKIKE_cjs = require('./chunk-PK6SKIKE.cjs');
|
|
5
|
-
|
|
6
|
-
// src/next.ts
|
|
7
|
-
function next(config = {}) {
|
|
8
|
-
return {
|
|
9
|
-
...config,
|
|
10
|
-
webpack(webpackConfig, context) {
|
|
11
|
-
const result = config.webpack?.(webpackConfig, context) || webpackConfig;
|
|
12
|
-
result.plugins ??= [];
|
|
13
|
-
result.plugins.push(chunk3IM6CTCB_cjs.webpack_default(webpackConfig));
|
|
14
|
-
return result;
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
chunkPK6SKIKE_cjs.__name(next, "next");
|
|
19
|
-
var next_default = next;
|
|
20
|
-
|
|
21
|
-
exports.next = next;
|
|
22
|
-
exports.next_default = next_default;
|
|
23
|
-
//# sourceMappingURL=chunk-7HF3SEKY.cjs.map
|
|
24
|
-
//# sourceMappingURL=chunk-7HF3SEKY.cjs.map
|