@farm.js/core 0.1.63 → 0.1.65
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-OV4WRFBL.cjs → agent-mcp-handler-OXT73ZBY.cjs} +5 -5
- package/dist/{agent-mcp-handler-7QMX2LUY.mjs → agent-mcp-handler-QLFDDTYN.mjs} +4 -4
- package/dist/{agent-mcp.d-CCQ-wKwg.d.mts → agent-mcp.d-CO_ABmNK.d.mts} +1 -1
- package/dist/{agent-mcp.d-DOJCBSh9.d.ts → agent-mcp.d-QD2WZ9BS.d.ts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/analyzer-GHWK46LX.cjs +16 -0
- package/dist/{analyzer-WNPQPWFR.mjs → analyzer-PE33SK5W.mjs} +3 -2
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/{app-manifest.d-BaA0omsv.d.mts → app-manifest.d-BpKxiU_E.d.mts} +1 -1
- package/dist/{app-manifest.d-poayV4lq.d.ts → app-manifest.d-DDmNkYQQ.d.ts} +1 -1
- package/dist/app-markdown.cjs +4 -4
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/app-markdown.mjs +3 -3
- package/dist/{app.d-DdWxeIGU.d.mts → app.d-kuoVWhWM.d.mts} +4 -4
- package/dist/{app.d-D4Dn03E3.d.ts → app.d-x68Cwr0_.d.ts} +4 -4
- package/dist/{chunk-LT4VAF5Z.cjs → chunk-2C5L5RPM.cjs} +7 -6
- package/dist/{chunk-BA2IA32Q.mjs → chunk-2L54YV25.mjs} +13 -11
- package/dist/{chunk-5IKQ7BIR.cjs → chunk-32RPJAAS.cjs} +16 -16
- package/dist/{chunk-QN5WRQSQ.cjs → chunk-3KJPIO5D.cjs} +610 -3102
- package/dist/{chunk-EENTT56C.mjs → chunk-6X5NKNBE.mjs} +43 -38
- package/dist/{chunk-RFYL5OLP.mjs → chunk-72JSHQQQ.mjs} +1 -1
- package/dist/{chunk-LA45FN37.mjs → chunk-7GYCZRTH.mjs} +386 -2878
- package/dist/chunk-7QVRWGBL.cjs +3704 -0
- package/dist/{chunk-PRFNLQSP.cjs → chunk-7XGWBPQQ.cjs} +4 -4
- package/dist/{chunk-FNHN3RBD.cjs → chunk-A3G5IY2W.cjs} +1 -1
- package/dist/{chunk-EYLC6GD6.cjs → chunk-C7DCMGC4.cjs} +12 -12
- package/dist/chunk-CJNAUEVC.mjs +34 -0
- package/dist/{chunk-LFFSDZ4Y.cjs → chunk-CZF4XIRZ.cjs} +3 -3
- package/dist/{chunk-7FFW7DC4.mjs → chunk-E2TSYUHV.mjs} +4 -4
- package/dist/{chunk-55U5QIXQ.mjs → chunk-FIR62CR3.mjs} +1 -1
- package/dist/{chunk-MEQN6DDA.cjs → chunk-FJWN7RV4.cjs} +5 -5
- package/dist/{chunk-VVTJTMGQ.cjs → chunk-GL7N5UHF.cjs} +4 -4
- package/dist/{chunk-4DIKLG56.mjs → chunk-GRBJ7VKH.mjs} +1 -1
- package/dist/{chunk-UR25Z5Z6.mjs → chunk-HCGWDRZO.mjs} +1 -1
- package/dist/{chunk-GPKBUME5.mjs → chunk-HKNYNSOK.mjs} +2 -2
- package/dist/{chunk-U6WCUVSV.cjs → chunk-IMK32ERL.cjs} +23 -21
- package/dist/chunk-IOEXXZK3.mjs +88 -0
- package/dist/{chunk-IOF4KXMP.mjs → chunk-IP2KHSGF.mjs} +205 -26
- package/dist/{chunk-YSXTNSXS.mjs → chunk-K7OZAVOI.mjs} +7 -6
- package/dist/{chunk-KVW2M6PI.mjs → chunk-KL7SHLQB.mjs} +1 -1
- package/dist/{chunk-UZZ6IEQP.mjs → chunk-MESQF2JC.mjs} +2 -2
- package/dist/{chunk-DZPR2W6U.cjs → chunk-O6L3YYPM.cjs} +5 -5
- package/dist/{chunk-6BJJYOFL.cjs → chunk-OLIGNTWU.cjs} +7 -7
- package/dist/{chunk-5L7I6AMY.cjs → chunk-OSFIUSYK.cjs} +5 -5
- package/dist/{chunk-LA6O5EL2.mjs → chunk-Q75QPLBA.mjs} +1 -1
- package/dist/{chunk-O5FCWI6O.mjs → chunk-QHRCR44V.mjs} +2 -2
- package/dist/{chunk-E72UD6ME.mjs → chunk-RVGSVQWT.mjs} +1 -1
- package/dist/{chunk-Z74NNER4.cjs → chunk-T4M52BA5.cjs} +164 -159
- package/dist/{chunk-PCXIJKPM.mjs → chunk-TNBJ4LZG.mjs} +2 -2
- package/dist/{chunk-PAKCHVUS.mjs → chunk-TPA2PV5J.mjs} +3 -35
- package/dist/{chunk-Y2YBNQ3D.cjs → chunk-TRIDJQ6A.cjs} +6 -6
- package/dist/{chunk-PVJX4UPA.cjs → chunk-TZOGZKI7.cjs} +411 -295
- package/dist/{chunk-O27PLNQZ.cjs → chunk-UJ3R2AH2.cjs} +4 -4
- package/dist/{chunk-BPNOYILC.cjs → chunk-UVV3I5QA.cjs} +3 -35
- package/dist/{chunk-CBDRR3J3.mjs → chunk-VHHLKIDZ.mjs} +166 -50
- package/dist/{chunk-T4TBK5NY.mjs → chunk-VQ4NWOWO.mjs} +2 -2
- package/dist/{chunk-ZZ2QKCKW.mjs → chunk-WAY6LOQH.mjs} +1 -1
- package/dist/chunk-WBTHHTBO.cjs +88 -0
- package/dist/{chunk-IWRLV46X.cjs → chunk-WMTBBQHY.cjs} +4 -4
- package/dist/{chunk-LWWDTBGL.cjs → chunk-WNXVWXG3.cjs} +2 -2
- package/dist/{chunk-CI4UNQHO.cjs → chunk-XBSKPLHF.cjs} +2 -2
- package/dist/{chunk-QAS7KE7J.cjs → chunk-Y5TOT5F6.cjs} +5 -5
- package/dist/{chunk-ANXU3D32.cjs → chunk-YD4J37RN.cjs} +403 -32
- package/dist/{chunk-XICXQXYE.mjs → chunk-YUW7F6SK.mjs} +2 -2
- package/dist/chunk-ZAUOOGER.mjs +3704 -0
- package/dist/{chunk-DPE53XWL.mjs → chunk-ZEXE4TGY.mjs} +1 -1
- package/dist/chunk-ZIHWAN55.cjs +34 -0
- package/dist/{chunk-GVOMPU3Y.cjs → chunk-ZQQK4U66.cjs} +213 -34
- package/dist/{chunk-S2NUYHRY.mjs → chunk-ZX2JHEWW.mjs} +384 -13
- package/dist/{client-component.d-CSEFlHfG.d.mts → client-component.d-D74pqdea.d.mts} +2 -2
- package/dist/{client-component.d-CQLvqLAJ.d.ts → client-component.d-D8VcypQA.d.ts} +2 -2
- package/dist/{client-plugins.d-BgPUYPc9.d.ts → client-plugins.d-CXElzotB.d.ts} +8 -1
- package/dist/{client-plugins.d-BTF0gZm4.d.mts → client-plugins.d-D4-6hNx7.d.mts} +8 -1
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/desktop.d.mts +2 -2
- package/dist/desktop.d.ts +2 -2
- package/dist/{devtools-HDKTYIZF.mjs → devtools-PUVZB3F2.mjs} +7 -6
- package/dist/{devtools-ZHN5JLVI.cjs → devtools-SGYOG36E.cjs} +8 -7
- package/dist/docs.cjs +10 -9
- package/dist/docs.d.mts +2 -2
- package/dist/docs.d.ts +2 -2
- package/dist/docs.mjs +9 -8
- package/dist/environment/vite.cjs +9 -2
- package/dist/environment/vite.d.mts +3 -0
- package/dist/environment/vite.d.ts +3 -0
- package/dist/environment/vite.mjs +8 -1
- package/dist/index.cjs +29 -27
- package/dist/{index.d-Coow7bD4.d.ts → index.d-A_x10zGS.d.ts} +1 -1
- package/dist/{index.d-Dbjx0ku7.d.mts → index.d-SSgYDv4D.d.mts} +1 -1
- package/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.mjs +28 -26
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/internal/app-markdown-runtime.cjs +3 -3
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.mjs +2 -2
- package/dist/internal/build-runtime.cjs +27 -25
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +26 -24
- package/dist/internal/cli-runtime.cjs +10 -9
- package/dist/internal/cli-runtime.mjs +9 -8
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.d.mts +4 -4
- package/dist/internal/client-runtime.d.ts +4 -4
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +9 -8
- package/dist/internal/config-runtime.d.mts +4 -4
- package/dist/internal/config-runtime.d.ts +4 -4
- package/dist/internal/config-runtime.mjs +8 -7
- package/dist/internal/infra-analytics-runtime.cjs +9 -9
- package/dist/internal/infra-analytics-runtime.mjs +7 -7
- package/dist/internal/native-server-fns.cjs +5 -4
- package/dist/internal/native-server-fns.mjs +4 -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 +11 -11
- package/dist/internal/production-runtime.d.mts +20 -12
- package/dist/internal/production-runtime.d.ts +20 -12
- package/dist/internal/production-runtime.mjs +10 -10
- package/dist/markdown.cjs +2 -2
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/middleware.d.mts +3 -3
- package/dist/middleware.d.ts +3 -3
- package/dist/mobile.d.mts +2 -2
- package/dist/mobile.d.ts +2 -2
- package/dist/{native-tree-Z2WYUJEV.cjs → native-tree-HE2FLS72.cjs} +3 -3
- package/dist/{native-tree-AS5L3ID3.mjs → native-tree-YF2DSPKM.mjs} +2 -2
- package/dist/{navigation-delegate.d-Ca_BV0Wu.d.mts → navigation-delegate.d-DQVYKoaZ.d.mts} +1 -1
- package/dist/{navigation-delegate.d-aHiPI6GL.d.ts → navigation-delegate.d-GghbHJuK.d.ts} +1 -1
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/plugin.cjs +18 -17
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.mjs +17 -16
- package/dist/{production-runtime.d-C0rF7a10.d.ts → production-runtime.d-Bzns3NW9.d.ts} +1 -1
- package/dist/{production-runtime.d-CnAsSWgF.d.mts → production-runtime.d-DiFa5vHW.d.mts} +1 -1
- package/dist/{render-plan.d-BxeITFT1.d.ts → render-plan.d-CL_Ikfg_.d.ts} +1 -1
- package/dist/{render-plan.d-Z-93m5GZ.d.mts → render-plan.d-CcF0MeCf.d.mts} +1 -1
- package/dist/renderer-client.d.mts +4 -4
- package/dist/renderer-client.d.ts +4 -4
- package/dist/{request.d-X7Q1vmGF.d.ts → request.d-B1RnTLri.d.ts} +1 -1
- package/dist/{request.d-8_fMFNEb.d.mts → request.d-DarDOCk9.d.mts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-BUr3Jp8S.d.ts → route-rendering.d-BTUYCIj4.d.ts} +1 -1
- package/dist/{route-rendering.d-BInmBmul.d.mts → route-rendering.d-D_2Ual0-.d.mts} +1 -1
- package/dist/{router.d-crorSRiW.d.ts → router.d-CMANF6da.d.ts} +1 -1
- package/dist/{router.d-CZQmbpHx.d.mts → router.d-Cuv1jntg.d.mts} +1 -1
- package/dist/{routes.d-BknKQcTu.d.ts → routes.d-B6yFe6jm.d.ts} +1 -1
- package/dist/{routes.d-D1IrO9KK.d.mts → routes.d-c2HKfrfL.d.mts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{rsc-pipeline-3MPRULGA.mjs → rsc-pipeline-T3PWURLJ.mjs} +9 -8
- package/dist/{rsc-pipeline-RHEZNBFQ.cjs → rsc-pipeline-V4ANLRAA.cjs} +10 -9
- package/dist/{runtime-OZKFZQCU.cjs → runtime-5AROV2C3.cjs} +29 -17
- package/dist/{runtime-X5UR7VHP.mjs → runtime-LRIQ3XH7.mjs} +26 -14
- package/dist/{runtime.d-CCsjTZJW.d.ts → runtime.d-C3RQUj6_.d.ts} +1 -1
- package/dist/{runtime.d-CETtpLb-.d.mts → runtime.d-wvh4ngU0.d.mts} +1 -1
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server.cjs +42 -41
- package/dist/server.d.mts +9 -9
- package/dist/server.d.ts +9 -9
- package/dist/server.mjs +26 -25
- package/dist/{spa-router.d-CtSHzXlC.d.mts → spa-router.d-WU_qS5gJ.d.mts} +2 -2
- package/dist/{spa-router.d-CCADbSqJ.d.ts → spa-router.d-m8H_Kl_B.d.ts} +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/{utils.d-CjyE-npA.d.ts → utils.d-C9dQD5Zg.d.ts} +1 -1
- package/dist/{utils.d-zFPHKFFJ.d.mts → utils.d-W9IiEqmW.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +21 -19
- package/dist/vite.d.mts +4 -4
- package/dist/vite.d.ts +4 -4
- package/dist/vite.mjs +20 -18
- package/package.json +1 -1
- package/dist/analyzer-KEA5JVDR.cjs +0 -15
- package/dist/chunk-NK2VWS7P.cjs +0 -954
- package/dist/chunk-ZQ5BDNKW.mjs +0 -954
|
@@ -14,11 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
readFarmMobileClientManifest
|
|
16
16
|
} from "./chunk-ZNXTU4YH.mjs";
|
|
17
|
+
import {
|
|
18
|
+
farmComponentModuleScripts,
|
|
19
|
+
keepFarmComponentRanges,
|
|
20
|
+
readFarmComponentBlocks
|
|
21
|
+
} from "./chunk-IOEXXZK3.mjs";
|
|
17
22
|
import "./chunk-E4RDMG3K.mjs";
|
|
18
23
|
import {
|
|
19
24
|
loadConfig,
|
|
20
25
|
resolveConfig
|
|
21
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2L54YV25.mjs";
|
|
22
27
|
import "./chunk-VISQDC6W.mjs";
|
|
23
28
|
import {
|
|
24
29
|
createPlatformBlockChecker,
|
|
@@ -32,26 +37,27 @@ import {
|
|
|
32
37
|
scanRoutePatterns
|
|
33
38
|
} from "./chunk-SA7MLSP4.mjs";
|
|
34
39
|
import "./chunk-Q5B4LNON.mjs";
|
|
35
|
-
import
|
|
36
|
-
resolveFarmServerComponentsMode
|
|
37
|
-
} from "./chunk-PAKCHVUS.mjs";
|
|
40
|
+
import "./chunk-TPA2PV5J.mjs";
|
|
38
41
|
import "./chunk-X3XUZWRB.mjs";
|
|
39
42
|
import "./chunk-XR2ZIBQK.mjs";
|
|
40
43
|
import "./chunk-CU5SYTJG.mjs";
|
|
41
|
-
import
|
|
42
|
-
getFarmRendererComponentExtensions
|
|
43
|
-
} from "./chunk-ES2LD2YD.mjs";
|
|
44
|
-
import "./chunk-T4TBK5NY.mjs";
|
|
44
|
+
import "./chunk-VQ4NWOWO.mjs";
|
|
45
45
|
import "./chunk-22W4FNTG.mjs";
|
|
46
46
|
import "./chunk-SQ5O7I3L.mjs";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-KL7SHLQB.mjs";
|
|
48
|
+
import {
|
|
49
|
+
resolveFarmServerComponentsMode
|
|
50
|
+
} from "./chunk-CJNAUEVC.mjs";
|
|
48
51
|
import {
|
|
49
52
|
getFarmSourceRoots
|
|
50
53
|
} from "./chunk-52Y3C3HG.mjs";
|
|
54
|
+
import {
|
|
55
|
+
getFarmRendererComponentExtensions
|
|
56
|
+
} from "./chunk-ES2LD2YD.mjs";
|
|
51
57
|
import "./chunk-2NGZFOKG.mjs";
|
|
52
58
|
import "./chunk-N33DLJBC.mjs";
|
|
53
59
|
import "./chunk-UIJOLBUL.mjs";
|
|
54
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-K7OZAVOI.mjs";
|
|
55
61
|
import "./chunk-VFXE6NWR.mjs";
|
|
56
62
|
import "./chunk-TZVUF5JJ.mjs";
|
|
57
63
|
import "./chunk-DQF3QLOH.mjs";
|
|
@@ -1061,6 +1067,7 @@ function getFarmMobileOutputDirs(distDir) {
|
|
|
1061
1067
|
};
|
|
1062
1068
|
}
|
|
1063
1069
|
var SCRIPT_PAGE = /\.(?:tsx|ts|jsx|js)$/;
|
|
1070
|
+
var COMPONENT_PAGE = /\.(?:vue|svelte)$/;
|
|
1064
1071
|
function describe(blocker) {
|
|
1065
1072
|
return `${blocker.file ? `${blocker.file}:${blocker.line}:${blocker.column} ` : ""}${blocker.message}`;
|
|
1066
1073
|
}
|
|
@@ -1072,16 +1079,21 @@ async function readPageExports(root, pageFiles, os) {
|
|
|
1072
1079
|
let parseSync;
|
|
1073
1080
|
await Promise.all(
|
|
1074
1081
|
[...pageFiles].map(async ([route, file]) => {
|
|
1075
|
-
|
|
1076
|
-
|
|
1082
|
+
const component = COMPONENT_PAGE.test(file);
|
|
1083
|
+
if (!SCRIPT_PAGE.test(file) && !component) return;
|
|
1084
|
+
let source = await readFile(file, "utf8");
|
|
1077
1085
|
if (!/\bmobile\b/.test(source)) return;
|
|
1086
|
+
if (component) {
|
|
1087
|
+
const blocks = readFarmComponentBlocks(file, source);
|
|
1088
|
+
source = keepFarmComponentRanges(source, farmComponentModuleScripts(blocks));
|
|
1089
|
+
}
|
|
1078
1090
|
parseSync ?? (parseSync = (await import("rolldown/utils")).parseSync);
|
|
1079
1091
|
const parse = parseSync;
|
|
1080
1092
|
const relative3 = path2.relative(root, file).split(path2.sep).join("/");
|
|
1081
1093
|
const config = readFarmMobilePageExport(
|
|
1082
1094
|
source,
|
|
1083
1095
|
relative3,
|
|
1084
|
-
(name, code) => parse(name, code, { lang: scriptLang(name) }).program,
|
|
1096
|
+
(name, code) => parse(name, code, { lang: component ? "ts" : scriptLang(name) }).program,
|
|
1085
1097
|
{ os }
|
|
1086
1098
|
);
|
|
1087
1099
|
if (config) exports.set(route, { file: relative3, config });
|
|
@@ -1175,7 +1187,7 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1175
1187
|
return decision.source === "default" || decision.requested !== void 0;
|
|
1176
1188
|
});
|
|
1177
1189
|
const portable = mobile.native.engine !== "platform" && (mobile.native.auto === "on" || candidates.some((route) => screens[route].requested === "native"));
|
|
1178
|
-
const { analyzeFarmMobileRoutes } = await import("./analyzer-
|
|
1190
|
+
const { analyzeFarmMobileRoutes } = await import("./analyzer-PE33SK5W.mjs");
|
|
1179
1191
|
const analyzed = await analyzeFarmMobileRoutes({
|
|
1180
1192
|
root,
|
|
1181
1193
|
srcDir: config.srcDir,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as EndpointFailure } from './endpoint.d-BgHn0lhl.js';
|
|
2
2
|
import { c as PluginRoutesFactory } from './route.d-DBTEqifW.js';
|
|
3
3
|
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.js';
|
|
4
|
-
import './client-plugins.d-
|
|
4
|
+
import './client-plugins.d-CXElzotB.js';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as EndpointFailure } from './endpoint.d-BkMSCRf6.mjs';
|
|
2
2
|
import { c as PluginRoutesFactory } from './route.d-BaVH3V0w.mjs';
|
|
3
3
|
import { b as APIRouteParams, A as APIRouteMatch } from './route-pattern.d-CVsVbq5n.mjs';
|
|
4
|
-
import './client-plugins.d-
|
|
4
|
+
import './client-plugins.d-D4-6hNx7.mjs';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { eF as RedirectConfig, s as FarmRequest, t as FarmResponse, u as FarmPluginContext, F as FarmPlugin, ef as HeaderConfig, eO as RewriteConfig } from './client-plugins.d-
|
|
2
|
-
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-
|
|
1
|
+
import { eF as RedirectConfig, s as FarmRequest, t as FarmResponse, u as FarmPluginContext, F as FarmPlugin, ef as HeaderConfig, eO as RewriteConfig } from './client-plugins.d-D4-6hNx7.mjs';
|
|
2
|
+
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-D4-6hNx7.mjs';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.mjs';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.mjs';
|
|
5
5
|
import './lifecycle.d-C2aLBOwu.mjs';
|
package/dist/server-plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { eF as RedirectConfig, s as FarmRequest, t as FarmResponse, u as FarmPluginContext, F as FarmPlugin, ef as HeaderConfig, eO as RewriteConfig } from './client-plugins.d-
|
|
2
|
-
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-
|
|
1
|
+
import { eF as RedirectConfig, s as FarmRequest, t as FarmResponse, u as FarmPluginContext, F as FarmPlugin, ef as HeaderConfig, eO as RewriteConfig } from './client-plugins.d-CXElzotB.js';
|
|
2
|
+
export { a4 as FarmPluginLifecycle, ad as FarmPluginRuntimeEndpoint, ae as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore } from './client-plugins.d-CXElzotB.js';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types.d-C41ePjvP.js';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
5
5
|
import './lifecycle.d-C2aLBOwu.js';
|
package/dist/server.cjs
CHANGED
|
@@ -4,7 +4,7 @@ var _chunkXVSBALOYcjs = require('./chunk-XVSBALOY.cjs');
|
|
|
4
4
|
require('./chunk-3376ZTRC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOSFIUSYKcjs = require('./chunk-OSFIUSYK.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ var _chunkV3UOEWCBcjs = require('./chunk-V3UOEWCB.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkIMK32ERLcjs = require('./chunk-IMK32ERL.cjs');
|
|
28
28
|
require('./chunk-OZC2JPW6.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
@@ -40,7 +40,7 @@ require('./chunk-MPU5DOXX.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkTZOGZKI7cjs = require('./chunk-TZOGZKI7.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
@@ -56,7 +56,7 @@ require('./chunk-5IQ2ERQA.cjs');
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
var
|
|
59
|
+
var _chunk3KJPIO5Dcjs = require('./chunk-3KJPIO5D.cjs');
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
var _chunkR53QDV6Tcjs = require('./chunk-R53QDV6T.cjs');
|
|
@@ -79,61 +79,62 @@ var _chunkSYW346ZNcjs = require('./chunk-SYW346ZN.cjs');
|
|
|
79
79
|
require('./chunk-QISW423S.cjs');
|
|
80
80
|
require('./chunk-SHD265HW.cjs');
|
|
81
81
|
require('./chunk-GBMWLDCC.cjs');
|
|
82
|
-
require('./chunk-
|
|
82
|
+
require('./chunk-UJ3R2AH2.cjs');
|
|
83
83
|
require('./chunk-3HLQTOVU.cjs');
|
|
84
84
|
require('./chunk-47JV57DA.cjs');
|
|
85
85
|
require('./chunk-EZTKXD6P.cjs');
|
|
86
86
|
require('./chunk-CLFEQGET.cjs');
|
|
87
|
-
require('./chunk-
|
|
88
|
-
require('./chunk-
|
|
89
|
-
require('./chunk-
|
|
87
|
+
require('./chunk-C7DCMGC4.cjs');
|
|
88
|
+
require('./chunk-Y5TOT5F6.cjs');
|
|
89
|
+
require('./chunk-WNXVWXG3.cjs');
|
|
90
90
|
require('./chunk-CKPTIEDX.cjs');
|
|
91
91
|
require('./chunk-XGJVRPYL.cjs');
|
|
92
92
|
require('./chunk-TVCFY3KK.cjs');
|
|
93
93
|
require('./chunk-4EBC7EMW.cjs');
|
|
94
94
|
require('./chunk-PIUTGRDI.cjs');
|
|
95
|
-
require('./chunk-7KJJ4SBS.cjs');
|
|
96
95
|
require('./chunk-OWOUTKIJ.cjs');
|
|
97
96
|
require('./chunk-7EPYN7GW.cjs');
|
|
98
97
|
|
|
99
98
|
|
|
100
|
-
var
|
|
99
|
+
var _chunk7QVRWGBLcjs = require('./chunk-7QVRWGBL.cjs');
|
|
100
|
+
require('./chunk-7KJJ4SBS.cjs');
|
|
101
101
|
require('./chunk-GSVJ3IIF.cjs');
|
|
102
102
|
require('./chunk-5YPBFMBN.cjs');
|
|
103
103
|
require('./chunk-SM2SYWAR.cjs');
|
|
104
104
|
require('./chunk-ERMUL73L.cjs');
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
var _chunkBPNOYILCcjs = require('./chunk-BPNOYILC.cjs');
|
|
105
|
+
require('./chunk-UVV3I5QA.cjs');
|
|
108
106
|
require('./chunk-V56632LA.cjs');
|
|
109
107
|
require('./chunk-LSHX2H5G.cjs');
|
|
110
108
|
require('./chunk-STF6VDYQ.cjs');
|
|
109
|
+
require('./chunk-O6L3YYPM.cjs');
|
|
110
|
+
require('./chunk-6JHZPB52.cjs');
|
|
111
|
+
require('./chunk-BTVDYS4B.cjs');
|
|
112
|
+
require('./chunk-FJWN7RV4.cjs');
|
|
111
113
|
|
|
112
114
|
|
|
115
|
+
var _chunkZIHWAN55cjs = require('./chunk-ZIHWAN55.cjs');
|
|
113
116
|
|
|
114
117
|
|
|
115
|
-
var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
|
|
116
|
-
require('./chunk-DZPR2W6U.cjs');
|
|
117
|
-
require('./chunk-6JHZPB52.cjs');
|
|
118
|
-
require('./chunk-BTVDYS4B.cjs');
|
|
119
|
-
require('./chunk-MEQN6DDA.cjs');
|
|
120
118
|
|
|
121
119
|
|
|
122
120
|
|
|
123
121
|
|
|
124
122
|
|
|
123
|
+
var _chunk5Y2P454Ocjs = require('./chunk-5Y2P454O.cjs');
|
|
125
124
|
|
|
126
125
|
|
|
127
|
-
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
|
|
128
129
|
require('./chunk-HEPJIKKQ.cjs');
|
|
129
130
|
|
|
130
131
|
|
|
131
132
|
var _chunk3EIPOTZVcjs = require('./chunk-3EIPOTZV.cjs');
|
|
132
|
-
require('./chunk-
|
|
133
|
-
require('./chunk-
|
|
133
|
+
require('./chunk-XBSKPLHF.cjs');
|
|
134
|
+
require('./chunk-7XGWBPQQ.cjs');
|
|
134
135
|
require('./chunk-UNJZGVPU.cjs');
|
|
135
136
|
require('./chunk-2HW5LWAH.cjs');
|
|
136
|
-
require('./chunk-
|
|
137
|
+
require('./chunk-2C5L5RPM.cjs');
|
|
137
138
|
require('./chunk-DQJ2CIH7.cjs');
|
|
138
139
|
require('./chunk-3CCAICF7.cjs');
|
|
139
140
|
require('./chunk-BT4SEFLC.cjs');
|
|
@@ -273,7 +274,7 @@ require('./chunk-CFG4QERR.cjs');
|
|
|
273
274
|
require('./chunk-JYT7AN37.cjs');
|
|
274
275
|
|
|
275
276
|
|
|
276
|
-
var
|
|
277
|
+
var _chunkA3G5IY2Wcjs = require('./chunk-A3G5IY2W.cjs');
|
|
277
278
|
require('./chunk-JGAE5XPL.cjs');
|
|
278
279
|
require('./chunk-OOZEU5KK.cjs');
|
|
279
280
|
require('./chunk-HA7YRO53.cjs');
|
|
@@ -496,7 +497,7 @@ function createBrandingPlugin() {
|
|
|
496
497
|
const pc = _chunkY3WG64CPcjs.createCliColors.call(void 0, );
|
|
497
498
|
console.log("");
|
|
498
499
|
console.log(
|
|
499
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
500
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkA3G5IY2Wcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
500
501
|
);
|
|
501
502
|
console.log("");
|
|
502
503
|
console.log(
|
|
@@ -571,7 +572,7 @@ function inlineEnvScope(scope) {
|
|
|
571
572
|
);
|
|
572
573
|
}
|
|
573
574
|
async function resolveInlineConfig(config, mode) {
|
|
574
|
-
if (
|
|
575
|
+
if (_chunkIMK32ERLcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
575
576
|
_chunk3EIPOTZVcjs.setEnv.call(void 0, config.env);
|
|
576
577
|
return { ...config };
|
|
577
578
|
}
|
|
@@ -581,7 +582,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
581
582
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
582
583
|
const auth = config.auth;
|
|
583
584
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
584
|
-
const resolved = await
|
|
585
|
+
const resolved = await _chunkIMK32ERLcjs.resolveConfig.call(void 0,
|
|
585
586
|
{
|
|
586
587
|
...config,
|
|
587
588
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -618,11 +619,11 @@ async function createServer2(config = {}, options = {}) {
|
|
|
618
619
|
try {
|
|
619
620
|
const root = config.root || process.cwd();
|
|
620
621
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
621
|
-
const userConfig = await
|
|
622
|
+
const userConfig = await _chunkIMK32ERLcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
622
623
|
checkWebDesktopBlock(_optionalChain([userConfig, 'optionalAccess', _19 => _19.desktop]));
|
|
623
624
|
const rscConfig = _nullishCoalesce(userConfig, () => ( config));
|
|
624
|
-
if (
|
|
625
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
625
|
+
if (_chunkZIHWAN55cjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([rscConfig, 'access', _20 => _20.experimental, 'optionalAccess', _21 => _21.serverComponents]))) {
|
|
626
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-V4ANLRAA.cjs");
|
|
626
627
|
await _optionalChain([options, 'access', _22 => _22.ensureServerComponentsPackages, 'optionalCall', _23 => _23(rscConfig, root)]);
|
|
627
628
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
628
629
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -632,7 +633,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
632
633
|
});
|
|
633
634
|
}
|
|
634
635
|
}
|
|
635
|
-
const resolvedConfig = userConfig ? await
|
|
636
|
+
const resolvedConfig = userConfig ? await _chunkIMK32ERLcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
636
637
|
const instrumentationRoot = resolvedConfig.root;
|
|
637
638
|
const instrumentationFile = _chunkBRWIVOV4cjs.resolveFarmInstrumentationFile.call(void 0,
|
|
638
639
|
instrumentationRoot,
|
|
@@ -669,7 +670,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
669
670
|
pluginManager.addPlugin(_chunkCL2ONP73cjs.createCompressionPlugin.call(void 0, ));
|
|
670
671
|
}
|
|
671
672
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
672
|
-
const infraAnalytics = resolvedConfig.analytics !== false ?
|
|
673
|
+
const infraAnalytics = resolvedConfig.analytics !== false ? _chunkOSFIUSYKcjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
|
|
673
674
|
if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
|
|
674
675
|
if (mode === "development") {
|
|
675
676
|
const hasLogger = pluginManager.getPlugins().some((p) => p.name === "farm:logger");
|
|
@@ -682,7 +683,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
682
683
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
683
684
|
finalConfig.renderer = _chunkRD623KW4cjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
684
685
|
const projectRoot = finalConfig.root || process.cwd();
|
|
685
|
-
finalConfig.images =
|
|
686
|
+
finalConfig.images = _chunk3KJPIO5Dcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
686
687
|
root: projectRoot,
|
|
687
688
|
dev: true
|
|
688
689
|
});
|
|
@@ -703,21 +704,21 @@ async function createServer2(config = {}, options = {}) {
|
|
|
703
704
|
tailwindVitePlugin = await _chunkR53QDV6Tcjs.loadTailwindVitePlugin.call(void 0, );
|
|
704
705
|
}
|
|
705
706
|
server = await createViteDevServer(
|
|
706
|
-
|
|
707
|
+
_chunk3KJPIO5Dcjs.mergeFarmViteConfig.call(void 0,
|
|
707
708
|
{
|
|
708
709
|
root: projectRoot,
|
|
709
710
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
710
711
|
plugins: [
|
|
711
712
|
_chunk65Y5SIBHcjs.farmDesktopDevGuardPlugin.call(void 0, finalConfig.basePath),
|
|
712
|
-
|
|
713
|
+
_chunk3KJPIO5Dcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
713
714
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
714
715
|
...rendererVitePlugins,
|
|
715
716
|
...reactRefreshPlugins,
|
|
716
717
|
createDevDependencyStubsPlugin(),
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
718
|
+
_chunkTZOGZKI7cjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
719
|
+
_chunkTZOGZKI7cjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
720
|
+
_chunkTZOGZKI7cjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
721
|
+
_chunk7QVRWGBLcjs.farmEnvironmentFunctionsPlugin.call(void 0, finalConfig),
|
|
721
722
|
createBrandingPlugin(),
|
|
722
723
|
_chunkXVSBALOYcjs.createFarmDevLoopbackPlugin.call(void 0, ),
|
|
723
724
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
@@ -732,8 +733,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
732
733
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
733
734
|
},
|
|
734
735
|
optimizeDeps: {
|
|
735
|
-
...
|
|
736
|
-
|
|
736
|
+
..._chunk3KJPIO5Dcjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
737
|
+
_chunk3KJPIO5Dcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunk5Y2P454Ocjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
737
738
|
finalConfig.renderer
|
|
738
739
|
),
|
|
739
740
|
exclude: [
|
|
@@ -969,4 +970,4 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
969
970
|
|
|
970
971
|
|
|
971
972
|
|
|
972
|
-
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunk4P5634G6cjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkWKPBIT5Qcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp =
|
|
973
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunk4P5634G6cjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkWKPBIT5Qcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunk3KJPIO5Dcjs.FarmApp; exports.FarmDataCache = _chunkDMAP4RNDcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkVXCFJWK5cjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunkDMAP4RNDcjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunk3KJPIO5Dcjs.RouteManager; exports.ServerActionRequestError = _chunk4P5634G6cjs.ServerActionRequestError; exports.ServerRenderer = _chunk3KJPIO5Dcjs.ServerRenderer; exports._collectFarmStorageModules = _chunkJMYXO572cjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkJMYXO572cjs._registerFarmStorageModules; exports._runWithAfterNodeResponse = _chunkP2355C6Ecjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkP2355C6Ecjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkP2355C6Ecjs._withAfterNodeMiddleware; exports.after = _chunkP2355C6Ecjs.after; exports.applyFarmCacheInvalidationTargets = _chunkDMAP4RNDcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkUZCMMJJTcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunkDMAP4RNDcjs.configureFarmCache; exports.createClientOnlyFn = _chunkVXCFJWK5cjs.createClientOnlyFn; exports.createFarmApp = _chunk3KJPIO5Dcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunkDMAP4RNDcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkDXUXQP2Tcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunk5Y2P454Ocjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunkJMYXO572cjs.createFarmStorage; exports.createIsomorphicFn = _chunkVXCFJWK5cjs.createIsomorphicFn; exports.createPathCacheTag = _chunkDMAP4RNDcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkDXUXQP2Tcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunkDMAP4RNDcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunk4P5634G6cjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkVXCFJWK5cjs.createServerOnlyFn; exports.createServerQuery = _chunkWKPBIT5Qcjs.createServerQuery; exports.createStorageClient = _chunkJMYXO572cjs.createStorageClient; exports.databaseStorage = _chunkJMYXO572cjs.databaseStorage; exports.defineCacheKey = _chunkDMAP4RNDcjs.defineCacheKey; exports.defineConfig = _chunkTZOGZKI7cjs.defineConfig; exports.defineStorageClient = _chunkJMYXO572cjs.defineStorageClient; exports.disposeStorage = _chunkJMYXO572cjs.disposeStorage; exports.driverStorage = _chunkJMYXO572cjs.driverStorage; exports.farmPlugin = _chunkTZOGZKI7cjs.farmPlugin; exports.fileExists = _chunkQMNWKQL4cjs.fileExists; exports.getCurrentRequest = _chunkHNAISJFDcjs.getCurrentRequest; exports.getFarmAppDirectories = _chunk5Y2P454Ocjs.getFarmAppDirectories; exports.getFarmDataCache = _chunkDMAP4RNDcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunk5Y2P454Ocjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunk5Y2P454Ocjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunk4P5634G6cjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunk4P5634G6cjs.getServerActionInvalidations; exports.getServerActionSignal = _chunk4P5634G6cjs.getServerActionSignal; exports.getStorage = _chunkJMYXO572cjs.getStorage; exports.getTheme = _chunk4ZJ5C7UJcjs.getTheme; exports.getThemeSnapshot = _chunk4ZJ5C7UJcjs.getThemeSnapshot; exports.globFiles = _chunkQMNWKQL4cjs.globFiles; exports.initStorage = _chunkJMYXO572cjs.initStorage; exports.invalidate = _chunkDMAP4RNDcjs.invalidate; exports.invalidateRouteData = _chunkDMAP4RNDcjs.invalidateRouteData; exports.libsqlStorage = _chunkJMYXO572cjs.libsqlStorage; exports.loadFarmConfigFile = _chunk5Y2P454Ocjs.loadFarmConfigFile; exports.localStorage = _chunkJMYXO572cjs.localStorage; exports.logger = _chunkQMNWKQL4cjs.logger; exports.matchRoute = _chunkQMNWKQL4cjs.matchRoute; exports.matchRouteParts = _chunkQMNWKQL4cjs.matchRouteParts; exports.matchRoutePrefix = _chunkQMNWKQL4cjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunkQMNWKQL4cjs.matchRoutePrefixParts; exports.memoryStorage = _chunkJMYXO572cjs.memoryStorage; exports.mongodbStorage = _chunkJMYXO572cjs.mongodbStorage; exports.mysql2Storage = _chunkJMYXO572cjs.mysql2Storage; exports.mysqlStorage = _chunkJMYXO572cjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkJMYXO572cjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunkDMAP4RNDcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunkQMNWKQL4cjs.parseRoutePath; exports.parseSearchParams = _chunkQMNWKQL4cjs.parseSearchParams; exports.pgStorage = _chunkJMYXO572cjs.pgStorage; exports.pgliteStorage = _chunkJMYXO572cjs.pgliteStorage; exports.planetscaleStorage = _chunkJMYXO572cjs.planetscaleStorage; exports.postgresStorage = _chunkJMYXO572cjs.postgresStorage; exports.prepareServerActionRequest = _chunk4P5634G6cjs.prepareServerActionRequest; exports.redisStorage = _chunkJMYXO572cjs.redisStorage; exports.resolveAppPath = _chunkQMNWKQL4cjs.resolveAppPath; exports.resolveFarmLayers = _chunk5Y2P454Ocjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkIMK32ERLcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkIMK32ERLcjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunk4P5634G6cjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunkJMYXO572cjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunkDMAP4RNDcjs.revalidatePath; exports.revalidateTag = _chunkDMAP4RNDcjs.revalidateTag; exports.runWithServerActionRequest = _chunk4P5634G6cjs.runWithServerActionRequest; exports.s3Storage = _chunkJMYXO572cjs.s3Storage; exports.sanitizeServerActionError = _chunk4P5634G6cjs.sanitizeServerActionError; exports.segmentsToPattern = _chunkQMNWKQL4cjs.segmentsToPattern; exports.sendWebResponse = _chunkYIHRZBD7cjs.sendWebResponse; exports.splitRoutePath = _chunkQMNWKQL4cjs.splitRoutePath; exports.sqliteStorage = _chunkJMYXO572cjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunkDMAP4RNDcjs.storageCacheAdapter; exports.toPosixPath = _chunkQMNWKQL4cjs.toPosixPath; exports.toRootRelativeUrlPath = _chunkQMNWKQL4cjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunkQMNWKQL4cjs.toViteModuleId; exports.unstable_cache = _chunkDMAP4RNDcjs.unstable_cache; exports.updateTag = _chunkDMAP4RNDcjs.updateTag; exports.upstashStorage = _chunkJMYXO572cjs.upstashStorage; exports.validateServerActionRequest = _chunk4P5634G6cjs.validateServerActionRequest; exports.vercelBlobStorage = _chunkJMYXO572cjs.vercelBlobStorage; exports.vercelKVStorage = _chunkJMYXO572cjs.vercelKVStorage;
|
package/dist/server.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-kuoVWhWM.mjs';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.mjs';
|
|
3
|
-
import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-
|
|
4
|
-
export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-
|
|
5
|
-
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-
|
|
3
|
+
import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-D4-6hNx7.mjs';
|
|
4
|
+
export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-D4-6hNx7.mjs';
|
|
5
|
+
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-W9IiEqmW.mjs';
|
|
6
6
|
export { _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.mjs';
|
|
7
7
|
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.mjs';
|
|
8
8
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.mjs';
|
|
9
9
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.mjs';
|
|
10
10
|
import { ViteDevServer } from 'vite';
|
|
11
|
-
export { g as getCurrentRequest } from './request.d-
|
|
11
|
+
export { g as getCurrentRequest } from './request.d-DarDOCk9.mjs';
|
|
12
12
|
export { s as sendWebResponse } from './response.d-BolW0Vx_.mjs';
|
|
13
13
|
export { getTheme, getThemeSnapshot } from './theme/server.mjs';
|
|
14
14
|
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.mjs';
|
|
@@ -42,11 +42,11 @@ import './types.d-C41ePjvP.mjs';
|
|
|
42
42
|
import './config.d-qt-mE8O5.mjs';
|
|
43
43
|
import './types.d-DQnyD3VD.mjs';
|
|
44
44
|
import './font.mjs';
|
|
45
|
-
import './client-component.d-
|
|
46
|
-
import './route-rendering.d-
|
|
45
|
+
import './client-component.d-D74pqdea.mjs';
|
|
46
|
+
import './route-rendering.d-D_2Ual0-.mjs';
|
|
47
47
|
import './island.d-CfGru1MO.mjs';
|
|
48
|
-
import './agent-mcp.d-
|
|
49
|
-
import './render-plan.d-
|
|
48
|
+
import './agent-mcp.d-CO_ABmNK.mjs';
|
|
49
|
+
import './render-plan.d-CcF0MeCf.mjs';
|
|
50
50
|
import './runtime.d-3iJAKptR.mjs';
|
|
51
51
|
import './resolver.d-JnZKKsc5.mjs';
|
|
52
52
|
import './platform.mjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app.d-x68Cwr0_.js';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.js';
|
|
3
|
-
import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-
|
|
4
|
-
export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-
|
|
5
|
-
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-
|
|
3
|
+
import { aF as FarmConfig, p as FarmUserConfig } from './client-plugins.d-CXElzotB.js';
|
|
4
|
+
export { aG as AppRoutePattern, aH as BuildOptions, aI as ErrorBoundary, aJ as ErrorProps, v as FarmAppContext, aK as FarmComponentType, aL as FarmContextFactory, aM as FarmContextFactoryInput, aN as FarmIsolatedClientHydrationMode, aO as FarmMCPUserConfig, aP as FarmMigrationCommand, aQ as FarmMigrationsConfig, aR as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, aS as GenerateStaticParams, aT as Layout, aU as LayoutMetadataProps, aV as LayoutModule, L as LayoutProps, aW as Loading, aX as LoadingProps, M as Metadata, aY as MetadataJsonLd, aZ as MetadataProps, a_ as MetadataRobots, a$ as MetadataRobotsDirectives, b0 as MiddlewareProps, b1 as NitroPreset, b2 as Page, w as PageProps, b3 as PagePropsWithMiddleware, b4 as PageRouteParams, P as ParsedRoute, y as PluginContextProps, b5 as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, b6 as SSGCollectionResult, b7 as SSGPage, b8 as ServerAction, b9 as StaticPathParams, ba as StaticPathPrimitive, bb as StaticRouteParams, bc as ThemeColorDescriptor, bd as Viewport, be as resolveFarmMCPConfig, bf as resolveFarmMCPPlugin } from './client-plugins.d-CXElzotB.js';
|
|
5
|
+
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils.d-C9dQD5Zg.js';
|
|
6
6
|
export { _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.js';
|
|
7
7
|
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.js';
|
|
8
8
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
|
|
9
9
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
|
|
10
10
|
import { ViteDevServer } from 'vite';
|
|
11
|
-
export { g as getCurrentRequest } from './request.d-
|
|
11
|
+
export { g as getCurrentRequest } from './request.d-B1RnTLri.js';
|
|
12
12
|
export { s as sendWebResponse } from './response.d-BolW0Vx_.js';
|
|
13
13
|
export { getTheme, getThemeSnapshot } from './theme/server.js';
|
|
14
14
|
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.js';
|
|
@@ -42,11 +42,11 @@ import './types.d-C41ePjvP.js';
|
|
|
42
42
|
import './config.d-qt-mE8O5.js';
|
|
43
43
|
import './types.d-DQnyD3VD.js';
|
|
44
44
|
import './font.js';
|
|
45
|
-
import './client-component.d-
|
|
46
|
-
import './route-rendering.d-
|
|
45
|
+
import './client-component.d-D8VcypQA.js';
|
|
46
|
+
import './route-rendering.d-BTUYCIj4.js';
|
|
47
47
|
import './island.d-CfGru1MO.js';
|
|
48
|
-
import './agent-mcp.d-
|
|
49
|
-
import './render-plan.d-
|
|
48
|
+
import './agent-mcp.d-QD2WZ9BS.js';
|
|
49
|
+
import './render-plan.d-CL_Ikfg_.js';
|
|
50
50
|
import './runtime.d-BtL3PCL3.js';
|
|
51
51
|
import './resolver.d-BHyZgpa7.js';
|
|
52
52
|
import './platform.js';
|
package/dist/server.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FN5UEC7I.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createFarmInfraAnalyticsPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUW7F6SK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
FARM_SERVER_QUERY_SYMBOL,
|
|
9
9
|
createServerQuery
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveConfig,
|
|
24
24
|
resolveFarmMCPConfig,
|
|
25
25
|
resolveFarmMCPPlugin
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2L54YV25.mjs";
|
|
27
27
|
import "./chunk-VISQDC6W.mjs";
|
|
28
28
|
import {
|
|
29
29
|
loadFarmInstrumentation,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
farmI18nClientBridgePlugin,
|
|
40
40
|
farmPlugin,
|
|
41
41
|
farmServerOnlyEntriesPlugin
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VHHLKIDZ.mjs";
|
|
43
43
|
import {
|
|
44
44
|
createFarmReactRefreshPlugins,
|
|
45
45
|
farmDesktopDevGuardPlugin
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
createFarmThemeCssPlugin,
|
|
56
56
|
mergeFarmViteConfig,
|
|
57
57
|
resolveFarmImageProviderForRuntime
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-7GYCZRTH.mjs";
|
|
59
59
|
import {
|
|
60
60
|
loadTailwindVitePlugin
|
|
61
61
|
} from "./chunk-OM7WILES.mjs";
|
|
@@ -78,44 +78,40 @@ import {
|
|
|
78
78
|
import "./chunk-HPP2II4Z.mjs";
|
|
79
79
|
import "./chunk-WNLPQW7W.mjs";
|
|
80
80
|
import "./chunk-F3N52U7S.mjs";
|
|
81
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-TNBJ4LZG.mjs";
|
|
82
82
|
import "./chunk-LLZSYFOM.mjs";
|
|
83
83
|
import "./chunk-UUMKLGUU.mjs";
|
|
84
84
|
import "./chunk-23LVFSID.mjs";
|
|
85
85
|
import "./chunk-MK5E44WP.mjs";
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-E2TSYUHV.mjs";
|
|
87
|
+
import "./chunk-MESQF2JC.mjs";
|
|
88
|
+
import "./chunk-Q75QPLBA.mjs";
|
|
89
89
|
import "./chunk-X3EFRVXY.mjs";
|
|
90
90
|
import "./chunk-A4PWGL46.mjs";
|
|
91
91
|
import "./chunk-MNIR7I7B.mjs";
|
|
92
92
|
import "./chunk-L4RTTTVE.mjs";
|
|
93
93
|
import "./chunk-GNZIAJGB.mjs";
|
|
94
|
-
import "./chunk-S32PDOLO.mjs";
|
|
95
94
|
import "./chunk-XAXTTBUT.mjs";
|
|
96
95
|
import "./chunk-HZOMT5DY.mjs";
|
|
97
96
|
import {
|
|
98
97
|
farmEnvironmentFunctionsPlugin
|
|
99
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-ZAUOOGER.mjs";
|
|
99
|
+
import "./chunk-S32PDOLO.mjs";
|
|
100
100
|
import "./chunk-TUPKMMXT.mjs";
|
|
101
101
|
import "./chunk-Q5B4LNON.mjs";
|
|
102
102
|
import "./chunk-EJCVG25Z.mjs";
|
|
103
103
|
import "./chunk-NRNAHZ57.mjs";
|
|
104
|
-
import
|
|
105
|
-
resolveFarmServerComponentsMode
|
|
106
|
-
} from "./chunk-PAKCHVUS.mjs";
|
|
104
|
+
import "./chunk-TPA2PV5J.mjs";
|
|
107
105
|
import "./chunk-X3XUZWRB.mjs";
|
|
108
106
|
import "./chunk-XR2ZIBQK.mjs";
|
|
109
107
|
import "./chunk-CU5SYTJG.mjs";
|
|
110
|
-
import
|
|
111
|
-
isReactRenderer,
|
|
112
|
-
loadFarmRendererVitePlugins,
|
|
113
|
-
resolveFarmRenderer
|
|
114
|
-
} from "./chunk-ES2LD2YD.mjs";
|
|
115
|
-
import "./chunk-T4TBK5NY.mjs";
|
|
108
|
+
import "./chunk-VQ4NWOWO.mjs";
|
|
116
109
|
import "./chunk-22W4FNTG.mjs";
|
|
117
110
|
import "./chunk-SQ5O7I3L.mjs";
|
|
118
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-KL7SHLQB.mjs";
|
|
112
|
+
import {
|
|
113
|
+
resolveFarmServerComponentsMode
|
|
114
|
+
} from "./chunk-CJNAUEVC.mjs";
|
|
119
115
|
import {
|
|
120
116
|
createFarmConfigResolutionPlugin,
|
|
121
117
|
getFarmAppDirectories,
|
|
@@ -124,15 +120,20 @@ import {
|
|
|
124
120
|
loadFarmConfigFile,
|
|
125
121
|
resolveFarmLayers
|
|
126
122
|
} from "./chunk-52Y3C3HG.mjs";
|
|
123
|
+
import {
|
|
124
|
+
isReactRenderer,
|
|
125
|
+
loadFarmRendererVitePlugins,
|
|
126
|
+
resolveFarmRenderer
|
|
127
|
+
} from "./chunk-ES2LD2YD.mjs";
|
|
127
128
|
import "./chunk-2NGZFOKG.mjs";
|
|
128
129
|
import {
|
|
129
130
|
setEnv
|
|
130
131
|
} from "./chunk-N33DLJBC.mjs";
|
|
131
|
-
import "./chunk-
|
|
132
|
-
import "./chunk-
|
|
132
|
+
import "./chunk-FIR62CR3.mjs";
|
|
133
|
+
import "./chunk-RVGSVQWT.mjs";
|
|
133
134
|
import "./chunk-BRYPZIMB.mjs";
|
|
134
135
|
import "./chunk-UIJOLBUL.mjs";
|
|
135
|
-
import "./chunk-
|
|
136
|
+
import "./chunk-K7OZAVOI.mjs";
|
|
136
137
|
import "./chunk-VFXE6NWR.mjs";
|
|
137
138
|
import "./chunk-TZVUF5JJ.mjs";
|
|
138
139
|
import "./chunk-DQF3QLOH.mjs";
|
|
@@ -272,7 +273,7 @@ import "./chunk-QDWMCFTH.mjs";
|
|
|
272
273
|
import "./chunk-D2LCAV6L.mjs";
|
|
273
274
|
import {
|
|
274
275
|
FARM_VERSION
|
|
275
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-72JSHQQQ.mjs";
|
|
276
277
|
import "./chunk-RFKTJTWZ.mjs";
|
|
277
278
|
import "./chunk-QPNVDSFZ.mjs";
|
|
278
279
|
import "./chunk-GYMGK467.mjs";
|
|
@@ -621,7 +622,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
621
622
|
checkWebDesktopBlock(userConfig?.desktop);
|
|
622
623
|
const rscConfig = userConfig ?? config;
|
|
623
624
|
if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
|
|
624
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
625
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-T3PWURLJ.mjs");
|
|
625
626
|
await options.ensureServerComponentsPackages?.(rscConfig, root);
|
|
626
627
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
627
628
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata } from './client-plugins.d-D4-6hNx7.mjs';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle.d-C2aLBOwu.mjs';
|
|
3
3
|
import { a as FarmI18nClientSnapshot } from './types.d-C41ePjvP.mjs';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.mjs';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-CcF0MeCf.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|