@farm.js/core 0.2.0-beta.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -3
- package/dist/{agent-mcp.d-BdFnjlAT.d.mts → agent-mcp.d-DhZf5-v0.d.mts} +1 -1
- package/dist/{agent-mcp.d-CAwDC9y4.d.ts → agent-mcp.d-xPua9Zdz.d.ts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/{analyzer-K3S4YRAH.mjs → analyzer-LQ4LVDCW.mjs} +2 -2
- package/dist/analyzer-ZFC2L6NZ.cjs +17 -0
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/route-manager.cjs +3 -3
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +2 -2
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +4 -4
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +3 -3
- package/dist/{app-manifest.d-COs1wBGz.d.mts → app-manifest.d-Bq9VWtpk.d.mts} +1 -1
- package/dist/{app-manifest.d-Dczk-fwt.d.ts → app-manifest.d-D6l1Wkn6.d.ts} +1 -1
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{app.d-LepnxO-5.d.mts → app.d-Bn1bqBkf.d.mts} +4 -4
- package/dist/{app.d-DREl_yXh.d.ts → app.d-gnTrW72o.d.ts} +4 -4
- package/dist/{chunk-X2SMVPLH.mjs → chunk-2FBFJO2Z.mjs} +8 -5
- package/dist/{chunk-VQYGXWCS.cjs → chunk-2LHO4HTP.cjs} +2 -2
- package/dist/{chunk-QBCR2EHA.cjs → chunk-4ER5KYSC.cjs} +3 -3
- package/dist/{chunk-WLOIUPV2.mjs → chunk-54INSSWI.mjs} +25 -22
- package/dist/{chunk-Z3RM3VA2.mjs → chunk-5VXVRMXK.mjs} +11 -1
- package/dist/chunk-CYUTK4JP.cjs +52 -0
- package/dist/{chunk-AGEBFYHF.mjs → chunk-D7KBMJ7L.mjs} +1 -1
- package/dist/{chunk-FYVSAWJP.cjs → chunk-DNERKYN4.cjs} +11 -11
- package/dist/{chunk-2PSN2PUJ.cjs → chunk-EWPH5IOC.cjs} +19 -16
- package/dist/{chunk-5UMPMVNF.mjs → chunk-FFROR7QD.mjs} +1 -1
- package/dist/{chunk-HFOME6I2.mjs → chunk-GAD63TH7.mjs} +5 -5
- package/dist/{chunk-DFLCEMQ3.mjs → chunk-GK2RCRT2.mjs} +1 -1
- package/dist/{chunk-IU4YTFFQ.cjs → chunk-GUYGMTWA.cjs} +12 -9
- package/dist/{chunk-HV6CYSMF.mjs → chunk-HHZURH4U.mjs} +1 -17
- package/dist/{chunk-II4ENBE4.mjs → chunk-HYYOVRED.mjs} +1 -1
- package/dist/{chunk-VMIR4SUL.cjs → chunk-J6JAUJPC.cjs} +373 -370
- package/dist/{chunk-AGT633OM.cjs → chunk-JKNQMGZE.cjs} +11 -11
- package/dist/{chunk-ANKMAGFJ.mjs → chunk-KJW6KEOZ.mjs} +1 -1
- package/dist/{chunk-LOQVWATF.mjs → chunk-KKXGBQ2K.mjs} +2 -2
- package/dist/{chunk-TQCDN4DV.mjs → chunk-KQXYBJES.mjs} +14 -11
- package/dist/{chunk-HP7QYVST.cjs → chunk-LEZJZX4C.cjs} +1 -18
- package/dist/{chunk-E5AC7E25.cjs → chunk-LGL5QKUJ.cjs} +2 -2
- package/dist/{chunk-LWQ6IESX.mjs → chunk-MEIZIRMK.mjs} +1 -1
- package/dist/{chunk-T4NOMZTS.mjs → chunk-MLMDOIBY.mjs} +3 -3
- package/dist/{chunk-XJEOHDPN.cjs → chunk-MNBFSAWF.cjs} +1 -1
- package/dist/{chunk-NNHIV3O2.cjs → chunk-MUQP2APN.cjs} +2 -2
- package/dist/{chunk-VVIO7QGN.mjs → chunk-MX4G24YS.mjs} +29 -26
- package/dist/{chunk-C4DZAEVT.cjs → chunk-MZG5M4JS.cjs} +4 -4
- package/dist/{chunk-MBDDLYT5.cjs → chunk-O47IT4CS.cjs} +4 -4
- package/dist/{chunk-F5T55PYX.cjs → chunk-OAAVIFOJ.cjs} +26 -21
- package/dist/{chunk-GTHBWZUK.mjs → chunk-OZAVCLXY.mjs} +1 -1
- package/dist/{chunk-2UV765GT.cjs → chunk-PATIHHC7.cjs} +2 -2
- package/dist/{chunk-KBURN62Z.cjs → chunk-PFVNPOKN.cjs} +11 -1
- package/dist/chunk-PTG5BEMG.mjs +47 -0
- package/dist/{chunk-EBVKVDQA.mjs → chunk-PZ5ZJAAO.mjs} +1 -1
- package/dist/{chunk-D5OY5OKA.mjs → chunk-RDT2LJES.mjs} +23 -17
- package/dist/{chunk-APKULXZV.cjs → chunk-RMLXUVR5.cjs} +2 -2
- package/dist/{chunk-VGX75645.mjs → chunk-RP55BUJM.mjs} +8 -5
- package/dist/{chunk-P67RLOMO.mjs → chunk-SIHHYNX4.mjs} +1 -1
- package/dist/{chunk-KM7ZRKCH.cjs → chunk-T4VF6BYV.cjs} +10 -10
- package/dist/{chunk-IASZIYNM.cjs → chunk-VFZQXADS.cjs} +299 -296
- package/dist/{chunk-UBH2OARS.cjs → chunk-VWPGK6UV.cjs} +280 -274
- package/dist/{chunk-V5F6HN7E.mjs → chunk-WOPQQCP3.mjs} +1 -1
- package/dist/{chunk-DVXT7RLV.cjs → chunk-WXPY5FRF.cjs} +6 -6
- package/dist/{chunk-XPVS4HKU.cjs → chunk-Z7YIQ7AJ.cjs} +1 -1
- package/dist/{chunk-PSALMEHJ.cjs → chunk-ZCT6B5PQ.cjs} +23 -20
- package/dist/{chunk-2ORWY3SE.mjs → chunk-ZF7N222A.mjs} +2 -2
- package/dist/{chunk-MRDI6MTL.mjs → chunk-ZRTBDHO2.mjs} +15 -10
- package/dist/{chunk-5BZ7PR3T.cjs → chunk-ZTNU4XCC.cjs} +3 -3
- package/dist/{chunk-VS4ABIJJ.mjs → chunk-ZVEKOMZS.mjs} +1 -1
- package/dist/{cli-runtime.d-BGaFPum1.d.mts → cli-runtime.d-LwIb0swO.d.mts} +5 -5
- package/dist/{cli-runtime.d-Bvfxt4uo.d.ts → cli-runtime.d-Vvxf-Z8a.d.ts} +5 -5
- package/dist/{client-component.d-BA6kXI5L.d.mts → client-component.d-34DDMZcl.d.mts} +1 -1
- package/dist/{client-component.d-LSEmRhuI.d.ts → client-component.d-DT5OKBZu.d.ts} +1 -1
- package/dist/{client-plugins.d-CVUMc2ai.d.mts → client-plugins.d-D7k9t9Ge.d.mts} +17 -12
- package/dist/{client-plugins.d-CQ6AGHP0.d.ts → client-plugins.d-D9CnUvZ5.d.ts} +17 -12
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- 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-OBQY3XOY.cjs → devtools-IUU4SWQL.cjs} +12 -9
- package/dist/{devtools-RYTO2V7G.mjs → devtools-R77KAJA4.mjs} +8 -5
- package/dist/docs.cjs +7 -6
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +6 -5
- package/dist/environment/vite.cjs +6 -5
- package/dist/environment/vite.d.mts +1 -0
- package/dist/environment/vite.d.ts +1 -0
- package/dist/environment/vite.mjs +5 -4
- package/dist/{handler.d-nkrNn_0M.d.ts → handler.d-DbZvbwNi.d.ts} +1 -1
- package/dist/{handler.d-DLKZDAYR.d.mts → handler.d-fxTjv3Nn.d.mts} +1 -1
- package/dist/{headers.d-C3k520Fc.d.mts → headers.d-OBHpGTF_.d.mts} +1 -1
- package/dist/{headers.d-DVBrYnqP.d.ts → headers.d-oeWybIk8.d.ts} +1 -1
- package/dist/index.cjs +28 -27
- package/dist/{index.d-e5WhoB07.d.ts → index.d-BM-dKdzH.d.ts} +1 -1
- package/dist/{index.d-5PDB032w.d.mts → index.d-CRrPQwlO.d.mts} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.mjs +23 -22
- package/dist/integrations/orm.d.mts +1 -1
- package/dist/integrations/orm.d.ts +1 -1
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/build-runtime.cjs +23 -22
- package/dist/internal/build-runtime.d.mts +5 -5
- package/dist/internal/build-runtime.d.ts +5 -5
- package/dist/internal/build-runtime.mjs +22 -21
- package/dist/internal/cli-runtime.cjs +11 -10
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +10 -9
- 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 +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- 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 -6
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +6 -5
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +4 -4
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +3 -3
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/start-manifest.d.mts +1 -1
- package/dist/internal/start-manifest.d.ts +1 -1
- package/dist/layers-6R55QDT5.cjs +26 -0
- package/dist/{layers-IMRXNZRB.mjs → layers-O6GUR6LT.mjs} +6 -1
- package/dist/{manager-GZUTAN5Q.mjs → manager-EFPBRS3U.mjs} +3 -3
- package/dist/{manager-3DFQDKJ6.cjs → manager-STAB5TVZ.cjs} +4 -4
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/{mount.d-COIrFH0i.d.mts → mount.d-B7RiwjiO.d.mts} +1 -1
- package/dist/{mount.d-Cbz8vsSZ.d.ts → mount.d-TnD-Mebk.d.ts} +1 -1
- package/dist/{navigation-delegate.d-yulG9Dp5.d.mts → navigation-delegate.d-Boz2511c.d.mts} +1 -1
- package/dist/{navigation-delegate.d-dlnYTX-Y.d.ts → navigation-delegate.d-VBCF0EeN.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 +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +17 -16
- package/dist/{render-plan.d-Cz7bQmcf.d.ts → render-plan.d-BrumV_ZE.d.ts} +1 -1
- package/dist/{render-plan.d-BW56oxMP.d.mts → render-plan.d-BwnmyfNk.d.mts} +1 -1
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/renderer.cjs +4 -3
- package/dist/renderer.d.mts +1 -1
- package/dist/renderer.d.ts +1 -1
- package/dist/renderer.mjs +3 -2
- package/dist/{request.d-BwgX-7Wi.d.mts → request.d-Dd5nRTO5.d.mts} +1 -1
- package/dist/{request.d-BaFROByP.d.ts → request.d-NUi01-5e.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-BzeFPYGc.d.mts → route-rendering.d-BK0Pf7_k.d.mts} +1 -1
- package/dist/{route-rendering.d-D4kUuncg.d.ts → route-rendering.d-CJR5BPXV.d.ts} +1 -1
- package/dist/{router.d-B9qJdgjt.d.ts → router.d-C-JSFCPU.d.ts} +1 -1
- package/dist/{router.d-D-p8WElf.d.mts → router.d-CNUS3x1j.d.mts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{rsc-pipeline-Y6D6KBES.mjs → rsc-pipeline-DHISDFT7.mjs} +7 -6
- package/dist/{rsc-pipeline-YHVEHWTU.cjs → rsc-pipeline-UBWVU3NF.cjs} +8 -7
- package/dist/{runtime-62ZIEV6U.mjs → runtime-VUKMY44G.mjs} +11 -8
- package/dist/{runtime-LKEMFXHW.cjs → runtime-XKRQW3YT.cjs} +15 -12
- package/dist/{runtime.d-Du64AX3R.d.ts → runtime.d-B2T4bM5_.d.ts} +1 -1
- package/dist/{runtime.d-BUtDIrRJ.d.mts → runtime.d-CsOpO6yQ.d.mts} +1 -1
- package/dist/{server-components-status.d-CvFhb6-t.d.ts → server-components-status.d-Cc5rir0l.d.mts} +2 -2
- package/dist/{server-components-status.d-B0YP-m9A.d.mts → server-components-status.d-DOYt4E_Q.d.ts} +2 -2
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +56 -53
- package/dist/server.d.mts +12 -12
- package/dist/server.d.ts +12 -12
- package/dist/server.mjs +23 -20
- package/dist/{spa-router.d-D4ye2WFk.d.ts → spa-router.d-C7FcpLxU.d.ts} +2 -2
- package/dist/{spa-router.d-CkR14oGH.d.mts → spa-router.d-Cq5UFJvq.d.mts} +2 -2
- package/dist/{ssg.d-DFs97VTY.d.mts → ssg.d-BzNZemk7.d.mts} +2 -2
- package/dist/{ssg.d-BCJB_f7B.d.ts → ssg.d-DUhacIxj.d.ts} +2 -2
- package/dist/{store-core.d-0W2YScl8.d.ts → store-core.d-BX3yXrxA.d.ts} +2 -2
- package/dist/{store-core.d-Vk5UDKeC.d.mts → store-core.d-DbUAtSBK.d.mts} +2 -2
- package/dist/testing.cjs +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +2 -2
- package/dist/{utils.d-Ba3N28fk.d.ts → utils.d-BhJJEXzo.d.ts} +1 -1
- package/dist/{utils.d-Cloiko8d.d.mts → utils.d-NOMkLFpC.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +18 -17
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +17 -16
- package/package.json +1 -1
- package/dist/analyzer-3AMJK27J.cjs +0 -17
- package/dist/layers-GP57TBE2.cjs +0 -21
|
@@ -23,7 +23,7 @@ require('./chunk-CTTXHHZG.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkOAAVIFOJcjs = require('./chunk-OAAVIFOJ.cjs');
|
|
27
27
|
require('./chunk-5XYJ5KRN.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
@@ -35,13 +35,13 @@ require('./chunk-5XYJ5KRN.cjs');
|
|
|
35
35
|
var _chunkP2LSRUQBcjs = require('./chunk-P2LSRUQB.cjs');
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _chunkWXPY5FRFcjs = require('./chunk-WXPY5FRF.cjs');
|
|
39
39
|
require('./chunk-B6JPBPBQ.cjs');
|
|
40
40
|
require('./chunk-VZ2P6GRC.cjs');
|
|
41
41
|
require('./chunk-QZRFEHMS.cjs');
|
|
42
42
|
require('./chunk-EBE6BK54.cjs');
|
|
43
43
|
require('./chunk-RQSPBWXJ.cjs');
|
|
44
|
-
require('./chunk-
|
|
44
|
+
require('./chunk-GUYGMTWA.cjs');
|
|
45
45
|
require('./chunk-ERSLQ4C7.cjs');
|
|
46
46
|
require('./chunk-6QCZWAGO.cjs');
|
|
47
47
|
require('./chunk-25CHWAZY.cjs');
|
|
@@ -49,11 +49,14 @@ require('./chunk-IEZFFXSC.cjs');
|
|
|
49
49
|
require('./chunk-BNWADCG2.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _chunkPFVNPOKNcjs = require('./chunk-PFVNPOKN.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
|
+
var _chunkLEZJZX4Ccjs = require('./chunk-LEZJZX4C.cjs');
|
|
55
56
|
|
|
56
|
-
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
var _chunkCYUTK4JPcjs = require('./chunk-CYUTK4JP.cjs');
|
|
57
60
|
require('./chunk-32HGOX3M.cjs');
|
|
58
61
|
require('./chunk-XH4GQ7MT.cjs');
|
|
59
62
|
require('./chunk-NMMCBJZM.cjs');
|
|
@@ -1120,7 +1123,7 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1120
1123
|
const root = path2.resolve(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'access', _76 => _76.config, 'optionalAccess', _77 => _77.root]), () => ( options.root)), () => ( process.cwd())));
|
|
1121
1124
|
const command = _nullishCoalesce(options.command, () => ( "build"));
|
|
1122
1125
|
const mode = command === "dev" ? "development" : "production";
|
|
1123
|
-
const userConfig = options.userConfig === void 0 ? await
|
|
1126
|
+
const userConfig = options.userConfig === void 0 ? await _chunkOAAVIFOJcjs.loadConfig.call(void 0, root, void 0, mode) : options.userConfig;
|
|
1124
1127
|
if (_optionalChain([userConfig, 'optionalAccess', _78 => _78.mobile]) === void 0) {
|
|
1125
1128
|
throw new FarmMobileError(
|
|
1126
1129
|
'farm.config.ts has no `mobile` entry. Add one, such as `mobile: { id: "com.example.notes", server: "https://notes.example.com" }`.'
|
|
@@ -1134,12 +1137,12 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1134
1137
|
mode
|
|
1135
1138
|
});
|
|
1136
1139
|
const block = await resolveFarmMobileBlock(userConfig.mobile, context, options.cache);
|
|
1137
|
-
const config = await _asyncNullishCoalesce(options.config, async () => ( await
|
|
1138
|
-
const scan = await
|
|
1140
|
+
const config = await _asyncNullishCoalesce(options.config, async () => ( await _chunkOAAVIFOJcjs.resolveConfig.call(void 0, { ...userConfig, root }, mode)));
|
|
1141
|
+
const scan = await _chunkWXPY5FRFcjs.scanRoutePatterns.call(void 0, {
|
|
1139
1142
|
root,
|
|
1140
1143
|
srcDir: config.srcDir,
|
|
1141
|
-
sourceRoots:
|
|
1142
|
-
componentExtensions:
|
|
1144
|
+
sourceRoots: _chunkPFVNPOKNcjs.getFarmSourceRoots.call(void 0, config),
|
|
1145
|
+
componentExtensions: _chunkLEZJZX4Ccjs.getFarmRendererComponentExtensions.call(void 0, config.renderer),
|
|
1143
1146
|
renderer: config.renderer,
|
|
1144
1147
|
platformFiles: true
|
|
1145
1148
|
});
|
|
@@ -1203,14 +1206,14 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1203
1206
|
return decision.source === "default" || decision.requested !== void 0;
|
|
1204
1207
|
});
|
|
1205
1208
|
const portable = mobile.native.engine !== "platform" && (mobile.native.auto === "on" || candidates.some((route) => screens[route].requested === "native"));
|
|
1206
|
-
const { analyzeFarmMobileRoutes } = await import("./analyzer-
|
|
1209
|
+
const { analyzeFarmMobileRoutes } = await import("./analyzer-ZFC2L6NZ.cjs");
|
|
1207
1210
|
const analyzed = await analyzeFarmMobileRoutes({
|
|
1208
1211
|
root,
|
|
1209
1212
|
srcDir: config.srcDir,
|
|
1210
1213
|
routes: portable ? routes : candidates,
|
|
1211
1214
|
pageFiles: scan.pageFiles,
|
|
1212
1215
|
nativeOnlyRoutes: scan.nativeOnlyPages,
|
|
1213
|
-
serverComponents:
|
|
1216
|
+
serverComponents: _chunkCYUTK4JPcjs.resolveFarmServerComponentsMode.call(void 0, _chunkCYUTK4JPcjs.readFarmServerComponentsConfig.call(void 0, config)) !== void 0,
|
|
1214
1217
|
cacheFile: path2.resolve(root, getFarmMobileOutputDirs(config.distDir).analyzerCache)
|
|
1215
1218
|
});
|
|
1216
1219
|
analyzerStats = analyzed.stats;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as EndpointFailure } from './endpoint.d-Dx_1k6Du.js';
|
|
2
2
|
import { k as PluginRoutesFactory } from './route.d-Cd4Fi6BA.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-D9CnUvZ5.js';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as EndpointFailure } from './endpoint.d-BXbBpKoh.mjs';
|
|
2
2
|
import { k as PluginRoutesFactory } from './route.d-ShmtqqVQ.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-D7k9t9Ge.mjs';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
package/dist/{server-components-status.d-CvFhb6-t.d.ts → server-components-status.d-Cc5rir0l.d.mts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { w as FarmServerComponentsMode } from './client-plugins.d-
|
|
1
|
+
import { w as FarmServerComponentsMode } from './client-plugins.d-D7k9t9Ge.mjs';
|
|
2
2
|
|
|
3
3
|
type FarmConfigInput = Record<string, any>;
|
|
4
4
|
declare const FARM_RSC_INSTALL_HINT: string;
|
|
5
5
|
interface FarmServerComponentsStatus {
|
|
6
6
|
/** The engine the config asks for, or `undefined` when server components are off. */
|
|
7
7
|
mode: FarmServerComponentsMode | undefined;
|
|
8
|
-
/** `
|
|
8
|
+
/** `serverComponents` asks for the RSC pipeline. */
|
|
9
9
|
enabled: boolean;
|
|
10
10
|
/** Picked with `{ mode }` rather than `true`; never falls back. */
|
|
11
11
|
explicit: boolean;
|
package/dist/{server-components-status.d-B0YP-m9A.d.mts → server-components-status.d-DOYt4E_Q.d.ts}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { w as FarmServerComponentsMode } from './client-plugins.d-
|
|
1
|
+
import { w as FarmServerComponentsMode } from './client-plugins.d-D9CnUvZ5.js';
|
|
2
2
|
|
|
3
3
|
type FarmConfigInput = Record<string, any>;
|
|
4
4
|
declare const FARM_RSC_INSTALL_HINT: string;
|
|
5
5
|
interface FarmServerComponentsStatus {
|
|
6
6
|
/** The engine the config asks for, or `undefined` when server components are off. */
|
|
7
7
|
mode: FarmServerComponentsMode | undefined;
|
|
8
|
-
/** `
|
|
8
|
+
/** `serverComponents` asks for the RSC pipeline. */
|
|
9
9
|
enabled: boolean;
|
|
10
10
|
/** Picked with `{ mode }` rather than `true`; never falls back. */
|
|
11
11
|
explicit: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-
|
|
2
|
-
export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-
|
|
1
|
+
import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-D7k9t9Ge.mjs';
|
|
2
|
+
export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-D7k9t9Ge.mjs';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.mjs';
|
|
4
|
-
export { c as createHeadersPlugin } from './headers.d-
|
|
4
|
+
export { c as createHeadersPlugin } from './headers.d-OBHpGTF_.mjs';
|
|
5
5
|
export { createCompressionPlugin } from './internal/compression-runtime.mjs';
|
|
6
6
|
import './lifecycle.d-OtGWAvJT.mjs';
|
|
7
7
|
import './route.d-ShmtqqVQ.mjs';
|
package/dist/server-plugins.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-
|
|
2
|
-
export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-
|
|
1
|
+
import { ee as RedirectConfig, E as FarmRequest, G as FarmResponse, I as FarmPluginContext, F as FarmPlugin, ej as RewriteConfig } from './client-plugins.d-D9CnUvZ5.js';
|
|
2
|
+
export { a3 as FarmPluginLifecycle, ac as FarmPluginRuntimeEndpoint, ad as FarmPluginRuntimeEndpointEvent, ao as FarmRequestPluginContext, ap as FarmRequestStore, H as HeaderConfig } from './client-plugins.d-D9CnUvZ5.js';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types.d-euATAbE4.js';
|
|
4
|
-
export { c as createHeadersPlugin } from './headers.d-
|
|
4
|
+
export { c as createHeadersPlugin } from './headers.d-oeWybIk8.js';
|
|
5
5
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
6
6
|
import './lifecycle.d-OtGWAvJT.js';
|
|
7
7
|
import './route.d-Cd4Fi6BA.js';
|
package/dist/server.cjs
CHANGED
|
@@ -22,7 +22,7 @@ var _chunkTDAH76RRcjs = require('./chunk-TDAH76RR.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkOAAVIFOJcjs = require('./chunk-OAAVIFOJ.cjs');
|
|
26
26
|
require('./chunk-5XYJ5KRN.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
@@ -39,7 +39,7 @@ require('./chunk-VUCDMV3Q.cjs');
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _chunkJ6JAUJPCcjs = require('./chunk-J6JAUJPC.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
@@ -59,7 +59,7 @@ require('./chunk-GQONHUMI.cjs');
|
|
|
59
59
|
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
var
|
|
62
|
+
var _chunkVWPGK6UVcjs = require('./chunk-VWPGK6UV.cjs');
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
var _chunkADCVSTFVcjs = require('./chunk-ADCVSTFV.cjs');
|
|
@@ -72,24 +72,24 @@ var _chunkIGA3OTFYcjs = require('./chunk-IGA3OTFY.cjs');
|
|
|
72
72
|
|
|
73
73
|
var _chunkYQXLBYY2cjs = require('./chunk-YQXLBYY2.cjs');
|
|
74
74
|
require('./chunk-P2LSRUQB.cjs');
|
|
75
|
-
require('./chunk-
|
|
76
|
-
require('./chunk-
|
|
77
|
-
require('./chunk-
|
|
75
|
+
require('./chunk-T4VF6BYV.cjs');
|
|
76
|
+
require('./chunk-WXPY5FRF.cjs');
|
|
77
|
+
require('./chunk-EWPH5IOC.cjs');
|
|
78
78
|
require('./chunk-P5RNGH52.cjs');
|
|
79
79
|
require('./chunk-KEBD377T.cjs');
|
|
80
|
-
require('./chunk-
|
|
80
|
+
require('./chunk-RMLXUVR5.cjs');
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
var
|
|
84
|
+
var _chunkO47IT4CScjs = require('./chunk-O47IT4CS.cjs');
|
|
85
85
|
require('./chunk-GYH2B4YQ.cjs');
|
|
86
86
|
require('./chunk-IGBQSUT5.cjs');
|
|
87
87
|
require('./chunk-XVD5Y6S4.cjs');
|
|
88
88
|
require('./chunk-UOFTT6S4.cjs');
|
|
89
89
|
require('./chunk-66WIOZXX.cjs');
|
|
90
|
-
require('./chunk-
|
|
90
|
+
require('./chunk-MZG5M4JS.cjs');
|
|
91
91
|
require('./chunk-R6GOH5CH.cjs');
|
|
92
|
-
require('./chunk-
|
|
92
|
+
require('./chunk-MUQP2APN.cjs');
|
|
93
93
|
require('./chunk-4USE4SEU.cjs');
|
|
94
94
|
require('./chunk-7BFFBYLN.cjs');
|
|
95
95
|
require('./chunk-YLEL4ZRQ.cjs');
|
|
@@ -102,7 +102,7 @@ require('./chunk-B6JPBPBQ.cjs');
|
|
|
102
102
|
require('./chunk-SIQPXYBB.cjs');
|
|
103
103
|
|
|
104
104
|
|
|
105
|
-
var
|
|
105
|
+
var _chunkZCT6B5PQcjs = require('./chunk-ZCT6B5PQ.cjs');
|
|
106
106
|
require('./chunk-J3RIMCBD.cjs');
|
|
107
107
|
|
|
108
108
|
|
|
@@ -114,7 +114,7 @@ require('./chunk-VZ2P6GRC.cjs');
|
|
|
114
114
|
require('./chunk-QZRFEHMS.cjs');
|
|
115
115
|
require('./chunk-EBE6BK54.cjs');
|
|
116
116
|
require('./chunk-RQSPBWXJ.cjs');
|
|
117
|
-
require('./chunk-
|
|
117
|
+
require('./chunk-GUYGMTWA.cjs');
|
|
118
118
|
require('./chunk-ERSLQ4C7.cjs');
|
|
119
119
|
require('./chunk-6QCZWAGO.cjs');
|
|
120
120
|
require('./chunk-25CHWAZY.cjs');
|
|
@@ -128,13 +128,16 @@ require('./chunk-BNWADCG2.cjs');
|
|
|
128
128
|
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
var
|
|
131
|
+
var _chunkPFVNPOKNcjs = require('./chunk-PFVNPOKN.cjs');
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
|
|
135
135
|
|
|
136
|
+
var _chunkLEZJZX4Ccjs = require('./chunk-LEZJZX4C.cjs');
|
|
136
137
|
|
|
137
|
-
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
var _chunkCYUTK4JPcjs = require('./chunk-CYUTK4JP.cjs');
|
|
138
141
|
require('./chunk-32HGOX3M.cjs');
|
|
139
142
|
require('./chunk-XH4GQ7MT.cjs');
|
|
140
143
|
|
|
@@ -221,13 +224,13 @@ require('./chunk-IVEV44O2.cjs');
|
|
|
221
224
|
|
|
222
225
|
|
|
223
226
|
var _chunkKSRWTQ6Jcjs = require('./chunk-KSRWTQ6J.cjs');
|
|
224
|
-
require('./chunk-
|
|
227
|
+
require('./chunk-ZTNU4XCC.cjs');
|
|
225
228
|
require('./chunk-6K7LEL2T.cjs');
|
|
226
229
|
require('./chunk-PRKFECGT.cjs');
|
|
227
230
|
|
|
228
231
|
|
|
229
232
|
|
|
230
|
-
var
|
|
233
|
+
var _chunkMNBFSAWFcjs = require('./chunk-MNBFSAWF.cjs');
|
|
231
234
|
require('./chunk-YCIFGYBY.cjs');
|
|
232
235
|
require('./chunk-YHALJBYT.cjs');
|
|
233
236
|
|
|
@@ -297,7 +300,7 @@ require('./chunk-K6LZMZNB.cjs');
|
|
|
297
300
|
require('./chunk-RFKPIAOF.cjs');
|
|
298
301
|
|
|
299
302
|
|
|
300
|
-
var
|
|
303
|
+
var _chunkZ7YIQ7AJcjs = require('./chunk-Z7YIQ7AJ.cjs');
|
|
301
304
|
require('./chunk-YC3LKWJO.cjs');
|
|
302
305
|
require('./chunk-LF7HAALM.cjs');
|
|
303
306
|
require('./chunk-ZSSBEPN4.cjs');
|
|
@@ -553,7 +556,7 @@ function createBrandingPlugin() {
|
|
|
553
556
|
const pc = _chunkCH2JX3CMcjs.createCliColors.call(void 0, );
|
|
554
557
|
console.log("");
|
|
555
558
|
console.log(
|
|
556
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
559
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkZ7YIQ7AJcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
557
560
|
);
|
|
558
561
|
console.log("");
|
|
559
562
|
console.log(
|
|
@@ -628,7 +631,7 @@ function inlineEnvScope(scope) {
|
|
|
628
631
|
);
|
|
629
632
|
}
|
|
630
633
|
async function resolveInlineConfig(config, mode) {
|
|
631
|
-
if (
|
|
634
|
+
if (_chunkOAAVIFOJcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
632
635
|
_chunkTP7JAC3Tcjs.setEnv.call(void 0, config.env);
|
|
633
636
|
return { ...config };
|
|
634
637
|
}
|
|
@@ -638,7 +641,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
638
641
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
639
642
|
const auth = config.auth;
|
|
640
643
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
641
|
-
const resolved = await
|
|
644
|
+
const resolved = await _chunkOAAVIFOJcjs.resolveConfig.call(void 0,
|
|
642
645
|
{
|
|
643
646
|
...config,
|
|
644
647
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -675,12 +678,12 @@ async function createServer2(config = {}, options = {}) {
|
|
|
675
678
|
try {
|
|
676
679
|
const root = config.root || process.cwd();
|
|
677
680
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
678
|
-
const userConfig = await
|
|
681
|
+
const userConfig = await _chunkOAAVIFOJcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
679
682
|
checkWebDesktopBlock(_optionalChain([userConfig, 'optionalAccess', _21 => _21.desktop]));
|
|
680
683
|
const rscConfig = _nullishCoalesce(userConfig, () => ( config));
|
|
681
|
-
if (
|
|
682
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
683
|
-
await _optionalChain([options, 'access',
|
|
684
|
+
if (_chunkCYUTK4JPcjs.resolveFarmServerComponentsMode.call(void 0, _chunkCYUTK4JPcjs.readFarmServerComponentsConfig.call(void 0, rscConfig))) {
|
|
685
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-UBWVU3NF.cjs");
|
|
686
|
+
await _optionalChain([options, 'access', _22 => _22.ensureServerComponentsPackages, 'optionalCall', _23 => _23(rscConfig, root)]);
|
|
684
687
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
685
688
|
return await createFarmRscDevServer(rscConfig, {
|
|
686
689
|
root,
|
|
@@ -689,7 +692,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
689
692
|
});
|
|
690
693
|
}
|
|
691
694
|
}
|
|
692
|
-
const resolvedConfig = userConfig ? await
|
|
695
|
+
const resolvedConfig = userConfig ? await _chunkOAAVIFOJcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
693
696
|
const instrumentationRoot = resolvedConfig.root;
|
|
694
697
|
const instrumentationFile = _chunkI5PDHLKEcjs.resolveFarmInstrumentationFile.call(void 0,
|
|
695
698
|
instrumentationRoot,
|
|
@@ -727,30 +730,30 @@ async function createServer2(config = {}, options = {}) {
|
|
|
727
730
|
pluginManager.addPlugin(_chunkQHHEL4ZOcjs.createCompressionPlugin.call(void 0, ));
|
|
728
731
|
}
|
|
729
732
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
730
|
-
const infraAnalytics = resolvedConfig.analytics !== false ?
|
|
733
|
+
const infraAnalytics = resolvedConfig.analytics !== false ? _chunkO47IT4CScjs.createFarmInfraAnalyticsPlugin.call(void 0,
|
|
731
734
|
void 0,
|
|
732
735
|
void 0,
|
|
733
|
-
|
|
736
|
+
_chunkO47IT4CScjs._farmWebMCPReportsEnabled.call(void 0, resolvedConfig.plugins) ? { webmcp: {} } : void 0
|
|
734
737
|
) : null;
|
|
735
738
|
if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
|
|
736
739
|
await pluginManager.runHookParallel("init");
|
|
737
740
|
let finalConfig = resolvedConfig;
|
|
738
741
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
739
|
-
finalConfig.renderer =
|
|
742
|
+
finalConfig.renderer = _chunkLEZJZX4Ccjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
740
743
|
const projectRoot = finalConfig.root || process.cwd();
|
|
741
|
-
finalConfig.images =
|
|
744
|
+
finalConfig.images = _chunkVWPGK6UVcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
742
745
|
root: projectRoot,
|
|
743
746
|
dev: true
|
|
744
747
|
});
|
|
745
748
|
if (finalConfig.docs && (finalConfig.docs === true || finalConfig.docs.enabled !== false)) {
|
|
746
749
|
await _chunkTDAH76RRcjs.loadFarmDocsEngine.call(void 0, );
|
|
747
750
|
}
|
|
748
|
-
const rendererVitePlugins = await
|
|
751
|
+
const rendererVitePlugins = await _chunkLEZJZX4Ccjs.loadFarmRendererVitePlugins.call(void 0,
|
|
749
752
|
finalConfig.renderer,
|
|
750
753
|
projectRoot,
|
|
751
754
|
{ ssr: true }
|
|
752
755
|
);
|
|
753
|
-
const reactRefreshPlugins =
|
|
756
|
+
const reactRefreshPlugins = _chunkLEZJZX4Ccjs.isReactRenderer.call(void 0, finalConfig.renderer) ? await _chunkQCVP22KWcjs.createFarmReactRefreshPlugins.call(void 0, ) : [];
|
|
754
757
|
const deferredSetup = options.deferSetup ? {} : void 0;
|
|
755
758
|
let tailwindVitePlugin = void 0;
|
|
756
759
|
const shouldUseProjectPostcss = hasProjectPostcssConfig(projectRoot);
|
|
@@ -760,17 +763,17 @@ async function createServer2(config = {}, options = {}) {
|
|
|
760
763
|
tailwindVitePlugin = await _chunkADCVSTFVcjs.loadTailwindVitePlugin.call(void 0, );
|
|
761
764
|
}
|
|
762
765
|
server = await createViteDevServer(
|
|
763
|
-
|
|
766
|
+
_chunkVWPGK6UVcjs.mergeFarmViteConfig.call(void 0,
|
|
764
767
|
{
|
|
765
768
|
root: projectRoot,
|
|
766
769
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
767
770
|
plugins: [
|
|
768
771
|
{
|
|
769
772
|
name: "farm:experimental-polyroute-hmr",
|
|
770
|
-
applyToEnvironment: (env) => env.name === "ssr" &&
|
|
773
|
+
applyToEnvironment: (env) => env.name === "ssr" && _chunkMNBFSAWFcjs.hasPolyroutePlugin.call(void 0, env.getTopLevelConfig().plugins),
|
|
771
774
|
hotUpdate({ type, file }) {
|
|
772
|
-
if (type !== "delete" || !
|
|
773
|
-
const mounted =
|
|
775
|
+
if (type !== "delete" || !_chunkMNBFSAWFcjs.isPolyrouteRouteFileName.call(void 0, _path2.default.basename(file))) return;
|
|
776
|
+
const mounted = _chunkPFVNPOKNcjs.getFarmAppDirectories.call(void 0, finalConfig).some((dir) => {
|
|
774
777
|
const relative = _path2.default.relative(_path2.default.join(dir, "api"), file);
|
|
775
778
|
return !relative.startsWith(".." + _path2.default.sep) && !_path2.default.isAbsolute(relative);
|
|
776
779
|
});
|
|
@@ -778,21 +781,21 @@ async function createServer2(config = {}, options = {}) {
|
|
|
778
781
|
}
|
|
779
782
|
},
|
|
780
783
|
_chunkQCVP22KWcjs.farmDesktopDevGuardPlugin.call(void 0, finalConfig.basePath),
|
|
781
|
-
|
|
784
|
+
_chunkVWPGK6UVcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
782
785
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
783
786
|
...rendererVitePlugins,
|
|
784
787
|
...reactRefreshPlugins,
|
|
785
788
|
createDevDependencyStubsPlugin(),
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
+
_chunkVWPGK6UVcjs.farmDevServerStylesheetsPlugin.call(void 0, ),
|
|
790
|
+
_chunkJ6JAUJPCcjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
791
|
+
_chunkJ6JAUJPCcjs.farmServerOnlyEntriesPlugin.call(void 0, {
|
|
789
792
|
prebundleServerPackages: true,
|
|
790
793
|
distDir: resolvedConfig.distDir || ".farm"
|
|
791
794
|
}),
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
795
|
+
_chunkJ6JAUJPCcjs.farmNavigationPlugin.call(void 0, finalConfig.renderer),
|
|
796
|
+
_chunkJ6JAUJPCcjs.farmIslandContainersPlugin.call(void 0, finalConfig),
|
|
797
|
+
_chunkJ6JAUJPCcjs.farmPlugin.call(void 0, finalConfig, pluginManager, deferredSetup),
|
|
798
|
+
_chunkZCT6B5PQcjs.farmEnvironmentFunctionsPlugin.call(void 0, finalConfig),
|
|
796
799
|
createBrandingPlugin(),
|
|
797
800
|
_chunkYV47TSSBcjs.createFarmDevLoopbackPlugin.call(void 0, ),
|
|
798
801
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
@@ -807,8 +810,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
807
810
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
808
811
|
},
|
|
809
812
|
optimizeDeps: {
|
|
810
|
-
...
|
|
811
|
-
|
|
813
|
+
..._chunkVWPGK6UVcjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
814
|
+
_chunkVWPGK6UVcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunkPFVNPOKNcjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
812
815
|
finalConfig.renderer,
|
|
813
816
|
projectRoot
|
|
814
817
|
),
|
|
@@ -871,7 +874,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
871
874
|
await createdPluginManager.runHookParallel("configResolved", finalConfig);
|
|
872
875
|
await createdPluginManager.runHookParallel("buildStart");
|
|
873
876
|
};
|
|
874
|
-
if (_optionalChain([deferredSetup, 'optionalAccess',
|
|
877
|
+
if (_optionalChain([deferredSetup, 'optionalAccess', _24 => _24.setup])) {
|
|
875
878
|
const startup = deferredSetup.setup.then(finishSetup).catch(async (error) => {
|
|
876
879
|
await cleanUpFailedCreation(error);
|
|
877
880
|
throw error;
|
|
@@ -898,7 +901,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
898
901
|
};
|
|
899
902
|
await attempt(
|
|
900
903
|
"run plugin error hooks",
|
|
901
|
-
() => _optionalChain([pluginManager, 'optionalAccess',
|
|
904
|
+
() => _optionalChain([pluginManager, 'optionalAccess', _25 => _25.runHookParallel, 'call', _26 => _26("onError", {
|
|
902
905
|
phase: "createServer",
|
|
903
906
|
error
|
|
904
907
|
})])
|
|
@@ -915,9 +918,9 @@ async function createServer2(config = {}, options = {}) {
|
|
|
915
918
|
}
|
|
916
919
|
await attempt(
|
|
917
920
|
"close the plugin runtime",
|
|
918
|
-
() => _optionalChain([pluginManager, 'optionalAccess',
|
|
921
|
+
() => _optionalChain([pluginManager, 'optionalAccess', _27 => _27.closeRuntime, 'call', _28 => _28("dev-server-creation-failed")])
|
|
919
922
|
);
|
|
920
|
-
await attempt("shut down instrumentation", () => _optionalChain([instrumentation, 'optionalAccess',
|
|
923
|
+
await attempt("shut down instrumentation", () => _optionalChain([instrumentation, 'optionalAccess', _29 => _29.shutdown, 'call', _30 => _30()]));
|
|
921
924
|
}
|
|
922
925
|
_chunk7ZDLE77Pcjs.logger.error(`Failed to create server: ${error}`);
|
|
923
926
|
}
|
|
@@ -943,7 +946,7 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
943
946
|
const server = await createServer2(config, { ...options, port, deferSetup: true });
|
|
944
947
|
const pluginManager = server.__farmPluginManager;
|
|
945
948
|
const startup = server[FARM_DEFERRED_STARTUP];
|
|
946
|
-
const settleStartup = () => _optionalChain([startup, 'optionalAccess',
|
|
949
|
+
const settleStartup = () => _optionalChain([startup, 'optionalAccess', _31 => _31.catch, 'call', _32 => _32((error) => {
|
|
947
950
|
throw new FarmDeferredStartupError(error);
|
|
948
951
|
})]);
|
|
949
952
|
try {
|
|
@@ -954,12 +957,12 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
954
957
|
throw error;
|
|
955
958
|
}
|
|
956
959
|
await settleStartup();
|
|
957
|
-
await _optionalChain([pluginManager, 'optionalAccess',
|
|
960
|
+
await _optionalChain([pluginManager, 'optionalAccess', _33 => _33.startRuntime, 'call', _34 => _34()]);
|
|
958
961
|
noticeSchemaChangesInBackground(server.__farmResolvedConfig);
|
|
959
962
|
} catch (error) {
|
|
960
963
|
if (error instanceof FarmDeferredStartupError) throw error.cause;
|
|
961
964
|
try {
|
|
962
|
-
await _optionalChain([pluginManager, 'optionalAccess',
|
|
965
|
+
await _optionalChain([pluginManager, 'optionalAccess', _35 => _35.runHookParallel, 'call', _36 => _36("onError", { phase: "startDevServer", error })]);
|
|
963
966
|
} catch (reportError) {
|
|
964
967
|
console.error(
|
|
965
968
|
"Failed to run plugin error hooks after a dev server start failure:",
|
|
@@ -1088,4 +1091,4 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
1088
1091
|
|
|
1089
1092
|
|
|
1090
1093
|
|
|
1091
|
-
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkNMMCBJZMcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunk63S7DAEGcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp =
|
|
1094
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkNMMCBJZMcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunk63S7DAEGcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkVWPGK6UVcjs.FarmApp; exports.FarmDataCache = _chunkVD7ENQP2cjs.FarmDataCache; exports.FarmEnvironmentError = _chunkL6CW5AWMcjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunkVD7ENQP2cjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunkVWPGK6UVcjs.RouteManager; exports.ServerActionRequestError = _chunkNMMCBJZMcjs.ServerActionRequestError; exports.ServerRenderer = _chunkVWPGK6UVcjs.ServerRenderer; exports.VERCEL_OG_INSTALL_HINT = _chunkIDUGG7VRcjs.VERCEL_OG_INSTALL_HINT; exports._collectFarmStorageModules = _chunkOCQSYDMGcjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkOCQSYDMGcjs._registerFarmStorageModules; exports._runWithAfterNodeResponse = _chunkKSRWTQ6Jcjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkKSRWTQ6Jcjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkKSRWTQ6Jcjs._withAfterNodeMiddleware; exports.after = _chunkKSRWTQ6Jcjs.after; exports.applyFarmCacheInvalidationTargets = _chunkVD7ENQP2cjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunk6NQ63L6Ncjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunkVD7ENQP2cjs.configureFarmCache; exports.createClientOnlyFn = _chunkL6CW5AWMcjs.createClientOnlyFn; exports.createFarmApp = _chunkVWPGK6UVcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunkVD7ENQP2cjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkN4C72FCDcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunkPFVNPOKNcjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunkOCQSYDMGcjs.createFarmStorage; exports.createIsomorphicFn = _chunkL6CW5AWMcjs.createIsomorphicFn; exports.createPathCacheTag = _chunkVD7ENQP2cjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkN4C72FCDcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunkVD7ENQP2cjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunkNMMCBJZMcjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkL6CW5AWMcjs.createServerOnlyFn; exports.createServerQuery = _chunk63S7DAEGcjs.createServerQuery; exports.createStorageClient = _chunkOCQSYDMGcjs.createStorageClient; exports.databaseStorage = _chunkOCQSYDMGcjs.databaseStorage; exports.defineCacheKey = _chunkVD7ENQP2cjs.defineCacheKey; exports.defineConfig = _chunkJ6JAUJPCcjs.defineConfig; exports.defineStorageClient = _chunkOCQSYDMGcjs.defineStorageClient; exports.disposeStorage = _chunkOCQSYDMGcjs.disposeStorage; exports.driverStorage = _chunkOCQSYDMGcjs.driverStorage; exports.farmPlugin = _chunkJ6JAUJPCcjs.farmPlugin; exports.farmStorage = _chunkOCQSYDMGcjs.farmStorage; exports.fileExists = _chunk7ZDLE77Pcjs.fileExists; exports.findFarmConfigFile = _chunkPFVNPOKNcjs.findFarmConfigFile; exports.getCurrentRequest = _chunkIBZW57NWcjs.getCurrentRequest; exports.getDatabase = _chunkOCQSYDMGcjs.getDatabase; exports.getFarmAppDirectories = _chunkPFVNPOKNcjs.getFarmAppDirectories; exports.getFarmDataCache = _chunkVD7ENQP2cjs.getFarmDataCache; exports.getFarmLayerAliases = _chunkPFVNPOKNcjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunkPFVNPOKNcjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunkNMMCBJZMcjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunkNMMCBJZMcjs.getServerActionInvalidations; exports.getServerActionSignal = _chunkNMMCBJZMcjs.getServerActionSignal; exports.getStorage = _chunkOCQSYDMGcjs.getStorage; exports.getTheme = _chunkXK7SRVHCcjs.getTheme; exports.getThemeSnapshot = _chunkXK7SRVHCcjs.getThemeSnapshot; exports.globFiles = _chunk7ZDLE77Pcjs.globFiles; exports.initStorage = _chunkOCQSYDMGcjs.initStorage; exports.inspectStaticMetadataImage = _chunkVWPGK6UVcjs.inspectStaticMetadataImage; exports.invalidate = _chunkVD7ENQP2cjs.invalidate; exports.invalidateRouteData = _chunkVD7ENQP2cjs.invalidateRouteData; exports.isOptionalPeerInstalled = _chunkIDUGG7VRcjs.isOptionalPeerInstalled; exports.libsqlStorage = _chunkOCQSYDMGcjs.libsqlStorage; exports.loadFarmConfigFile = _chunkPFVNPOKNcjs.loadFarmConfigFile; exports.localStorage = _chunkOCQSYDMGcjs.localStorage; exports.logger = _chunk7ZDLE77Pcjs.logger; exports.matchRoute = _chunk7ZDLE77Pcjs.matchRoute; exports.matchRouteParts = _chunk7ZDLE77Pcjs.matchRouteParts; exports.matchRoutePrefix = _chunk7ZDLE77Pcjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunk7ZDLE77Pcjs.matchRoutePrefixParts; exports.memoryStorage = _chunkOCQSYDMGcjs.memoryStorage; exports.mongodbStorage = _chunkOCQSYDMGcjs.mongodbStorage; exports.mysql2Storage = _chunkOCQSYDMGcjs.mysql2Storage; exports.mysqlStorage = _chunkOCQSYDMGcjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkOCQSYDMGcjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunkVD7ENQP2cjs.normalizeRevalidatePath; exports.parseRoutePath = _chunk7ZDLE77Pcjs.parseRoutePath; exports.parseSearchParams = _chunk7ZDLE77Pcjs.parseSearchParams; exports.pgStorage = _chunkOCQSYDMGcjs.pgStorage; exports.pgliteStorage = _chunkOCQSYDMGcjs.pgliteStorage; exports.planetscaleStorage = _chunkOCQSYDMGcjs.planetscaleStorage; exports.postgresStorage = _chunkOCQSYDMGcjs.postgresStorage; exports.prepareServerActionRequest = _chunkNMMCBJZMcjs.prepareServerActionRequest; exports.redisStorage = _chunkOCQSYDMGcjs.redisStorage; exports.resolveAppPath = _chunk7ZDLE77Pcjs.resolveAppPath; exports.resolveFarmLayers = _chunkPFVNPOKNcjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkOAAVIFOJcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkOAAVIFOJcjs.resolveFarmMCPPlugin; exports.resolveManagedStorageMount = _chunkOCQSYDMGcjs.resolveManagedStorageMount; exports.resolveServerActionsConfig = _chunkNMMCBJZMcjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunkOCQSYDMGcjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunkVD7ENQP2cjs.revalidatePath; exports.revalidateTag = _chunkVD7ENQP2cjs.revalidateTag; exports.runWithServerActionRequest = _chunkNMMCBJZMcjs.runWithServerActionRequest; exports.s3Storage = _chunkOCQSYDMGcjs.s3Storage; exports.sanitizeServerActionError = _chunkNMMCBJZMcjs.sanitizeServerActionError; exports.segmentsToPattern = _chunk7ZDLE77Pcjs.segmentsToPattern; exports.sendWebResponse = _chunk6VC7NUY3cjs.sendWebResponse; exports.splitRoutePath = _chunk7ZDLE77Pcjs.splitRoutePath; exports.sqliteStorage = _chunkOCQSYDMGcjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunkVD7ENQP2cjs.storageCacheAdapter; exports.toPosixPath = _chunk7ZDLE77Pcjs.toPosixPath; exports.toRootRelativeUrlPath = _chunk7ZDLE77Pcjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunk7ZDLE77Pcjs.toViteModuleId; exports.unstable_cache = _chunkVD7ENQP2cjs.unstable_cache; exports.updateTag = _chunkVD7ENQP2cjs.updateTag; exports.upstashStorage = _chunkOCQSYDMGcjs.upstashStorage; exports.validateServerActionRequest = _chunkNMMCBJZMcjs.validateServerActionRequest; exports.vercelBlobStorage = _chunkOCQSYDMGcjs.vercelBlobStorage; exports.vercelKVStorage = _chunkOCQSYDMGcjs.vercelKVStorage;
|
package/dist/server.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, a as StaticMetadataImageInfo, c as createFarmApp, i as inspectStaticMetadataImage } from './app.d-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, a as StaticMetadataImageInfo, c as createFarmApp, i as inspectStaticMetadataImage } from './app.d-Bn1bqBkf.mjs';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.mjs';
|
|
3
|
-
import { aK as FarmConfig, x as FarmUserConfig } from './client-plugins.d-
|
|
4
|
-
export { aL as AppRoutePattern, aM as BuildOptions, aN as ErrorBoundary, aO as ErrorProps, o as FarmAppContext, aP as FarmComponentType, aG as FarmContextFactory, aQ as FarmContextFactoryInput, aR as FarmIsolatedClientHydrationMode, aS as FarmMCPUserConfig, aT as FarmMigrationCommand, aU as FarmMigrationsConfig, aV as FarmMigrationsUserConfig, E as FarmRequest, G as FarmResponse, aW as GenerateStaticParams, aX as Layout, aY as LayoutMetadataProps, aZ as LayoutModule, L as LayoutProps, a_ as Loading, a$ as LoadingProps, M as Metadata, b0 as MetadataJsonLd, b1 as MetadataProps, b2 as MetadataRobots, b3 as MetadataRobotsDirectives, aF as MiddlewareProps, b4 as NitroPreset, b5 as Page, p as PageProps, b6 as PagePropsWithMiddleware, b7 as PageRouteParams, P as ParsedRoute, s as PluginContextProps, b8 as ResolvedFarmMigrationsConfig, e as RouteModule, m as RouteSegment, S as SSGCollectionResult, n as SSGPage, b9 as ServerAction, ba as StaticPathParams, bb as StaticPathPrimitive, bc as StaticRouteParams, bd as ThemeColorDescriptor, be as Viewport, bf as resolveFarmMCPConfig, bg 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 { aK as FarmConfig, x as FarmUserConfig } from './client-plugins.d-D7k9t9Ge.mjs';
|
|
4
|
+
export { aL as AppRoutePattern, aM as BuildOptions, aN as ErrorBoundary, aO as ErrorProps, o as FarmAppContext, aP as FarmComponentType, aG as FarmContextFactory, aQ as FarmContextFactoryInput, aR as FarmIsolatedClientHydrationMode, aS as FarmMCPUserConfig, aT as FarmMigrationCommand, aU as FarmMigrationsConfig, aV as FarmMigrationsUserConfig, E as FarmRequest, G as FarmResponse, aW as GenerateStaticParams, aX as Layout, aY as LayoutMetadataProps, aZ as LayoutModule, L as LayoutProps, a_ as Loading, a$ as LoadingProps, M as Metadata, b0 as MetadataJsonLd, b1 as MetadataProps, b2 as MetadataRobots, b3 as MetadataRobotsDirectives, aF as MiddlewareProps, b4 as NitroPreset, b5 as Page, p as PageProps, b6 as PagePropsWithMiddleware, b7 as PageRouteParams, P as ParsedRoute, s as PluginContextProps, b8 as ResolvedFarmMigrationsConfig, e as RouteModule, m as RouteSegment, S as SSGCollectionResult, n as SSGPage, b9 as ServerAction, ba as StaticPathParams, bb as StaticPathPrimitive, bc as StaticRouteParams, bd as ThemeColorDescriptor, be as Viewport, bf as resolveFarmMCPConfig, bg as resolveFarmMCPPlugin } from './client-plugins.d-D7k9t9Ge.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-NOMkLFpC.mjs';
|
|
6
6
|
export { FarmKvMount, FarmSqlMount, FarmStorageOptions, _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, farmStorage, getDatabase, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveManagedStorageMount, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.mjs';
|
|
7
7
|
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmCacheWrite, 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-Dd5nRTO5.mjs';
|
|
12
12
|
export { s as sendWebResponse } from './response.d-B_MtBCnF.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, ServerActionRequestOptions, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.mjs';
|
|
@@ -22,7 +22,7 @@ import './server-http.d-rAe7lAQc.mjs';
|
|
|
22
22
|
import './cron.mjs';
|
|
23
23
|
import './endpoint.d-BXbBpKoh.mjs';
|
|
24
24
|
import './image-config.d-ByhQ0TT7.mjs';
|
|
25
|
-
import './agent-mcp.d-
|
|
25
|
+
import './agent-mcp.d-DhZf5-v0.mjs';
|
|
26
26
|
import './routing.d-D67HQmnv.mjs';
|
|
27
27
|
import './types.d-euATAbE4.mjs';
|
|
28
28
|
import './routes.mjs';
|
|
@@ -50,15 +50,15 @@ import 'rolldown';
|
|
|
50
50
|
import './config.d-BKIhJtmr.mjs';
|
|
51
51
|
import './types.d-DQnyD3VD.mjs';
|
|
52
52
|
import './font.mjs';
|
|
53
|
-
import './client-component.d-
|
|
54
|
-
import './render-plan.d-
|
|
53
|
+
import './client-component.d-34DDMZcl.mjs';
|
|
54
|
+
import './render-plan.d-BwnmyfNk.mjs';
|
|
55
55
|
import './runtime.d-CTAXWZby.mjs';
|
|
56
56
|
import './resolver.d-DJgzbdsp.mjs';
|
|
57
57
|
import './platform.mjs';
|
|
58
58
|
import './server-client-bridge.d-DKWDl5NB.mjs';
|
|
59
|
-
import './ssg.d-
|
|
60
|
-
import './route-rendering.d-
|
|
61
|
-
import './headers.d-
|
|
59
|
+
import './ssg.d-BzNZemk7.mjs';
|
|
60
|
+
import './route-rendering.d-BK0Pf7_k.mjs';
|
|
61
|
+
import './headers.d-OBHpGTF_.mjs';
|
|
62
62
|
import 'node:http';
|
|
63
63
|
|
|
64
64
|
declare const DEFAULT_FARM_DEV_SERVER_PORT = 3000;
|
|
@@ -73,7 +73,7 @@ declare function createServer(config?: FarmConfig | FarmUserConfig, options?: {
|
|
|
73
73
|
*/
|
|
74
74
|
host?: string | boolean;
|
|
75
75
|
/**
|
|
76
|
-
* Installs what `
|
|
76
|
+
* Installs what `serverComponents` needs before the server starts. The CLI passes
|
|
77
77
|
* it; core stays free of package-manager orchestration.
|
|
78
78
|
*/
|
|
79
79
|
ensureServerComponentsPackages?: (config: FarmConfig | FarmUserConfig, root: string) => Promise<unknown>;
|