@farm.js/core 0.1.65 → 0.1.67
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-QLFDDTYN.mjs → agent-mcp-handler-AZ7QW4UP.mjs} +5 -5
- package/dist/{agent-mcp-handler-OXT73ZBY.cjs → agent-mcp-handler-FER4MQDF.cjs} +6 -6
- package/dist/{agent-mcp.d-QD2WZ9BS.d.ts → agent-mcp.d-BFu9xHAi.d.ts} +1 -1
- package/dist/{agent-mcp.d-CO_ABmNK.d.mts → agent-mcp.d-DWyWkTSy.d.mts} +1 -1
- package/dist/agent-runtime.cjs +6 -5
- package/dist/agent-runtime.d.mts +6 -6
- package/dist/agent-runtime.d.ts +6 -6
- package/dist/agent-runtime.mjs +5 -4
- package/dist/analyzer-KVZGVY5Q.cjs +16 -0
- package/dist/{analyzer-PE33SK5W.mjs → analyzer-TTIIXXMQ.mjs} +3 -3
- package/dist/api/client.cjs +12 -2
- package/dist/api/client.d.mts +4 -4
- package/dist/api/client.d.ts +4 -4
- package/dist/api/client.mjs +12 -2
- package/dist/api/client.native.cjs +12 -2
- package/dist/api/client.native.d.mts +5 -5
- package/dist/api/client.native.d.ts +5 -5
- package/dist/api/client.native.mjs +12 -2
- package/dist/api/node.cjs +223 -0
- package/dist/api/node.d.mts +59 -0
- package/dist/api/node.d.ts +59 -0
- package/dist/api/node.mjs +223 -0
- package/dist/api/route-manager.cjs +11 -11
- package/dist/api/route-manager.d.mts +10 -9
- package/dist/api/route-manager.d.ts +10 -9
- package/dist/api/route-manager.mjs +10 -10
- package/dist/api/runtime.cjs +11 -7
- package/dist/api/runtime.d.mts +7 -7
- package/dist/api/runtime.d.ts +7 -7
- package/dist/api/runtime.mjs +10 -6
- package/dist/{api-client.d-BNLXNCXJ.d.mts → api-client.d-Bp35zMqR.d.mts} +1 -1
- package/dist/{api-client.d-ddQBNGtu.d.ts → api-client.d-CFI_xL0V.d.ts} +1 -1
- package/dist/api.cjs +17 -13
- package/dist/api.d.mts +11 -10
- package/dist/api.d.ts +11 -10
- package/dist/api.mjs +16 -12
- package/dist/{app-manifest.d-BpKxiU_E.d.mts → app-manifest.d-CRmjN5j9.d.mts} +1 -1
- package/dist/{app-manifest.d-DDmNkYQQ.d.ts → app-manifest.d-CwfhGrVR.d.ts} +1 -1
- package/dist/app-markdown.cjs +5 -5
- package/dist/app-markdown.d.mts +7 -7
- package/dist/app-markdown.d.ts +7 -7
- package/dist/app-markdown.mjs +4 -4
- package/dist/{app.d-x68Cwr0_.d.ts → app.d-BX9LVTiP.d.ts} +50 -9
- package/dist/{app.d-kuoVWhWM.d.mts → app.d-uBBUxwyV.d.mts} +50 -9
- package/dist/{chunk-V56632LA.cjs → chunk-22IWL4YD.cjs} +19 -5
- package/dist/{chunk-CZF4XIRZ.cjs → chunk-23PVOIPT.cjs} +3 -3
- package/dist/{chunk-5C7XMKQ4.cjs → chunk-2AFW7673.cjs} +6 -1
- package/dist/{chunk-SYW346ZN.cjs → chunk-2LHZD3OP.cjs} +1 -21
- package/dist/{chunk-ZZI56IUY.mjs → chunk-2ZOYOYEE.mjs} +13 -13
- package/dist/{chunk-RVGSVQWT.mjs → chunk-3T5TLFCQ.mjs} +10 -5
- package/dist/{chunk-XBSKPLHF.cjs → chunk-3T7ALZJF.cjs} +2 -2
- package/dist/{chunk-JCEFKP5M.mjs → chunk-423SSBYQ.mjs} +6 -0
- package/dist/{chunk-7QVRWGBL.cjs → chunk-4DRINDGN.cjs} +319 -138
- package/dist/{chunk-O6L3YYPM.cjs → chunk-4E57QHPW.cjs} +8 -16
- package/dist/{chunk-WKPBIT5Q.cjs → chunk-4HGLJOXZ.cjs} +6 -6
- package/dist/{chunk-JGAE5XPL.cjs → chunk-4JX3M4C6.cjs} +2 -1
- package/dist/{chunk-CJNAUEVC.mjs → chunk-4QENVMG7.mjs} +1 -1
- package/dist/{chunk-IMK32ERL.cjs → chunk-556H7JCE.cjs} +65 -48
- package/dist/{chunk-OLIGNTWU.cjs → chunk-5NFQ6AZI.cjs} +7 -7
- package/dist/{chunk-6HRAK7I5.mjs → chunk-5OFNUETM.mjs} +8 -2
- package/dist/{chunk-TZVUF5JJ.mjs → chunk-5TA63JD3.mjs} +4 -4
- package/dist/{chunk-RD623KW4.cjs → chunk-67MZTLTF.cjs} +21 -3
- package/dist/chunk-6I4BFRE7.cjs +51 -0
- package/dist/{chunk-OSFIUSYK.cjs → chunk-6R53ZWX2.cjs} +7 -7
- package/dist/{chunk-MGKW5XZE.cjs → chunk-6SQZXRJ2.cjs} +7 -7
- package/dist/{chunk-WNXVWXG3.cjs → chunk-6V5YWI4W.cjs} +2 -2
- package/dist/{chunk-BM2LH2JM.mjs → chunk-6YBYX4K4.mjs} +13 -12
- package/dist/{chunk-X3XUZWRB.mjs → chunk-724MGMIL.mjs} +17 -3
- package/dist/{chunk-K5EW7GUU.mjs → chunk-7BIW7VCW.mjs} +13 -5
- package/dist/{chunk-HPP2II4Z.mjs → chunk-7PJARAQQ.mjs} +1 -1
- package/dist/{chunk-LEJDW34D.cjs → chunk-7PPLTD3P.cjs} +3 -3
- package/dist/{chunk-TGULJSHD.mjs → chunk-AJNBTOVQ.mjs} +20 -9
- package/dist/{chunk-FBEBSAVI.cjs → chunk-AKIQ54FK.cjs} +82 -63
- package/dist/{chunk-2NGZFOKG.mjs → chunk-AOIUYHPH.mjs} +2 -2
- package/dist/{chunk-ZEXE4TGY.mjs → chunk-AQDLVHNF.mjs} +230 -110
- package/dist/{chunk-NKRZLQUK.mjs → chunk-AQIO3RNL.mjs} +1 -1
- package/dist/chunk-AQIRXBBY.cjs +26 -0
- package/dist/chunk-AZ6IW6SF.mjs +28 -0
- package/dist/{chunk-QMDU6QHN.mjs → chunk-B6RBJJ5G.mjs} +1 -1
- package/dist/{chunk-I32V5CZL.cjs → chunk-BDYM2TN3.cjs} +28 -17
- package/dist/{chunk-JLDNXURZ.cjs → chunk-BZWTBELF.cjs} +32 -32
- package/dist/{chunk-ITV4QQL2.cjs → chunk-C6CUUBY5.cjs} +14 -3
- package/dist/{chunk-V727H3RI.cjs → chunk-CCAUIBIS.cjs} +6 -0
- package/dist/{chunk-YN6BHOYY.cjs → chunk-CL52PD6D.cjs} +10 -3
- package/dist/{chunk-ZX2JHEWW.mjs → chunk-CO3YMZFD.mjs} +20 -9
- package/dist/{chunk-XURDCXNH.cjs → chunk-CSLHNBPS.cjs} +6 -6
- package/dist/{chunk-CNNBFGL5.cjs → chunk-DB2HSHQA.cjs} +14 -14
- package/dist/{chunk-XQSYOVCW.cjs → chunk-DBYNZIIQ.cjs} +13 -5
- package/dist/{chunk-32RPJAAS.cjs → chunk-DCXSIEFE.cjs} +40 -41
- package/dist/{chunk-D4MRNBVF.cjs → chunk-DGOFR7D5.cjs} +2 -2
- package/dist/{chunk-QTD6EMN2.mjs → chunk-DQ2DI3Y7.mjs} +11 -4
- package/dist/chunk-DXZ57EPE.mjs +375 -0
- package/dist/{chunk-SA7MLSP4.mjs → chunk-E3HDJCWF.mjs} +3 -3
- package/dist/{chunk-EFZGB7JC.cjs → chunk-E5UN4OWX.cjs} +1 -0
- package/dist/{chunk-HKNYNSOK.mjs → chunk-E6CD45JK.mjs} +30 -31
- package/dist/{chunk-752XUZIM.cjs → chunk-EGIY4A7V.cjs} +6 -6
- package/dist/chunk-EIVGPQN5.mjs +51 -0
- package/dist/{chunk-KPAJWD3N.mjs → chunk-EYPSKXO4.mjs} +1 -1
- package/dist/{chunk-E552H232.cjs → chunk-F43OG25P.cjs} +1 -1
- package/dist/{chunk-UAQD67HM.mjs → chunk-F7JKVHU2.mjs} +1 -1
- package/dist/{chunk-QISW423S.cjs → chunk-FPBOAG6N.cjs} +2 -2
- package/dist/{chunk-2C5L5RPM.cjs → chunk-FT6KJHS3.cjs} +71 -38
- package/dist/{chunk-ES2LD2YD.mjs → chunk-GCRT6GJG.mjs} +18 -0
- package/dist/{chunk-5OJVKXFV.cjs → chunk-GDM3ZD2O.cjs} +10 -8
- package/dist/{chunk-EMDGXYUD.mjs → chunk-GJ7QVFAG.mjs} +16 -7
- package/dist/{chunk-TGSEVBPO.mjs → chunk-GJEC5S4V.mjs} +11 -0
- package/dist/{chunk-ZAUOOGER.mjs → chunk-GTV2ABO7.mjs} +218 -37
- package/dist/{chunk-72JSHQQQ.mjs → chunk-H37MDCPR.mjs} +1 -1
- package/dist/{chunk-HNAISJFD.cjs → chunk-HDPT6OYE.cjs} +9 -3
- package/dist/{chunk-25T5VXOE.mjs → chunk-HFHJJXSV.mjs} +106 -19
- package/dist/{chunk-ZNH6NR3H.cjs → chunk-HJZZSBVK.cjs} +2 -2
- package/dist/{chunk-A3G5IY2W.cjs → chunk-HM7AGSKU.cjs} +1 -1
- package/dist/{chunk-GL7N5UHF.cjs → chunk-HNVAZGQD.cjs} +20 -9
- package/dist/{chunk-GRBJ7VKH.mjs → chunk-HP2DQGQH.mjs} +1 -1
- package/dist/{chunk-E2TSYUHV.mjs → chunk-HRPTMX5C.mjs} +4 -4
- package/dist/{chunk-K7OZAVOI.mjs → chunk-IFR74W6S.mjs} +46 -13
- package/dist/{chunk-5A77OEIG.cjs → chunk-IHTDLCDJ.cjs} +5 -5
- package/dist/{chunk-VQJHT2ND.mjs → chunk-IRA2CZAY.mjs} +2 -2
- package/dist/{chunk-OYZXVBZP.cjs → chunk-IUKBPBM7.cjs} +2 -1
- package/dist/chunk-J6TZRYCO.cjs +22 -0
- package/dist/{chunk-WYAXRIYP.cjs → chunk-J7JHVCWA.cjs} +8 -8
- package/dist/chunk-JSOCDYER.cjs +375 -0
- package/dist/{chunk-YUW7F6SK.mjs → chunk-JVM3DKZE.mjs} +3 -3
- package/dist/{chunk-UPYIFH2H.cjs → chunk-JWLRBDDC.cjs} +2 -2
- package/dist/{chunk-BQWBHWEW.mjs → chunk-JWSI5WO4.mjs} +1 -1
- package/dist/{chunk-OLGQZRW6.mjs → chunk-JZBU7V4D.mjs} +37 -17
- package/dist/{chunk-ONG4RDW3.mjs → chunk-JZGL2PIH.mjs} +13 -3
- package/dist/chunk-K63OWRY2.mjs +22 -0
- package/dist/{chunk-TUPKMMXT.mjs → chunk-K6HIIWUB.mjs} +1 -1
- package/dist/{chunk-MESQF2JC.mjs → chunk-K6SXMVXO.mjs} +2 -2
- package/dist/{chunk-L2JG337G.cjs → chunk-K6VFYFOY.cjs} +33 -31
- package/dist/{chunk-3CCAICF7.cjs → chunk-KCY52OUQ.cjs} +4 -4
- package/dist/{chunk-EZ34EHQP.mjs → chunk-KI3MU7B5.mjs} +1 -1
- package/dist/{chunk-GHNW564E.mjs → chunk-KSZK34HU.mjs} +30 -10
- package/dist/{chunk-RFKTJTWZ.mjs → chunk-KWFNUODD.mjs} +2 -1
- package/dist/{chunk-ECKQFEX2.mjs → chunk-LENKRGBV.mjs} +8 -6
- package/dist/{chunk-C7DCMGC4.cjs → chunk-LPIZMU7D.cjs} +12 -12
- package/dist/{chunk-HEPJIKKQ.cjs → chunk-MCSRMEQV.cjs} +2 -2
- package/dist/{chunk-DQF3QLOH.mjs → chunk-ME7RVELR.mjs} +3 -2
- package/dist/{chunk-3KJPIO5D.cjs → chunk-N5DQMOAG.cjs} +589 -678
- package/dist/{chunk-O4F3JUST.mjs → chunk-NDDRTFN4.mjs} +4 -0
- package/dist/{chunk-CBOEJ5Z4.cjs → chunk-OB3IFUK6.cjs} +133 -46
- package/dist/{chunk-R62SF5R4.mjs → chunk-OB45EAQL.mjs} +6 -1
- package/dist/{chunk-SYXPWJ7N.cjs → chunk-OFBLGH6V.cjs} +17 -18
- package/dist/{chunk-VQ4NWOWO.mjs → chunk-OGVTUGMU.mjs} +5 -13
- package/dist/{chunk-3UZVPO72.mjs → chunk-OIOPQ25L.mjs} +6 -7
- package/dist/{chunk-2XGBJSDV.cjs → chunk-OO7DYIJD.cjs} +73 -24
- package/dist/{chunk-IP2KHSGF.mjs → chunk-P2NBQ5JI.mjs} +57 -4
- package/dist/{chunk-ZQQK4U66.cjs → chunk-PDFFYZAT.cjs} +72 -19
- package/dist/{chunk-GSVJ3IIF.cjs → chunk-PHCJJJZV.cjs} +2 -2
- package/dist/{chunk-EVMXPJCB.mjs → chunk-PKMUQ7LM.mjs} +2 -1
- package/dist/{chunk-YD4J37RN.cjs → chunk-PL6RTBDE.cjs} +30 -19
- package/dist/{chunk-OAJOQU5J.mjs → chunk-PLJKJJ2H.mjs} +82 -63
- package/dist/{chunk-WMTBBQHY.cjs → chunk-PPX7UOFY.cjs} +271 -151
- package/dist/{chunk-6XQSPIN6.cjs → chunk-PWKAX5MS.cjs} +13 -3
- package/dist/{chunk-7XGWBPQQ.cjs → chunk-Q37INCXG.cjs} +13 -8
- package/dist/{chunk-T4M52BA5.cjs → chunk-Q5UX55YA.cjs} +1457 -612
- package/dist/{chunk-53ZCZ46B.cjs → chunk-QGQP6QKO.cjs} +4 -3
- package/dist/{chunk-TZOGZKI7.cjs → chunk-QITSS4TD.cjs} +1381 -626
- package/dist/{chunk-4ZJ5C7UJ.cjs → chunk-QIXEU2WV.cjs} +19 -10
- package/dist/{chunk-HCGWDRZO.mjs → chunk-QJVW76JG.mjs} +17 -6
- package/dist/{chunk-FJWN7RV4.cjs → chunk-QO43L7Z4.cjs} +38 -8
- package/dist/{chunk-ZIHWAN55.cjs → chunk-RE5E2G5S.cjs} +1 -1
- package/dist/chunk-RWR7SMD7.cjs +50 -0
- package/dist/{chunk-7PTISZSQ.cjs → chunk-S7MWSFFP.cjs} +4 -0
- package/dist/chunk-SD6JGJOM.mjs +50 -0
- package/dist/{chunk-7H4SVNC4.cjs → chunk-SPP3EZTJ.cjs} +46 -26
- package/dist/{chunk-E4RDMG3K.mjs → chunk-TEG6HJVF.mjs} +4 -4
- package/dist/{chunk-WAY6LOQH.mjs → chunk-TEJ67GD2.mjs} +1 -1
- package/dist/{chunk-ZNXTU4YH.mjs → chunk-TM2E623I.mjs} +1 -0
- package/dist/{chunk-IFTGERT3.mjs → chunk-TTXIITYA.mjs} +49 -0
- package/dist/{chunk-ZFWYCVKS.mjs → chunk-TY5KCYDE.mjs} +22 -4
- package/dist/{chunk-W2ZXMMHA.mjs → chunk-UHE5JUKB.mjs} +1 -1
- package/dist/{chunk-6X5NKNBE.mjs → chunk-UHNSY2PQ.mjs} +1304 -459
- package/dist/{chunk-UJ3R2AH2.cjs → chunk-UPOYKX4S.cjs} +5 -5
- package/dist/{chunk-2DLGV2ZG.mjs → chunk-UTUS6JUH.mjs} +1 -21
- package/dist/{chunk-Q75QPLBA.mjs → chunk-V5MQMQ2P.mjs} +1 -1
- package/dist/{chunk-TRIDJQ6A.cjs → chunk-V5RTHYJB.cjs} +30 -10
- package/dist/{chunk-QHRCR44V.mjs → chunk-VK54PDQ6.mjs} +25 -5
- package/dist/{chunk-LQNW3ABP.cjs → chunk-VX2HZGC7.cjs} +14 -14
- package/dist/{chunk-2L54YV25.mjs → chunk-WDD5CTZW.mjs} +49 -32
- package/dist/{chunk-7GYCZRTH.mjs → chunk-WGHY3OL5.mjs} +355 -444
- package/dist/{chunk-A2MN5PQJ.mjs → chunk-WMLSZAKN.mjs} +9 -9
- package/dist/{chunk-3EEET2Q5.cjs → chunk-WUTFJOV7.cjs} +32 -12
- package/dist/chunk-WVQNXXNE.cjs +28 -0
- package/dist/{chunk-Y5TOT5F6.cjs → chunk-X3MHKLCO.cjs} +5 -5
- package/dist/{chunk-Z7P2BTZ3.cjs → chunk-XGTFLG73.cjs} +30 -12
- package/dist/{chunk-VHHLKIDZ.mjs → chunk-XNZWMXCF.mjs} +1090 -335
- package/dist/{chunk-FIR62CR3.mjs → chunk-XUES6OET.mjs} +1 -1
- package/dist/{chunk-XCXHQBMM.mjs → chunk-Y2LU4LE5.mjs} +1 -1
- package/dist/{chunk-5J45H65F.mjs → chunk-Y5LEPEVH.mjs} +1 -1
- package/dist/{chunk-BT4SEFLC.cjs → chunk-YAEN3L2F.cjs} +3 -2
- package/dist/chunk-YFTGIHNC.mjs +26 -0
- package/dist/{chunk-KL7SHLQB.mjs → chunk-YGJ5P3TJ.mjs} +31 -1
- package/dist/{chunk-UYRI6U3P.mjs → chunk-YQYTQJZN.mjs} +3 -2
- package/dist/{chunk-X4K7TYN6.cjs → chunk-YVTS3S3F.cjs} +24 -23
- package/dist/{chunk-72KABRWN.mjs → chunk-ZJGFAW5U.mjs} +5 -3
- package/dist/{chunk-TNBJ4LZG.mjs → chunk-ZPKJPM7K.mjs} +4 -4
- package/dist/client/lifecycle.cjs +2 -2
- package/dist/client/lifecycle.d.mts +1 -1
- package/dist/client/lifecycle.d.ts +1 -1
- package/dist/client/lifecycle.mjs +1 -1
- package/dist/{client-component.d-D74pqdea.d.mts → client-component.d-CDRvRmbU.d.mts} +2 -2
- package/dist/{client-component.d-D8VcypQA.d.ts → client-component.d-DWRKyAp5.d.ts} +2 -2
- package/dist/client-plugins.cjs +2 -2
- package/dist/{client-plugins.d-D4-6hNx7.d.mts → client-plugins.d-BNILjfX3.d.mts} +94 -140
- package/dist/{client-plugins.d-CXElzotB.d.ts → client-plugins.d-CrKZiNSN.d.ts} +94 -140
- package/dist/client-plugins.d.mts +6 -6
- package/dist/client-plugins.d.ts +6 -6
- package/dist/client-plugins.mjs +1 -1
- package/dist/client.cjs +11 -9
- package/dist/client.d.mts +13 -13
- package/dist/client.d.ts +13 -13
- package/dist/client.mjs +10 -8
- package/dist/{config.d-qt-mE8O5.d.mts → config.d-BKIhJtmr.d.mts} +7 -2
- package/dist/{config.d-qt-mE8O5.d.ts → config.d-BKIhJtmr.d.ts} +7 -2
- package/dist/config.d.mts +6 -6
- package/dist/config.d.ts +6 -6
- package/dist/cron.cjs +2 -2
- package/dist/cron.mjs +1 -1
- package/dist/deferred.cjs +2 -2
- package/dist/deferred.mjs +1 -1
- package/dist/deployment.cjs +2 -2
- package/dist/deployment.mjs +1 -1
- package/dist/desktop.d.mts +7 -7
- package/dist/desktop.d.ts +7 -7
- package/dist/{devtools-SGYOG36E.cjs → devtools-RZVT4JVN.cjs} +36 -32
- package/dist/{devtools-PUVZB3F2.mjs → devtools-UFQYT3VA.mjs} +31 -27
- package/dist/docs.cjs +26 -25
- package/dist/docs.d.mts +20 -8
- package/dist/docs.d.ts +20 -8
- package/dist/docs.mjs +25 -24
- package/dist/env-types.cjs +3 -3
- package/dist/env-types.mjs +2 -2
- package/dist/environment/vite.cjs +5 -5
- package/dist/environment/vite.mjs +4 -4
- package/dist/headers.cjs +3 -3
- package/dist/headers.mjs +2 -2
- package/dist/image/server.d.mts +1 -1
- package/dist/image/server.d.ts +1 -1
- package/dist/image/sharp.d.mts +1 -1
- package/dist/image/sharp.d.ts +1 -1
- package/dist/{image-config.d-CeDgNyX4.d.mts → image-config.d-ByhQ0TT7.d.mts} +3 -1
- package/dist/{image-config.d-CeDgNyX4.d.ts → image-config.d-ByhQ0TT7.d.ts} +3 -1
- package/dist/image.cjs +6 -6
- package/dist/image.d.mts +1 -1
- package/dist/image.d.ts +1 -1
- package/dist/image.mjs +1 -1
- package/dist/index.cjs +143 -128
- package/dist/{index.d-SSgYDv4D.d.mts → index.d-Bdm6866n.d.mts} +1 -1
- package/dist/{index.d-A_x10zGS.d.ts → index.d-Dey5T14f.d.ts} +1 -1
- package/dist/index.d.mts +31 -82
- package/dist/index.d.ts +31 -82
- package/dist/index.mjs +214 -199
- package/dist/{integration-orm-52GPGTHO.cjs → integrations/orm.cjs} +5 -5
- package/dist/integrations/orm.d.mts +33 -0
- package/dist/integrations/orm.d.ts +33 -0
- package/dist/{integration-orm-CO23MSFE.mjs → integrations/orm.mjs} +5 -5
- package/dist/integrations.cjs +6 -5
- package/dist/integrations.d.mts +6 -6
- package/dist/integrations.d.ts +6 -6
- package/dist/integrations.mjs +5 -4
- package/dist/internal/app-markdown-runtime.cjs +4 -4
- package/dist/internal/app-markdown-runtime.d.mts +17 -8
- package/dist/internal/app-markdown-runtime.d.ts +17 -8
- package/dist/internal/app-markdown-runtime.mjs +3 -3
- package/dist/internal/build-runtime.cjs +70 -68
- package/dist/internal/build-runtime.d.mts +8 -8
- package/dist/internal/build-runtime.d.ts +8 -8
- package/dist/internal/build-runtime.mjs +69 -67
- package/dist/internal/cli-runtime.cjs +45 -44
- package/dist/internal/cli-runtime.mjs +44 -43
- package/dist/internal/client-error-overlay.cjs +6 -6
- package/dist/internal/client-error-overlay.mjs +2 -2
- package/dist/internal/client-runtime.cjs +60 -6
- package/dist/internal/client-runtime.d.mts +40 -11
- package/dist/internal/client-runtime.d.ts +40 -11
- package/dist/internal/client-runtime.mjs +58 -4
- package/dist/internal/compression-runtime.d.mts +6 -6
- package/dist/internal/compression-runtime.d.ts +6 -6
- package/dist/internal/config-runtime.cjs +25 -24
- package/dist/internal/config-runtime.d.mts +9 -9
- package/dist/internal/config-runtime.d.ts +9 -9
- package/dist/internal/config-runtime.mjs +24 -23
- package/dist/internal/docs-precompiled-runtime.cjs +16 -5
- package/dist/internal/docs-precompiled-runtime.d.mts +7 -0
- package/dist/internal/docs-precompiled-runtime.d.ts +7 -0
- package/dist/internal/docs-precompiled-runtime.mjs +15 -4
- package/dist/internal/infra-analytics-runtime.cjs +11 -11
- package/dist/internal/infra-analytics-runtime.mjs +9 -9
- package/dist/internal/islands-runtime.cjs +33 -4
- package/dist/internal/islands-runtime.d.mts +1 -1
- package/dist/internal/islands-runtime.d.ts +1 -1
- package/dist/internal/islands-runtime.mjs +31 -2
- package/dist/internal/native-server-fns.cjs +6 -6
- package/dist/internal/native-server-fns.mjs +5 -5
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +54 -40
- package/dist/internal/production-runtime.d.mts +23 -15
- package/dist/internal/production-runtime.d.ts +23 -15
- package/dist/internal/production-runtime.mjs +69 -55
- package/dist/internal/react-cache.cjs +3 -3
- package/dist/internal/react-cache.mjs +1 -1
- package/dist/{lifecycle.d-C2aLBOwu.d.ts → lifecycle.d-keQs5Swc.d.mts} +7 -1
- package/dist/{lifecycle.d-C2aLBOwu.d.mts → lifecycle.d-keQs5Swc.d.ts} +7 -1
- package/dist/{manager-H5ZM3HAM.mjs → manager-JIA66YJ2.mjs} +4 -3
- package/dist/manager-JOHU6BQI.cjs +15 -0
- package/dist/markdown.cjs +7 -3
- package/dist/markdown.d.mts +6 -6
- package/dist/markdown.d.ts +6 -6
- package/dist/markdown.mjs +6 -2
- package/dist/middleware.cjs +10 -10
- package/dist/middleware.d.mts +8 -8
- package/dist/middleware.d.ts +8 -8
- package/dist/middleware.mjs +9 -9
- package/dist/mobile.d.mts +4 -4
- package/dist/mobile.d.ts +4 -4
- package/dist/mount.d-BP0nLYQO.d.mts +38 -0
- package/dist/mount.d-CkiPky_F.d.ts +38 -0
- package/dist/{native-server-fn-handler-GLRHAYWV.mjs → native-server-fn-handler-EP5AFJYE.mjs} +5 -5
- package/dist/{native-server-fn-handler-J5MYRXN6.cjs → native-server-fn-handler-QRTXGZA4.cjs} +6 -6
- package/dist/{native-tree-HE2FLS72.cjs → native-tree-W2SSJB3Y.cjs} +5 -5
- package/dist/{native-tree-YF2DSPKM.mjs → native-tree-Y5YQANW7.mjs} +4 -4
- package/dist/{navigation-delegate.d-DQVYKoaZ.d.mts → navigation-delegate.d-CdBP-hkZ.d.mts} +1 -1
- package/dist/{navigation-delegate.d-GghbHJuK.d.ts → navigation-delegate.d-DchcGzAQ.d.ts} +1 -1
- package/dist/navigation.cjs +8 -7
- package/dist/navigation.d.mts +9 -9
- package/dist/navigation.d.ts +9 -9
- package/dist/navigation.mjs +7 -6
- package/dist/{nitro-DD4QCA66.mjs → nitro-55YOZWRA.mjs} +11 -11
- package/dist/{nitro-VRDX2H4M.cjs → nitro-EEX2J3KB.cjs} +13 -13
- package/dist/{plugin-53SY5YBS.mjs → plugin-SAS22JL7.mjs} +4 -3
- package/dist/{plugin-HZIBL3DW.cjs → plugin-WIU4GDD4.cjs} +5 -4
- package/dist/plugin.cjs +61 -59
- package/dist/plugin.d.mts +8 -8
- package/dist/plugin.d.ts +8 -8
- package/dist/plugin.mjs +60 -58
- package/dist/{port-UFUZL6RI.mjs → port-CLL4BC4O.mjs} +1 -1
- package/dist/{port-VTLHPZOI.cjs → port-HASZTQGY.cjs} +9 -9
- package/dist/{production-runtime.d-Bzns3NW9.d.ts → production-runtime.d-Dou_Htas.d.ts} +1 -1
- package/dist/{production-runtime.d-DiFa5vHW.d.mts → production-runtime.d-VwsBzIee.d.mts} +1 -1
- package/dist/query/client.cjs +9 -7
- package/dist/query/client.mjs +5 -3
- package/dist/{render-plan.d-CL_Ikfg_.d.ts → render-plan.d-D8UakAIk.d.ts} +1 -1
- package/dist/{render-plan.d-CcF0MeCf.d.mts → render-plan.d-LKymStDJ.d.mts} +1 -1
- package/dist/renderer/none/server.cjs +35 -0
- package/dist/renderer/none/server.d.mts +21 -0
- package/dist/renderer/none/server.d.ts +21 -0
- package/dist/renderer/none/server.mjs +35 -0
- package/dist/renderer/react/server.cjs +2 -2
- package/dist/renderer/react/server.mjs +3 -3
- package/dist/renderer-client.cjs +8 -6
- package/dist/renderer-client.d.mts +9 -9
- package/dist/renderer-client.d.ts +9 -9
- package/dist/renderer-client.mjs +5 -3
- package/dist/renderer.cjs +6 -2
- package/dist/renderer.d.mts +20 -2
- package/dist/renderer.d.ts +20 -2
- package/dist/renderer.mjs +5 -1
- package/dist/request.cjs +2 -2
- package/dist/{request.d-B1RnTLri.d.ts → request.d-B928QjWy.d.ts} +1 -1
- package/dist/{request.d-DarDOCk9.d.mts → request.d-KG-4d2eG.d.mts} +1 -1
- package/dist/request.d.mts +7 -7
- package/dist/request.d.ts +7 -7
- package/dist/request.mjs +1 -1
- package/dist/{route-rendering.d-BTUYCIj4.d.ts → route-rendering.d-DoEe_w9t.d.ts} +1 -1
- package/dist/{route-rendering.d-D_2Ual0-.d.mts → route-rendering.d-NIHQeb4m.d.mts} +1 -1
- package/dist/{route.d-BaVH3V0w.d.mts → route.d-DrXkpvcg.d.mts} +1 -1
- package/dist/{route.d-DBTEqifW.d.ts → route.d-hs-_cyHn.d.ts} +1 -1
- package/dist/{router.d-Cuv1jntg.d.mts → router.d-B8PkJSGp.d.mts} +1 -1
- package/dist/{router.d-CMANF6da.d.ts → router.d-DYnRHQwz.d.ts} +1 -1
- package/dist/routes.cjs +3 -3
- package/dist/{routes.d-c2HKfrfL.d.mts → routes.d-DgZ_jgGG.d.mts} +1 -1
- package/dist/{routes.d-B6yFe6jm.d.ts → routes.d-uUBZyWoK.d.ts} +1 -1
- package/dist/routes.d.mts +6 -6
- package/dist/routes.d.ts +6 -6
- package/dist/routes.mjs +2 -2
- package/dist/{rsc-pipeline-T3PWURLJ.mjs → rsc-pipeline-4OJ5ZQNZ.mjs} +26 -25
- package/dist/{rsc-pipeline-V4ANLRAA.cjs → rsc-pipeline-7K5H2RPH.cjs} +27 -26
- package/dist/{runtime-LRIQ3XH7.mjs → runtime-U7O3HZOZ.mjs} +62 -36
- package/dist/{runtime-5AROV2C3.cjs → runtime-X52Q7JFR.cjs} +72 -46
- package/dist/{runtime.d-wvh4ngU0.d.mts → runtime.d-BxQIzwfy.d.mts} +11 -3
- package/dist/{runtime.d-C3RQUj6_.d.ts → runtime.d-DP7mEkEF.d.ts} +11 -3
- package/dist/{schema-dev-notice-JMXEQWIQ.mjs → schema-dev-notice-C2JINRZI.mjs} +3 -2
- package/dist/{schema-dev-notice-PLBFDTOF.cjs → schema-dev-notice-X7GG7QVB.cjs} +5 -4
- package/dist/schema.cjs +6 -2
- package/dist/schema.d-Dny9pnrm.d.mts +298 -0
- package/dist/schema.d-Dny9pnrm.d.ts +298 -0
- package/dist/schema.d.mts +1 -115
- package/dist/schema.d.ts +1 -115
- package/dist/schema.mjs +5 -1
- package/dist/server-fn-client.d.mts +2 -2
- package/dist/server-fn-client.d.ts +2 -2
- package/dist/server-fn.cjs +5 -5
- package/dist/server-fn.mjs +4 -4
- package/dist/server-plugins.cjs +7 -7
- package/dist/server-plugins.d.mts +16 -10
- package/dist/server-plugins.d.ts +16 -10
- package/dist/server-plugins.mjs +8 -8
- package/dist/server-query.cjs +6 -6
- package/dist/server-query.mjs +5 -5
- package/dist/server.cjs +160 -120
- package/dist/server.d.mts +20 -14
- package/dist/server.d.ts +20 -14
- package/dist/server.mjs +138 -98
- package/dist/{spa-router.d-WU_qS5gJ.d.mts → spa-router.d-BgHPVMhz.d.mts} +15 -5
- package/dist/{spa-router.d-m8H_Kl_B.d.ts → spa-router.d-DsFDHTsv.d.ts} +15 -5
- package/dist/testing.cjs +17 -17
- package/dist/testing.d.mts +6 -6
- package/dist/testing.d.ts +6 -6
- package/dist/testing.mjs +13 -13
- package/dist/theme/server.cjs +3 -3
- package/dist/theme/server.mjs +2 -2
- package/dist/{utils.d-W9IiEqmW.d.mts → utils.d-BKyKDBR1.d.mts} +1 -1
- package/dist/{utils.d-C9dQD5Zg.d.ts → utils.d-zxAVcf_V.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +63 -61
- package/dist/vite.d.mts +32 -12
- package/dist/vite.d.ts +32 -12
- package/dist/vite.mjs +62 -60
- package/dist/workflows.cjs +4 -4
- package/dist/workflows.mjs +3 -3
- package/package.json +31 -1
- package/dist/analyzer-GHWK46LX.cjs +0 -16
- package/dist/chunk-5YPBFMBN.cjs +0 -19
- package/dist/chunk-OM7WILES.mjs +0 -100
- package/dist/chunk-Q5B4LNON.mjs +0 -19
- package/dist/chunk-QPJ4MZTO.mjs +0 -60
- package/dist/chunk-R53QDV6T.cjs +0 -100
- package/dist/chunk-UYTAP4FQ.cjs +0 -60
- package/dist/manager-2LUKNX2N.cjs +0 -14
- /package/dist/{chunk-QGOZLGVP.mjs → chunk-I6FIAWNT.mjs} +0 -0
- /package/dist/{chunk-XPIPMWY3.cjs → chunk-K5NI5YQR.cjs} +0 -0
- /package/dist/{chunk-NWUHS6GV.cjs → chunk-QEJWNXRI.cjs} +0 -0
- /package/dist/{chunk-FSXSQQTV.mjs → chunk-TXE4SAMV.mjs} +0 -0
- /package/dist/{chunk-ZXK2EYQW.cjs → chunk-UUQNJDGH.cjs} +0 -0
- /package/dist/{chunk-46P5KNTE.mjs → chunk-VZBAW44S.mjs} +0 -0
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
var _chunkOWOUTKIJcjs = require('./chunk-OWOUTKIJ.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkQO43L7Z4cjs = require('./chunk-QO43L7Z4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunk6JHZPB52cjs = require('./chunk-6JHZPB52.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkFT6KJHS3cjs = require('./chunk-FT6KJHS3.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkWT6RAN2Icjs = require('./chunk-WT6RAN2I.cjs');
|
|
@@ -603,12 +603,12 @@ function createFarmMetadataRouteResponse(kind, value, routeModule = {}, options
|
|
|
603
603
|
return new Response(null, { status: 405, headers: { Allow: "GET, HEAD" } });
|
|
604
604
|
}
|
|
605
605
|
if ((kind === "llms" || kind === "llms-full") && options.request) {
|
|
606
|
-
|
|
606
|
+
_chunkFT6KJHS3cjs.emitFarmAgentRead.call(void 0, options.request, kind, isResponse(value) ? value.status : 200);
|
|
607
607
|
}
|
|
608
608
|
if (isResponse(value)) {
|
|
609
609
|
return method === "HEAD" ? _chunk4DCWVSL2cjs.omitFarmResponseBody.call(void 0, value) : value;
|
|
610
610
|
}
|
|
611
|
-
const body = kind === "sitemap" ? serializeSitemap(value) : kind === "robots" ? serializeRobots(value) : kind === "llms" || kind === "llms-full" ?
|
|
611
|
+
const body = kind === "sitemap" ? serializeSitemap(value) : kind === "robots" ? serializeRobots(value) : kind === "llms" || kind === "llms-full" ? _chunkQO43L7Z4cjs.serializeFarmLlmsTxt.call(void 0, value) : serializeManifest(value);
|
|
612
612
|
const contentType = kind === "sitemap" ? "application/xml; charset=utf-8" : kind === "robots" || kind === "llms" || kind === "llms-full" ? "text/plain; charset=utf-8" : "application/manifest+json; charset=utf-8";
|
|
613
613
|
return new Response(method === "HEAD" ? null : body, {
|
|
614
614
|
headers: {
|
|
@@ -44,28 +44,8 @@ function describeSchemaExtensionApproval(extension) {
|
|
|
44
44
|
return `schema: { allowExtend: { ${JSON.stringify(extension.owner)}: [${JSON.stringify(extension.modelKey)}] } }`;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
// src/schema-owner.ts
|
|
48
|
-
var FARM_SCHEMA_TABLES = /* @__PURE__ */ Symbol.for("farm.schema-tables");
|
|
49
|
-
function declareSchemaTables(target, declaration) {
|
|
50
|
-
Object.defineProperty(target, FARM_SCHEMA_TABLES, {
|
|
51
|
-
value: declaration,
|
|
52
|
-
enumerable: false,
|
|
53
|
-
configurable: true
|
|
54
|
-
});
|
|
55
|
-
return target;
|
|
56
|
-
}
|
|
57
|
-
function readSchemaTables(candidate) {
|
|
58
|
-
if (!candidate || typeof candidate !== "object" && typeof candidate !== "function") {
|
|
59
|
-
return void 0;
|
|
60
|
-
}
|
|
61
|
-
return candidate[FARM_SCHEMA_TABLES];
|
|
62
|
-
}
|
|
63
|
-
|
|
64
47
|
export {
|
|
65
48
|
collectSchemaExtensions,
|
|
66
49
|
isSchemaExtensionAllowed,
|
|
67
|
-
describeSchemaExtensionApproval
|
|
68
|
-
FARM_SCHEMA_TABLES,
|
|
69
|
-
declareSchemaTables,
|
|
70
|
-
readSchemaTables
|
|
50
|
+
describeSchemaExtensionApproval
|
|
71
51
|
};
|
|
@@ -1,20 +1,22 @@
|
|
|
1
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 _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } async function _asyncOptionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
var _chunkHNVAZGQDcjs = require('./chunk-HNVAZGQD.cjs');
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
var _chunkXVSBALOYcjs = require('./chunk-XVSBALOY.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
var
|
|
11
|
+
var _chunk556H7JCEcjs = require('./chunk-556H7JCE.cjs');
|
|
11
12
|
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
var _chunk65Y5SIBHcjs = require('./chunk-65Y5SIBH.cjs');
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
|
|
19
|
+
var _chunkJSOCDYERcjs = require('./chunk-JSOCDYER.cjs');
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
|
|
@@ -54,7 +56,7 @@ function pickImportTarget(entry) {
|
|
|
54
56
|
return void 0;
|
|
55
57
|
}
|
|
56
58
|
async function importFromApp(root, packageName, subpath = ".") {
|
|
57
|
-
const packageDir =
|
|
59
|
+
const packageDir = _chunkHNVAZGQDcjs.findFarmAppPackageDir.call(void 0, root, packageName);
|
|
58
60
|
if (!packageDir) return void 0;
|
|
59
61
|
const manifest = JSON.parse(_fs.readFileSync.call(void 0, _path2.default.join(packageDir, "package.json"), "utf8"));
|
|
60
62
|
const exportsMap = manifest.exports;
|
|
@@ -81,9 +83,9 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
81
83
|
importFromApp(root, "@vitejs/plugin-rsc"),
|
|
82
84
|
importFromApp(root, "@vitejs/plugin-react")
|
|
83
85
|
]);
|
|
84
|
-
if (!pluginRsc || !viteRsc || !
|
|
86
|
+
if (!pluginRsc || !viteRsc || !_chunkHNVAZGQDcjs.findFarmAppPackageDir.call(void 0, root, "react-server-dom-webpack")) {
|
|
85
87
|
throw new Error(
|
|
86
|
-
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${
|
|
88
|
+
`[Farm.js] experimental.serverComponents runs on @farm.js/plugin and the official @vitejs/plugin-rsc. Install them: ${_chunkHNVAZGQDcjs.FARM_RSC_INSTALL_HINT}`
|
|
87
89
|
);
|
|
88
90
|
}
|
|
89
91
|
const { plugins: vitePlugins = [], ...viteOptions } = _nullishCoalesce(userConfig.vite, () => ( {}));
|
|
@@ -92,14 +94,32 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
92
94
|
if (userConfig[key] !== void 0) rscConfig[key] = userConfig[key];
|
|
93
95
|
}
|
|
94
96
|
const createReactPlugin = hasPluginNamed(vitePlugins, "vite:react") ? void 0 : await _asyncNullishCoalesce(await _asyncOptionalChain([viteReact, 'optionalAccess', async _2 => _2.default]), async () => ( (options.command === "serve" ? (await _chunk65Y5SIBHcjs.loadFarmReactPlugin.call(void 0, )).default : void 0)));
|
|
95
|
-
const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await
|
|
97
|
+
const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await _chunkJSOCDYERcjs.loadTailwindVitePlugin.call(void 0, );
|
|
96
98
|
const platform = _chunkAQLHD6HZcjs.resolveFarmPlatform.call(void 0, );
|
|
97
99
|
const mobileClient = userConfig.mobile === void 0 || platform === "desktop" ? void 0 : options.command === "build" ? "entry" : platform === "mobile" ? "inline" : void 0;
|
|
100
|
+
const layered = await _chunkHNVAZGQDcjs.resolveFarmRscCheckConfig.call(void 0,
|
|
101
|
+
userConfig,
|
|
102
|
+
root,
|
|
103
|
+
options.command === "build" ? "production" : "development"
|
|
104
|
+
);
|
|
105
|
+
const clientPluginEntry = _chunkJSOCDYERcjs.generateFarmClientPluginEntryCode.call(void 0,
|
|
106
|
+
_optionalChain([layered, 'optionalAccess', _3 => _3.plugins]),
|
|
107
|
+
root,
|
|
108
|
+
typeof userConfig.srcDir === "string" ? userConfig.srcDir : "src",
|
|
109
|
+
_nullishCoalesce(_optionalChain([layered, 'optionalAccess', _4 => _4.publicRuntimeConfig]), () => ( {})),
|
|
110
|
+
// The RSC entry hands navigations to a mobile shell itself.
|
|
111
|
+
"web"
|
|
112
|
+
);
|
|
98
113
|
const farmConfig = pluginRsc.defineConfig({
|
|
99
114
|
...rscConfig,
|
|
100
115
|
...mobileClient ? { mobileClient } : {},
|
|
101
|
-
|
|
102
|
-
|
|
116
|
+
clientPlugins: {
|
|
117
|
+
empty: clientPluginEntry.empty,
|
|
118
|
+
imports: clientPluginEntry.imports,
|
|
119
|
+
registrations: clientPluginEntry.registrations
|
|
120
|
+
},
|
|
121
|
+
experimental: { ...userConfig.experimental, serverComponents: { mode: "rsc" } },
|
|
122
|
+
port: _nullishCoalesce(options.port, () => ( _optionalChain([userConfig, 'access', _5 => _5.server, 'optionalAccess', _6 => _6.port]))),
|
|
103
123
|
plugins: [
|
|
104
124
|
...options.command === "serve" && platform === "desktop" ? [
|
|
105
125
|
_chunk65Y5SIBHcjs.farmDesktopDevGuardPlugin.call(void 0,
|
|
@@ -114,7 +134,7 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
114
134
|
server: { environmentName: "rsc" },
|
|
115
135
|
config: {
|
|
116
136
|
preset: options.preset,
|
|
117
|
-
outputDir: options.outputDir &&
|
|
137
|
+
outputDir: options.outputDir && _chunk556H7JCEcjs.resolveDeployOutputPath.call(void 0, root, options.outputDir)
|
|
118
138
|
}
|
|
119
139
|
})
|
|
120
140
|
]
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FARM_RSC_INSTALL_HINT,
|
|
3
|
-
findFarmAppPackageDir
|
|
4
|
-
|
|
3
|
+
findFarmAppPackageDir,
|
|
4
|
+
resolveFarmRscCheckConfig
|
|
5
|
+
} from "./chunk-QJVW76JG.mjs";
|
|
5
6
|
import {
|
|
6
7
|
createFarmDevLoopbackPlugin
|
|
7
8
|
} from "./chunk-FN5UEC7I.mjs";
|
|
8
9
|
import {
|
|
9
10
|
resolveDeployOutputPath
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WDD5CTZW.mjs";
|
|
11
12
|
import {
|
|
12
13
|
farmDesktopDevGuardPlugin,
|
|
13
14
|
loadFarmReactPlugin
|
|
14
15
|
} from "./chunk-QOSDWGKT.mjs";
|
|
15
16
|
import {
|
|
17
|
+
generateFarmClientPluginEntryCode,
|
|
16
18
|
loadTailwindVitePlugin
|
|
17
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DXZ57EPE.mjs";
|
|
18
20
|
import {
|
|
19
21
|
resolveFarmPlatform
|
|
20
22
|
} from "./chunk-SMUW7UST.mjs";
|
|
@@ -95,10 +97,28 @@ async function createFarmRscViteConfig(userConfig, options) {
|
|
|
95
97
|
const tailwind = hasPluginNamed(vitePlugins, "@tailwindcss/vite") ? void 0 : await loadTailwindVitePlugin();
|
|
96
98
|
const platform = resolveFarmPlatform();
|
|
97
99
|
const mobileClient = userConfig.mobile === void 0 || platform === "desktop" ? void 0 : options.command === "build" ? "entry" : platform === "mobile" ? "inline" : void 0;
|
|
100
|
+
const layered = await resolveFarmRscCheckConfig(
|
|
101
|
+
userConfig,
|
|
102
|
+
root,
|
|
103
|
+
options.command === "build" ? "production" : "development"
|
|
104
|
+
);
|
|
105
|
+
const clientPluginEntry = generateFarmClientPluginEntryCode(
|
|
106
|
+
layered?.plugins,
|
|
107
|
+
root,
|
|
108
|
+
typeof userConfig.srcDir === "string" ? userConfig.srcDir : "src",
|
|
109
|
+
layered?.publicRuntimeConfig ?? {},
|
|
110
|
+
// The RSC entry hands navigations to a mobile shell itself.
|
|
111
|
+
"web"
|
|
112
|
+
);
|
|
98
113
|
const farmConfig = pluginRsc.defineConfig({
|
|
99
114
|
...rscConfig,
|
|
100
115
|
...mobileClient ? { mobileClient } : {},
|
|
101
|
-
|
|
116
|
+
clientPlugins: {
|
|
117
|
+
empty: clientPluginEntry.empty,
|
|
118
|
+
imports: clientPluginEntry.imports,
|
|
119
|
+
registrations: clientPluginEntry.registrations
|
|
120
|
+
},
|
|
121
|
+
experimental: { ...userConfig.experimental, serverComponents: { mode: "rsc" } },
|
|
102
122
|
port: options.port ?? userConfig.server?.port,
|
|
103
123
|
plugins: [
|
|
104
124
|
...options.command === "serve" && platform === "desktop" ? [
|
|
@@ -8,7 +8,7 @@ var _chunkMHLNWRCJcjs = require('./chunk-MHLNWRCJ.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunkJWLRBDDCcjs = require('./chunk-JWLRBDDC.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
@@ -21,6 +21,9 @@ var _chunk5DX3O6TTcjs = require('./chunk-5DX3O6TT.cjs');
|
|
|
21
21
|
var _chunkY3WG64CPcjs = require('./chunk-Y3WG64CP.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
var _chunkYIHRZBD7cjs = require('./chunk-YIHRZBD7.cjs');
|
|
25
|
+
|
|
26
|
+
|
|
24
27
|
var _chunkSNP33A33cjs = require('./chunk-SNP33A33.cjs');
|
|
25
28
|
|
|
26
29
|
|
|
@@ -30,13 +33,13 @@ var _chunkJYNNIGQOcjs = require('./chunk-JYNNIGQO.cjs');
|
|
|
30
33
|
var _chunkQMNWKQL4cjs = require('./chunk-QMNWKQL4.cjs');
|
|
31
34
|
|
|
32
35
|
|
|
33
|
-
var
|
|
36
|
+
var _chunk2OF5RPVUcjs = require('./chunk-2OF5RPVU.cjs');
|
|
34
37
|
|
|
35
38
|
|
|
36
|
-
var
|
|
39
|
+
var _chunkEVIWKPJVcjs = require('./chunk-EVIWKPJV.cjs');
|
|
37
40
|
|
|
38
41
|
|
|
39
|
-
var
|
|
42
|
+
var _chunkHDPT6OYEcjs = require('./chunk-HDPT6OYE.cjs');
|
|
40
43
|
|
|
41
44
|
|
|
42
45
|
|
|
@@ -44,9 +47,6 @@ var _chunk2OF5RPVUcjs = require('./chunk-2OF5RPVU.cjs');
|
|
|
44
47
|
var _chunk7JUIK547cjs = require('./chunk-7JUIK547.cjs');
|
|
45
48
|
|
|
46
49
|
|
|
47
|
-
var _chunkHNAISJFDcjs = require('./chunk-HNAISJFD.cjs');
|
|
48
|
-
|
|
49
|
-
|
|
50
50
|
var _chunkOWQV6MLMcjs = require('./chunk-OWQV6MLM.cjs');
|
|
51
51
|
|
|
52
52
|
|
|
@@ -57,7 +57,7 @@ var CookieJarImpl = class {
|
|
|
57
57
|
constructor(req, res) {
|
|
58
58
|
this.req = req;
|
|
59
59
|
this.res = res;
|
|
60
|
-
this.cookies =
|
|
60
|
+
this.cookies = _chunkJWLRBDDCcjs.parseMiddlewareCookieHeader.call(void 0, req.headers.cookie);
|
|
61
61
|
const existing = res.getHeader("Set-Cookie");
|
|
62
62
|
this.setCookies = Array.isArray(existing) ? existing.map(String) : existing === void 0 ? [] : [String(existing)];
|
|
63
63
|
}
|
|
@@ -66,13 +66,13 @@ var CookieJarImpl = class {
|
|
|
66
66
|
}
|
|
67
67
|
set(name, value, options = {}) {
|
|
68
68
|
this.cookies[name] = value;
|
|
69
|
-
const cookieString =
|
|
69
|
+
const cookieString = _chunkJWLRBDDCcjs.serializeMiddlewareCookie.call(void 0, name, value, options);
|
|
70
70
|
this.setCookies.push(cookieString);
|
|
71
71
|
this.res.setHeader("Set-Cookie", this.setCookies);
|
|
72
72
|
}
|
|
73
73
|
delete(name, options = {}) {
|
|
74
74
|
delete this.cookies[name];
|
|
75
|
-
this.setCookies.push(
|
|
75
|
+
this.setCookies.push(_chunkJWLRBDDCcjs.serializeMiddlewareCookieDeletion.call(void 0, name, options));
|
|
76
76
|
this.res.setHeader("Set-Cookie", this.setCookies);
|
|
77
77
|
}
|
|
78
78
|
getAll() {
|
|
@@ -80,7 +80,7 @@ var CookieJarImpl = class {
|
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
82
|
function createContext(req, res, viteServer, parent, server, toRoutePathname) {
|
|
83
|
-
const url =
|
|
83
|
+
const url = _chunkHDPT6OYEcjs.resolveFarmRequestURL.call(void 0, req, { trustProxy: _optionalChain([server, 'optionalAccess', _ => _.trustProxy]) });
|
|
84
84
|
const headers = /* @__PURE__ */ new Map();
|
|
85
85
|
const data = _optionalChain([parent, 'optionalAccess', _2 => _2.data]) ? new Map(parent.data) : /* @__PURE__ */ new Map();
|
|
86
86
|
const locals = _optionalChain([parent, 'optionalAccess', _3 => _3.locals]) ? new Map(parent.locals) : /* @__PURE__ */ new Map();
|
|
@@ -301,7 +301,7 @@ var MiddlewareManager = class {
|
|
|
301
301
|
_chunkSNP33A33cjs.toFileModuleUrl.call(void 0, filePath)
|
|
302
302
|
);
|
|
303
303
|
}
|
|
304
|
-
const normalized =
|
|
304
|
+
const normalized = _chunkJWLRBDDCcjs.normalizeMiddlewareModule.call(void 0, module, routePath);
|
|
305
305
|
if (!normalized) {
|
|
306
306
|
throw new Error("must export a default handler or a named middleware handler");
|
|
307
307
|
}
|
|
@@ -323,7 +323,7 @@ var MiddlewareManager = class {
|
|
|
323
323
|
* Execute middleware for a request
|
|
324
324
|
*/
|
|
325
325
|
async execute(req, res) {
|
|
326
|
-
const url =
|
|
326
|
+
const url = _chunkHDPT6OYEcjs.resolveFarmRequestURL.call(void 0, req, { trustProxy: _optionalChain([this, 'access', _6 => _6.server, 'optionalAccess', _7 => _7.trustProxy]) });
|
|
327
327
|
const pathname = url.pathname;
|
|
328
328
|
const toRoutePathname = (value) => _optionalChain([this, 'access', _8 => _8.i18n, 'optionalAccess', _9 => _9.enabled]) ? _chunkOWQV6MLMcjs.stripFarmLocaleFromPathname.call(void 0, value, this.i18n) : _chunkD22BUQKWcjs.stripFarmBasePath.call(void 0, value, _nullishCoalesce(_optionalChain([this, 'access', _10 => _10.i18n, 'optionalAccess', _11 => _11.basePath]), () => ( "/")));
|
|
329
329
|
const routePathname = toRoutePathname(pathname);
|
|
@@ -371,7 +371,7 @@ var MiddlewareManager = class {
|
|
|
371
371
|
for (; ; ) {
|
|
372
372
|
for (const entry of pass) yield { ...entry, pathname: passPathname };
|
|
373
373
|
const rewrittenPathname = toRoutePathname(
|
|
374
|
-
|
|
374
|
+
_chunkHDPT6OYEcjs.resolveFarmRequestURL.call(void 0, req, { trustProxy }).pathname
|
|
375
375
|
);
|
|
376
376
|
if (rewrittenPathname === passPathname) return;
|
|
377
377
|
passPathname = rewrittenPathname;
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
normalizeRouteRules,
|
|
8
8
|
routeRulesToHeaders,
|
|
9
9
|
routeRulesToRedirects
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-724MGMIL.mjs";
|
|
11
11
|
import {
|
|
12
12
|
assertPluginDependencies
|
|
13
13
|
} from "./chunk-XR2ZIBQK.mjs";
|
|
@@ -19,33 +19,42 @@ import {
|
|
|
19
19
|
resolveFarmAgentSitemap,
|
|
20
20
|
resolveFarmNoindexPreviews,
|
|
21
21
|
resolveFarmPerformanceConfig
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import {
|
|
24
|
-
farmCspBlocksFrameworkInlineScripts,
|
|
25
|
-
getFarmSecurityHeader,
|
|
26
|
-
resolveFarmSecurityConfig
|
|
27
|
-
} from "./chunk-22W4FNTG.mjs";
|
|
22
|
+
} from "./chunk-OGVTUGMU.mjs";
|
|
28
23
|
import {
|
|
29
24
|
resolveFarmAppManifestConfig
|
|
30
25
|
} from "./chunk-SQ5O7I3L.mjs";
|
|
31
26
|
import {
|
|
32
27
|
resolveFarmLlmsTxtConfig
|
|
33
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YGJ5P3TJ.mjs";
|
|
29
|
+
import {
|
|
30
|
+
farmCspBlocksFrameworkInlineScripts,
|
|
31
|
+
getFarmSecurityHeader,
|
|
32
|
+
resolveFarmSecurityConfig
|
|
33
|
+
} from "./chunk-22W4FNTG.mjs";
|
|
34
34
|
import {
|
|
35
35
|
resolveFarmServerComponentsMode,
|
|
36
36
|
setFarmProjectSourceDir
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4QENVMG7.mjs";
|
|
38
38
|
import {
|
|
39
39
|
loadFarmConfigFile,
|
|
40
40
|
resolveFarmLayers
|
|
41
41
|
} from "./chunk-52Y3C3HG.mjs";
|
|
42
42
|
import {
|
|
43
|
+
isFarmRendererDisabled,
|
|
43
44
|
isReactRenderer,
|
|
44
45
|
resolveFarmRenderer
|
|
45
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-GCRT6GJG.mjs";
|
|
46
47
|
import {
|
|
47
48
|
resolveFarmImageConfig
|
|
48
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-AOIUYHPH.mjs";
|
|
50
|
+
import {
|
|
51
|
+
FARM_CRON_NAME_SEGMENT_PATTERN,
|
|
52
|
+
normalizeCronExpression,
|
|
53
|
+
resolveCronConfig
|
|
54
|
+
} from "./chunk-ME7RVELR.mjs";
|
|
55
|
+
import {
|
|
56
|
+
resolveServerActionsConfig
|
|
57
|
+
} from "./chunk-E46NXBNJ.mjs";
|
|
49
58
|
import {
|
|
50
59
|
resolveEnv,
|
|
51
60
|
setEnv
|
|
@@ -55,27 +64,19 @@ import {
|
|
|
55
64
|
} from "./chunk-UIJOLBUL.mjs";
|
|
56
65
|
import {
|
|
57
66
|
resolveMarkdownConfig
|
|
58
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-IFR74W6S.mjs";
|
|
59
68
|
import {
|
|
60
69
|
bundleNodeModule
|
|
61
70
|
} from "./chunk-VFXE6NWR.mjs";
|
|
62
71
|
import {
|
|
63
72
|
resolveWorkflowsConfig
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
FARM_CRON_NAME_SEGMENT_PATTERN,
|
|
67
|
-
normalizeCronExpression,
|
|
68
|
-
resolveCronConfig
|
|
69
|
-
} from "./chunk-DQF3QLOH.mjs";
|
|
70
|
-
import {
|
|
71
|
-
resolveServerActionsConfig
|
|
72
|
-
} from "./chunk-E46NXBNJ.mjs";
|
|
73
|
+
} from "./chunk-5TA63JD3.mjs";
|
|
73
74
|
import {
|
|
74
75
|
resolveFarmThemeConfig
|
|
75
76
|
} from "./chunk-YWPNIYUP.mjs";
|
|
76
77
|
import {
|
|
77
78
|
resolveIntegrationPlugins
|
|
78
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-AJNBTOVQ.mjs";
|
|
79
80
|
import {
|
|
80
81
|
compileMiddlewareConfig
|
|
81
82
|
} from "./chunk-EDPENAVO.mjs";
|
|
@@ -93,10 +94,10 @@ import {
|
|
|
93
94
|
} from "./chunk-W6QLRQ3V.mjs";
|
|
94
95
|
import {
|
|
95
96
|
normalizeFarmDeploymentId
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-F7JKVHU2.mjs";
|
|
97
98
|
import {
|
|
98
99
|
validateConfigRouteSource
|
|
99
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-JZGL2PIH.mjs";
|
|
100
101
|
import {
|
|
101
102
|
isFarmRedirectStatus
|
|
102
103
|
} from "./chunk-JNYFXL7X.mjs";
|
|
@@ -413,21 +414,23 @@ import path3 from "path";
|
|
|
413
414
|
// src/agent-config.ts
|
|
414
415
|
var DEFAULT_JSON_LD = { type: "WebSite" };
|
|
415
416
|
function resolveFarmAgentConfig(input, context = {}) {
|
|
417
|
+
const servesPages = context.pages !== false;
|
|
418
|
+
const pageDefaults = servesPages && !context.docs;
|
|
416
419
|
const jsonLd = input?.jsonLd;
|
|
417
420
|
return {
|
|
418
|
-
jsonLd: jsonLd === void 0 ? { ...DEFAULT_JSON_LD } : !jsonLd ? false : jsonLd === true ? {} : jsonLd,
|
|
421
|
+
jsonLd: jsonLd === void 0 ? servesPages ? { ...DEFAULT_JSON_LD } : false : !jsonLd ? false : jsonLd === true ? {} : jsonLd,
|
|
419
422
|
noindexPreviews: resolveFarmNoindexPreviews(input?.noindexPreviews),
|
|
420
423
|
// The docs engine answers /llms.txt with its own pages; a default here would replace it.
|
|
421
424
|
// llms-full.txt renders every listed page, so it stays opt-in.
|
|
422
|
-
llmsTxt: resolveFarmLlmsTxtConfig(input?.llmsTxt ?? (
|
|
425
|
+
llmsTxt: resolveFarmLlmsTxtConfig(input?.llmsTxt ?? (pageDefaults ? { full: false } : false)),
|
|
423
426
|
// Same rule as llms.txt: the docs engine answers /sitemap.xml with its own pages.
|
|
424
|
-
sitemap: resolveFarmAgentSitemap(input?.sitemap ??
|
|
427
|
+
sitemap: resolveFarmAgentSitemap(input?.sitemap ?? pageDefaults),
|
|
425
428
|
crawlers: resolveFarmAgentCrawlers(input?.crawlers),
|
|
426
429
|
apiCatalog: resolveFarmAgentBoolean(input?.apiCatalog, "apiCatalog", false),
|
|
427
430
|
aiCatalog: resolveFarmAgentBoolean(input?.aiCatalog, "aiCatalog", true),
|
|
428
431
|
manifest: resolveFarmAppManifestConfig(input?.manifest),
|
|
429
432
|
// Same rule as llms.txt: the docs engine serves its own MCP server at /mcp.
|
|
430
|
-
mcp: resolveFarmAgentBoolean(input?.mcp, "mcp",
|
|
433
|
+
mcp: resolveFarmAgentBoolean(input?.mcp, "mcp", pageDefaults)
|
|
431
434
|
};
|
|
432
435
|
}
|
|
433
436
|
function resolveFarmAgentBoolean(input, key, fallback) {
|
|
@@ -595,7 +598,7 @@ function getPresetForDeployTarget(target) {
|
|
|
595
598
|
}
|
|
596
599
|
function getDeployTargetForPreset(preset) {
|
|
597
600
|
if (!preset) return void 0;
|
|
598
|
-
if (preset === "vercel"
|
|
601
|
+
if (preset === "vercel") return "vercel";
|
|
599
602
|
if (preset === "cloudflare" || preset === "cloudflare-pages" || preset === "cloudflare-module") {
|
|
600
603
|
return "cloudflare";
|
|
601
604
|
}
|
|
@@ -628,6 +631,12 @@ function detectPlatformDeployTarget(env = process.env) {
|
|
|
628
631
|
return void 0;
|
|
629
632
|
}
|
|
630
633
|
var warnedPlatformMismatches = /* @__PURE__ */ new Set();
|
|
634
|
+
function assertFarmDeployNameSupported(kind, name) {
|
|
635
|
+
if (name !== "vercel-edge") return;
|
|
636
|
+
throw new Error(
|
|
637
|
+
`Deploy ${kind} "vercel-edge" is not supported: Farm's Nitro version has no vercel-edge preset. Use the "vercel" ${kind} instead, which deploys Vercel Functions on Fluid compute.`
|
|
638
|
+
);
|
|
639
|
+
}
|
|
631
640
|
function resolveDeployConfig(config, overrides = {}) {
|
|
632
641
|
const deploy = config.deploy || {};
|
|
633
642
|
const distDir = config.distDir || ".farm";
|
|
@@ -652,6 +661,8 @@ function resolveDeployConfig(config, overrides = {}) {
|
|
|
652
661
|
const overrideTargetPreset = overrideTarget && getDeployTargetForPreset(configuredPreset) !== overrideTarget ? getPresetForDeployTarget(overrideTarget) : void 0;
|
|
653
662
|
const preset = overrides.preset || overrideTargetPreset || configuredPreset || getPresetForDeployTarget(target) || "node-server";
|
|
654
663
|
const resolvedTarget = target || getDeployTargetForPreset(preset);
|
|
664
|
+
assertFarmDeployNameSupported("preset", preset);
|
|
665
|
+
assertFarmDeployNameSupported("target", resolvedTarget);
|
|
655
666
|
if (detectedTarget && resolvedTarget !== detectedTarget) {
|
|
656
667
|
const mismatchKey = `mismatch:${resolvedTarget}:${detectedTarget}`;
|
|
657
668
|
if (!warnedPlatformMismatches.has(mismatchKey)) {
|
|
@@ -1109,7 +1120,7 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1109
1120
|
integrations: () => integrations
|
|
1110
1121
|
}) : null;
|
|
1111
1122
|
let nativeServerFnAppDirs = [];
|
|
1112
|
-
const nativeServerFnPlugin = userConfig.mobile !== void 0 && userConfig.mobile !== null ? (await import("./native-server-fn-handler-
|
|
1123
|
+
const nativeServerFnPlugin = userConfig.mobile !== void 0 && userConfig.mobile !== null ? (await import("./native-server-fn-handler-EP5AFJYE.mjs")).createFarmNativeServerFnPlugin({
|
|
1113
1124
|
resolve: (await import("./internal/native-server-fns.mjs")).createFarmDevNativeServerFnResolver(
|
|
1114
1125
|
{ root, srcDir, appDirs: () => nativeServerFnAppDirs }
|
|
1115
1126
|
)
|
|
@@ -1162,7 +1173,10 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1162
1173
|
ppr: false,
|
|
1163
1174
|
...userConfig.experimental
|
|
1164
1175
|
},
|
|
1165
|
-
agent: resolveFarmAgentConfig(userConfig.agent, {
|
|
1176
|
+
agent: resolveFarmAgentConfig(userConfig.agent, {
|
|
1177
|
+
docs: docs.enabled,
|
|
1178
|
+
pages: !isFarmRendererDisabled(userConfig.renderer)
|
|
1179
|
+
}),
|
|
1166
1180
|
desktop: desktopSetup?.desktop ?? null,
|
|
1167
1181
|
...userConfig.mobile !== void 0 ? { mobileClient: true } : {},
|
|
1168
1182
|
plugins: [
|
|
@@ -1182,7 +1196,10 @@ async function resolveConfig(userConfig, mode) {
|
|
|
1182
1196
|
...securityHeader ? [{ source: "/*", headers: [securityHeader] }] : []
|
|
1183
1197
|
],
|
|
1184
1198
|
routeRules,
|
|
1185
|
-
images: resolveFarmImageConfig(
|
|
1199
|
+
images: resolveFarmImageConfig(
|
|
1200
|
+
userConfig.images,
|
|
1201
|
+
isFarmRendererDisabled(userConfig.renderer) ? "none" : void 0
|
|
1202
|
+
),
|
|
1186
1203
|
performance: resolveFarmPerformanceConfig(userConfig.performance),
|
|
1187
1204
|
theme: resolveFarmThemeConfig(userConfig.theme, basePath),
|
|
1188
1205
|
publicDir: userConfig.publicDir || "public",
|