@farm.js/core 0.1.71 → 0.1.73
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/dist/{agent-mcp-handler-VIT4GOSR.mjs → agent-mcp-handler-RK7LDYEL.mjs} +5 -5
- package/dist/{agent-mcp-handler-KE4J3W7S.cjs → agent-mcp-handler-VBCA3WZ6.cjs} +6 -6
- package/dist/{agent-mcp.d-BzNw6JI8.d.ts → agent-mcp.d-D_gHjCAE.d.ts} +2 -2
- package/dist/{agent-mcp.d-CgFen3EH.d.mts → agent-mcp.d-PvEf-1mi.d.mts} +2 -2
- package/dist/agent-runtime.d.mts +4 -4
- package/dist/agent-runtime.d.ts +4 -4
- package/dist/{analyzer-VK3BAOFI.mjs → analyzer-MFYCJT75.mjs} +2 -2
- package/dist/analyzer-V5ZMRIIY.cjs +16 -0
- package/dist/api/node.d.mts +6 -6
- package/dist/api/node.d.ts +6 -6
- package/dist/api/route-manager.cjs +7 -6
- package/dist/api/route-manager.d.mts +8 -8
- package/dist/api/route-manager.d.ts +8 -8
- package/dist/api/route-manager.mjs +6 -5
- package/dist/api/runtime.d.mts +5 -5
- package/dist/api/runtime.d.ts +5 -5
- package/dist/api.cjs +8 -7
- package/dist/api.d.mts +9 -9
- package/dist/api.d.ts +9 -9
- package/dist/api.mjs +7 -6
- package/dist/{app-manifest.d-DY4JfJxi.d.ts → app-manifest.d-BpVTg43i.d.ts} +1 -1
- package/dist/{app-manifest.d-DpDK_B1k.d.mts → app-manifest.d-CN7cEWHX.d.mts} +1 -1
- package/dist/app-markdown.cjs +4 -4
- package/dist/app-markdown.d.mts +5 -5
- package/dist/app-markdown.d.ts +5 -5
- package/dist/app-markdown.mjs +3 -3
- package/dist/{app.d-D-5UNrFd.d.mts → app.d-BFWzAdTe.d.mts} +54 -6
- package/dist/{app.d-BeK6bb1c.d.ts → app.d-DO4PTCWm.d.ts} +54 -6
- package/dist/{chunk-7A3URI2F.mjs → chunk-2EVESLP3.mjs} +8 -1
- package/dist/{chunk-IYDJNCR7.mjs → chunk-462MUII7.mjs} +10 -5
- package/dist/{chunk-MWUDEYBI.mjs → chunk-4CTCSKAF.mjs} +1 -1
- package/dist/{chunk-SXMWVP2L.cjs → chunk-4YHGQDTT.cjs} +12 -12
- package/dist/{chunk-YCNHUIPR.cjs → chunk-4Z3YLMSW.cjs} +10 -10
- package/dist/{chunk-K66JILV3.cjs → chunk-5LOARKDP.cjs} +2 -2
- package/dist/{chunk-O32QPFVV.cjs → chunk-5PDMBWAF.cjs} +5 -5
- package/dist/{chunk-IGXS54GC.mjs → chunk-6O6PAZZR.mjs} +1 -1
- package/dist/{chunk-LXEJNWF5.mjs → chunk-73K53YPP.mjs} +2 -2
- package/dist/{chunk-2CQC5CMD.mjs → chunk-7GMBETHM.mjs} +1 -1
- package/dist/{chunk-W2T6NDNP.mjs → chunk-B67CW2LM.mjs} +2 -2
- package/dist/{chunk-CSQPMV3Q.cjs → chunk-CLEWORVY.cjs} +6 -6
- package/dist/{chunk-KPJYBSHL.mjs → chunk-CPMME66W.mjs} +149 -22
- package/dist/{chunk-BBPDJGCU.cjs → chunk-CYOTNHDF.cjs} +2 -2
- package/dist/{chunk-4OD2LXF2.mjs → chunk-CYRIIVD4.mjs} +26 -15
- package/dist/{chunk-DPIGYXSV.mjs → chunk-FRO4BB2T.mjs} +1 -1
- package/dist/{chunk-Y2SZVIVH.cjs → chunk-GPICBTDV.cjs} +8 -1
- package/dist/{chunk-N3XO5AL5.cjs → chunk-GPO3LJDJ.cjs} +2 -2
- package/dist/{chunk-MITIAOUQ.mjs → chunk-GZOKWJIW.mjs} +4 -4
- package/dist/{chunk-NAXKOTPP.cjs → chunk-HFUOLILA.cjs} +21 -21
- package/dist/{chunk-C2JOS77Z.cjs → chunk-HGB4PM2C.cjs} +178 -51
- package/dist/{chunk-2IFT2CSA.cjs → chunk-HTXKSREF.cjs} +515 -151
- package/dist/{chunk-Z3GPAFIA.mjs → chunk-HY6IVQ54.mjs} +1 -1
- package/dist/{chunk-X7LGLF33.mjs → chunk-IBVN7SW5.mjs} +480 -116
- package/dist/{chunk-DPYBVVL3.cjs → chunk-ILQ5DKYF.cjs} +2 -2
- package/dist/{chunk-V25GSH43.mjs → chunk-IXZSBO76.mjs} +1 -1
- package/dist/{chunk-RJUCNO7R.mjs → chunk-JMOCMXTQ.mjs} +1 -1
- package/dist/{chunk-UISZLYKY.cjs → chunk-KDOZORJD.cjs} +52 -41
- package/dist/{chunk-PLXD2MJV.cjs → chunk-KTDG4THT.cjs} +2 -2
- package/dist/{chunk-L6E4SHUB.cjs → chunk-LGR7565L.cjs} +6 -6
- package/dist/chunk-LRPPXKCX.mjs +58 -0
- package/dist/{chunk-GUU3IZSM.mjs → chunk-MJEKMT6B.mjs} +324 -148
- package/dist/chunk-NDOE76QC.cjs +58 -0
- package/dist/{chunk-2AM26UGI.cjs → chunk-NLBK37HI.cjs} +5 -4
- package/dist/{chunk-REP6HWJN.mjs → chunk-OBYM5S5G.mjs} +2 -2
- package/dist/{chunk-ZUVAGMQ5.cjs → chunk-ODBM54RT.cjs} +7 -7
- package/dist/{chunk-J5ASGNKF.mjs → chunk-OIP62QEL.mjs} +1 -1
- package/dist/{chunk-KEB7AGS6.cjs → chunk-OXNZUCHN.cjs} +16 -11
- package/dist/{chunk-2MR4MABG.cjs → chunk-PXAHSCR6.cjs} +58 -8
- package/dist/{chunk-7BUE2GM6.mjs → chunk-QGCSUC5O.mjs} +174 -81
- package/dist/{chunk-VXB5CMNC.cjs → chunk-QKEZLYON.cjs} +2 -2
- package/dist/{chunk-UQUOSNRN.mjs → chunk-REK6HZSU.mjs} +470 -267
- package/dist/{chunk-E77IA5IF.mjs → chunk-RLFGKJQ6.mjs} +1 -1
- package/dist/{chunk-3BQ7QHUH.cjs → chunk-ROCF6UQD.cjs} +17 -8
- package/dist/{chunk-KQAB5LML.mjs → chunk-SUQACHER.mjs} +2 -2
- package/dist/{chunk-NA77GEIU.mjs → chunk-SVQX5HYW.mjs} +53 -3
- package/dist/{chunk-KWST2O22.cjs → chunk-TAU3OF5B.cjs} +611 -435
- package/dist/{chunk-ZPUAOKHV.cjs → chunk-TDCP3Z4T.cjs} +3 -3
- package/dist/{chunk-3AUINHFG.mjs → chunk-TNYC3TYP.mjs} +3 -2
- package/dist/{chunk-TP4RAV7Y.cjs → chunk-TU6VAH4V.cjs} +8 -8
- package/dist/{chunk-MEJCP2LX.cjs → chunk-UVQRMUAR.cjs} +1 -1
- package/dist/{chunk-JMFTKNBA.mjs → chunk-UVZMSRHF.mjs} +2 -2
- package/dist/{chunk-MU5V7XHL.mjs → chunk-VJSXPN3W.mjs} +3 -0
- package/dist/{chunk-DU4VHHPJ.mjs → chunk-VO55MMBX.mjs} +1 -1
- package/dist/{chunk-GF22VGMS.cjs → chunk-VPETSSWN.cjs} +2 -2
- package/dist/{chunk-LDVJIBGN.mjs → chunk-VT25ERQK.mjs} +1 -1
- package/dist/{chunk-AYVGD3PK.mjs → chunk-XI3OXOMK.mjs} +1 -1
- package/dist/{chunk-7OHJWFLB.cjs → chunk-XUSJVHHD.cjs} +466 -373
- package/dist/{chunk-FILXOEWD.cjs → chunk-YXIQYWOK.cjs} +2 -2
- package/dist/{chunk-JVA4PIYN.cjs → chunk-YZK64PZT.cjs} +635 -432
- package/dist/{chunk-THG2TVDH.mjs → chunk-YZLEOMMA.mjs} +3 -3
- package/dist/{chunk-QUFENL7Q.mjs → chunk-Z3IN6GEX.mjs} +16 -7
- package/dist/{chunk-Q5HMVGR5.cjs → chunk-ZFEJ2SF2.cjs} +13 -13
- package/dist/{chunk-LNVGXUL3.cjs → chunk-ZMSVKVI3.cjs} +3 -0
- package/dist/{client-component.d-DwpH251K.d.mts → client-component.d-C71rMuHF.d.mts} +2 -2
- package/dist/{client-component.d-fYupugbZ.d.ts → client-component.d-sF-Znk0j.d.ts} +2 -2
- package/dist/{client-plugins.d-k3bOT5gz.d.mts → client-plugins.d-B-Gd9mWR.d.mts} +5 -4
- package/dist/{client-plugins.d-BxqFfHpM.d.ts → client-plugins.d-MFibjgBg.d.ts} +5 -4
- package/dist/client-plugins.d.mts +4 -4
- package/dist/client-plugins.d.ts +4 -4
- package/dist/client.cjs +1 -1
- package/dist/client.d.mts +9 -9
- package/dist/client.d.ts +9 -9
- package/dist/client.mjs +1 -1
- package/dist/config.d.mts +4 -4
- package/dist/config.d.ts +4 -4
- package/dist/desktop.d.mts +5 -5
- package/dist/desktop.d.ts +5 -5
- package/dist/{devtools-O5625KCK.cjs → devtools-6K4QXFRL.cjs} +7 -7
- package/dist/{devtools-6MXPFPNJ.mjs → devtools-TDIJ6HVC.mjs} +6 -6
- package/dist/docs.cjs +10 -10
- package/dist/docs.d.mts +5 -5
- package/dist/docs.d.ts +5 -5
- package/dist/docs.mjs +9 -9
- package/dist/environment/vite.cjs +3 -3
- package/dist/environment/vite.mjs +2 -2
- package/dist/{headers.d-sNT7ZQiU.d.mts → headers.d-BUxGJTsj.d.mts} +2 -2
- package/dist/{headers.d-DalIGbVO.d.ts → headers.d-uQ6BR59u.d.ts} +2 -2
- package/dist/i18n/client.cjs +3 -2
- package/dist/i18n/client.d.mts +2 -2
- package/dist/i18n/client.d.ts +2 -2
- package/dist/i18n/client.mjs +2 -1
- package/dist/i18n/index.cjs +3 -2
- package/dist/i18n/index.d.mts +3 -3
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/index.mjs +2 -1
- package/dist/i18n/server.cjs +6 -5
- package/dist/i18n/server.d.mts +5 -5
- package/dist/i18n/server.d.ts +5 -5
- package/dist/i18n/server.mjs +5 -4
- package/dist/index.cjs +32 -30
- package/dist/{index.d-BcA-secm.d.ts → index.d-BCGfxCXY.d.ts} +1 -1
- package/dist/{index.d-DDHHAv7j.d.mts → index.d-CuWOJ-un.d.mts} +1 -1
- package/dist/index.d.mts +24 -24
- package/dist/index.d.ts +24 -24
- package/dist/index.mjs +31 -29
- package/dist/integrations/orm.d.mts +4 -4
- package/dist/integrations/orm.d.ts +4 -4
- package/dist/integrations.d.mts +4 -4
- package/dist/integrations.d.ts +4 -4
- package/dist/internal/app-markdown-runtime.cjs +3 -3
- package/dist/internal/app-markdown-runtime.d.mts +5 -5
- package/dist/internal/app-markdown-runtime.d.ts +5 -5
- package/dist/internal/app-markdown-runtime.mjs +2 -2
- package/dist/internal/build-runtime.cjs +29 -29
- package/dist/internal/build-runtime.d.mts +6 -6
- package/dist/internal/build-runtime.d.ts +6 -6
- package/dist/internal/build-runtime.mjs +28 -28
- package/dist/internal/cli-runtime.cjs +12 -12
- package/dist/internal/cli-runtime.mjs +11 -11
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +2 -2
- package/dist/internal/client-runtime.d.mts +7 -7
- package/dist/internal/client-runtime.d.ts +7 -7
- package/dist/internal/client-runtime.mjs +3 -3
- package/dist/internal/compression-runtime.d.mts +4 -4
- package/dist/internal/compression-runtime.d.ts +4 -4
- package/dist/internal/config-runtime.cjs +8 -8
- package/dist/internal/config-runtime.d.mts +7 -7
- package/dist/internal/config-runtime.d.ts +7 -7
- package/dist/internal/config-runtime.mjs +7 -7
- package/dist/internal/infra-analytics-runtime.cjs +10 -10
- package/dist/internal/infra-analytics-runtime.mjs +8 -8
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +19 -19
- package/dist/internal/production-runtime.d.mts +37 -25
- package/dist/internal/production-runtime.d.ts +37 -25
- package/dist/internal/production-runtime.mjs +18 -18
- package/dist/internal/vercel-edge-middleware.d.mts +2 -2
- package/dist/internal/vercel-edge-middleware.d.ts +2 -2
- package/dist/markdown.cjs +2 -2
- package/dist/markdown.d.mts +4 -4
- package/dist/markdown.d.ts +4 -4
- package/dist/markdown.mjs +1 -1
- package/dist/middleware.cjs +3 -3
- package/dist/middleware.d.mts +5 -5
- package/dist/middleware.d.ts +5 -5
- package/dist/middleware.mjs +2 -2
- package/dist/mobile.d.mts +3 -3
- package/dist/mobile.d.ts +3 -3
- package/dist/{mount.d-C1PONsEe.d.mts → mount.d-BIYmcGGg.d.mts} +1 -1
- package/dist/{mount.d-D3JOux2V.d.ts → mount.d-q8k0cJV0.d.ts} +1 -1
- package/dist/{native-tree-L2IIEBXH.mjs → native-tree-OYGKP2NZ.mjs} +2 -2
- package/dist/{native-tree-GF4BH33L.cjs → native-tree-R6CQMDTI.cjs} +3 -3
- package/dist/{navigation-delegate.d-CQQPbdkE.d.ts → navigation-delegate.d-Btfs6Uoa.d.ts} +1 -1
- package/dist/{navigation-delegate.d-CJQQHboA.d.mts → navigation-delegate.d-CYBUupsv.d.mts} +1 -1
- package/dist/navigation.d.mts +7 -7
- package/dist/navigation.d.ts +7 -7
- package/dist/{observability.d-B2363jB6.d.mts → observability.d-DdJRiaIX.d.mts} +27 -3
- package/dist/{observability.d-B2363jB6.d.ts → observability.d-DdJRiaIX.d.ts} +27 -3
- package/dist/observability.d.mts +1 -1
- package/dist/observability.d.ts +1 -1
- package/dist/plugin.cjs +21 -21
- package/dist/plugin.d.mts +7 -7
- package/dist/plugin.d.ts +7 -7
- package/dist/plugin.mjs +20 -20
- package/dist/{production-runtime.d-B0IeWWyO.d.mts → production-runtime.d-Bcu37SCo.d.mts} +1 -1
- package/dist/{production-runtime.d-q3aHIv5Y.d.ts → production-runtime.d-qPj3XRET.d.ts} +1 -1
- package/dist/{render-plan.d-DHuJMJRP.d.ts → render-plan.d-0FHusf1D.d.ts} +1 -1
- package/dist/{render-plan.d-CiUj0rq5.d.mts → render-plan.d-BlyxqKMu.d.mts} +1 -1
- package/dist/renderer-client.cjs +3 -2
- package/dist/renderer-client.d.mts +7 -7
- package/dist/renderer-client.d.ts +7 -7
- package/dist/renderer-client.mjs +2 -1
- package/dist/{request.d-DRUbOmYD.d.ts → request.d-CPdVjssg.d.ts} +1 -1
- package/dist/{request.d-D-F7o7tb.d.mts → request.d-CX-gks1l.d.mts} +1 -1
- package/dist/request.d.mts +5 -5
- package/dist/request.d.ts +5 -5
- package/dist/{resolver.d-9iKC79CU.d.mts → resolver.d-DJgzbdsp.d.mts} +1 -1
- package/dist/{resolver.d-CY6mEa_F.d.ts → resolver.d-yaHcGCCG.d.ts} +1 -1
- package/dist/{route-rendering.d-6smgwT2t.d.mts → route-rendering.d-CcvZ_4N2.d.mts} +1 -1
- package/dist/{route-rendering.d-KwqM_mlK.d.ts → route-rendering.d-DcOoSNoG.d.ts} +1 -1
- package/dist/{router.d-BYmDeDlp.d.mts → router.d-C8RHma4A.d.mts} +1 -1
- package/dist/{router.d-B6sesMRD.d.ts → router.d-D2QnK8cM.d.ts} +1 -1
- package/dist/{routes.d-D3aJw1H5.d.mts → routes.d-CCccJRrp.d.mts} +1 -1
- package/dist/{routes.d-K-Qg79AA.d.ts → routes.d-b7khoRoU.d.ts} +1 -1
- package/dist/routes.d.mts +4 -4
- package/dist/routes.d.ts +4 -4
- package/dist/{routing.d-DwSUVZbF.d.mts → routing.d-BhPgtN_S.d.ts} +2 -1
- package/dist/{routing.d-BxOZ2YWc.d.ts → routing.d-D67HQmnv.d.mts} +2 -1
- package/dist/{rsc-pipeline-R2GOKIMU.mjs → rsc-pipeline-LC2FBZAR.mjs} +7 -7
- package/dist/{rsc-pipeline-P4PCWDO2.cjs → rsc-pipeline-NTAM65NT.cjs} +8 -8
- package/dist/{runtime-DP5DYGW5.mjs → runtime-MWAC7NWR.mjs} +7 -7
- package/dist/{runtime-WA2Q4SLG.cjs → runtime-U4PAMTVH.cjs} +9 -9
- package/dist/{runtime.d-CbdMI0Oy.d.ts → runtime.d-1l_1bLrL.d.ts} +1 -1
- package/dist/{runtime.d-BFSJf-ww.d.mts → runtime.d-BQUHHq8M.d.mts} +1 -1
- package/dist/{runtime.d-nUz0HAL4.d.mts → runtime.d-CTAXWZby.d.mts} +2 -2
- package/dist/{runtime.d-B_uPfMjA.d.ts → runtime.d-PUA5qBnd.d.ts} +2 -2
- package/dist/server-plugins.d.mts +6 -6
- package/dist/server-plugins.d.ts +6 -6
- package/dist/server.cjs +43 -41
- package/dist/server.d.mts +15 -15
- package/dist/server.d.ts +15 -15
- package/dist/server.mjs +26 -24
- package/dist/{spa-router.d-mC1D5cTN.d.ts → spa-router.d-BJtXNeqo.d.ts} +3 -3
- package/dist/{spa-router.d-D4EDwR20.d.mts → spa-router.d-BzPdi48R.d.mts} +3 -3
- package/dist/testing.cjs +6 -5
- package/dist/testing.d.mts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.mjs +6 -5
- package/dist/{types.d-wVRlLtBf.d.ts → types.d-euATAbE4.d.mts} +4 -0
- package/dist/{types.d-wVRlLtBf.d.mts → types.d-euATAbE4.d.ts} +4 -0
- package/dist/{utils.d-DxMzteqE.d.mts → utils.d-B4ZW-6z6.d.mts} +1 -1
- package/dist/{utils.d-A2X3a6z_.d.ts → utils.d-DquC6qxy.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +23 -21
- package/dist/vite.d.mts +18 -9
- package/dist/vite.d.ts +18 -9
- package/dist/vite.mjs +22 -20
- package/package.json +1 -1
- package/dist/analyzer-LPIVRSTJ.cjs +0 -16
- package/dist/chunk-V3UOEWCB.cjs +0 -46
- package/dist/chunk-VE3FWJBO.mjs +0 -46
package/dist/vite.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Plugin, UserConfig, Connect } from 'vite';
|
|
2
|
-
import { aR as FarmConfig, q as FarmUserConfig, ax as PluginManager } from './client-plugins.d-
|
|
2
|
+
import { aR as FarmConfig, q as FarmUserConfig, ax as PluginManager } from './client-plugins.d-MFibjgBg.js';
|
|
3
3
|
import { FarmCacheUserConfig } from './cache.js';
|
|
4
|
-
import { P as ProgrammaticClientRoutes } from './client-component.d-
|
|
5
|
-
export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile, a as resolveFarmClientOptimizeDeps } from './client-component.d-
|
|
4
|
+
import { P as ProgrammaticClientRoutes } from './client-component.d-sF-Znk0j.js';
|
|
5
|
+
export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile, a as resolveFarmClientOptimizeDeps } from './client-component.d-sF-Znk0j.js';
|
|
6
6
|
import { FarmPlatform } from './platform.js';
|
|
7
7
|
import { _withAfterNodeMiddleware } from './after.js';
|
|
8
8
|
import { A as APIRequestRuntime } from './server-client-bridge.d-DKWDl5NB.js';
|
|
@@ -11,13 +11,13 @@ import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
|
11
11
|
export { c as createFarmNodeRequestAbortSignal } from './server-http.d-rAe7lAQc.js';
|
|
12
12
|
import { a as FarmImageConfig } from './image-config.d-ByhQ0TT7.js';
|
|
13
13
|
export { g as getPublicFarmImageConfig, r as resolveFarmImageConfig } from './image-config.d-ByhQ0TT7.js';
|
|
14
|
-
export { i as installConfigResponseHeaders } from './headers.d-
|
|
14
|
+
export { i as installConfigResponseHeaders } from './headers.d-uQ6BR59u.js';
|
|
15
15
|
import './lifecycle.d-keQs5Swc.js';
|
|
16
16
|
import './route.d-hs-_cyHn.js';
|
|
17
17
|
import './endpoint.d-BgHn0lhl.js';
|
|
18
18
|
import 'http';
|
|
19
|
-
import './routing.d-
|
|
20
|
-
import './types.d-
|
|
19
|
+
import './routing.d-BhPgtN_S.js';
|
|
20
|
+
import './types.d-euATAbE4.js';
|
|
21
21
|
import './server-fn.js';
|
|
22
22
|
import './server-fn-error.d-DrcH9cc1.js';
|
|
23
23
|
import './server-query.js';
|
|
@@ -28,7 +28,7 @@ import './schema.d-Dny9pnrm.js';
|
|
|
28
28
|
import 'react';
|
|
29
29
|
import '@farming-labs/orm';
|
|
30
30
|
import '@farming-labs/docs';
|
|
31
|
-
import './observability.d-
|
|
31
|
+
import './observability.d-DdJRiaIX.js';
|
|
32
32
|
import '@opentelemetry/api';
|
|
33
33
|
import './types.d-xCIhyjOq.js';
|
|
34
34
|
import './workflows.js';
|
|
@@ -41,7 +41,7 @@ import 'rolldown';
|
|
|
41
41
|
import './config.d-BKIhJtmr.js';
|
|
42
42
|
import './types.d-DQnyD3VD.js';
|
|
43
43
|
import './font.js';
|
|
44
|
-
import './route-rendering.d-
|
|
44
|
+
import './route-rendering.d-DcOoSNoG.js';
|
|
45
45
|
import 'node:http';
|
|
46
46
|
import './deployment.js';
|
|
47
47
|
|
|
@@ -165,6 +165,15 @@ interface FarmVitePluginOptions extends FarmConfig {
|
|
|
165
165
|
programmaticClientRoutes?: ProgrammaticClientRoutes;
|
|
166
166
|
}
|
|
167
167
|
declare function farmI18nClientBridgePlugin(): Plugin;
|
|
168
|
+
/**
|
|
169
|
+
* Islands mode (RFC 0006): a client component in a position that cannot hold `<f-island>` (a row in
|
|
170
|
+
* a table, an option in a select, a shape in an svg, an item in a list) makes the element around it
|
|
171
|
+
* the island. Runs before JSX compiles, on the server module's source.
|
|
172
|
+
*/
|
|
173
|
+
declare function farmIslandContainersPlugin(config: {
|
|
174
|
+
root?: string;
|
|
175
|
+
experimental?: FarmVitePluginOptions["experimental"];
|
|
176
|
+
}): Plugin;
|
|
168
177
|
/**
|
|
169
178
|
* Fail a browser graph that imports a server-only core entry, instead of
|
|
170
179
|
* bundling its server runtime (for `@farm.js/core/og`, the `@vercel/og` wasm
|
|
@@ -227,4 +236,4 @@ declare function shouldEmitFarmClientRootHmr(renderer?: FarmRenderer | false): b
|
|
|
227
236
|
declare function farmPlugin(options?: FarmVitePluginOptions, initialPluginManager?: PluginManager, deferredSetup?: FarmDeferredDevSetup): Plugin;
|
|
228
237
|
declare function defineConfig(config?: FarmVitePluginOptions): Promise<UserConfig>;
|
|
229
238
|
|
|
230
|
-
export { type ClientCachePersistenceEntryCode, collectDevStylesheetUrls, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, isViteDevClientRequest, isViteModuleRequest, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
|
|
239
|
+
export { type ClientCachePersistenceEntryCode, collectDevStylesheetUrls, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmIslandContainersPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, isViteDevClientRequest, isViteModuleRequest, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
|
package/dist/vite.mjs
CHANGED
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
defineConfig,
|
|
3
3
|
farmI18nClientBridgePlugin,
|
|
4
4
|
farmImageImportsPlugin,
|
|
5
|
+
farmIslandContainersPlugin,
|
|
5
6
|
farmPlugin,
|
|
6
7
|
farmServerOnlyEntriesPlugin,
|
|
7
8
|
isViteDevClientRequest,
|
|
@@ -10,7 +11,7 @@ import {
|
|
|
10
11
|
shouldEmitFarmClientRootHmr,
|
|
11
12
|
transformIsolatedClientBoundaryModule,
|
|
12
13
|
withFarmRequestTracing
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QGCSUC5O.mjs";
|
|
14
15
|
import "./chunk-QVBXTSIZ.mjs";
|
|
15
16
|
import "./chunk-OEL5EPOJ.mjs";
|
|
16
17
|
import {
|
|
@@ -20,27 +21,27 @@ import {
|
|
|
20
21
|
resolveFarmClientCacheAdapterEntry,
|
|
21
22
|
resolveFarmImageProviderForRuntime,
|
|
22
23
|
resolveFarmImageServerRuntime
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MJEKMT6B.mjs";
|
|
24
25
|
import "./chunk-I4KPA2C6.mjs";
|
|
25
26
|
import "./chunk-Z5ZZAGIH.mjs";
|
|
26
27
|
import "./chunk-SMUW7UST.mjs";
|
|
27
28
|
import "./chunk-UB7RVEMX.mjs";
|
|
28
29
|
import {
|
|
29
30
|
readRouteRenderingDirectiveFromFile
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-B67CW2LM.mjs";
|
|
31
32
|
import "./chunk-ZJGFAW5U.mjs";
|
|
32
33
|
import "./chunk-E3HDJCWF.mjs";
|
|
33
34
|
import "./chunk-7PJARAQQ.mjs";
|
|
34
35
|
import "./chunk-UTUS6JUH.mjs";
|
|
35
36
|
import "./chunk-CROAFCMW.mjs";
|
|
36
37
|
import "./chunk-GNZIAJGB.mjs";
|
|
37
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-SVQX5HYW.mjs";
|
|
38
39
|
import "./chunk-LLZSYFOM.mjs";
|
|
39
40
|
import "./chunk-UUMKLGUU.mjs";
|
|
40
41
|
import "./chunk-ZXDX7VYZ.mjs";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-GZOKWJIW.mjs";
|
|
43
|
+
import "./chunk-UVZMSRHF.mjs";
|
|
44
|
+
import "./chunk-IXZSBO76.mjs";
|
|
44
45
|
import "./chunk-L4RTTTVE.mjs";
|
|
45
46
|
import "./chunk-ICFPTHXM.mjs";
|
|
46
47
|
import "./chunk-X3EFRVXY.mjs";
|
|
@@ -53,7 +54,7 @@ import "./chunk-HZOMT5DY.mjs";
|
|
|
53
54
|
import {
|
|
54
55
|
collectFarmClientPackageImports,
|
|
55
56
|
resolveFarmClientOptimizeDeps
|
|
56
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-IBVN7SW5.mjs";
|
|
57
58
|
import "./chunk-S32PDOLO.mjs";
|
|
58
59
|
import "./chunk-GJ7QVFAG.mjs";
|
|
59
60
|
import "./chunk-EJCVG25Z.mjs";
|
|
@@ -62,9 +63,9 @@ import "./chunk-TPA2PV5J.mjs";
|
|
|
62
63
|
import "./chunk-NLRAQXAA.mjs";
|
|
63
64
|
import "./chunk-XR2ZIBQK.mjs";
|
|
64
65
|
import "./chunk-CU5SYTJG.mjs";
|
|
65
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-OBYM5S5G.mjs";
|
|
66
67
|
import "./chunk-SQ5O7I3L.mjs";
|
|
67
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-HY6IVQ54.mjs";
|
|
68
69
|
import "./chunk-22W4FNTG.mjs";
|
|
69
70
|
import "./chunk-4QENVMG7.mjs";
|
|
70
71
|
import "./chunk-E7VF3LQ5.mjs";
|
|
@@ -76,11 +77,11 @@ import {
|
|
|
76
77
|
import "./chunk-ME7RVELR.mjs";
|
|
77
78
|
import "./chunk-E46NXBNJ.mjs";
|
|
78
79
|
import "./chunk-N33DLJBC.mjs";
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-XI3OXOMK.mjs";
|
|
81
|
+
import "./chunk-OIP62QEL.mjs";
|
|
81
82
|
import "./chunk-BRYPZIMB.mjs";
|
|
82
83
|
import "./chunk-UIJOLBUL.mjs";
|
|
83
|
-
import "./chunk-
|
|
84
|
+
import "./chunk-CPMME66W.mjs";
|
|
84
85
|
import "./chunk-MGKWYPE3.mjs";
|
|
85
86
|
import "./chunk-MGZVDX4R.mjs";
|
|
86
87
|
import "./chunk-WXFY5JIY.mjs";
|
|
@@ -104,11 +105,11 @@ import "./chunk-EDPENAVO.mjs";
|
|
|
104
105
|
import "./chunk-OJO2GOM3.mjs";
|
|
105
106
|
import "./chunk-5PZJ63PK.mjs";
|
|
106
107
|
import "./chunk-IYEY3JWJ.mjs";
|
|
107
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-RLFGKJQ6.mjs";
|
|
108
109
|
import "./chunk-TXE4SAMV.mjs";
|
|
109
110
|
import "./chunk-YX6AFPXC.mjs";
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-TNYC3TYP.mjs";
|
|
112
|
+
import "./chunk-VO55MMBX.mjs";
|
|
112
113
|
import "./chunk-NR63PD3P.mjs";
|
|
113
114
|
import "./chunk-TY5KCYDE.mjs";
|
|
114
115
|
import "./chunk-OB45EAQL.mjs";
|
|
@@ -124,7 +125,7 @@ import "./chunk-IGL6CO6M.mjs";
|
|
|
124
125
|
import "./chunk-O5QUJEWT.mjs";
|
|
125
126
|
import "./chunk-VHIXGZYH.mjs";
|
|
126
127
|
import "./chunk-TUOO6IK3.mjs";
|
|
127
|
-
import "./chunk-
|
|
128
|
+
import "./chunk-VJSXPN3W.mjs";
|
|
128
129
|
import "./chunk-JSDV2NUN.mjs";
|
|
129
130
|
import "./chunk-2I6PUKWJ.mjs";
|
|
130
131
|
import {
|
|
@@ -133,15 +134,14 @@ import {
|
|
|
133
134
|
import "./chunk-D2LCAV6L.mjs";
|
|
134
135
|
import "./chunk-H3ASZDT7.mjs";
|
|
135
136
|
import "./chunk-2DA7CLY7.mjs";
|
|
136
|
-
import "./chunk-
|
|
137
|
-
import "./chunk-4O26BPUY.mjs";
|
|
137
|
+
import "./chunk-JMOCMXTQ.mjs";
|
|
138
138
|
import "./chunk-QPNVDSFZ.mjs";
|
|
139
139
|
import "./chunk-GYMGK467.mjs";
|
|
140
140
|
import "./chunk-5Y4GYKKH.mjs";
|
|
141
141
|
import "./chunk-YT3SLLZK.mjs";
|
|
142
142
|
import "./chunk-GUZC226X.mjs";
|
|
143
143
|
import "./chunk-W6QLRQ3V.mjs";
|
|
144
|
-
import "./chunk-
|
|
144
|
+
import "./chunk-2EVESLP3.mjs";
|
|
145
145
|
import "./chunk-AY2YD5ZX.mjs";
|
|
146
146
|
import "./chunk-MFQGU5CC.mjs";
|
|
147
147
|
import "./chunk-SD6JGJOM.mjs";
|
|
@@ -150,6 +150,7 @@ import "./chunk-NBIVGHAT.mjs";
|
|
|
150
150
|
import "./chunk-WCLLPR6H.mjs";
|
|
151
151
|
import "./chunk-7BIW7VCW.mjs";
|
|
152
152
|
import "./chunk-IWJONXPF.mjs";
|
|
153
|
+
import "./chunk-4O26BPUY.mjs";
|
|
153
154
|
import "./chunk-M25IONJP.mjs";
|
|
154
155
|
import "./chunk-GLOICKDO.mjs";
|
|
155
156
|
import "./chunk-AZQXXXDX.mjs";
|
|
@@ -176,6 +177,7 @@ export {
|
|
|
176
177
|
farmFontImportsPlugin,
|
|
177
178
|
farmI18nClientBridgePlugin,
|
|
178
179
|
farmImageImportsPlugin,
|
|
180
|
+
farmIslandContainersPlugin,
|
|
179
181
|
farmPlugin,
|
|
180
182
|
farmServerOnlyEntriesPlugin,
|
|
181
183
|
generateClientCachePersistenceCode,
|
package/package.json
CHANGED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var _chunkVXB5CMNCcjs = require('./chunk-VXB5CMNC.cjs');
|
|
7
|
-
require('./chunk-WBTHHTBO.cjs');
|
|
8
|
-
require('./chunk-CCAUIBIS.cjs');
|
|
9
|
-
require('./chunk-MEJCP2LX.cjs');
|
|
10
|
-
require('./chunk-BTZ5O6VM.cjs');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.CORE_PORTABLE = _chunkVXB5CMNCcjs.CORE_PORTABLE; exports.analyzeFarmMobileRoutes = _chunkVXB5CMNCcjs.analyzeFarmMobileRoutes; exports.readAliases = _chunkVXB5CMNCcjs.readAliases; exports.resolveFile = _chunkVXB5CMNCcjs.resolveFile;
|
package/dist/chunk-V3UOEWCB.cjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkKORZ6PREcjs = require('./chunk-KORZ6PRE.cjs');
|
|
6
|
-
|
|
7
|
-
// src/docs/engine.ts
|
|
8
|
-
var FARMING_LABS_DOCS_INSTALL_HINT = _chunkKORZ6PREcjs.formatOptionalPeerInstallHint.call(void 0,
|
|
9
|
-
"@farming-labs/docs",
|
|
10
|
-
"use the docs engine"
|
|
11
|
-
);
|
|
12
|
-
var engine;
|
|
13
|
-
var loading;
|
|
14
|
-
function loadFarmDocsEngine() {
|
|
15
|
-
_nullishCoalesce(loading, () => ( (loading = Promise.all([import("@farming-labs/docs"), import("@farming-labs/docs/server")]).then(
|
|
16
|
-
([docs, server]) => {
|
|
17
|
-
engine = {
|
|
18
|
-
...docs,
|
|
19
|
-
resolveApiReferenceOpenApiDiscovery: server.resolveApiReferenceOpenApiDiscovery
|
|
20
|
-
};
|
|
21
|
-
return engine;
|
|
22
|
-
},
|
|
23
|
-
(error) => {
|
|
24
|
-
loading = void 0;
|
|
25
|
-
if (!_chunkKORZ6PREcjs.isMissingPackageError.call(void 0, error, "@farming-labs/docs")) throw error;
|
|
26
|
-
throw _chunkKORZ6PREcjs.withOptionalPeerCause.call(void 0,
|
|
27
|
-
new Error(
|
|
28
|
-
`docs is enabled, but @farming-labs/docs is not installed. ${FARMING_LABS_DOCS_INSTALL_HINT}`
|
|
29
|
-
),
|
|
30
|
-
error
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
))));
|
|
34
|
-
return loading;
|
|
35
|
-
}
|
|
36
|
-
function docsEngine() {
|
|
37
|
-
if (!engine) {
|
|
38
|
-
throw new Error("Farm docs engine was used before loadFarmDocsEngine() resolved.");
|
|
39
|
-
}
|
|
40
|
-
return engine;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
exports.loadFarmDocsEngine = loadFarmDocsEngine; exports.docsEngine = docsEngine;
|
package/dist/chunk-VE3FWJBO.mjs
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
formatOptionalPeerInstallHint,
|
|
3
|
-
isMissingPackageError,
|
|
4
|
-
withOptionalPeerCause
|
|
5
|
-
} from "./chunk-NR63PD3P.mjs";
|
|
6
|
-
|
|
7
|
-
// src/docs/engine.ts
|
|
8
|
-
var FARMING_LABS_DOCS_INSTALL_HINT = formatOptionalPeerInstallHint(
|
|
9
|
-
"@farming-labs/docs",
|
|
10
|
-
"use the docs engine"
|
|
11
|
-
);
|
|
12
|
-
var engine;
|
|
13
|
-
var loading;
|
|
14
|
-
function loadFarmDocsEngine() {
|
|
15
|
-
loading ?? (loading = Promise.all([import("@farming-labs/docs"), import("@farming-labs/docs/server")]).then(
|
|
16
|
-
([docs, server]) => {
|
|
17
|
-
engine = {
|
|
18
|
-
...docs,
|
|
19
|
-
resolveApiReferenceOpenApiDiscovery: server.resolveApiReferenceOpenApiDiscovery
|
|
20
|
-
};
|
|
21
|
-
return engine;
|
|
22
|
-
},
|
|
23
|
-
(error) => {
|
|
24
|
-
loading = void 0;
|
|
25
|
-
if (!isMissingPackageError(error, "@farming-labs/docs")) throw error;
|
|
26
|
-
throw withOptionalPeerCause(
|
|
27
|
-
new Error(
|
|
28
|
-
`docs is enabled, but @farming-labs/docs is not installed. ${FARMING_LABS_DOCS_INSTALL_HINT}`
|
|
29
|
-
),
|
|
30
|
-
error
|
|
31
|
-
);
|
|
32
|
-
}
|
|
33
|
-
));
|
|
34
|
-
return loading;
|
|
35
|
-
}
|
|
36
|
-
function docsEngine() {
|
|
37
|
-
if (!engine) {
|
|
38
|
-
throw new Error("Farm docs engine was used before loadFarmDocsEngine() resolved.");
|
|
39
|
-
}
|
|
40
|
-
return engine;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export {
|
|
44
|
-
loadFarmDocsEngine,
|
|
45
|
-
docsEngine
|
|
46
|
-
};
|