@farm.js/core 0.1.27 → 0.1.28
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-runtime.d.mts +2 -1
- package/dist/agent-runtime.d.ts +2 -1
- package/dist/api/client.cjs +4 -6
- package/dist/api/client.d.mts +1 -0
- package/dist/api/client.d.ts +1 -0
- package/dist/api/client.mjs +3 -5
- package/dist/api/route-manager.cjs +9 -8
- package/dist/api/route-manager.d.mts +2 -1
- package/dist/api/route-manager.d.ts +2 -1
- package/dist/api/route-manager.mjs +8 -7
- package/dist/api/runtime.cjs +7 -6
- package/dist/api/runtime.d.mts +2 -1
- package/dist/api/runtime.d.ts +2 -1
- package/dist/api/runtime.mjs +6 -5
- package/dist/api.cjs +12 -11
- package/dist/api.d.mts +3 -2
- package/dist/api.d.ts +3 -2
- package/dist/api.mjs +11 -10
- package/dist/{app-BfzZdjgX.d.mts → app-DSSq6wiN.d.mts} +3 -3
- package/dist/{app-CXK7Prrt.d.ts → app-M8nVWvNU.d.ts} +3 -3
- package/dist/app-markdown.cjs +5 -5
- package/dist/app-markdown.d.mts +3 -2
- package/dist/app-markdown.d.ts +3 -2
- package/dist/app-markdown.mjs +4 -4
- package/dist/cache-invalidation-BD0z_lfu.d.mts +4 -0
- package/dist/cache-invalidation-BD0z_lfu.d.ts +4 -0
- package/dist/cache.cjs +6 -4
- package/dist/cache.d.mts +11 -6
- package/dist/cache.d.ts +11 -6
- package/dist/cache.mjs +7 -5
- package/dist/{chunk-4FHDV7VM.mjs → chunk-2CNBR3EB.mjs} +2 -2
- package/dist/{chunk-MBFURXAC.mjs → chunk-2DLN6HG4.mjs} +1 -1
- package/dist/{chunk-UUYF3CHN.mjs → chunk-2N5PX3LS.mjs} +2 -2
- package/dist/{chunk-H6G5INWM.cjs → chunk-2SDO73HK.cjs} +14 -156
- package/dist/{chunk-3TQWUUNP.cjs → chunk-3LUF2PE2.cjs} +10 -5
- package/dist/{chunk-SYGGPS4A.mjs → chunk-4IEPYMHF.mjs} +3 -3
- package/dist/{chunk-WD5PNSOB.mjs → chunk-4V7GIE2U.mjs} +6 -4
- package/dist/{chunk-DQMTHWPI.cjs → chunk-55ZY4ZA7.cjs} +4 -4
- package/dist/{chunk-I7PUUDGY.cjs → chunk-63H6BKXG.cjs} +2 -2
- package/dist/{chunk-FG5H2VCJ.mjs → chunk-6ZCMSZ5U.mjs} +2 -2
- package/dist/{chunk-ZMN3H73H.cjs → chunk-75DYEVXI.cjs} +13 -11
- package/dist/{chunk-WJKVTJJR.cjs → chunk-A672WZEG.cjs} +2 -2
- package/dist/{chunk-NL3ZSMZB.cjs → chunk-BJPBQNIE.cjs} +12 -12
- package/dist/{chunk-Q4BHBO6V.mjs → chunk-BXFWA23T.mjs} +2 -2
- package/dist/chunk-CNOQY6Z7.mjs +156 -0
- package/dist/{chunk-DW34V5SM.cjs → chunk-CTV2TTNP.cjs} +4 -4
- package/dist/{chunk-YXM74XOW.cjs → chunk-D4JE5NNV.cjs} +12 -12
- package/dist/{chunk-4UNKCNSL.mjs → chunk-E76XC6ZG.mjs} +2 -2
- package/dist/{chunk-G3HRIVEY.cjs → chunk-ES4B2IXW.cjs} +2 -2
- package/dist/{chunk-TDWFCC2T.cjs → chunk-EWZ3XHKQ.cjs} +2 -2
- package/dist/{chunk-JQGDQO2I.cjs → chunk-EXLKRR4U.cjs} +10 -10
- package/dist/{chunk-YZBV7733.cjs → chunk-F52CDFJM.cjs} +81 -81
- package/dist/{chunk-HG237IEY.mjs → chunk-FB3H4INL.mjs} +1 -1
- package/dist/{chunk-UWTQTZFN.mjs → chunk-FVCSLZWT.mjs} +11 -11
- package/dist/{chunk-WD4YXVLV.mjs → chunk-GZYH4OER.mjs} +1 -1
- package/dist/{chunk-DX4VKYAJ.cjs → chunk-I26CZYPV.cjs} +6 -4
- package/dist/{chunk-UNSKL6BI.cjs → chunk-ID6OVSLH.cjs} +163 -129
- package/dist/{chunk-F6SJAKFJ.mjs → chunk-IV6CQY7O.mjs} +12 -154
- package/dist/{chunk-6D242YGO.mjs → chunk-JATSG2ZO.mjs} +1 -1
- package/dist/{chunk-U74A3P2P.cjs → chunk-JLRDISQL.cjs} +7 -7
- package/dist/{chunk-LAHZ7LZA.cjs → chunk-JUFRXDTK.cjs} +18 -18
- package/dist/{chunk-POXI72VV.mjs → chunk-K3YEZLSY.mjs} +53 -8
- package/dist/{chunk-Y4YWHNKU.cjs → chunk-KH7BN726.cjs} +9 -9
- package/dist/{chunk-KAERLFD3.cjs → chunk-KOQ555NR.cjs} +16 -13
- package/dist/{chunk-O2LV5XDG.mjs → chunk-KXGDXYUC.mjs} +3 -3
- package/dist/{chunk-3IL5UC5I.cjs → chunk-KZLND3D2.cjs} +2 -2
- package/dist/{chunk-NPFGGBM5.cjs → chunk-MH24QDVJ.cjs} +13 -13
- package/dist/{chunk-TKDY6AJP.mjs → chunk-MKMBQSNQ.mjs} +1 -1
- package/dist/{chunk-OCE65DDM.mjs → chunk-MNUGPHLN.mjs} +1 -1
- package/dist/{chunk-3PTVHMLD.mjs → chunk-NVBS5WSZ.mjs} +1 -1
- package/dist/chunk-NYJMY3JA.cjs +156 -0
- package/dist/{chunk-VVJCWBIE.mjs → chunk-O3DTUAX2.mjs} +2 -2
- package/dist/{chunk-C7OUJ6JI.cjs → chunk-PZNCMPJF.cjs} +3 -3
- package/dist/{chunk-WIVTGKLY.mjs → chunk-PZPDGOU5.mjs} +9 -6
- package/dist/{chunk-52SH7TKB.mjs → chunk-QG5HNS7P.mjs} +2 -2
- package/dist/{chunk-CEYUWDWA.mjs → chunk-QZCT2CQ4.mjs} +10 -5
- package/dist/{chunk-JT25KHDI.mjs → chunk-REGFZJEJ.mjs} +1 -1
- package/dist/{chunk-QMV4QELL.mjs → chunk-S5GDHOE4.mjs} +4 -2
- package/dist/{chunk-CRQPYWLK.cjs → chunk-SORB3MAR.cjs} +14 -14
- package/dist/{chunk-FPW4W3VW.mjs → chunk-T7HQ3I4C.mjs} +1 -1
- package/dist/{chunk-HF5SIACK.cjs → chunk-TII23GJC.cjs} +3 -3
- package/dist/{chunk-QQQNJS2E.mjs → chunk-UX2DD2VK.mjs} +1 -1
- package/dist/{chunk-I4J452B7.cjs → chunk-VHJGDMCG.cjs} +3 -3
- package/dist/{chunk-QI7WQSMI.cjs → chunk-VQXDC5UV.cjs} +4 -4
- package/dist/{chunk-B6ZCT36X.cjs → chunk-WNLBF77X.cjs} +4 -4
- package/dist/{chunk-6EG7U4NF.mjs → chunk-X7WVQMIB.mjs} +1 -1
- package/dist/{chunk-5SPPCN5J.mjs → chunk-XNPDONUH.mjs} +1 -1
- package/dist/{chunk-ZSO5GWGD.cjs → chunk-XSPGWQWA.cjs} +75 -30
- package/dist/{chunk-FOT7LZEO.cjs → chunk-Y7GW7J46.cjs} +1 -1
- package/dist/{chunk-UOXGA6TO.mjs → chunk-YDQZGSDS.mjs} +1 -1
- package/dist/{chunk-C3VRMB6H.cjs → chunk-ZCU4NZ3M.cjs} +6 -6
- package/dist/{chunk-OGHTEYXS.mjs → chunk-ZRIE4KMG.mjs} +62 -28
- package/dist/{client-plugins-1GS4zubE.d.mts → client-plugins-CgYNY7jF.d.mts} +35 -32
- package/dist/{client-plugins-B1Za6F5x.d.ts → client-plugins-Fl9Og3yB.d.ts} +35 -32
- package/dist/client-plugins.d.mts +2 -1
- package/dist/client-plugins.d.ts +2 -1
- package/dist/client.cjs +11 -12
- package/dist/client.d.mts +6 -5
- package/dist/client.d.ts +6 -5
- package/dist/client.mjs +10 -11
- package/dist/config.d.mts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/{devtools-6RN6KHTW.mjs → devtools-3E7ZANMZ.mjs} +4 -4
- package/dist/{devtools-CQJ3H6MX.cjs → devtools-5AREISIA.cjs} +5 -5
- package/dist/docs.cjs +7 -7
- package/dist/docs.mjs +6 -6
- package/dist/index.cjs +56 -54
- package/dist/index.d.mts +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.mjs +64 -62
- package/dist/integrations.d.mts +2 -1
- package/dist/integrations.d.ts +2 -1
- package/dist/internal/app-markdown-runtime.cjs +4 -4
- package/dist/internal/app-markdown-runtime.d.mts +3 -2
- package/dist/internal/app-markdown-runtime.d.ts +3 -2
- package/dist/internal/app-markdown-runtime.mjs +3 -3
- package/dist/internal/build-runtime.cjs +23 -22
- package/dist/internal/build-runtime.d.mts +4 -3
- package/dist/internal/build-runtime.d.ts +4 -3
- package/dist/internal/build-runtime.mjs +22 -21
- package/dist/internal/cli-runtime.cjs +13 -12
- package/dist/internal/cli-runtime.mjs +12 -11
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +5 -1
- package/dist/internal/client-runtime.d.mts +1 -0
- package/dist/internal/client-runtime.d.ts +1 -0
- package/dist/internal/client-runtime.mjs +4 -0
- package/dist/internal/compression-runtime.d.mts +2 -1
- package/dist/internal/compression-runtime.d.ts +2 -1
- package/dist/internal/config-runtime.cjs +5 -5
- package/dist/internal/config-runtime.d.mts +3 -2
- package/dist/internal/config-runtime.d.ts +3 -2
- package/dist/internal/config-runtime.mjs +4 -4
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +17 -15
- package/dist/internal/production-runtime.d.mts +8 -7
- package/dist/internal/production-runtime.d.ts +8 -7
- package/dist/internal/production-runtime.mjs +17 -15
- package/dist/markdown.cjs +3 -3
- package/dist/markdown.d.mts +2 -1
- package/dist/markdown.d.ts +2 -1
- package/dist/markdown.mjs +2 -2
- package/dist/{metadata-B9mCxKgp.d.mts → metadata-B0X-qtcQ.d.mts} +1 -1
- package/dist/{metadata-7LKgQEWF.d.ts → metadata-BdDKgd7K.d.ts} +1 -1
- package/dist/middleware.cjs +4 -4
- package/dist/middleware.d.mts +4 -3
- package/dist/middleware.d.ts +4 -3
- package/dist/middleware.mjs +3 -3
- package/dist/navigation.cjs +5 -5
- package/dist/navigation.d.mts +5 -4
- package/dist/navigation.d.ts +5 -4
- package/dist/navigation.mjs +4 -4
- package/dist/plugin.cjs +23 -19
- package/dist/plugin.d.mts +2 -1
- package/dist/plugin.d.ts +2 -1
- package/dist/plugin.mjs +23 -19
- package/dist/{production-runtime-DramhI0c.d.mts → production-runtime-BjgFgDIg.d.mts} +1 -1
- package/dist/{production-runtime-B3xnY6fI.d.ts → production-runtime-Dx_qMA3t.d.ts} +1 -1
- package/dist/query/client.cjs +6 -6
- package/dist/query/client.mjs +2 -2
- package/dist/{render-plan-CpW32tOL.d.ts → render-plan-B41EWmBb.d.ts} +1 -1
- package/dist/{render-plan-CtQB-zHS.d.mts → render-plan-_1TAWODt.d.mts} +1 -1
- package/dist/renderer-client.cjs +13 -14
- package/dist/renderer-client.d.mts +4 -3
- package/dist/renderer-client.d.ts +4 -3
- package/dist/renderer-client.mjs +6 -7
- package/dist/{request-DlLVBKe3.d.mts → request-BhE4luLv.d.mts} +1 -1
- package/dist/{request-BVGGeQv4.d.ts → request-Dbf3G0zM.d.ts} +1 -1
- package/dist/request.d.mts +3 -2
- package/dist/request.d.ts +3 -2
- package/dist/{route-rendering-BdEldajn.d.ts → route-rendering-Z7PveTZE.d.ts} +1 -1
- package/dist/{route-rendering-DChYLNdh.d.mts → route-rendering-zzfx_GHf.d.mts} +1 -1
- package/dist/{router-D5htHn_M.d.mts → router-BatNMsa1.d.mts} +1 -1
- package/dist/{router-D0Az-1Nu.d.ts → router-DtNRhQl3.d.ts} +1 -1
- package/dist/routes.cjs +6 -5
- package/dist/routes.d.mts +2 -1
- package/dist/routes.d.ts +2 -1
- package/dist/routes.mjs +5 -4
- package/dist/server-fn-client.d.mts +1 -0
- package/dist/server-fn-client.d.ts +1 -0
- package/dist/server-fn.cjs +6 -5
- package/dist/server-fn.d.mts +1 -0
- package/dist/server-fn.d.ts +1 -0
- package/dist/server-fn.mjs +5 -4
- package/dist/server-plugins.d.mts +3 -2
- package/dist/server-plugins.d.ts +3 -2
- package/dist/server-query-client.cjs +5 -7
- package/dist/server-query-client.d.mts +1 -0
- package/dist/server-query-client.d.ts +1 -0
- package/dist/server-query-client.mjs +4 -6
- package/dist/server-query.cjs +7 -6
- package/dist/server-query.d.mts +1 -0
- package/dist/server-query.d.ts +1 -0
- package/dist/server-query.mjs +6 -5
- package/dist/server.cjs +64 -54
- package/dist/server.d.mts +9 -8
- package/dist/server.d.ts +9 -8
- package/dist/server.mjs +48 -38
- package/dist/{spa-router-DmwP_7QL.d.ts → spa-router-BE3bwU-J.d.ts} +2 -2
- package/dist/{spa-router-DVfSJZ5o.d.mts → spa-router-DQOnHZVj.d.mts} +2 -2
- package/dist/testing.cjs +14 -13
- package/dist/testing.d.mts +2 -1
- package/dist/testing.d.ts +2 -1
- package/dist/testing.mjs +11 -10
- package/dist/{utils-B_Rmr0-n.d.mts → utils-DLK1ERNl.d.mts} +1 -1
- package/dist/{utils-Dv0OuLtF.d.ts → utils-u7ZBSWAK.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +19 -18
- package/dist/vite.d.mts +2 -1
- package/dist/vite.d.ts +2 -1
- package/dist/vite.mjs +18 -17
- package/package.json +1 -1
- package/dist/{chunk-YOYF2E4U.mjs → chunk-LNZ7JZUS.mjs} +0 -0
- package/dist/{chunk-N4RLRSWW.cjs → chunk-SUIBNSNO.cjs} +0 -0
- package/dist/{chunk-TIKNUAU7.mjs → chunk-VUMAE7NC.mjs} +3 -3
- package/dist/{chunk-WM6HL7E7.cjs → chunk-ZHVYQL3H.cjs} +2 -2
package/dist/server.cjs
CHANGED
|
@@ -11,8 +11,8 @@ var _chunkW4E7WMXEcjs = require('./chunk-W4E7WMXE.cjs');
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
15
|
-
require('./chunk-
|
|
14
|
+
var _chunk75DYEVXIcjs = require('./chunk-75DYEVXI.cjs');
|
|
15
|
+
require('./chunk-ES4B2IXW.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
|
|
@@ -20,7 +20,7 @@ var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
23
|
+
var _chunkKOQ555NRcjs = require('./chunk-KOQ555NR.cjs');
|
|
24
24
|
require('./chunk-KR6CKSXT.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
@@ -47,14 +47,14 @@ require('./chunk-SK35NQKK.cjs');
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
var
|
|
51
|
-
require('./chunk-
|
|
50
|
+
var _chunkID6OVSLHcjs = require('./chunk-ID6OVSLH.cjs');
|
|
51
|
+
require('./chunk-CTV2TTNP.cjs');
|
|
52
52
|
|
|
53
53
|
|
|
54
54
|
var _chunkE2ROOWQCcjs = require('./chunk-E2ROOWQC.cjs');
|
|
55
55
|
require('./chunk-JSROZYYO.cjs');
|
|
56
56
|
require('./chunk-XSIRSMAS.cjs');
|
|
57
|
-
require('./chunk-
|
|
57
|
+
require('./chunk-A672WZEG.cjs');
|
|
58
58
|
require('./chunk-SYQ3MOWW.cjs');
|
|
59
59
|
require('./chunk-CXP5U3RW.cjs');
|
|
60
60
|
require('./chunk-K3F2E6GS.cjs');
|
|
@@ -88,7 +88,7 @@ var _chunkVPTDD5XFcjs = require('./chunk-VPTDD5XF.cjs');
|
|
|
88
88
|
|
|
89
89
|
|
|
90
90
|
var _chunkPSV6XKPOcjs = require('./chunk-PSV6XKPO.cjs');
|
|
91
|
-
require('./chunk-
|
|
91
|
+
require('./chunk-55ZY4ZA7.cjs');
|
|
92
92
|
require('./chunk-YFPGHF5F.cjs');
|
|
93
93
|
require('./chunk-6EXBPJ24.cjs');
|
|
94
94
|
|
|
@@ -107,10 +107,10 @@ var _chunkT5CERMEHcjs = require('./chunk-T5CERMEH.cjs');
|
|
|
107
107
|
|
|
108
108
|
|
|
109
109
|
var _chunkVEKFLAQMcjs = require('./chunk-VEKFLAQM.cjs');
|
|
110
|
-
require('./chunk-
|
|
111
|
-
require('./chunk-
|
|
110
|
+
require('./chunk-EWZ3XHKQ.cjs');
|
|
111
|
+
require('./chunk-TII23GJC.cjs');
|
|
112
112
|
require('./chunk-OHY2ZWUG.cjs');
|
|
113
|
-
require('./chunk-
|
|
113
|
+
require('./chunk-XSPGWQWA.cjs');
|
|
114
114
|
require('./chunk-J63ZH5OQ.cjs');
|
|
115
115
|
require('./chunk-UYIHRDE4.cjs');
|
|
116
116
|
require('./chunk-MPEYMSCF.cjs');
|
|
@@ -149,7 +149,7 @@ require('./chunk-6QQDAAAZ.cjs');
|
|
|
149
149
|
require('./chunk-Z5HIWVDP.cjs');
|
|
150
150
|
require('./chunk-SVRTJOUF.cjs');
|
|
151
151
|
require('./chunk-G643DQCH.cjs');
|
|
152
|
-
require('./chunk-
|
|
152
|
+
require('./chunk-ZHVYQL3H.cjs');
|
|
153
153
|
require('./chunk-XGC343EY.cjs');
|
|
154
154
|
require('./chunk-RG3ZOTG5.cjs');
|
|
155
155
|
require('./chunk-4PPEPOZZ.cjs');
|
|
@@ -159,20 +159,38 @@ require('./chunk-4PPEPOZZ.cjs');
|
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
var _chunkMQ3H6LT5cjs = require('./chunk-MQ3H6LT5.cjs');
|
|
162
|
-
require('./chunk-
|
|
163
|
-
require('./chunk-
|
|
162
|
+
require('./chunk-EXLKRR4U.cjs');
|
|
163
|
+
require('./chunk-SUIBNSNO.cjs');
|
|
164
164
|
require('./chunk-2CQ74SP6.cjs');
|
|
165
165
|
require('./chunk-UJ2C4ICS.cjs');
|
|
166
166
|
require('./chunk-IQXFRNY2.cjs');
|
|
167
167
|
require('./chunk-LYLEZIG3.cjs');
|
|
168
|
-
require('./chunk-
|
|
169
|
-
require('./chunk-
|
|
168
|
+
require('./chunk-PZNCMPJF.cjs');
|
|
169
|
+
require('./chunk-VHJGDMCG.cjs');
|
|
170
170
|
require('./chunk-WMAPPDMM.cjs');
|
|
171
171
|
require('./chunk-TKJZFIML.cjs');
|
|
172
172
|
require('./chunk-5MKEDGLD.cjs');
|
|
173
173
|
require('./chunk-WPYFSQKK.cjs');
|
|
174
174
|
require('./chunk-6V4TDWEC.cjs');
|
|
175
175
|
require('./chunk-SOR334EB.cjs');
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
var _chunk2SDO73HKcjs = require('./chunk-2SDO73HK.cjs');
|
|
176
194
|
require('./chunk-EM6SBQKM.cjs');
|
|
177
195
|
|
|
178
196
|
|
|
@@ -197,12 +215,13 @@ require('./chunk-HBTUGXHS.cjs');
|
|
|
197
215
|
|
|
198
216
|
var _chunk5QIKR7RRcjs = require('./chunk-5QIKR7RR.cjs');
|
|
199
217
|
require('./chunk-QNPEUFHQ.cjs');
|
|
218
|
+
require('./chunk-E3UK5IIB.cjs');
|
|
200
219
|
|
|
201
220
|
|
|
202
221
|
var _chunkUQZ4AYTHcjs = require('./chunk-UQZ4AYTH.cjs');
|
|
203
222
|
|
|
204
223
|
|
|
205
|
-
var
|
|
224
|
+
var _chunkY7GW7J46cjs = require('./chunk-Y7GW7J46.cjs');
|
|
206
225
|
require('./chunk-OYEUREB6.cjs');
|
|
207
226
|
require('./chunk-7W3CPVXS.cjs');
|
|
208
227
|
require('./chunk-NZKJGRB3.cjs');
|
|
@@ -211,35 +230,18 @@ require('./chunk-ARJWXNQL.cjs');
|
|
|
211
230
|
require('./chunk-G7HXGLEC.cjs');
|
|
212
231
|
require('./chunk-S3A45T7F.cjs');
|
|
213
232
|
require('./chunk-75BRBIFP.cjs');
|
|
214
|
-
require('./chunk-
|
|
233
|
+
require('./chunk-3LUF2PE2.cjs');
|
|
215
234
|
require('./chunk-R5JIFR6B.cjs');
|
|
216
235
|
require('./chunk-C5GUTBZK.cjs');
|
|
217
236
|
require('./chunk-QBK2AA4U.cjs');
|
|
237
|
+
require('./chunk-LIUGYUX3.cjs');
|
|
218
238
|
|
|
219
239
|
|
|
220
240
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
var _chunkH6G5INWMcjs = require('./chunk-H6G5INWM.cjs');
|
|
241
|
+
var _chunkNYJMY3JAcjs = require('./chunk-NYJMY3JA.cjs');
|
|
238
242
|
|
|
239
243
|
|
|
240
244
|
var _chunkZEG3OPIBcjs = require('./chunk-ZEG3OPIB.cjs');
|
|
241
|
-
require('./chunk-LIUGYUX3.cjs');
|
|
242
|
-
require('./chunk-E3UK5IIB.cjs');
|
|
243
245
|
|
|
244
246
|
|
|
245
247
|
|
|
@@ -369,7 +371,7 @@ function createFarmDevLifecyclePlugin(pluginManager, instrumentation) {
|
|
|
369
371
|
await step("Instrumentation shutdown", () => instrumentation.shutdown());
|
|
370
372
|
if (failures.length === 1) throw failures[0].error;
|
|
371
373
|
if (failures.length > 1) {
|
|
372
|
-
throw new (0,
|
|
374
|
+
throw new (0, _chunkID6OVSLHcjs.FarmRuntimeShutdownError)(
|
|
373
375
|
`Dev server shutdown failed during ${failures.map(({ label }) => label).join(", ")}`,
|
|
374
376
|
failures.map(({ error }) => error)
|
|
375
377
|
);
|
|
@@ -444,7 +446,7 @@ function createBrandingPlugin() {
|
|
|
444
446
|
const pc = _chunkM2L4MYDQcjs.createCliColors.call(void 0, );
|
|
445
447
|
console.log("");
|
|
446
448
|
console.log(
|
|
447
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
449
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkY7GW7J46cjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
448
450
|
);
|
|
449
451
|
console.log("");
|
|
450
452
|
console.log(
|
|
@@ -513,7 +515,7 @@ function inlineEnvScope(scope) {
|
|
|
513
515
|
}
|
|
514
516
|
_chunkS3JO3N4Hcjs.__name.call(void 0, inlineEnvScope, "inlineEnvScope");
|
|
515
517
|
async function resolveInlineConfig(config, mode) {
|
|
516
|
-
if (
|
|
518
|
+
if (_chunkKOQ555NRcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
517
519
|
_chunkVEKFLAQMcjs.setEnv.call(void 0, config.env);
|
|
518
520
|
return { ...config };
|
|
519
521
|
}
|
|
@@ -523,7 +525,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
523
525
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
524
526
|
const auth = config.auth;
|
|
525
527
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
526
|
-
const resolved = await
|
|
528
|
+
const resolved = await _chunkKOQ555NRcjs.resolveConfig.call(void 0,
|
|
527
529
|
{
|
|
528
530
|
...config,
|
|
529
531
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -557,8 +559,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
557
559
|
try {
|
|
558
560
|
const root = config.root || process.cwd();
|
|
559
561
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
560
|
-
const userConfig = await
|
|
561
|
-
const resolvedConfig = userConfig ? await
|
|
562
|
+
const userConfig = await _chunkKOQ555NRcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
563
|
+
const resolvedConfig = userConfig ? await _chunkKOQ555NRcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
562
564
|
const instrumentationRoot = resolvedConfig.root;
|
|
563
565
|
const instrumentationFile = _chunkKCMTCM6Icjs.resolveFarmInstrumentationFile.call(void 0,
|
|
564
566
|
instrumentationRoot,
|
|
@@ -574,7 +576,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
574
576
|
runtime: "nodejs"
|
|
575
577
|
});
|
|
576
578
|
await instrumentation.start();
|
|
577
|
-
pluginManager = new (0,
|
|
579
|
+
pluginManager = new (0, _chunkID6OVSLHcjs.PluginManager)({
|
|
578
580
|
config: resolvedConfig,
|
|
579
581
|
isDev: mode === "development",
|
|
580
582
|
isProd: mode === "production"
|
|
@@ -608,7 +610,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
608
610
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
609
611
|
finalConfig.renderer = _chunkPSV6XKPOcjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
610
612
|
const projectRoot = finalConfig.root || process.cwd();
|
|
611
|
-
finalConfig.images =
|
|
613
|
+
finalConfig.images = _chunkID6OVSLHcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
612
614
|
root: projectRoot,
|
|
613
615
|
dev: true
|
|
614
616
|
});
|
|
@@ -625,21 +627,21 @@ async function createServer2(config = {}, options = {}) {
|
|
|
625
627
|
if (shouldUseProjectPostcss) {
|
|
626
628
|
_chunk5QIKR7RRcjs.logger.info("\u{1F4E6} Using project PostCSS/Tailwind configuration");
|
|
627
629
|
} else {
|
|
628
|
-
tailwindVitePlugin = await
|
|
630
|
+
tailwindVitePlugin = await _chunkID6OVSLHcjs.loadTailwindVitePlugin.call(void 0, );
|
|
629
631
|
}
|
|
630
632
|
server = await createViteDevServer(
|
|
631
|
-
|
|
633
|
+
_chunkID6OVSLHcjs.mergeFarmViteConfig.call(void 0,
|
|
632
634
|
{
|
|
633
635
|
root: projectRoot,
|
|
634
636
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
635
637
|
plugins: [
|
|
636
|
-
|
|
638
|
+
_chunkID6OVSLHcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
637
639
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
638
640
|
...rendererVitePlugins,
|
|
639
641
|
createDevDependencyStubsPlugin(),
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
642
|
+
_chunkID6OVSLHcjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
643
|
+
_chunkID6OVSLHcjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
644
|
+
_chunkID6OVSLHcjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
643
645
|
_chunk22GUSVNJcjs.farmEnvironmentFunctionsPlugin.call(void 0, ),
|
|
644
646
|
createBrandingPlugin(),
|
|
645
647
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
@@ -654,8 +656,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
654
656
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
655
657
|
},
|
|
656
658
|
optimizeDeps: {
|
|
657
|
-
...
|
|
658
|
-
|
|
659
|
+
..._chunkID6OVSLHcjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
660
|
+
_chunkID6OVSLHcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunkVPTDD5XFcjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
659
661
|
finalConfig.renderer
|
|
660
662
|
),
|
|
661
663
|
exclude: [
|
|
@@ -764,12 +766,20 @@ function noticeSchemaChangesInBackground(config) {
|
|
|
764
766
|
_chunkS3JO3N4Hcjs.__name.call(void 0, noticeSchemaChangesInBackground, "noticeSchemaChangesInBackground");
|
|
765
767
|
async function startDevServer(config = {}, port) {
|
|
766
768
|
const server = await createServer2(config, { port });
|
|
769
|
+
const pluginManager = server.__farmPluginManager;
|
|
767
770
|
try {
|
|
768
771
|
await server.listen(port);
|
|
769
|
-
const pluginManager = server.__farmPluginManager;
|
|
770
772
|
await _optionalChain([pluginManager, 'optionalAccess', _22 => _22.startRuntime, 'call', _23 => _23()]);
|
|
771
773
|
noticeSchemaChangesInBackground(server.__farmResolvedConfig);
|
|
772
774
|
} catch (error) {
|
|
775
|
+
try {
|
|
776
|
+
await _optionalChain([pluginManager, 'optionalAccess', _24 => _24.runHookParallel, 'call', _25 => _25("onError", { phase: "startDevServer", error })]);
|
|
777
|
+
} catch (reportError) {
|
|
778
|
+
console.error(
|
|
779
|
+
"Failed to run plugin error hooks after a dev server start failure:",
|
|
780
|
+
reportError
|
|
781
|
+
);
|
|
782
|
+
}
|
|
773
783
|
try {
|
|
774
784
|
await server.close();
|
|
775
785
|
} catch (closeError) {
|
|
@@ -881,4 +891,4 @@ _chunkS3JO3N4Hcjs.__name.call(void 0, startDevServer, "startDevServer");
|
|
|
881
891
|
|
|
882
892
|
|
|
883
893
|
|
|
884
|
-
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkT5CERMEHcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL =
|
|
894
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkT5CERMEHcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunk75DYEVXIcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkID6OVSLHcjs.FarmApp; exports.FarmDataCache = _chunk2SDO73HKcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkW4E7WMXEcjs.FarmEnvironmentError; exports.RouteManager = _chunkID6OVSLHcjs.RouteManager; exports.ServerActionRequestError = _chunkT5CERMEHcjs.ServerActionRequestError; exports.ServerRenderer = _chunkID6OVSLHcjs.ServerRenderer; exports._runWithAfterNodeResponse = _chunkMQ3H6LT5cjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkMQ3H6LT5cjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkMQ3H6LT5cjs._withAfterNodeMiddleware; exports.after = _chunkMQ3H6LT5cjs.after; exports.applyFarmCacheInvalidationTargets = _chunk2SDO73HKcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkZEG3OPIBcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunk2SDO73HKcjs.configureFarmCache; exports.createClientOnlyFn = _chunkW4E7WMXEcjs.createClientOnlyFn; exports.createFarmApp = _chunkID6OVSLHcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunk2SDO73HKcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkNYJMY3JAcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunkVPTDD5XFcjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunk4ZFL5GFNcjs.createFarmStorage; exports.createIsomorphicFn = _chunkW4E7WMXEcjs.createIsomorphicFn; exports.createPathCacheTag = _chunk2SDO73HKcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkNYJMY3JAcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunk2SDO73HKcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunkT5CERMEHcjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkW4E7WMXEcjs.createServerOnlyFn; exports.createServerQuery = _chunk75DYEVXIcjs.createServerQuery; exports.createStorageClient = _chunk4ZFL5GFNcjs.createStorageClient; exports.databaseStorage = _chunk4ZFL5GFNcjs.databaseStorage; exports.defineCacheKey = _chunk2SDO73HKcjs.defineCacheKey; exports.defineConfig = _chunkID6OVSLHcjs.defineConfig; exports.defineStorageClient = _chunk4ZFL5GFNcjs.defineStorageClient; exports.disposeStorage = _chunk4ZFL5GFNcjs.disposeStorage; exports.driverStorage = _chunk4ZFL5GFNcjs.driverStorage; exports.farmPlugin = _chunkID6OVSLHcjs.farmPlugin; exports.fileExists = _chunk5QIKR7RRcjs.fileExists; exports.getCurrentRequest = _chunk5ZSWG4UXcjs.getCurrentRequest; exports.getFarmAppDirectories = _chunkVPTDD5XFcjs.getFarmAppDirectories; exports.getFarmDataCache = _chunk2SDO73HKcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunkVPTDD5XFcjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunkVPTDD5XFcjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunkT5CERMEHcjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunkT5CERMEHcjs.getServerActionInvalidations; exports.getServerActionSignal = _chunkT5CERMEHcjs.getServerActionSignal; exports.getStorage = _chunk4ZFL5GFNcjs.getStorage; exports.getTheme = _chunkXWAWFQFScjs.getTheme; exports.getThemeSnapshot = _chunkXWAWFQFScjs.getThemeSnapshot; exports.globFiles = _chunk5QIKR7RRcjs.globFiles; exports.initStorage = _chunk4ZFL5GFNcjs.initStorage; exports.invalidate = _chunk2SDO73HKcjs.invalidate; exports.invalidateRouteData = _chunk2SDO73HKcjs.invalidateRouteData; exports.libsqlStorage = _chunk4ZFL5GFNcjs.libsqlStorage; exports.loadFarmConfigFile = _chunkVPTDD5XFcjs.loadFarmConfigFile; exports.localStorage = _chunk4ZFL5GFNcjs.localStorage; exports.logger = _chunk5QIKR7RRcjs.logger; exports.matchRoute = _chunk5QIKR7RRcjs.matchRoute; exports.matchRouteParts = _chunk5QIKR7RRcjs.matchRouteParts; exports.matchRoutePrefix = _chunk5QIKR7RRcjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunk5QIKR7RRcjs.matchRoutePrefixParts; exports.memoryStorage = _chunk4ZFL5GFNcjs.memoryStorage; exports.mongodbStorage = _chunk4ZFL5GFNcjs.mongodbStorage; exports.mysql2Storage = _chunk4ZFL5GFNcjs.mysql2Storage; exports.mysqlStorage = _chunk4ZFL5GFNcjs.mysqlStorage; exports.netlifyBlobsStorage = _chunk4ZFL5GFNcjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunk2SDO73HKcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunk5QIKR7RRcjs.parseRoutePath; exports.parseSearchParams = _chunk5QIKR7RRcjs.parseSearchParams; exports.pgStorage = _chunk4ZFL5GFNcjs.pgStorage; exports.pgliteStorage = _chunk4ZFL5GFNcjs.pgliteStorage; exports.planetscaleStorage = _chunk4ZFL5GFNcjs.planetscaleStorage; exports.postgresStorage = _chunk4ZFL5GFNcjs.postgresStorage; exports.prepareServerActionRequest = _chunkT5CERMEHcjs.prepareServerActionRequest; exports.redisStorage = _chunk4ZFL5GFNcjs.redisStorage; exports.resolveAppPath = _chunk5QIKR7RRcjs.resolveAppPath; exports.resolveFarmLayers = _chunkVPTDD5XFcjs.resolveFarmLayers; exports.resolveServerActionsConfig = _chunkT5CERMEHcjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunk4ZFL5GFNcjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunk2SDO73HKcjs.revalidatePath; exports.revalidateTag = _chunk2SDO73HKcjs.revalidateTag; exports.runWithServerActionRequest = _chunkT5CERMEHcjs.runWithServerActionRequest; exports.s3Storage = _chunk4ZFL5GFNcjs.s3Storage; exports.sanitizeServerActionError = _chunkT5CERMEHcjs.sanitizeServerActionError; exports.segmentsToPattern = _chunk5QIKR7RRcjs.segmentsToPattern; exports.sendWebResponse = _chunkUQZ4AYTHcjs.sendWebResponse; exports.splitRoutePath = _chunk5QIKR7RRcjs.splitRoutePath; exports.sqliteStorage = _chunk4ZFL5GFNcjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunk2SDO73HKcjs.storageCacheAdapter; exports.toPosixPath = _chunk5QIKR7RRcjs.toPosixPath; exports.toRootRelativeUrlPath = _chunk5QIKR7RRcjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunk5QIKR7RRcjs.toViteModuleId; exports.unstable_cache = _chunk2SDO73HKcjs.unstable_cache; exports.updateTag = _chunk2SDO73HKcjs.updateTag; exports.upstashStorage = _chunk4ZFL5GFNcjs.upstashStorage; exports.validateServerActionRequest = _chunkT5CERMEHcjs.validateServerActionRequest; exports.vercelBlobStorage = _chunk4ZFL5GFNcjs.vercelBlobStorage; exports.vercelKVStorage = _chunk4ZFL5GFNcjs.vercelKVStorage;
|
package/dist/server.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-
|
|
2
|
-
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-
|
|
3
|
-
export { Q as AppRoutePattern, ae as BuildOptions, a6 as ErrorBoundary, $ as ErrorProps, m as FarmAppContext, O as FarmComponentType, E as FarmContextFactory, Y as FarmContextFactoryInput, Z as FarmIsolatedClientHydrationMode, aj as FarmLayerEntry, an as FarmLayerResolution, U as FarmMigrationCommand, V as FarmMigrationsConfig, W as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, al as FarmSourceRoot, aa as GenerateStaticParams, a4 as Layout, a2 as LayoutMetadataProps, ab as LayoutModule, L as LayoutProps, a5 as Loading, _ as LoadingProps, M as Metadata, ac as MetadataJsonLd, a1 as MetadataProps, ai as MetadataRobots, ah as MetadataRobotsDirectives, G as MiddlewareProps, T as NitroPreset, a3 as Page, o as PageProps, a0 as PagePropsWithMiddleware, S as PageRouteParams, P as ParsedRoute, q as PluginContextProps, am as ResolveFarmLayersOptions, ak as ResolvedFarmLayer, X as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ag as SSGCollectionResult, af as SSGPage, ad as ServerAction, a8 as StaticPathParams, a7 as StaticPathPrimitive, a9 as StaticRouteParams, as as createFarmConfigResolutionPlugin, N as defineConfig, K as farmPlugin, aq as getFarmAppDirectories, ar as getFarmLayerAliases, ap as getFarmSourceRoots, at as loadFarmConfigFile, ao as resolveFarmLayers } from './client-plugins-
|
|
4
|
-
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-DSSq6wiN.mjs';
|
|
2
|
+
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-CgYNY7jF.mjs';
|
|
3
|
+
export { Q as AppRoutePattern, ae as BuildOptions, a6 as ErrorBoundary, $ as ErrorProps, m as FarmAppContext, O as FarmComponentType, E as FarmContextFactory, Y as FarmContextFactoryInput, Z as FarmIsolatedClientHydrationMode, aj as FarmLayerEntry, an as FarmLayerResolution, U as FarmMigrationCommand, V as FarmMigrationsConfig, W as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, al as FarmSourceRoot, aa as GenerateStaticParams, a4 as Layout, a2 as LayoutMetadataProps, ab as LayoutModule, L as LayoutProps, a5 as Loading, _ as LoadingProps, M as Metadata, ac as MetadataJsonLd, a1 as MetadataProps, ai as MetadataRobots, ah as MetadataRobotsDirectives, G as MiddlewareProps, T as NitroPreset, a3 as Page, o as PageProps, a0 as PagePropsWithMiddleware, S as PageRouteParams, P as ParsedRoute, q as PluginContextProps, am as ResolveFarmLayersOptions, ak as ResolvedFarmLayer, X as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ag as SSGCollectionResult, af as SSGPage, ad as ServerAction, a8 as StaticPathParams, a7 as StaticPathPrimitive, a9 as StaticRouteParams, as as createFarmConfigResolutionPlugin, N as defineConfig, K as farmPlugin, aq as getFarmAppDirectories, ar as getFarmLayerAliases, ap as getFarmSourceRoots, at as loadFarmConfigFile, ao as resolveFarmLayers } from './client-plugins-CgYNY7jF.mjs';
|
|
4
|
+
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-DLK1ERNl.mjs';
|
|
5
5
|
export { 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';
|
|
6
|
-
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets,
|
|
6
|
+
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.mjs';
|
|
7
7
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.mjs';
|
|
8
8
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.mjs';
|
|
9
9
|
import { ViteDevServer } from 'vite';
|
|
10
|
-
export { g as getCurrentRequest } from './request-
|
|
10
|
+
export { g as getCurrentRequest } from './request-BhE4luLv.mjs';
|
|
11
11
|
import { ServerResponse } from 'node:http';
|
|
12
12
|
export { getTheme, getThemeSnapshot } from './theme/server.mjs';
|
|
13
13
|
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';
|
|
@@ -15,6 +15,7 @@ export { FarmEnvironment, FarmEnvironmentError, FarmIsomorphicFnOptions, createC
|
|
|
15
15
|
export { e as FarmStorageBuiltinDriverConfig, F as FarmStorageClient, a as FarmStorageClientConfig, f as FarmStorageConfigObject, g as FarmStorageCustomDriverConfig, c as FarmStorageDatabaseConfig, h as FarmStorageDatabaseDriverName, b as FarmStorageLocalDriverConfig, j as FarmStorageMountConfig, k as FarmStorageMounts, i as FarmStorageRuntimeClient, d as FarmStorageUserConfig } from './types-Cc8l9IqS.mjs';
|
|
16
16
|
export { BuiltinDriverName, BuiltinDriverOptions, Driver, Storage, StorageMeta, StorageValue, TransactionOptions } from 'unstorage';
|
|
17
17
|
export { ConnectorName, ConnectorOptions, Database } from 'db0';
|
|
18
|
+
export { a as applyFarmCacheInvalidations } from './cache-invalidation-BD0z_lfu.mjs';
|
|
18
19
|
import './types-DFbjpjXX.mjs';
|
|
19
20
|
import '@farming-labs/docs';
|
|
20
21
|
import './workflows-CR9ex-gz.mjs';
|
|
@@ -41,8 +42,8 @@ import 'rolldown';
|
|
|
41
42
|
import './types-DQnyD3VD.mjs';
|
|
42
43
|
import './font.mjs';
|
|
43
44
|
import './island-CfGru1MO.mjs';
|
|
44
|
-
import './metadata-
|
|
45
|
-
import './render-plan-
|
|
45
|
+
import './metadata-B0X-qtcQ.mjs';
|
|
46
|
+
import './render-plan-_1TAWODt.mjs';
|
|
46
47
|
import './runtime-AOJge4vQ.mjs';
|
|
47
48
|
import './resolver-DhW0CqZN.mjs';
|
|
48
49
|
|
package/dist/server.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-
|
|
2
|
-
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-
|
|
3
|
-
export { Q as AppRoutePattern, ae as BuildOptions, a6 as ErrorBoundary, $ as ErrorProps, m as FarmAppContext, O as FarmComponentType, E as FarmContextFactory, Y as FarmContextFactoryInput, Z as FarmIsolatedClientHydrationMode, aj as FarmLayerEntry, an as FarmLayerResolution, U as FarmMigrationCommand, V as FarmMigrationsConfig, W as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, al as FarmSourceRoot, aa as GenerateStaticParams, a4 as Layout, a2 as LayoutMetadataProps, ab as LayoutModule, L as LayoutProps, a5 as Loading, _ as LoadingProps, M as Metadata, ac as MetadataJsonLd, a1 as MetadataProps, ai as MetadataRobots, ah as MetadataRobotsDirectives, G as MiddlewareProps, T as NitroPreset, a3 as Page, o as PageProps, a0 as PagePropsWithMiddleware, S as PageRouteParams, P as ParsedRoute, q as PluginContextProps, am as ResolveFarmLayersOptions, ak as ResolvedFarmLayer, X as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ag as SSGCollectionResult, af as SSGPage, ad as ServerAction, a8 as StaticPathParams, a7 as StaticPathPrimitive, a9 as StaticRouteParams, as as createFarmConfigResolutionPlugin, N as defineConfig, K as farmPlugin, aq as getFarmAppDirectories, ar as getFarmLayerAliases, ap as getFarmSourceRoots, at as loadFarmConfigFile, ao as resolveFarmLayers } from './client-plugins-
|
|
4
|
-
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-M8nVWvNU.js';
|
|
2
|
+
import { J as FarmConfig, C as FarmUserConfig } from './client-plugins-Fl9Og3yB.js';
|
|
3
|
+
export { Q as AppRoutePattern, ae as BuildOptions, a6 as ErrorBoundary, $ as ErrorProps, m as FarmAppContext, O as FarmComponentType, E as FarmContextFactory, Y as FarmContextFactoryInput, Z as FarmIsolatedClientHydrationMode, aj as FarmLayerEntry, an as FarmLayerResolution, U as FarmMigrationCommand, V as FarmMigrationsConfig, W as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, al as FarmSourceRoot, aa as GenerateStaticParams, a4 as Layout, a2 as LayoutMetadataProps, ab as LayoutModule, L as LayoutProps, a5 as Loading, _ as LoadingProps, M as Metadata, ac as MetadataJsonLd, a1 as MetadataProps, ai as MetadataRobots, ah as MetadataRobotsDirectives, G as MiddlewareProps, T as NitroPreset, a3 as Page, o as PageProps, a0 as PagePropsWithMiddleware, S as PageRouteParams, P as ParsedRoute, q as PluginContextProps, am as ResolveFarmLayersOptions, ak as ResolvedFarmLayer, X as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ag as SSGCollectionResult, af as SSGPage, ad as ServerAction, a8 as StaticPathParams, a7 as StaticPathPrimitive, a9 as StaticRouteParams, as as createFarmConfigResolutionPlugin, N as defineConfig, K as farmPlugin, aq as getFarmAppDirectories, ar as getFarmLayerAliases, ap as getFarmSourceRoots, at as loadFarmConfigFile, ao as resolveFarmLayers } from './client-plugins-Fl9Og3yB.js';
|
|
4
|
+
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-u7ZBSWAK.js';
|
|
5
5
|
export { 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';
|
|
6
|
-
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets,
|
|
6
|
+
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.js';
|
|
7
7
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
|
|
8
8
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
|
|
9
9
|
import { ViteDevServer } from 'vite';
|
|
10
|
-
export { g as getCurrentRequest } from './request-
|
|
10
|
+
export { g as getCurrentRequest } from './request-Dbf3G0zM.js';
|
|
11
11
|
import { ServerResponse } from 'node:http';
|
|
12
12
|
export { getTheme, getThemeSnapshot } from './theme/server.js';
|
|
13
13
|
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';
|
|
@@ -15,6 +15,7 @@ export { FarmEnvironment, FarmEnvironmentError, FarmIsomorphicFnOptions, createC
|
|
|
15
15
|
export { e as FarmStorageBuiltinDriverConfig, F as FarmStorageClient, a as FarmStorageClientConfig, f as FarmStorageConfigObject, g as FarmStorageCustomDriverConfig, c as FarmStorageDatabaseConfig, h as FarmStorageDatabaseDriverName, b as FarmStorageLocalDriverConfig, j as FarmStorageMountConfig, k as FarmStorageMounts, i as FarmStorageRuntimeClient, d as FarmStorageUserConfig } from './types-Cc8l9IqS.js';
|
|
16
16
|
export { BuiltinDriverName, BuiltinDriverOptions, Driver, Storage, StorageMeta, StorageValue, TransactionOptions } from 'unstorage';
|
|
17
17
|
export { ConnectorName, ConnectorOptions, Database } from 'db0';
|
|
18
|
+
export { a as applyFarmCacheInvalidations } from './cache-invalidation-BD0z_lfu.js';
|
|
18
19
|
import './types-DFbjpjXX.js';
|
|
19
20
|
import '@farming-labs/docs';
|
|
20
21
|
import './workflows-CR9ex-gz.js';
|
|
@@ -41,8 +42,8 @@ import 'rolldown';
|
|
|
41
42
|
import './types-DQnyD3VD.js';
|
|
42
43
|
import './font.js';
|
|
43
44
|
import './island-CfGru1MO.js';
|
|
44
|
-
import './metadata-
|
|
45
|
-
import './render-plan-
|
|
45
|
+
import './metadata-BdDKgd7K.js';
|
|
46
|
+
import './render-plan-B41EWmBb.js';
|
|
46
47
|
import './runtime-BirxPwbZ.js';
|
|
47
48
|
import './resolver-PPEeiJ6M.js';
|
|
48
49
|
|
package/dist/server.mjs
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
FARM_SERVER_QUERY_SYMBOL,
|
|
12
12
|
createServerQuery
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-4V7GIE2U.mjs";
|
|
14
|
+
import "./chunk-GZYH4OER.mjs";
|
|
15
15
|
import {
|
|
16
16
|
loadFarmDocsEngine
|
|
17
17
|
} from "./chunk-2VQKKQ6D.mjs";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
isResolvedFarmConfig,
|
|
20
20
|
loadConfig,
|
|
21
21
|
resolveConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PZPDGOU5.mjs";
|
|
23
23
|
import "./chunk-XZNTNMHT.mjs";
|
|
24
24
|
import {
|
|
25
25
|
loadFarmInstrumentation,
|
|
@@ -46,14 +46,14 @@ import {
|
|
|
46
46
|
loadTailwindVitePlugin,
|
|
47
47
|
mergeFarmViteConfig,
|
|
48
48
|
resolveFarmImageProviderForRuntime
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-ZRIE4KMG.mjs";
|
|
50
|
+
import "./chunk-O3DTUAX2.mjs";
|
|
51
51
|
import {
|
|
52
52
|
readSchemaTables
|
|
53
53
|
} from "./chunk-HALDNTIV.mjs";
|
|
54
54
|
import "./chunk-ZMSZZXOR.mjs";
|
|
55
55
|
import "./chunk-F3VB7ONA.mjs";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-FB3H4INL.mjs";
|
|
57
57
|
import "./chunk-DAO7JGTS.mjs";
|
|
58
58
|
import "./chunk-BOYNDCZL.mjs";
|
|
59
59
|
import "./chunk-YQVSHTMR.mjs";
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
loadFarmRendererVitePlugins,
|
|
88
88
|
resolveFarmRenderer
|
|
89
89
|
} from "./chunk-DAATZTKJ.mjs";
|
|
90
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-REGFZJEJ.mjs";
|
|
91
91
|
import "./chunk-G2KY33I6.mjs";
|
|
92
92
|
import "./chunk-YHOCRI4H.mjs";
|
|
93
93
|
import {
|
|
@@ -106,10 +106,10 @@ import {
|
|
|
106
106
|
import {
|
|
107
107
|
setEnv
|
|
108
108
|
} from "./chunk-4OOBRCJX.mjs";
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-NVBS5WSZ.mjs";
|
|
110
|
+
import "./chunk-2DLN6HG4.mjs";
|
|
111
111
|
import "./chunk-FA2W42OV.mjs";
|
|
112
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-K3YEZLSY.mjs";
|
|
113
113
|
import "./chunk-MVL2RAJW.mjs";
|
|
114
114
|
import "./chunk-SFGWNC43.mjs";
|
|
115
115
|
import "./chunk-3ATMYLLJ.mjs";
|
|
@@ -148,7 +148,7 @@ import "./chunk-SEJ5N6SL.mjs";
|
|
|
148
148
|
import "./chunk-JLCQGPXE.mjs";
|
|
149
149
|
import "./chunk-FP2INE7H.mjs";
|
|
150
150
|
import "./chunk-44SYJEG3.mjs";
|
|
151
|
-
import "./chunk-
|
|
151
|
+
import "./chunk-VUMAE7NC.mjs";
|
|
152
152
|
import "./chunk-NRVGEI5I.mjs";
|
|
153
153
|
import "./chunk-5TISYEQF.mjs";
|
|
154
154
|
import "./chunk-R3DS7A2T.mjs";
|
|
@@ -158,20 +158,38 @@ import {
|
|
|
158
158
|
_withAfterNodeMiddleware,
|
|
159
159
|
after
|
|
160
160
|
} from "./chunk-IOEH4VWN.mjs";
|
|
161
|
-
import "./chunk-
|
|
162
|
-
import "./chunk-
|
|
161
|
+
import "./chunk-BXFWA23T.mjs";
|
|
162
|
+
import "./chunk-LNZ7JZUS.mjs";
|
|
163
163
|
import "./chunk-CU625VAY.mjs";
|
|
164
164
|
import "./chunk-JNGIWIY6.mjs";
|
|
165
165
|
import "./chunk-FV45CKBC.mjs";
|
|
166
166
|
import "./chunk-YOZYCI6Z.mjs";
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-X7WVQMIB.mjs";
|
|
168
|
+
import "./chunk-4IEPYMHF.mjs";
|
|
169
169
|
import "./chunk-W3B4PKAW.mjs";
|
|
170
170
|
import "./chunk-5WI2S4CO.mjs";
|
|
171
171
|
import "./chunk-O6XNAMBV.mjs";
|
|
172
172
|
import "./chunk-I6XDAKWQ.mjs";
|
|
173
173
|
import "./chunk-EA5K5BKU.mjs";
|
|
174
174
|
import "./chunk-2J7W2WND.mjs";
|
|
175
|
+
import {
|
|
176
|
+
FarmDataCache,
|
|
177
|
+
applyFarmCacheInvalidationTargets,
|
|
178
|
+
configureFarmCache,
|
|
179
|
+
createFarmCacheInvalidationStream,
|
|
180
|
+
createPathCacheTag,
|
|
181
|
+
createRouteDataCacheTag,
|
|
182
|
+
defineCacheKey,
|
|
183
|
+
getFarmDataCache,
|
|
184
|
+
invalidate,
|
|
185
|
+
invalidateRouteData,
|
|
186
|
+
normalizeRevalidatePath,
|
|
187
|
+
revalidatePath,
|
|
188
|
+
revalidateTag,
|
|
189
|
+
storageCacheAdapter,
|
|
190
|
+
unstable_cache,
|
|
191
|
+
updateTag
|
|
192
|
+
} from "./chunk-IV6CQY7O.mjs";
|
|
175
193
|
import "./chunk-XF7Q24PF.mjs";
|
|
176
194
|
import {
|
|
177
195
|
createCliColors
|
|
@@ -196,12 +214,13 @@ import {
|
|
|
196
214
|
toViteModuleId
|
|
197
215
|
} from "./chunk-KI3MESHB.mjs";
|
|
198
216
|
import "./chunk-QVKYGNVM.mjs";
|
|
217
|
+
import "./chunk-FUZEBRP3.mjs";
|
|
199
218
|
import {
|
|
200
219
|
sendWebResponse
|
|
201
220
|
} from "./chunk-Z2RZJZIZ.mjs";
|
|
202
221
|
import {
|
|
203
222
|
FARM_VERSION
|
|
204
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-UX2DD2VK.mjs";
|
|
205
224
|
import "./chunk-54UPOYFS.mjs";
|
|
206
225
|
import "./chunk-WNSDDRNU.mjs";
|
|
207
226
|
import "./chunk-JPLUGGRV.mjs";
|
|
@@ -210,35 +229,18 @@ import "./chunk-EMLAPBEM.mjs";
|
|
|
210
229
|
import "./chunk-O7BH5O46.mjs";
|
|
211
230
|
import "./chunk-7LTCDQRS.mjs";
|
|
212
231
|
import "./chunk-IXUY2F5U.mjs";
|
|
213
|
-
import "./chunk-
|
|
232
|
+
import "./chunk-QZCT2CQ4.mjs";
|
|
214
233
|
import "./chunk-SKNL7VA2.mjs";
|
|
215
234
|
import "./chunk-2A3EQHXX.mjs";
|
|
216
235
|
import "./chunk-JNZ4TDWM.mjs";
|
|
236
|
+
import "./chunk-C4NCTZLM.mjs";
|
|
217
237
|
import {
|
|
218
|
-
FarmDataCache,
|
|
219
|
-
applyFarmCacheInvalidationTargets,
|
|
220
|
-
configureFarmCache,
|
|
221
|
-
createFarmCacheInvalidationStream,
|
|
222
238
|
createFarmCacheKey,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
createRouteDataCacheTag,
|
|
226
|
-
defineCacheKey,
|
|
227
|
-
getFarmDataCache,
|
|
228
|
-
invalidate,
|
|
229
|
-
invalidateRouteData,
|
|
230
|
-
normalizeRevalidatePath,
|
|
231
|
-
revalidatePath,
|
|
232
|
-
revalidateTag,
|
|
233
|
-
storageCacheAdapter,
|
|
234
|
-
unstable_cache,
|
|
235
|
-
updateTag
|
|
236
|
-
} from "./chunk-F6SJAKFJ.mjs";
|
|
239
|
+
createRouteDataCacheKey
|
|
240
|
+
} from "./chunk-CNOQY6Z7.mjs";
|
|
237
241
|
import {
|
|
238
242
|
applyFarmCacheInvalidations
|
|
239
243
|
} from "./chunk-4SIYUGRY.mjs";
|
|
240
|
-
import "./chunk-C4NCTZLM.mjs";
|
|
241
|
-
import "./chunk-FUZEBRP3.mjs";
|
|
242
244
|
import {
|
|
243
245
|
createHeadersPlugin,
|
|
244
246
|
createLoggerPlugin,
|
|
@@ -763,12 +765,20 @@ function noticeSchemaChangesInBackground(config) {
|
|
|
763
765
|
__name(noticeSchemaChangesInBackground, "noticeSchemaChangesInBackground");
|
|
764
766
|
async function startDevServer(config = {}, port) {
|
|
765
767
|
const server = await createServer2(config, { port });
|
|
768
|
+
const pluginManager = server.__farmPluginManager;
|
|
766
769
|
try {
|
|
767
770
|
await server.listen(port);
|
|
768
|
-
const pluginManager = server.__farmPluginManager;
|
|
769
771
|
await pluginManager?.startRuntime();
|
|
770
772
|
noticeSchemaChangesInBackground(server.__farmResolvedConfig);
|
|
771
773
|
} catch (error) {
|
|
774
|
+
try {
|
|
775
|
+
await pluginManager?.runHookParallel("onError", { phase: "startDevServer", error });
|
|
776
|
+
} catch (reportError) {
|
|
777
|
+
console.error(
|
|
778
|
+
"Failed to run plugin error hooks after a dev server start failure:",
|
|
779
|
+
reportError
|
|
780
|
+
);
|
|
781
|
+
}
|
|
772
782
|
try {
|
|
773
783
|
await server.close();
|
|
774
784
|
} catch (closeError) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins-
|
|
1
|
+
import { M as Metadata } from './client-plugins-Fl9Og3yB.js';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.js';
|
|
3
3
|
import { F as FarmI18nClientSnapshot } from './types-Z0aotQ8w.js';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island-CfGru1MO.js';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan-B41EWmBb.js';
|
|
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-
|
|
1
|
+
import { M as Metadata } from './client-plugins-CgYNY7jF.mjs';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.mjs';
|
|
3
3
|
import { F as FarmI18nClientSnapshot } from './types-Z0aotQ8w.mjs';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island-CfGru1MO.mjs';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan-_1TAWODt.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|