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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/typescript/import-transformer.ts"],"names":["isDynamicImport","node","isCallExpression","expression","kind","SyntaxKind","ImportKeyword","createImportTransformer","context","ctx","sourceFile","visitor","importPath","isImportDeclaration","isExportDeclaration","moduleSpecifier","importPathWithQuotes","getText","substr","length","arguments","isImportTypeNode","isLiteralTypeNode","argument","isStringLiteral","literal","text","resolvedImportPath","fs","resolve","factory","updateImportDeclaration","modifiers","importClause","createStringLiteral","attributes","updateExportDeclaration","isTypeOnly","exportClause","updateCallExpression","typeArguments","createNodeArray","updateImportTypeNode","createLiteralTypeNode","qualifier","isTypeOf","visitEachChild","visitNode"],"mappings":"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","file":"import-transformer.cjs","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 {\n CallExpression,\n isCallExpression,\n isExportDeclaration,\n isImportDeclaration,\n isImportTypeNode,\n isLiteralTypeNode,\n isStringLiteral,\n Node,\n SourceFile,\n SyntaxKind,\n TransformationContext,\n TransformerFactory,\n visitEachChild,\n visitNode,\n Visitor\n} from \"typescript\";\nimport { Context } from \"../../types/context\";\n\nfunction isDynamicImport(node: Node): node is CallExpression {\n return (\n isCallExpression(node) && node.expression.kind === SyntaxKind.ImportKeyword\n );\n}\n\nexport function createImportTransformer(\n context: Context\n): TransformerFactory<SourceFile> {\n return (ctx: TransformationContext) => {\n return (sourceFile: SourceFile): SourceFile => {\n const visitor: Visitor = node => {\n let importPath: string | undefined;\n if (\n (isImportDeclaration(node) || isExportDeclaration(node)) &&\n node.moduleSpecifier\n ) {\n const importPathWithQuotes = node.moduleSpecifier.getText(sourceFile);\n importPath = importPathWithQuotes.substr(\n 1,\n importPathWithQuotes.length - 2\n );\n } else if (isDynamicImport(node)) {\n const importPathWithQuotes = node.arguments[0]!.getText(sourceFile);\n importPath = importPathWithQuotes.substr(\n 1,\n importPathWithQuotes.length - 2\n );\n } else if (\n isImportTypeNode(node) &&\n isLiteralTypeNode(node.argument) &&\n isStringLiteral(node.argument.literal)\n ) {\n importPath = node.argument.literal.text;\n }\n\n if (importPath) {\n const resolvedImportPath =\n context.fs.resolve(importPath) || importPath;\n\n // Only rewrite relative path\n if (resolvedImportPath !== importPath) {\n if (isImportDeclaration(node)) {\n return ctx.factory.updateImportDeclaration(\n node,\n node.modifiers,\n node.importClause,\n ctx.factory.createStringLiteral(resolvedImportPath),\n node.attributes\n );\n } else if (isExportDeclaration(node)) {\n return ctx.factory.updateExportDeclaration(\n node,\n node.modifiers,\n node.isTypeOnly,\n node.exportClause,\n ctx.factory.createStringLiteral(resolvedImportPath),\n node.attributes\n );\n } else if (isDynamicImport(node)) {\n return ctx.factory.updateCallExpression(\n node,\n node.expression,\n node.typeArguments,\n ctx.factory.createNodeArray([\n ctx.factory.createStringLiteral(resolvedImportPath)\n ])\n );\n } else if (isImportTypeNode(node)) {\n return ctx.factory.updateImportTypeNode(\n node,\n ctx.factory.createLiteralTypeNode(\n ctx.factory.createStringLiteral(resolvedImportPath)\n ),\n node.attributes,\n node.qualifier,\n node.typeArguments,\n node.isTypeOf\n );\n }\n }\n return node;\n }\n\n return visitEachChild(node, visitor, ctx);\n };\n\n return visitNode(sourceFile, visitor) as SourceFile;\n };\n };\n}\n"]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { TransformerFactory, SourceFile } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-Ro14HmyO.cjs';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'c12';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@farmfe/core';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import '@storm-software/esbuild/types';
|
|
14
|
-
import '@storm-software/unbuild/types';
|
|
15
|
-
import 'esbuild';
|
|
16
|
-
import 'rolldown';
|
|
17
|
-
import 'rollup';
|
|
18
|
-
import 'webpack';
|
|
19
|
-
import '@stryke/env/get-env-paths';
|
|
20
|
-
import '@stryke/types/package-json';
|
|
21
|
-
import 'jest-worker';
|
|
22
|
-
import 'jiti';
|
|
23
|
-
import 'oxc-parser';
|
|
24
|
-
import 'semver';
|
|
25
|
-
import 'unplugin';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.cjs';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import '@stryke/json/types';
|
|
30
|
-
import 'memfs';
|
|
31
|
-
import 'node:fs';
|
|
32
|
-
import 'unionfs';
|
|
33
|
-
|
|
34
|
-
declare function createImportTransformer(context: Context): TransformerFactory<SourceFile>;
|
|
35
|
-
|
|
36
|
-
export { createImportTransformer };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { TransformerFactory, SourceFile } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-DnifzkPt.js';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'c12';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@farmfe/core';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import '@storm-software/esbuild/types';
|
|
14
|
-
import '@storm-software/unbuild/types';
|
|
15
|
-
import 'esbuild';
|
|
16
|
-
import 'rolldown';
|
|
17
|
-
import 'rollup';
|
|
18
|
-
import 'webpack';
|
|
19
|
-
import '@stryke/env/get-env-paths';
|
|
20
|
-
import '@stryke/types/package-json';
|
|
21
|
-
import 'jest-worker';
|
|
22
|
-
import 'jiti';
|
|
23
|
-
import 'oxc-parser';
|
|
24
|
-
import 'semver';
|
|
25
|
-
import 'unplugin';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.js';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import '@stryke/json/types';
|
|
30
|
-
import 'memfs';
|
|
31
|
-
import 'node:fs';
|
|
32
|
-
import 'unionfs';
|
|
33
|
-
|
|
34
|
-
declare function createImportTransformer(context: Context): TransformerFactory<SourceFile>;
|
|
35
|
-
|
|
36
|
-
export { createImportTransformer };
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { __name } from '../chunk-7QVYU63E.js';
|
|
2
|
-
import { isCallExpression, SyntaxKind, visitNode, isImportDeclaration, isExportDeclaration, isImportTypeNode, isLiteralTypeNode, isStringLiteral, visitEachChild } from 'typescript';
|
|
3
|
-
|
|
4
|
-
function isDynamicImport(node) {
|
|
5
|
-
return isCallExpression(node) && node.expression.kind === SyntaxKind.ImportKeyword;
|
|
6
|
-
}
|
|
7
|
-
__name(isDynamicImport, "isDynamicImport");
|
|
8
|
-
function createImportTransformer(context) {
|
|
9
|
-
return (ctx) => {
|
|
10
|
-
return (sourceFile) => {
|
|
11
|
-
const visitor = /* @__PURE__ */ __name((node) => {
|
|
12
|
-
let importPath;
|
|
13
|
-
if ((isImportDeclaration(node) || isExportDeclaration(node)) && node.moduleSpecifier) {
|
|
14
|
-
const importPathWithQuotes = node.moduleSpecifier.getText(sourceFile);
|
|
15
|
-
importPath = importPathWithQuotes.substr(1, importPathWithQuotes.length - 2);
|
|
16
|
-
} else if (isDynamicImport(node)) {
|
|
17
|
-
const importPathWithQuotes = node.arguments[0].getText(sourceFile);
|
|
18
|
-
importPath = importPathWithQuotes.substr(1, importPathWithQuotes.length - 2);
|
|
19
|
-
} else if (isImportTypeNode(node) && isLiteralTypeNode(node.argument) && isStringLiteral(node.argument.literal)) {
|
|
20
|
-
importPath = node.argument.literal.text;
|
|
21
|
-
}
|
|
22
|
-
if (importPath) {
|
|
23
|
-
const resolvedImportPath = context.fs.resolve(importPath) || importPath;
|
|
24
|
-
if (resolvedImportPath !== importPath) {
|
|
25
|
-
if (isImportDeclaration(node)) {
|
|
26
|
-
return ctx.factory.updateImportDeclaration(node, node.modifiers, node.importClause, ctx.factory.createStringLiteral(resolvedImportPath), node.attributes);
|
|
27
|
-
} else if (isExportDeclaration(node)) {
|
|
28
|
-
return ctx.factory.updateExportDeclaration(node, node.modifiers, node.isTypeOnly, node.exportClause, ctx.factory.createStringLiteral(resolvedImportPath), node.attributes);
|
|
29
|
-
} else if (isDynamicImport(node)) {
|
|
30
|
-
return ctx.factory.updateCallExpression(node, node.expression, node.typeArguments, ctx.factory.createNodeArray([
|
|
31
|
-
ctx.factory.createStringLiteral(resolvedImportPath)
|
|
32
|
-
]));
|
|
33
|
-
} else if (isImportTypeNode(node)) {
|
|
34
|
-
return ctx.factory.updateImportTypeNode(node, ctx.factory.createLiteralTypeNode(ctx.factory.createStringLiteral(resolvedImportPath)), node.attributes, node.qualifier, node.typeArguments, node.isTypeOf);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
return node;
|
|
38
|
-
}
|
|
39
|
-
return visitEachChild(node, visitor, ctx);
|
|
40
|
-
}, "visitor");
|
|
41
|
-
return visitNode(sourceFile, visitor);
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
__name(createImportTransformer, "createImportTransformer");
|
|
46
|
-
|
|
47
|
-
export { createImportTransformer };
|
|
48
|
-
//# sourceMappingURL=import-transformer.js.map
|
|
49
|
-
//# sourceMappingURL=import-transformer.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/lib/typescript/import-transformer.ts"],"names":["isDynamicImport","node","isCallExpression","expression","kind","SyntaxKind","ImportKeyword","createImportTransformer","context","ctx","sourceFile","visitor","importPath","isImportDeclaration","isExportDeclaration","moduleSpecifier","importPathWithQuotes","getText","substr","length","arguments","isImportTypeNode","isLiteralTypeNode","argument","isStringLiteral","literal","text","resolvedImportPath","fs","resolve","factory","updateImportDeclaration","modifiers","importClause","createStringLiteral","attributes","updateExportDeclaration","isTypeOnly","exportClause","updateCallExpression","typeArguments","createNodeArray","updateImportTypeNode","createLiteralTypeNode","qualifier","isTypeOf","visitEachChild","visitNode"],"mappings":"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","file":"import-transformer.js","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 {\n CallExpression,\n isCallExpression,\n isExportDeclaration,\n isImportDeclaration,\n isImportTypeNode,\n isLiteralTypeNode,\n isStringLiteral,\n Node,\n SourceFile,\n SyntaxKind,\n TransformationContext,\n TransformerFactory,\n visitEachChild,\n visitNode,\n Visitor\n} from \"typescript\";\nimport { Context } from \"../../types/context\";\n\nfunction isDynamicImport(node: Node): node is CallExpression {\n return (\n isCallExpression(node) && node.expression.kind === SyntaxKind.ImportKeyword\n );\n}\n\nexport function createImportTransformer(\n context: Context\n): TransformerFactory<SourceFile> {\n return (ctx: TransformationContext) => {\n return (sourceFile: SourceFile): SourceFile => {\n const visitor: Visitor = node => {\n let importPath: string | undefined;\n if (\n (isImportDeclaration(node) || isExportDeclaration(node)) &&\n node.moduleSpecifier\n ) {\n const importPathWithQuotes = node.moduleSpecifier.getText(sourceFile);\n importPath = importPathWithQuotes.substr(\n 1,\n importPathWithQuotes.length - 2\n );\n } else if (isDynamicImport(node)) {\n const importPathWithQuotes = node.arguments[0]!.getText(sourceFile);\n importPath = importPathWithQuotes.substr(\n 1,\n importPathWithQuotes.length - 2\n );\n } else if (\n isImportTypeNode(node) &&\n isLiteralTypeNode(node.argument) &&\n isStringLiteral(node.argument.literal)\n ) {\n importPath = node.argument.literal.text;\n }\n\n if (importPath) {\n const resolvedImportPath =\n context.fs.resolve(importPath) || importPath;\n\n // Only rewrite relative path\n if (resolvedImportPath !== importPath) {\n if (isImportDeclaration(node)) {\n return ctx.factory.updateImportDeclaration(\n node,\n node.modifiers,\n node.importClause,\n ctx.factory.createStringLiteral(resolvedImportPath),\n node.attributes\n );\n } else if (isExportDeclaration(node)) {\n return ctx.factory.updateExportDeclaration(\n node,\n node.modifiers,\n node.isTypeOnly,\n node.exportClause,\n ctx.factory.createStringLiteral(resolvedImportPath),\n node.attributes\n );\n } else if (isDynamicImport(node)) {\n return ctx.factory.updateCallExpression(\n node,\n node.expression,\n node.typeArguments,\n ctx.factory.createNodeArray([\n ctx.factory.createStringLiteral(resolvedImportPath)\n ])\n );\n } else if (isImportTypeNode(node)) {\n return ctx.factory.updateImportTypeNode(\n node,\n ctx.factory.createLiteralTypeNode(\n ctx.factory.createStringLiteral(resolvedImportPath)\n ),\n node.attributes,\n node.qualifier,\n node.typeArguments,\n node.isTypeOf\n );\n }\n }\n return node;\n }\n\n return visitEachChild(node, visitor, ctx);\n };\n\n return visitNode(sourceFile, visitor) as SourceFile;\n };\n };\n}\n"]}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
require('../chunk-PEZXLKQD.cjs');
|
|
4
|
-
var chunk62ZJYXT3_cjs = require('../chunk-62ZJYXT3.cjs');
|
|
5
|
-
var chunkRLMEYZ5I_cjs = require('../chunk-RLMEYZ5I.cjs');
|
|
6
|
-
var chunkLJZEN4HP_cjs = require('../chunk-LJZEN4HP.cjs');
|
|
7
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, "isolatedDeclarations", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunk62ZJYXT3_cjs.isolatedDeclarations; }
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports, "SourcesMap", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return chunkRLMEYZ5I_cjs.SourcesMap; }
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "createVirtualCompilerHost", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return chunkRLMEYZ5I_cjs.createVirtualCompilerHost; }
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports, "createVirtualProgram", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function () { return chunkRLMEYZ5I_cjs.createVirtualProgram; }
|
|
26
|
-
});
|
|
27
|
-
Object.defineProperty(exports, "getDefaultCompilerOptions", {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () { return chunkRLMEYZ5I_cjs.getDefaultCompilerOptions; }
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "loadLibFiles", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () { return chunkRLMEYZ5I_cjs.loadLibFiles; }
|
|
34
|
-
});
|
|
35
|
-
Object.defineProperty(exports, "findIncludeMatch", {
|
|
36
|
-
enumerable: true,
|
|
37
|
-
get: function () { return chunkLJZEN4HP_cjs.findIncludeMatch; }
|
|
38
|
-
});
|
|
39
|
-
Object.defineProperty(exports, "findMatch", {
|
|
40
|
-
enumerable: true,
|
|
41
|
-
get: function () { return chunkLJZEN4HP_cjs.findMatch; }
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () { return chunkLJZEN4HP_cjs.getParsedTypeScriptConfig; }
|
|
46
|
-
});
|
|
47
|
-
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
48
|
-
enumerable: true,
|
|
49
|
-
get: function () { return chunkLJZEN4HP_cjs.getTsconfigFilePath; }
|
|
50
|
-
});
|
|
51
|
-
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () { return chunkLJZEN4HP_cjs.isIncludeMatchFound; }
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "isMatchFound", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () { return chunkLJZEN4HP_cjs.isMatchFound; }
|
|
58
|
-
});
|
|
59
|
-
//# sourceMappingURL=index.cjs.map
|
|
60
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './isolated-decl.cjs';
|
|
2
|
-
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.cjs';
|
|
3
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.cjs';
|
|
4
|
-
import 'typescript';
|
|
5
|
-
import '../config-Ro14HmyO.cjs';
|
|
6
|
-
import '@storm-software/build-tools/types';
|
|
7
|
-
import '@storm-software/config-tools/types';
|
|
8
|
-
import '@storm-software/config/types';
|
|
9
|
-
import '@stryke/types/base';
|
|
10
|
-
import '@stryke/types/configuration';
|
|
11
|
-
import '@stryke/types/file';
|
|
12
|
-
import 'c12';
|
|
13
|
-
import 'vite';
|
|
14
|
-
import '@farmfe/core';
|
|
15
|
-
import '@rspack/core';
|
|
16
|
-
import '@storm-software/esbuild/types';
|
|
17
|
-
import '@storm-software/unbuild/types';
|
|
18
|
-
import 'esbuild';
|
|
19
|
-
import 'rolldown';
|
|
20
|
-
import 'rollup';
|
|
21
|
-
import 'webpack';
|
|
22
|
-
import '@stryke/env/get-env-paths';
|
|
23
|
-
import '@stryke/types/package-json';
|
|
24
|
-
import 'jest-worker';
|
|
25
|
-
import 'jiti';
|
|
26
|
-
import 'oxc-parser';
|
|
27
|
-
import 'semver';
|
|
28
|
-
import 'unplugin';
|
|
29
|
-
import '@stryke/types/array';
|
|
30
|
-
import '../tsconfig-Bz-CiFqD.cjs';
|
|
31
|
-
import '@stryke/types/tsconfig';
|
|
32
|
-
import '@stryke/json/types';
|
|
33
|
-
import 'memfs';
|
|
34
|
-
import 'node:fs';
|
|
35
|
-
import 'unionfs';
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export { IsolatedDeclarationsResult, __ΩIsolatedDeclarationsResult, isolatedDeclarations } from './isolated-decl.js';
|
|
2
|
-
export { SourcesMap, __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from './program.js';
|
|
3
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from './tsconfig.js';
|
|
4
|
-
import 'typescript';
|
|
5
|
-
import '../config-DnifzkPt.js';
|
|
6
|
-
import '@storm-software/build-tools/types';
|
|
7
|
-
import '@storm-software/config-tools/types';
|
|
8
|
-
import '@storm-software/config/types';
|
|
9
|
-
import '@stryke/types/base';
|
|
10
|
-
import '@stryke/types/configuration';
|
|
11
|
-
import '@stryke/types/file';
|
|
12
|
-
import 'c12';
|
|
13
|
-
import 'vite';
|
|
14
|
-
import '@farmfe/core';
|
|
15
|
-
import '@rspack/core';
|
|
16
|
-
import '@storm-software/esbuild/types';
|
|
17
|
-
import '@storm-software/unbuild/types';
|
|
18
|
-
import 'esbuild';
|
|
19
|
-
import 'rolldown';
|
|
20
|
-
import 'rollup';
|
|
21
|
-
import 'webpack';
|
|
22
|
-
import '@stryke/env/get-env-paths';
|
|
23
|
-
import '@stryke/types/package-json';
|
|
24
|
-
import 'jest-worker';
|
|
25
|
-
import 'jiti';
|
|
26
|
-
import 'oxc-parser';
|
|
27
|
-
import 'semver';
|
|
28
|
-
import 'unplugin';
|
|
29
|
-
import '@stryke/types/array';
|
|
30
|
-
import '../tsconfig-Bz-CiFqD.js';
|
|
31
|
-
import '@stryke/types/tsconfig';
|
|
32
|
-
import '@stryke/json/types';
|
|
33
|
-
import 'memfs';
|
|
34
|
-
import 'node:fs';
|
|
35
|
-
import 'unionfs';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import '../chunk-XGH6JWRO.js';
|
|
2
|
-
export { isolatedDeclarations } from '../chunk-367E23MI.js';
|
|
3
|
-
export { SourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles } from '../chunk-V2T4H24I.js';
|
|
4
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound } from '../chunk-OO4BIM7N.js';
|
|
5
|
-
import '../chunk-7QVYU63E.js';
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunk62ZJYXT3_cjs = require('../chunk-62ZJYXT3.cjs');
|
|
4
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "isolatedDeclarations", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunk62ZJYXT3_cjs.isolatedDeclarations; }
|
|
11
|
-
});
|
|
12
|
-
//# sourceMappingURL=isolated-decl.cjs.map
|
|
13
|
-
//# sourceMappingURL=isolated-decl.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"isolated-decl.cjs"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TranspileOptions } from 'typescript';
|
|
2
|
-
|
|
3
|
-
interface IsolatedDeclarationsResult {
|
|
4
|
-
code: string;
|
|
5
|
-
errors: Array<string>;
|
|
6
|
-
map?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function isolatedDeclarations(id: string, code: string, transformOptions?: TranspileOptions, sourceMap?: boolean): Promise<IsolatedDeclarationsResult>;
|
|
9
|
-
declare type __ΩIsolatedDeclarationsResult = any[];
|
|
10
|
-
|
|
11
|
-
export { type IsolatedDeclarationsResult, type __ΩIsolatedDeclarationsResult, isolatedDeclarations };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TranspileOptions } from 'typescript';
|
|
2
|
-
|
|
3
|
-
interface IsolatedDeclarationsResult {
|
|
4
|
-
code: string;
|
|
5
|
-
errors: Array<string>;
|
|
6
|
-
map?: string;
|
|
7
|
-
}
|
|
8
|
-
declare function isolatedDeclarations(id: string, code: string, transformOptions?: TranspileOptions, sourceMap?: boolean): Promise<IsolatedDeclarationsResult>;
|
|
9
|
-
declare type __ΩIsolatedDeclarationsResult = any[];
|
|
10
|
-
|
|
11
|
-
export { type IsolatedDeclarationsResult, type __ΩIsolatedDeclarationsResult, isolatedDeclarations };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"isolated-decl.js"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkRLMEYZ5I_cjs = require('../chunk-RLMEYZ5I.cjs');
|
|
4
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "SourcesMap", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkRLMEYZ5I_cjs.SourcesMap; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "createVirtualCompilerHost", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkRLMEYZ5I_cjs.createVirtualCompilerHost; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "createVirtualProgram", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkRLMEYZ5I_cjs.createVirtualProgram; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "getDefaultCompilerOptions", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkRLMEYZ5I_cjs.getDefaultCompilerOptions; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "loadLibFiles", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunkRLMEYZ5I_cjs.loadLibFiles; }
|
|
27
|
-
});
|
|
28
|
-
//# sourceMappingURL=program.cjs.map
|
|
29
|
-
//# sourceMappingURL=program.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"program.cjs"}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import ts, { CompilerOptions } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-Ro14HmyO.cjs';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'c12';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@farmfe/core';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import '@storm-software/esbuild/types';
|
|
14
|
-
import '@storm-software/unbuild/types';
|
|
15
|
-
import 'esbuild';
|
|
16
|
-
import 'rolldown';
|
|
17
|
-
import 'rollup';
|
|
18
|
-
import 'webpack';
|
|
19
|
-
import '@stryke/env/get-env-paths';
|
|
20
|
-
import '@stryke/types/package-json';
|
|
21
|
-
import 'jest-worker';
|
|
22
|
-
import 'jiti';
|
|
23
|
-
import 'oxc-parser';
|
|
24
|
-
import 'semver';
|
|
25
|
-
import 'unplugin';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.cjs';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import '@stryke/json/types';
|
|
30
|
-
import 'memfs';
|
|
31
|
-
import 'node:fs';
|
|
32
|
-
import 'unionfs';
|
|
33
|
-
|
|
34
|
-
declare const SourcesMap: {
|
|
35
|
-
new (entries?: readonly (readonly [string, string])[] | null | undefined): Map<string, string>;
|
|
36
|
-
new (iterable?: Iterable<readonly [string, string]> | null | undefined): Map<string, string>;
|
|
37
|
-
readonly prototype: Map<any, any>;
|
|
38
|
-
groupBy<K, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Map<K, T[]>;
|
|
39
|
-
readonly [Symbol.species]: MapConstructor;
|
|
40
|
-
};
|
|
41
|
-
type SourcesMap = InstanceType<typeof SourcesMap>;
|
|
42
|
-
declare function loadLibFiles(): Promise<SourcesMap>;
|
|
43
|
-
/** The default compiler options if TypeScript could ever change the compiler options */
|
|
44
|
-
declare function getDefaultCompilerOptions(): CompilerOptions;
|
|
45
|
-
/**
|
|
46
|
-
* Creates a TypeScript program from in-memory, virtual source files.
|
|
47
|
-
*
|
|
48
|
-
* @param rootNames - An array of root file names to include in the program.
|
|
49
|
-
* @param context - The context containing options and environment paths.
|
|
50
|
-
* @param compilerOptions - Optional TypeScript compiler options. Defaults to the standard TypeScript options
|
|
51
|
-
* @returns A TypeScript program instance that can be used for type checking, emitting, etc.
|
|
52
|
-
* @throws If the provided library files are not in the expected format or if the TypeScript package cannot be resolved.
|
|
53
|
-
*/
|
|
54
|
-
declare function createVirtualProgram(rootNames: readonly string[], context: Context, compilerOptions?: ts.CompilerOptions): Promise<ts.Program>;
|
|
55
|
-
interface VirtualCompilerHostReturn {
|
|
56
|
-
compilerHost: ts.CompilerHost;
|
|
57
|
-
updateFile: (sourceFile: ts.SourceFile) => boolean;
|
|
58
|
-
deleteFile: (sourceFile: ts.SourceFile) => boolean;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Creates an in-memory CompilerHost -which is essentially an extra wrapper to System
|
|
62
|
-
* which works with TypeScript objects - returns both a compiler host, and a way to add new SourceFile
|
|
63
|
-
* instances to the in-memory file system.
|
|
64
|
-
*/
|
|
65
|
-
declare function createVirtualCompilerHost(context: Context, sys: ts.System, compilerOptions: ts.CompilerOptions): VirtualCompilerHostReturn;
|
|
66
|
-
|
|
67
|
-
declare type __ΩSourcesMap = any[];
|
|
68
|
-
|
|
69
|
-
export { SourcesMap, type __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import ts, { CompilerOptions } from 'typescript';
|
|
2
|
-
import { C as Context } from '../config-DnifzkPt.js';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'c12';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@farmfe/core';
|
|
12
|
-
import '@rspack/core';
|
|
13
|
-
import '@storm-software/esbuild/types';
|
|
14
|
-
import '@storm-software/unbuild/types';
|
|
15
|
-
import 'esbuild';
|
|
16
|
-
import 'rolldown';
|
|
17
|
-
import 'rollup';
|
|
18
|
-
import 'webpack';
|
|
19
|
-
import '@stryke/env/get-env-paths';
|
|
20
|
-
import '@stryke/types/package-json';
|
|
21
|
-
import 'jest-worker';
|
|
22
|
-
import 'jiti';
|
|
23
|
-
import 'oxc-parser';
|
|
24
|
-
import 'semver';
|
|
25
|
-
import 'unplugin';
|
|
26
|
-
import '@stryke/types/array';
|
|
27
|
-
import '../tsconfig-Bz-CiFqD.js';
|
|
28
|
-
import '@stryke/types/tsconfig';
|
|
29
|
-
import '@stryke/json/types';
|
|
30
|
-
import 'memfs';
|
|
31
|
-
import 'node:fs';
|
|
32
|
-
import 'unionfs';
|
|
33
|
-
|
|
34
|
-
declare const SourcesMap: {
|
|
35
|
-
new (entries?: readonly (readonly [string, string])[] | null | undefined): Map<string, string>;
|
|
36
|
-
new (iterable?: Iterable<readonly [string, string]> | null | undefined): Map<string, string>;
|
|
37
|
-
readonly prototype: Map<any, any>;
|
|
38
|
-
groupBy<K, T>(items: Iterable<T>, keySelector: (item: T, index: number) => K): Map<K, T[]>;
|
|
39
|
-
readonly [Symbol.species]: MapConstructor;
|
|
40
|
-
};
|
|
41
|
-
type SourcesMap = InstanceType<typeof SourcesMap>;
|
|
42
|
-
declare function loadLibFiles(): Promise<SourcesMap>;
|
|
43
|
-
/** The default compiler options if TypeScript could ever change the compiler options */
|
|
44
|
-
declare function getDefaultCompilerOptions(): CompilerOptions;
|
|
45
|
-
/**
|
|
46
|
-
* Creates a TypeScript program from in-memory, virtual source files.
|
|
47
|
-
*
|
|
48
|
-
* @param rootNames - An array of root file names to include in the program.
|
|
49
|
-
* @param context - The context containing options and environment paths.
|
|
50
|
-
* @param compilerOptions - Optional TypeScript compiler options. Defaults to the standard TypeScript options
|
|
51
|
-
* @returns A TypeScript program instance that can be used for type checking, emitting, etc.
|
|
52
|
-
* @throws If the provided library files are not in the expected format or if the TypeScript package cannot be resolved.
|
|
53
|
-
*/
|
|
54
|
-
declare function createVirtualProgram(rootNames: readonly string[], context: Context, compilerOptions?: ts.CompilerOptions): Promise<ts.Program>;
|
|
55
|
-
interface VirtualCompilerHostReturn {
|
|
56
|
-
compilerHost: ts.CompilerHost;
|
|
57
|
-
updateFile: (sourceFile: ts.SourceFile) => boolean;
|
|
58
|
-
deleteFile: (sourceFile: ts.SourceFile) => boolean;
|
|
59
|
-
}
|
|
60
|
-
/**
|
|
61
|
-
* Creates an in-memory CompilerHost -which is essentially an extra wrapper to System
|
|
62
|
-
* which works with TypeScript objects - returns both a compiler host, and a way to add new SourceFile
|
|
63
|
-
* instances to the in-memory file system.
|
|
64
|
-
*/
|
|
65
|
-
declare function createVirtualCompilerHost(context: Context, sys: ts.System, compilerOptions: ts.CompilerOptions): VirtualCompilerHostReturn;
|
|
66
|
-
|
|
67
|
-
declare type __ΩSourcesMap = any[];
|
|
68
|
-
|
|
69
|
-
export { SourcesMap, type __ΩSourcesMap, createVirtualCompilerHost, createVirtualProgram, getDefaultCompilerOptions, loadLibFiles };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"program.js"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkLJZEN4HP_cjs = require('../chunk-LJZEN4HP.cjs');
|
|
4
|
-
require('../chunk-PK6SKIKE.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "findIncludeMatch", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkLJZEN4HP_cjs.findIncludeMatch; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "findMatch", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkLJZEN4HP_cjs.findMatch; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "getParsedTypeScriptConfig", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkLJZEN4HP_cjs.getParsedTypeScriptConfig; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "getTsconfigFilePath", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkLJZEN4HP_cjs.getTsconfigFilePath; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "isIncludeMatchFound", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunkLJZEN4HP_cjs.isIncludeMatchFound; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "isMatchFound", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunkLJZEN4HP_cjs.isMatchFound; }
|
|
31
|
-
});
|
|
32
|
-
//# sourceMappingURL=tsconfig.cjs.map
|
|
33
|
-
//# sourceMappingURL=tsconfig.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"tsconfig.cjs"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { FilterPattern } from '@stryke/types/file';
|
|
2
|
-
import ts from 'typescript';
|
|
3
|
-
import { T as TSConfig, P as ParsedTypeScriptConfig } from '../tsconfig-Bz-CiFqD.cjs';
|
|
4
|
-
import '@stryke/types/tsconfig';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Get the path to the tsconfig.json file.
|
|
8
|
-
*
|
|
9
|
-
* @param workspaceRoot - The root directory of the workspace.
|
|
10
|
-
* @param projectRoot - The root directory of the project.
|
|
11
|
-
* @param tsconfig - The path to the tsconfig.json file.
|
|
12
|
-
* @returns The absolute path to the tsconfig.json file.
|
|
13
|
-
* @throws If the tsconfig.json file does not exist.
|
|
14
|
-
*/
|
|
15
|
-
declare function getTsconfigFilePath(workspaceRoot: string, projectRoot: string, tsconfig?: string): string;
|
|
16
|
-
/**
|
|
17
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
18
|
-
*
|
|
19
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
20
|
-
* @param types - An array of type names to check against.
|
|
21
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
22
|
-
*/
|
|
23
|
-
declare function findMatch(tsconfigType: string | RegExp | null, types: (string | RegExp | null)[], extensions?: string[]): string | RegExp | null | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
26
|
-
*
|
|
27
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
28
|
-
* @param types - An array of type names to check against.
|
|
29
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
30
|
-
*/
|
|
31
|
-
declare function findIncludeMatch(tsconfigType: string | RegExp | null, types: (string | RegExp | null)[]): string | RegExp | null | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
34
|
-
*
|
|
35
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
36
|
-
* @param types - An array of type names to check against.
|
|
37
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
38
|
-
*/
|
|
39
|
-
declare function isMatchFound(tsconfigType: string | RegExp | null, types: (string | RegExp | null)[]): boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Check if the TypeScript configuration type matches any of the provided types.
|
|
42
|
-
*
|
|
43
|
-
* @param tsconfigType - The type from the TypeScript configuration.
|
|
44
|
-
* @param types - An array of type names to check against.
|
|
45
|
-
* @returns True if the TypeScript configuration type matches any of the provided types, false otherwise.
|
|
46
|
-
*/
|
|
47
|
-
declare function isIncludeMatchFound(tsconfigType: FilterPattern, types: FilterPattern[]): boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Get the parsed TypeScript configuration.
|
|
50
|
-
*
|
|
51
|
-
* @param workspaceRoot - The root directory of the workspace.
|
|
52
|
-
* @param projectRoot - The root directory of the project.
|
|
53
|
-
* @param tsconfig - The path to the tsconfig.json file.
|
|
54
|
-
* @param tsconfigRaw - The raw tsconfig.json content.
|
|
55
|
-
* @param originalTsconfigJson - The original tsconfig.json content.
|
|
56
|
-
* @param host - The TypeScript parse config host.
|
|
57
|
-
* @returns The resolved TypeScript configuration.
|
|
58
|
-
*/
|
|
59
|
-
declare function getParsedTypeScriptConfig(workspaceRoot: string, projectRoot: string, tsconfig?: string, tsconfigRaw?: TSConfig, originalTsconfigJson?: TSConfig, host?: ts.ParseConfigHost): ParsedTypeScriptConfig;
|
|
60
|
-
|
|
61
|
-
export { findIncludeMatch, findMatch, getParsedTypeScriptConfig, getTsconfigFilePath, isIncludeMatchFound, isMatchFound };
|