@farm.js/core 0.1.62 → 0.1.64
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-BKZ3UNbt.d.mts → agent-mcp.d-CO_ABmNK.d.mts} +1 -1
- package/dist/{agent-mcp.d-C1zr_nGS.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-ODLF2Z6O.cjs +16 -0
- package/dist/{analyzer-YESYU3GK.mjs → analyzer-Q3QXC6PD.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-ntch_bvA.d.ts → app-manifest.d-BpKxiU_E.d.mts} +9 -1
- package/dist/{app-manifest.d-BpvhfKRH.d.mts → app-manifest.d-DDmNkYQQ.d.ts} +9 -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-CysWA_8v.d.mts → app.d-kuoVWhWM.d.mts} +4 -4
- package/dist/{app.d-AE8_v3Db.d.ts → app.d-x68Cwr0_.d.ts} +4 -4
- package/dist/{chunk-LT4VAF5Z.cjs → chunk-2C5L5RPM.cjs} +7 -6
- package/dist/{chunk-RMUD75WT.cjs → chunk-3EBHJET2.cjs} +355 -270
- package/dist/{chunk-RZNCMRD3.mjs → chunk-6NHSGVVA.mjs} +1 -1
- package/dist/{chunk-LVWGURLD.mjs → chunk-6NNYPY5W.mjs} +327 -13
- package/dist/{chunk-PRFNLQSP.cjs → chunk-7XGWBPQQ.cjs} +4 -4
- package/dist/{chunk-SG57PX7K.cjs → chunk-BTVDYS4B.cjs} +7 -2
- package/dist/{chunk-545WJ5UG.cjs → chunk-DUSHDZQL.cjs} +11 -11
- package/dist/{chunk-GVOMPU3Y.cjs → chunk-EL4364S2.cjs} +209 -32
- package/dist/{chunk-GGNJAGGE.cjs → chunk-FAP7CX7C.cjs} +1056 -529
- package/dist/{chunk-T46NNU4D.mjs → chunk-FH45OB37.mjs} +2 -2
- package/dist/{chunk-55U5QIXQ.mjs → chunk-FIR62CR3.mjs} +1 -1
- package/dist/{chunk-MEQN6DDA.cjs → chunk-FJWN7RV4.cjs} +5 -5
- package/dist/chunk-IOEXXZK3.mjs +88 -0
- package/dist/{chunk-EXXFSZOC.cjs → chunk-JCPSA4X5.cjs} +135 -134
- package/dist/{chunk-YSXTNSXS.mjs → chunk-K7OZAVOI.mjs} +7 -6
- package/dist/{chunk-KVW2M6PI.mjs → chunk-KL7SHLQB.mjs} +1 -1
- package/dist/{chunk-NT3QDN2E.mjs → chunk-LQDLEWPO.mjs} +1 -1
- package/dist/{chunk-UZZ6IEQP.mjs → chunk-MESQF2JC.mjs} +2 -2
- package/dist/{chunk-WKJQ2FJA.cjs → chunk-MG356ROI.cjs} +5 -5
- package/dist/{chunk-AJB3DHN6.cjs → chunk-N3Z3PLHC.cjs} +2 -2
- package/dist/{chunk-2CNKQC3G.mjs → chunk-NNLFW3P4.mjs} +2 -2
- package/dist/{chunk-XX32BOMM.cjs → chunk-NXFA7G3Y.cjs} +52 -26
- package/dist/{chunk-SM25ZC4S.cjs → chunk-O2XFIPNL.cjs} +1 -1
- package/dist/{chunk-VWW4Q3BJ.mjs → chunk-O4FWNLQK.mjs} +4 -4
- package/dist/{chunk-DZPR2W6U.cjs → chunk-O6L3YYPM.cjs} +5 -5
- package/dist/{chunk-UWI3SJAK.cjs → chunk-O7IEMY55.cjs} +3 -3
- package/dist/{chunk-6BJJYOFL.cjs → chunk-OLIGNTWU.cjs} +7 -7
- package/dist/{chunk-OUWRNHTV.mjs → chunk-OYF23QLG.mjs} +17 -16
- package/dist/{chunk-IQIKPKFP.mjs → chunk-RAH5MT53.mjs} +110 -25
- package/dist/{chunk-E72UD6ME.mjs → chunk-RVGSVQWT.mjs} +1 -1
- package/dist/{chunk-ZVIEFTUA.cjs → chunk-S25BQIFW.cjs} +16 -16
- package/dist/chunk-S7ZW72JH.cjs +254 -0
- package/dist/{chunk-VM7X5CKC.mjs → chunk-SLYDIHLW.mjs} +31 -5
- package/dist/chunk-SNFTMSHX.mjs +254 -0
- package/dist/{chunk-2WZTGPK6.mjs → chunk-SQ5O7I3L.mjs} +7 -2
- package/dist/{chunk-PCXIJKPM.mjs → chunk-TNBJ4LZG.mjs} +2 -2
- package/dist/{chunk-O27PLNQZ.cjs → chunk-UJ3R2AH2.cjs} +4 -4
- 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-ZBUAOGMY.mjs → chunk-WFNAOWH4.mjs} +1 -1
- package/dist/{chunk-IWRLV46X.cjs → chunk-WMTBBQHY.cjs} +4 -4
- package/dist/{chunk-2JYBLE63.mjs → chunk-WNYRYI4D.mjs} +770 -243
- package/dist/{chunk-CI4UNQHO.cjs → chunk-XBSKPLHF.cjs} +2 -2
- package/dist/{chunk-IOF4KXMP.mjs → chunk-XVWSDSUM.mjs} +201 -24
- package/dist/{chunk-JEJQGZI7.cjs → chunk-XZLZ6YPP.cjs} +346 -32
- package/dist/{chunk-QAS7KE7J.cjs → chunk-Y5TOT5F6.cjs} +5 -5
- package/dist/{chunk-DPE53XWL.mjs → chunk-ZEXE4TGY.mjs} +1 -1
- package/dist/{client-component.d-BoqC2MLC.d.mts → client-component.d-D74pqdea.d.mts} +14 -3
- package/dist/{client-component.d-Bgt3x5Fu.d.ts → client-component.d-D8VcypQA.d.ts} +14 -3
- package/dist/{client-plugins.d-BcqIy4au.d.ts → client-plugins.d-CXElzotB.d.ts} +18 -2
- package/dist/{client-plugins.d-CWyYBxXf.d.mts → client-plugins.d-D4-6hNx7.d.mts} +18 -2
- 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-NUVXYG7I.mjs → devtools-MX3FE733.mjs} +5 -5
- package/dist/{devtools-SVRSGPNC.cjs → devtools-WET5NAKO.cjs} +6 -6
- package/dist/docs.cjs +8 -8
- package/dist/docs.d.mts +2 -2
- package/dist/docs.d.ts +2 -2
- package/dist/docs.mjs +7 -7
- package/dist/index.cjs +21 -20
- package/dist/{index.d-nAncqTXz.d.ts → index.d-A_x10zGS.d.ts} +1 -1
- package/dist/{index.d-BDaiu2i5.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 +20 -19
- 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 +22 -21
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +21 -20
- package/dist/internal/cli-runtime.cjs +7 -7
- package/dist/internal/cli-runtime.mjs +6 -6
- 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 +7 -7
- package/dist/internal/config-runtime.d.mts +4 -4
- package/dist/internal/config-runtime.d.ts +4 -4
- package/dist/internal/config-runtime.mjs +6 -6
- package/dist/internal/infra-analytics-runtime.cjs +11 -9
- package/dist/internal/infra-analytics-runtime.mjs +9 -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 +17 -211
- package/dist/internal/product-telemetry-runtime.mjs +10 -204
- package/dist/internal/production-runtime.cjs +13 -12
- package/dist/internal/production-runtime.d.mts +13 -12
- package/dist/internal/production-runtime.d.ts +13 -12
- package/dist/internal/production-runtime.mjs +14 -13
- package/dist/internal/react-cache.cjs +21 -1
- package/dist/internal/react-cache.d.mts +8 -1
- package/dist/internal/react-cache.d.ts +8 -1
- package/dist/internal/react-cache.mjs +21 -1
- 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-AS5L3ID3.mjs → native-tree-BPEE2LAL.mjs} +2 -2
- package/dist/{native-tree-Z2WYUJEV.cjs → native-tree-WOX3JMBG.cjs} +3 -3
- package/dist/{navigation-delegate.d-CSCm8ZxL.d.mts → navigation-delegate.d-DQVYKoaZ.d.mts} +1 -1
- package/dist/{navigation-delegate.d-BbUHRXxG.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 +14 -14
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.mjs +13 -13
- package/dist/{production-runtime.d-DgT24A0f.d.ts → production-runtime.d-Bzns3NW9.d.ts} +1 -1
- package/dist/{production-runtime.d-CcQiDko5.d.mts → production-runtime.d-DiFa5vHW.d.mts} +1 -1
- package/dist/{render-plan.d-CyrX6MDs.d.ts → render-plan.d-CL_Ikfg_.d.ts} +1 -1
- package/dist/{render-plan.d-BH9WF-JZ.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-BB8M8bcD.d.ts → request.d-B1RnTLri.d.ts} +1 -1
- package/dist/{request.d-CUrPnCW7.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-DYqZMIf4.d.ts → route-rendering.d-BTUYCIj4.d.ts} +1 -1
- package/dist/{route-rendering.d-CYxlzaFm.d.mts → route-rendering.d-D_2Ual0-.d.mts} +1 -1
- package/dist/{router.d-DaKo507j.d.ts → router.d-CMANF6da.d.ts} +1 -1
- package/dist/{router.d-7o24CD8u.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-RFLHDAKD.mjs → rsc-pipeline-3LNVP2OO.mjs} +6 -6
- package/dist/{rsc-pipeline-OF2I7PCX.cjs → rsc-pipeline-G5WELVW3.cjs} +7 -7
- package/dist/{runtime-LBTK62AD.cjs → runtime-DMEULPE7.cjs} +22 -11
- package/dist/{runtime-M6UJCSLA.mjs → runtime-HQJ2LLQL.mjs} +20 -9
- package/dist/{runtime.d-CN73a-IL.d.ts → runtime.d-C3RQUj6_.d.ts} +1 -1
- package/dist/{runtime.d-CcNuzhX6.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 +31 -31
- package/dist/server.d.mts +9 -9
- package/dist/server.d.ts +9 -9
- package/dist/server.mjs +16 -16
- package/dist/{spa-router.d-CNi77LZm.d.mts → spa-router.d-WU_qS5gJ.d.mts} +2 -2
- package/dist/{spa-router.d-Cvgf5QP4.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-C3H-14_Y.d.ts → utils.d-C9dQD5Zg.d.ts} +1 -1
- package/dist/{utils.d-D8VfzZYn.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 +18 -14
- package/dist/vite.d.mts +23 -5
- package/dist/vite.d.ts +23 -5
- package/dist/vite.mjs +17 -13
- package/package.json +1 -1
- package/dist/analyzer-2AHWJJR7.cjs +0 -15
- package/dist/chunk-CSLUBKGG.mjs +0 -44
- package/dist/chunk-SGBNF56S.cjs +0 -44
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 _chunkMG356ROIcjs = require('./chunk-MG356ROI.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 _chunkDUSHDZQLcjs = require('./chunk-DUSHDZQL.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 _chunk3EBHJET2cjs = require('./chunk-3EBHJET2.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 _chunkFAP7CX7Ccjs = require('./chunk-FAP7CX7C.cjs');
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
var _chunkR53QDV6Tcjs = require('./chunk-R53QDV6T.cjs');
|
|
@@ -79,14 +79,14 @@ 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-NXFA7G3Y.cjs');
|
|
88
|
+
require('./chunk-Y5TOT5F6.cjs');
|
|
89
|
+
require('./chunk-S7ZW72JH.cjs');
|
|
90
90
|
require('./chunk-CKPTIEDX.cjs');
|
|
91
91
|
require('./chunk-XGJVRPYL.cjs');
|
|
92
92
|
require('./chunk-TVCFY3KK.cjs');
|
|
@@ -113,10 +113,10 @@ require('./chunk-STF6VDYQ.cjs');
|
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
|
|
116
|
-
require('./chunk-
|
|
116
|
+
require('./chunk-O6L3YYPM.cjs');
|
|
117
117
|
require('./chunk-6JHZPB52.cjs');
|
|
118
|
-
require('./chunk-
|
|
119
|
-
require('./chunk-
|
|
118
|
+
require('./chunk-BTVDYS4B.cjs');
|
|
119
|
+
require('./chunk-FJWN7RV4.cjs');
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
@@ -129,11 +129,11 @@ require('./chunk-HEPJIKKQ.cjs');
|
|
|
129
129
|
|
|
130
130
|
|
|
131
131
|
var _chunk3EIPOTZVcjs = require('./chunk-3EIPOTZV.cjs');
|
|
132
|
-
require('./chunk-
|
|
133
|
-
require('./chunk-
|
|
132
|
+
require('./chunk-XBSKPLHF.cjs');
|
|
133
|
+
require('./chunk-7XGWBPQQ.cjs');
|
|
134
134
|
require('./chunk-UNJZGVPU.cjs');
|
|
135
135
|
require('./chunk-2HW5LWAH.cjs');
|
|
136
|
-
require('./chunk-
|
|
136
|
+
require('./chunk-2C5L5RPM.cjs');
|
|
137
137
|
require('./chunk-DQJ2CIH7.cjs');
|
|
138
138
|
require('./chunk-3CCAICF7.cjs');
|
|
139
139
|
require('./chunk-BT4SEFLC.cjs');
|
|
@@ -273,7 +273,7 @@ require('./chunk-CFG4QERR.cjs');
|
|
|
273
273
|
require('./chunk-JYT7AN37.cjs');
|
|
274
274
|
|
|
275
275
|
|
|
276
|
-
var
|
|
276
|
+
var _chunkO2XFIPNLcjs = require('./chunk-O2XFIPNL.cjs');
|
|
277
277
|
require('./chunk-JGAE5XPL.cjs');
|
|
278
278
|
require('./chunk-OOZEU5KK.cjs');
|
|
279
279
|
require('./chunk-HA7YRO53.cjs');
|
|
@@ -496,7 +496,7 @@ function createBrandingPlugin() {
|
|
|
496
496
|
const pc = _chunkY3WG64CPcjs.createCliColors.call(void 0, );
|
|
497
497
|
console.log("");
|
|
498
498
|
console.log(
|
|
499
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
499
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkO2XFIPNLcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
500
500
|
);
|
|
501
501
|
console.log("");
|
|
502
502
|
console.log(
|
|
@@ -571,7 +571,7 @@ function inlineEnvScope(scope) {
|
|
|
571
571
|
);
|
|
572
572
|
}
|
|
573
573
|
async function resolveInlineConfig(config, mode) {
|
|
574
|
-
if (
|
|
574
|
+
if (_chunkDUSHDZQLcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
575
575
|
_chunk3EIPOTZVcjs.setEnv.call(void 0, config.env);
|
|
576
576
|
return { ...config };
|
|
577
577
|
}
|
|
@@ -581,7 +581,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
581
581
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
582
582
|
const auth = config.auth;
|
|
583
583
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
584
|
-
const resolved = await
|
|
584
|
+
const resolved = await _chunkDUSHDZQLcjs.resolveConfig.call(void 0,
|
|
585
585
|
{
|
|
586
586
|
...config,
|
|
587
587
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -618,11 +618,11 @@ async function createServer2(config = {}, options = {}) {
|
|
|
618
618
|
try {
|
|
619
619
|
const root = config.root || process.cwd();
|
|
620
620
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
621
|
-
const userConfig = await
|
|
621
|
+
const userConfig = await _chunkDUSHDZQLcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
622
622
|
checkWebDesktopBlock(_optionalChain([userConfig, 'optionalAccess', _19 => _19.desktop]));
|
|
623
623
|
const rscConfig = _nullishCoalesce(userConfig, () => ( config));
|
|
624
624
|
if (_chunkBPNOYILCcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([rscConfig, 'access', _20 => _20.experimental, 'optionalAccess', _21 => _21.serverComponents]))) {
|
|
625
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
625
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-G5WELVW3.cjs");
|
|
626
626
|
await _optionalChain([options, 'access', _22 => _22.ensureServerComponentsPackages, 'optionalCall', _23 => _23(rscConfig, root)]);
|
|
627
627
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
628
628
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -632,7 +632,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
632
632
|
});
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
const resolvedConfig = userConfig ? await
|
|
635
|
+
const resolvedConfig = userConfig ? await _chunkDUSHDZQLcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
636
636
|
const instrumentationRoot = resolvedConfig.root;
|
|
637
637
|
const instrumentationFile = _chunkBRWIVOV4cjs.resolveFarmInstrumentationFile.call(void 0,
|
|
638
638
|
instrumentationRoot,
|
|
@@ -669,7 +669,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
669
669
|
pluginManager.addPlugin(_chunkCL2ONP73cjs.createCompressionPlugin.call(void 0, ));
|
|
670
670
|
}
|
|
671
671
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
672
|
-
const infraAnalytics = resolvedConfig.analytics !== false ?
|
|
672
|
+
const infraAnalytics = resolvedConfig.analytics !== false ? _chunkMG356ROIcjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
|
|
673
673
|
if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
|
|
674
674
|
if (mode === "development") {
|
|
675
675
|
const hasLogger = pluginManager.getPlugins().some((p) => p.name === "farm:logger");
|
|
@@ -682,7 +682,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
682
682
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
683
683
|
finalConfig.renderer = _chunkRD623KW4cjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
684
684
|
const projectRoot = finalConfig.root || process.cwd();
|
|
685
|
-
finalConfig.images =
|
|
685
|
+
finalConfig.images = _chunkFAP7CX7Ccjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
686
686
|
root: projectRoot,
|
|
687
687
|
dev: true
|
|
688
688
|
});
|
|
@@ -703,20 +703,20 @@ async function createServer2(config = {}, options = {}) {
|
|
|
703
703
|
tailwindVitePlugin = await _chunkR53QDV6Tcjs.loadTailwindVitePlugin.call(void 0, );
|
|
704
704
|
}
|
|
705
705
|
server = await createViteDevServer(
|
|
706
|
-
|
|
706
|
+
_chunkFAP7CX7Ccjs.mergeFarmViteConfig.call(void 0,
|
|
707
707
|
{
|
|
708
708
|
root: projectRoot,
|
|
709
709
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
710
710
|
plugins: [
|
|
711
711
|
_chunk65Y5SIBHcjs.farmDesktopDevGuardPlugin.call(void 0, finalConfig.basePath),
|
|
712
|
-
|
|
712
|
+
_chunkFAP7CX7Ccjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
713
713
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
714
714
|
...rendererVitePlugins,
|
|
715
715
|
...reactRefreshPlugins,
|
|
716
716
|
createDevDependencyStubsPlugin(),
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
717
|
+
_chunk3EBHJET2cjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
718
|
+
_chunk3EBHJET2cjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
719
|
+
_chunk3EBHJET2cjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
720
720
|
_chunkNK2VWS7Pcjs.farmEnvironmentFunctionsPlugin.call(void 0, finalConfig),
|
|
721
721
|
createBrandingPlugin(),
|
|
722
722
|
_chunkXVSBALOYcjs.createFarmDevLoopbackPlugin.call(void 0, ),
|
|
@@ -732,8 +732,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
732
732
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
733
733
|
},
|
|
734
734
|
optimizeDeps: {
|
|
735
|
-
...
|
|
736
|
-
|
|
735
|
+
..._chunkFAP7CX7Ccjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
736
|
+
_chunkFAP7CX7Ccjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunk5Y2P454Ocjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
737
737
|
finalConfig.renderer
|
|
738
738
|
),
|
|
739
739
|
exclude: [
|
|
@@ -969,4 +969,4 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
969
969
|
|
|
970
970
|
|
|
971
971
|
|
|
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 =
|
|
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 = _chunkFAP7CX7Ccjs.FarmApp; exports.FarmDataCache = _chunkDMAP4RNDcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkVXCFJWK5cjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunkDMAP4RNDcjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunkFAP7CX7Ccjs.RouteManager; exports.ServerActionRequestError = _chunk4P5634G6cjs.ServerActionRequestError; exports.ServerRenderer = _chunkFAP7CX7Ccjs.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 = _chunkFAP7CX7Ccjs.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 = _chunk3EBHJET2cjs.defineConfig; exports.defineStorageClient = _chunkJMYXO572cjs.defineStorageClient; exports.disposeStorage = _chunkJMYXO572cjs.disposeStorage; exports.driverStorage = _chunkJMYXO572cjs.driverStorage; exports.farmPlugin = _chunk3EBHJET2cjs.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 = _chunkDUSHDZQLcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkDUSHDZQLcjs.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-NNLFW3P4.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-O4FWNLQK.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-RAH5MT53.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-WNYRYI4D.mjs";
|
|
59
59
|
import {
|
|
60
60
|
loadTailwindVitePlugin
|
|
61
61
|
} from "./chunk-OM7WILES.mjs";
|
|
@@ -78,14 +78,14 @@ 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-SLYDIHLW.mjs";
|
|
87
|
+
import "./chunk-MESQF2JC.mjs";
|
|
88
|
+
import "./chunk-SNFTMSHX.mjs";
|
|
89
89
|
import "./chunk-X3EFRVXY.mjs";
|
|
90
90
|
import "./chunk-A4PWGL46.mjs";
|
|
91
91
|
import "./chunk-MNIR7I7B.mjs";
|
|
@@ -112,10 +112,10 @@ import {
|
|
|
112
112
|
loadFarmRendererVitePlugins,
|
|
113
113
|
resolveFarmRenderer
|
|
114
114
|
} from "./chunk-ES2LD2YD.mjs";
|
|
115
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-VQ4NWOWO.mjs";
|
|
116
116
|
import "./chunk-22W4FNTG.mjs";
|
|
117
|
-
import "./chunk-
|
|
118
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-SQ5O7I3L.mjs";
|
|
118
|
+
import "./chunk-KL7SHLQB.mjs";
|
|
119
119
|
import {
|
|
120
120
|
createFarmConfigResolutionPlugin,
|
|
121
121
|
getFarmAppDirectories,
|
|
@@ -128,11 +128,11 @@ import "./chunk-2NGZFOKG.mjs";
|
|
|
128
128
|
import {
|
|
129
129
|
setEnv
|
|
130
130
|
} from "./chunk-N33DLJBC.mjs";
|
|
131
|
-
import "./chunk-
|
|
132
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-FIR62CR3.mjs";
|
|
132
|
+
import "./chunk-RVGSVQWT.mjs";
|
|
133
133
|
import "./chunk-BRYPZIMB.mjs";
|
|
134
134
|
import "./chunk-UIJOLBUL.mjs";
|
|
135
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-K7OZAVOI.mjs";
|
|
136
136
|
import "./chunk-VFXE6NWR.mjs";
|
|
137
137
|
import "./chunk-TZVUF5JJ.mjs";
|
|
138
138
|
import "./chunk-DQF3QLOH.mjs";
|
|
@@ -272,7 +272,7 @@ import "./chunk-QDWMCFTH.mjs";
|
|
|
272
272
|
import "./chunk-D2LCAV6L.mjs";
|
|
273
273
|
import {
|
|
274
274
|
FARM_VERSION
|
|
275
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-LQDLEWPO.mjs";
|
|
276
276
|
import "./chunk-RFKTJTWZ.mjs";
|
|
277
277
|
import "./chunk-QPNVDSFZ.mjs";
|
|
278
278
|
import "./chunk-GYMGK467.mjs";
|
|
@@ -621,7 +621,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
621
621
|
checkWebDesktopBlock(userConfig?.desktop);
|
|
622
622
|
const rscConfig = userConfig ?? config;
|
|
623
623
|
if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
|
|
624
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
624
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-3LNVP2OO.mjs");
|
|
625
625
|
await options.ensureServerComponentsPackages?.(rscConfig, root);
|
|
626
626
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
627
627
|
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
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins.d-
|
|
1
|
+
import { M as Metadata } from './client-plugins.d-CXElzotB.js';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle.d-C2aLBOwu.js';
|
|
3
3
|
import { a as FarmI18nClientSnapshot } from './types.d-C41ePjvP.js';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island.d-CfGru1MO.js';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan.d-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan.d-CL_Ikfg_.js';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-
|
|
2
|
+
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-D4-6hNx7.mjs';
|
|
3
3
|
import './types.d-C41ePjvP.mjs';
|
|
4
4
|
import { b as APIRouteParams } from './route-pattern.d-CVsVbq5n.mjs';
|
|
5
5
|
import { ServerFn } from './server-fn.mjs';
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-
|
|
2
|
+
import { b0 as MiddlewareProps, y as PluginContextProps, i as RouteModule, aL as FarmContextFactory } from './client-plugins.d-CXElzotB.js';
|
|
3
3
|
import './types.d-C41ePjvP.js';
|
|
4
4
|
import { b as APIRouteParams } from './route-pattern.d-CVsVbq5n.js';
|
|
5
5
|
import { ServerFn } from './server-fn.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-
|
|
1
|
+
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-CXElzotB.js';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-
|
|
1
|
+
import { q as RouteSegment, P as ParsedRoute } from './client-plugins.d-D4-6hNx7.mjs';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
package/dist/version.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkO2XFIPNLcjs = require('./chunk-O2XFIPNL.cjs');
|
|
4
4
|
require('./chunk-BTZ5O6VM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.FARM_VERSION =
|
|
7
|
+
exports.FARM_VERSION = _chunkO2XFIPNLcjs.FARM_VERSION;
|
package/dist/version.mjs
CHANGED
package/dist/vite.cjs
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _chunk3EBHJET2cjs = require('./chunk-3EBHJET2.cjs');
|
|
12
12
|
require('./chunk-65Y5SIBH.cjs');
|
|
13
13
|
require('./chunk-5IQ2ERQA.cjs');
|
|
14
14
|
|
|
@@ -18,7 +18,9 @@ require('./chunk-5IQ2ERQA.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
var _chunkFAP7CX7Ccjs = require('./chunk-FAP7CX7C.cjs');
|
|
22
24
|
require('./chunk-R53QDV6T.cjs');
|
|
23
25
|
require('./chunk-3EEET2Q5.cjs');
|
|
24
26
|
require('./chunk-AXVRUDMB.cjs');
|
|
@@ -33,14 +35,14 @@ require('./chunk-SYW346ZN.cjs');
|
|
|
33
35
|
require('./chunk-QISW423S.cjs');
|
|
34
36
|
require('./chunk-SHD265HW.cjs');
|
|
35
37
|
require('./chunk-GBMWLDCC.cjs');
|
|
36
|
-
require('./chunk-
|
|
38
|
+
require('./chunk-UJ3R2AH2.cjs');
|
|
37
39
|
require('./chunk-3HLQTOVU.cjs');
|
|
38
40
|
require('./chunk-47JV57DA.cjs');
|
|
39
41
|
require('./chunk-EZTKXD6P.cjs');
|
|
40
42
|
require('./chunk-CLFEQGET.cjs');
|
|
41
|
-
require('./chunk-
|
|
42
|
-
require('./chunk-
|
|
43
|
-
require('./chunk-
|
|
43
|
+
require('./chunk-NXFA7G3Y.cjs');
|
|
44
|
+
require('./chunk-Y5TOT5F6.cjs');
|
|
45
|
+
require('./chunk-S7ZW72JH.cjs');
|
|
44
46
|
require('./chunk-CKPTIEDX.cjs');
|
|
45
47
|
require('./chunk-XGJVRPYL.cjs');
|
|
46
48
|
require('./chunk-TVCFY3KK.cjs');
|
|
@@ -59,21 +61,21 @@ require('./chunk-V56632LA.cjs');
|
|
|
59
61
|
require('./chunk-LSHX2H5G.cjs');
|
|
60
62
|
require('./chunk-STF6VDYQ.cjs');
|
|
61
63
|
require('./chunk-RD623KW4.cjs');
|
|
62
|
-
require('./chunk-
|
|
64
|
+
require('./chunk-O6L3YYPM.cjs');
|
|
63
65
|
require('./chunk-6JHZPB52.cjs');
|
|
64
|
-
require('./chunk-
|
|
65
|
-
require('./chunk-
|
|
66
|
+
require('./chunk-BTVDYS4B.cjs');
|
|
67
|
+
require('./chunk-FJWN7RV4.cjs');
|
|
66
68
|
require('./chunk-5Y2P454O.cjs');
|
|
67
69
|
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
var _chunkHEPJIKKQcjs = require('./chunk-HEPJIKKQ.cjs');
|
|
71
73
|
require('./chunk-3EIPOTZV.cjs');
|
|
72
|
-
require('./chunk-
|
|
73
|
-
require('./chunk-
|
|
74
|
+
require('./chunk-XBSKPLHF.cjs');
|
|
75
|
+
require('./chunk-7XGWBPQQ.cjs');
|
|
74
76
|
require('./chunk-UNJZGVPU.cjs');
|
|
75
77
|
require('./chunk-2HW5LWAH.cjs');
|
|
76
|
-
require('./chunk-
|
|
78
|
+
require('./chunk-2C5L5RPM.cjs');
|
|
77
79
|
require('./chunk-DQJ2CIH7.cjs');
|
|
78
80
|
require('./chunk-3CCAICF7.cjs');
|
|
79
81
|
require('./chunk-BT4SEFLC.cjs');
|
|
@@ -126,7 +128,7 @@ require('./chunk-2OF5RPVU.cjs');
|
|
|
126
128
|
|
|
127
129
|
var _chunkCFG4QERRcjs = require('./chunk-CFG4QERR.cjs');
|
|
128
130
|
require('./chunk-JYT7AN37.cjs');
|
|
129
|
-
require('./chunk-
|
|
131
|
+
require('./chunk-O2XFIPNL.cjs');
|
|
130
132
|
require('./chunk-JGAE5XPL.cjs');
|
|
131
133
|
require('./chunk-OOZEU5KK.cjs');
|
|
132
134
|
require('./chunk-HA7YRO53.cjs');
|
|
@@ -177,4 +179,6 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
177
179
|
|
|
178
180
|
|
|
179
181
|
|
|
180
|
-
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
exports.collectDevStylesheetUrls = _chunkFAP7CX7Ccjs.collectDevStylesheetUrls; exports.collectFarmClientPackageImports = _chunkFAP7CX7Ccjs.collectFarmClientPackageImports; exports.createFarmNodeRequestAbortSignal = _chunkCFG4QERRcjs.createFarmNodeRequestAbortSignal; exports.defineConfig = _chunk3EBHJET2cjs.defineConfig; exports.farmFontImportsPlugin = _chunkFAP7CX7Ccjs.farmFontImportsPlugin; exports.farmI18nClientBridgePlugin = _chunk3EBHJET2cjs.farmI18nClientBridgePlugin; exports.farmImageImportsPlugin = _chunk3EBHJET2cjs.farmImageImportsPlugin; exports.farmPlugin = _chunk3EBHJET2cjs.farmPlugin; exports.farmServerOnlyEntriesPlugin = _chunk3EBHJET2cjs.farmServerOnlyEntriesPlugin; exports.generateClientCachePersistenceCode = _chunkFAP7CX7Ccjs.generateClientCachePersistenceCode; exports.getPublicFarmImageConfig = _chunkHEPJIKKQcjs.getPublicFarmImageConfig; exports.readRouteRenderingDirectiveFromFile = _chunkX4K7TYN6cjs.readRouteRenderingDirectiveFromFile; exports.resolveFarmClientCacheAdapterEntry = _chunkFAP7CX7Ccjs.resolveFarmClientCacheAdapterEntry; exports.resolveFarmClientOptimizeDeps = _chunkFAP7CX7Ccjs.resolveFarmClientOptimizeDeps; exports.resolveFarmImageConfig = _chunkHEPJIKKQcjs.resolveFarmImageConfig; exports.resolveFarmImageProviderForRuntime = _chunkFAP7CX7Ccjs.resolveFarmImageProviderForRuntime; exports.resolveFarmImageServerRuntime = _chunkFAP7CX7Ccjs.resolveFarmImageServerRuntime; exports.rewriteEarlySsrRelativeImports = _chunk3EBHJET2cjs.rewriteEarlySsrRelativeImports; exports.shouldEmitFarmClientRootHmr = _chunk3EBHJET2cjs.shouldEmitFarmClientRootHmr; exports.transformIsolatedClientBoundaryModule = _chunk3EBHJET2cjs.transformIsolatedClientBoundaryModule; exports.withFarmRequestTracing = _chunk3EBHJET2cjs.withFarmRequestTracing;
|
package/dist/vite.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Plugin, UserConfig, Connect } from 'vite';
|
|
2
|
-
import { aF as FarmConfig, p as FarmUserConfig, au as PluginManager } from './client-plugins.d-
|
|
2
|
+
import { aF as FarmConfig, p as FarmUserConfig, au as PluginManager } from './client-plugins.d-D4-6hNx7.mjs';
|
|
3
3
|
import { FarmCacheUserConfig } from './cache.mjs';
|
|
4
|
-
import { P as ProgrammaticClientRoutes } from './client-component.d-
|
|
5
|
-
export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile } from './client-component.d-
|
|
4
|
+
import { P as ProgrammaticClientRoutes } from './client-component.d-D74pqdea.mjs';
|
|
5
|
+
export { c as collectFarmClientPackageImports, r as readRouteRenderingDirectiveFromFile, a as resolveFarmClientOptimizeDeps } from './client-component.d-D74pqdea.mjs';
|
|
6
6
|
import { FarmPlatform } from './platform.mjs';
|
|
7
7
|
import { _withAfterNodeMiddleware } from './after.mjs';
|
|
8
8
|
import { A as APIRequestRuntime } from './server-client-bridge.d-DKWDl5NB.mjs';
|
|
@@ -37,7 +37,7 @@ import './types.d-C41ePjvP.mjs';
|
|
|
37
37
|
import './config.d-qt-mE8O5.mjs';
|
|
38
38
|
import './types.d-DQnyD3VD.mjs';
|
|
39
39
|
import './font.mjs';
|
|
40
|
-
import './route-rendering.d-
|
|
40
|
+
import './route-rendering.d-D_2Ual0-.mjs';
|
|
41
41
|
import 'node:http';
|
|
42
42
|
import './deployment.mjs';
|
|
43
43
|
|
|
@@ -66,6 +66,24 @@ declare function resolveFarmClientCacheAdapterEntry(root: string, cache: FarmCac
|
|
|
66
66
|
*/
|
|
67
67
|
declare function generateClientCachePersistenceCode(entry: ResolvedClientCacheAdapterEntry | undefined): ClientCachePersistenceEntryCode;
|
|
68
68
|
|
|
69
|
+
/** The slice of Vite's ModuleNode this module reads, kept minimal for tests. */
|
|
70
|
+
interface DevStyleModule {
|
|
71
|
+
url?: string | null;
|
|
72
|
+
id?: string | null;
|
|
73
|
+
file?: string | null;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Stylesheet URLs from the module graph that the document should link,
|
|
77
|
+
* deduped and sorted for a deterministic head. CSS modules (`.module.css`)
|
|
78
|
+
* are left out: their stylesheet comes with the client module that imports
|
|
79
|
+
* them. In islands mode a server component's CSS module has no client module,
|
|
80
|
+
* so `cssModules` links it as `?direct`, which Vite answers with the compiled
|
|
81
|
+
* stylesheet, hashed classes included.
|
|
82
|
+
*/
|
|
83
|
+
declare function collectDevStylesheetUrls(modules: Iterable<DevStyleModule>, alreadyLinked?: string, options?: {
|
|
84
|
+
cssModules?: boolean;
|
|
85
|
+
}): string[];
|
|
86
|
+
|
|
69
87
|
declare function farmFontImportsPlugin(options?: {
|
|
70
88
|
root?: string;
|
|
71
89
|
basePath?: string;
|
|
@@ -165,4 +183,4 @@ declare function shouldEmitFarmClientRootHmr(renderer?: FarmRenderer): boolean;
|
|
|
165
183
|
declare function farmPlugin(options?: FarmVitePluginOptions, initialPluginManager?: PluginManager): Plugin;
|
|
166
184
|
declare function defineConfig(config?: FarmVitePluginOptions): Promise<UserConfig>;
|
|
167
185
|
|
|
168
|
-
export { type ClientCachePersistenceEntryCode, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
|
|
186
|
+
export { type ClientCachePersistenceEntryCode, collectDevStylesheetUrls, defineConfig, farmFontImportsPlugin, farmI18nClientBridgePlugin, farmImageImportsPlugin, farmPlugin, farmServerOnlyEntriesPlugin, generateClientCachePersistenceCode, resolveFarmClientCacheAdapterEntry, resolveFarmImageProviderForRuntime, resolveFarmImageServerRuntime, rewriteEarlySsrRelativeImports, shouldEmitFarmClientRootHmr, transformIsolatedClientBoundaryModule, withFarmRequestTracing };
|