@farm.js/core 0.1.50 → 0.1.51-beta.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 +163 -3
- package/dist/{agent-mcp-9BMbRgg_.d.ts → agent-mcp-BBMfNpsC.d.ts} +1 -1
- package/dist/{agent-mcp-CIMH324y.d.mts → agent-mcp-D44ip11f.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/{analyzer-DDW34OMC.mjs → analyzer-HOUCQR3K.mjs} +1 -1
- package/dist/{analyzer-CN7C74WX.cjs → analyzer-VKUDHNDF.cjs} +2 -2
- package/dist/api/route-manager.cjs +5 -5
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +4 -4
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +6 -6
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/api.mjs +5 -5
- package/dist/{app-BWibTHVT.d.ts → app-CourU3rQ.d.ts} +4 -4
- package/dist/{app-DVJ13FPA.d.mts → app-aeD4s_mg.d.mts} +4 -4
- package/dist/{app-manifest-CQDJOKL2.d.mts → app-manifest-BC6mFn5A.d.mts} +1 -1
- package/dist/{app-manifest-D0kaXdwu.d.ts → app-manifest-LzjoNPeq.d.ts} +1 -1
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/base-path-BOUV5ozD.d.mts +10 -0
- package/dist/base-path-BOUV5ozD.d.ts +10 -0
- package/dist/{chunk-RWT2BTJT.cjs → chunk-2IAPKPEB.cjs} +6 -6
- package/dist/{chunk-2G63BIRL.mjs → chunk-2KVDHNQS.mjs} +8 -11
- package/dist/{chunk-76R5GJER.mjs → chunk-3HA7PP72.mjs} +2 -2
- package/dist/{chunk-NJVFPJ2Y.cjs → chunk-3OWVWZ6R.cjs} +28 -2
- package/dist/{chunk-KO2NWUKN.mjs → chunk-4GJJ65RB.mjs} +9 -1
- package/dist/{chunk-GERUXONA.cjs → chunk-5A77OEIG.cjs} +4 -1
- package/dist/{chunk-4HBKBHVP.mjs → chunk-5ENW27SL.mjs} +1 -1
- package/dist/{chunk-MTB57GOK.mjs → chunk-724WT3NI.mjs} +4 -2
- package/dist/{chunk-VCKGOXFI.cjs → chunk-76GHW3WI.cjs} +7 -1
- package/dist/{chunk-ZIBIE7AH.mjs → chunk-7UPCJDB5.mjs} +7 -1
- package/dist/{chunk-CPXDDWGL.mjs → chunk-AER5I65K.mjs} +1 -1
- package/dist/{chunk-WB6XES4V.mjs → chunk-ALEUMLJN.mjs} +34 -5
- package/dist/{chunk-WVBUXNBX.mjs → chunk-AMRK3P6W.mjs} +123 -47
- package/dist/{chunk-L6QDME5Z.cjs → chunk-B3GZAQSC.cjs} +3 -3
- package/dist/chunk-CKPTIEDX.cjs +12 -0
- package/dist/{chunk-B5S2JS6M.cjs → chunk-DWW3AMJX.cjs} +288 -255
- package/dist/{chunk-EQMTJBB7.cjs → chunk-DZZHTMWM.cjs} +35 -6
- package/dist/{chunk-3ATXWZPH.cjs → chunk-E36C43IX.cjs} +13 -16
- package/dist/{chunk-J2ZEVDEK.cjs → chunk-EHB77D5U.cjs} +3 -3
- package/dist/{chunk-WQGRD5BJ.cjs → chunk-EX6ZSN5P.cjs} +1 -16
- package/dist/{chunk-474FO3UE.cjs → chunk-F42U3R4F.cjs} +170 -163
- package/dist/{chunk-6QA2SXVH.cjs → chunk-FK25QSVC.cjs} +2 -1
- package/dist/{chunk-BW6SCVYX.mjs → chunk-FSQMN2MQ.mjs} +1 -0
- package/dist/{chunk-2H3FJYY6.mjs → chunk-FSXSQQTV.mjs} +3 -2
- package/dist/chunk-GNZIAJGB.mjs +358 -0
- package/dist/{chunk-TXK4D46O.mjs → chunk-H3ASZDT7.mjs} +21 -1
- package/dist/{chunk-B6PREBN6.cjs → chunk-HASX6DC7.cjs} +8 -8
- package/dist/{chunk-ZLOQQ2UF.mjs → chunk-I2ZA5SXS.mjs} +60 -27
- package/dist/{chunk-X2EL3BLH.cjs → chunk-IOUOGRDX.cjs} +11 -3
- package/dist/{chunk-CBJKDB6F.mjs → chunk-IRSS4HS4.mjs} +1 -1
- package/dist/{chunk-GOOK2J2W.cjs → chunk-J22JD5YJ.cjs} +2 -2
- package/dist/{chunk-2DEPNLXK.mjs → chunk-JF5CNHHF.mjs} +4 -4
- package/dist/{chunk-VOZ5DI7D.mjs → chunk-JWI5PUO2.mjs} +6 -2
- package/dist/{chunk-YAXOEAND.cjs → chunk-KHXAJ2KA.cjs} +6 -6
- package/dist/{chunk-WXHDVXJE.mjs → chunk-KY32FWK7.mjs} +2 -2
- package/dist/{chunk-EQWWOQTK.cjs → chunk-LEIXUFJN.cjs} +6 -2
- package/dist/{chunk-2GLQSIZD.mjs → chunk-LMFJCXDD.mjs} +1 -1
- package/dist/{chunk-IXSMFKZ2.cjs → chunk-LNM57D3H.cjs} +4 -4
- package/dist/{chunk-5V4KZOZO.mjs → chunk-LZ4SB57H.mjs} +2 -2
- package/dist/{chunk-E2BMCNMJ.cjs → chunk-MMEEXMUQ.cjs} +2 -2
- package/dist/chunk-N4AQNEXR.cjs +17 -0
- package/dist/{chunk-JZMZKABS.cjs → chunk-NWUHS6GV.cjs} +3 -2
- package/dist/{chunk-LYWAGXXW.cjs → chunk-O3MMJPC2.cjs} +12 -12
- package/dist/{chunk-FACTMUPI.cjs → chunk-PDJSL7PL.cjs} +30 -19
- package/dist/{chunk-XLLVWLWO.mjs → chunk-PIHKO25G.mjs} +1 -1
- package/dist/chunk-PIUTGRDI.cjs +358 -0
- package/dist/{chunk-KGP76FSV.mjs → chunk-PPDHCRTC.mjs} +1 -1
- package/dist/{chunk-C73RIAEF.mjs → chunk-QI5AQMEE.mjs} +17 -6
- package/dist/{chunk-F5LERVY3.cjs → chunk-QK3HBOTG.cjs} +10 -10
- package/dist/{chunk-Q3UU2KXC.mjs → chunk-QMDU6QHN.mjs} +4 -1
- package/dist/{chunk-JJOWY3XD.mjs → chunk-R5P4KFPM.mjs} +1 -1
- package/dist/{chunk-IWJKJDNW.mjs → chunk-S5ZA2T2W.mjs} +35 -28
- package/dist/{chunk-PXEXOQ5R.mjs → chunk-SHS6KXOZ.mjs} +1 -1
- package/dist/{chunk-ETF5C6HR.cjs → chunk-SJ23LJ3N.cjs} +3 -3
- package/dist/{chunk-KZH6YLND.cjs → chunk-SO3T6T4I.cjs} +427 -351
- package/dist/{chunk-JHXJBNLY.cjs → chunk-SUCDVKUB.cjs} +21 -1
- package/dist/{chunk-7ONZDKVY.mjs → chunk-T4EW7AAD.mjs} +2 -2
- package/dist/{chunk-UY6HS5PF.cjs → chunk-USL2ANCB.cjs} +8 -8
- package/dist/{chunk-4T25YCZ5.cjs → chunk-VIFPE5RG.cjs} +14 -14
- package/dist/{chunk-HYN3LLG7.cjs → chunk-VO6NLTV4.cjs} +3 -3
- package/dist/{chunk-XN2MB4QZ.cjs → chunk-VQJYGZNX.cjs} +4 -4
- package/dist/{chunk-5PKDHKQP.cjs → chunk-WFVSAT7Y.cjs} +6 -4
- package/dist/{chunk-X3HOVNHI.mjs → chunk-WSY2JD7O.mjs} +6 -6
- package/dist/{chunk-SHJJM6OG.mjs → chunk-WVX3BUNJ.mjs} +1 -1
- package/dist/chunk-X3EFRVXY.mjs +12 -0
- package/dist/{chunk-UCQ52TJY.mjs → chunk-X3JNB2TB.mjs} +1 -1
- package/dist/{chunk-RHOR2J6V.cjs → chunk-X5BCMLGP.cjs} +1 -1
- package/dist/{chunk-IQXGHGZF.cjs → chunk-XB24LZWI.cjs} +5 -5
- package/dist/{chunk-BNMHXVLL.mjs → chunk-XMHERKSE.mjs} +0 -15
- package/dist/{chunk-CGCJ2TJU.cjs → chunk-XPMC4E2G.cjs} +3 -3
- package/dist/{chunk-HWCHIBJZ.mjs → chunk-XWC5NAHV.mjs} +4 -4
- package/dist/{chunk-C7425KDG.cjs → chunk-XYL4HSVC.cjs} +2 -2
- package/dist/{chunk-2SVJGOAX.mjs → chunk-Y3N5BFRJ.mjs} +3 -3
- package/dist/{chunk-IUBDMDZZ.cjs → chunk-Y7TLL65B.cjs} +4 -4
- package/dist/{chunk-M7LKA632.mjs → chunk-YLNBWUVS.mjs} +1 -1
- package/dist/chunk-Z5A6CNV2.mjs +60 -0
- package/dist/chunk-Z64V4WZI.mjs +17 -0
- package/dist/{chunk-2VCC3GVC.mjs → chunk-ZF3GX4O7.mjs} +1 -1
- package/dist/{client-plugins-BPfltM5m.d.ts → client-plugins-CFBEfVPO.d.ts} +20 -3
- package/dist/{client-plugins-D4RO59f0.d.mts → client-plugins-cqy_dQd0.d.mts} +20 -3
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.cjs +5 -4
- package/dist/client.d.mts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.mjs +4 -3
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/cron.cjs +4 -4
- package/dist/cron.mjs +3 -3
- package/dist/desktop.d.mts +2 -2
- package/dist/desktop.d.ts +2 -2
- package/dist/{devtools-STG7HPRV.mjs → devtools-4MLL3RAL.mjs} +6 -6
- package/dist/{devtools-N5XTOECL.cjs → devtools-4ZLMD454.cjs} +8 -8
- package/dist/docs.cjs +10 -10
- package/dist/docs.d.mts +2 -2
- package/dist/docs.d.ts +2 -2
- package/dist/docs.mjs +9 -9
- package/dist/{index-k8o8eUOd.d.mts → index-BYkNbeQV.d.mts} +1 -1
- package/dist/{index-C-N3Pwg-.d.ts → index-BxjN_UDZ.d.ts} +1 -1
- package/dist/index.cjs +42 -40
- package/dist/index.d.mts +16 -16
- package/dist/index.d.ts +16 -16
- package/dist/index.mjs +41 -39
- 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 +32 -31
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +31 -30
- package/dist/internal/cli-runtime.cjs +15 -15
- package/dist/internal/cli-runtime.mjs +14 -14
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.cjs +4 -2
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/client-runtime.mjs +3 -1
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +8 -8
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +7 -7
- package/dist/internal/form-actions.cjs +4 -3
- package/dist/internal/form-actions.mjs +3 -2
- package/dist/internal/infra-analytics-runtime.cjs +5 -5
- package/dist/internal/infra-analytics-runtime.mjs +3 -3
- package/dist/internal/islands-runtime.cjs +56 -0
- package/dist/internal/islands-runtime.mjs +57 -1
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +11 -8
- package/dist/internal/production-runtime.d.mts +24 -11
- package/dist/internal/production-runtime.d.ts +24 -11
- package/dist/internal/production-runtime.mjs +10 -7
- package/dist/internal/server-fn-transform.cjs +13 -0
- package/dist/internal/server-fn-transform.d.mts +24 -0
- package/dist/internal/server-fn-transform.d.ts +24 -0
- package/dist/internal/server-fn-transform.mjs +13 -0
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.cjs +7 -7
- package/dist/middleware.d.mts +3 -3
- package/dist/middleware.d.ts +3 -3
- package/dist/middleware.mjs +6 -6
- package/dist/mobile.d.mts +30 -3
- package/dist/mobile.d.ts +30 -3
- package/dist/{navigation-delegate-8xg3Zvp4.d.ts → navigation-delegate-BU4xqdnw.d.ts} +1 -1
- package/dist/{navigation-delegate-ji6elCKy.d.mts → navigation-delegate-DLhbfEN4.d.mts} +1 -1
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/{nitro-YPSZBYDK.cjs → nitro-CK7M4RMY.cjs} +11 -11
- package/dist/{nitro-2Q5NVY7L.mjs → nitro-R444AF3O.mjs} +7 -7
- package/dist/plugin.cjs +25 -23
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.mjs +24 -22
- package/dist/{production-runtime-TdKaYRj0.d.ts → production-runtime-C78A8YgK.d.ts} +1 -1
- package/dist/{production-runtime-DXnQQkQf.d.mts → production-runtime-DLA4J5WG.d.mts} +1 -1
- package/dist/{programmatic-routes-client-BwiTndEC.d.ts → programmatic-routes-client-CBqkNhBy.d.ts} +2 -2
- package/dist/{programmatic-routes-client-Dh1SDLSM.d.mts → programmatic-routes-client-NpqGBn-i.d.mts} +2 -2
- package/dist/{render-plan-BvCGXF6K.d.mts → render-plan-C9sWvDTv.d.mts} +1 -1
- package/dist/{render-plan-BPbwRbuN.d.ts → render-plan-CrqcBbnV.d.ts} +1 -1
- package/dist/renderer-client.cjs +8 -6
- package/dist/renderer-client.d.mts +4 -4
- package/dist/renderer-client.d.ts +4 -4
- package/dist/renderer-client.mjs +4 -2
- package/dist/{request-B8PGTZNR.d.ts → request-BizeuqD7.d.ts} +1 -1
- package/dist/{request-C_xTkJib.d.mts → request-WwB1-Uim.d.mts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering-RNtcj607.d.ts → route-rendering-BGhJN64l.d.ts} +1 -1
- package/dist/{route-rendering-DlddURL1.d.mts → route-rendering-S6NFjnx4.d.mts} +1 -1
- package/dist/{router-B97eB0Mq.d.mts → router-BIheIy9G.d.mts} +1 -1
- package/dist/{router-qUVaoEN8.d.ts → router-BUD_j2EL.d.ts} +1 -1
- package/dist/routes.cjs +3 -2
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/routes.mjs +2 -1
- package/dist/{rsc-pipeline-L4XOZ2TE.cjs → rsc-pipeline-JRGUZBYM.cjs} +11 -11
- package/dist/{rsc-pipeline-T3775JUA.mjs → rsc-pipeline-OLAVIKI3.mjs} +10 -10
- package/dist/{runtime-C8GUnNeP.d.ts → runtime-CWP-21hP.d.ts} +1 -1
- package/dist/{runtime-CaDswfWi.d.mts → runtime-CgJwe6H_.d.mts} +1 -1
- package/dist/{runtime-BIBGJO7V.cjs → runtime-G23RSLEK.cjs} +14 -14
- package/dist/{runtime-HRSFC4ZC.mjs → runtime-OGCHDACZ.mjs} +12 -12
- package/dist/{schema-dev-notice-LZ5NXGLN.mjs → schema-dev-notice-F6QYSOAI.mjs} +2 -2
- package/dist/{schema-dev-notice-XV7GZ3QJ.cjs → schema-dev-notice-UU7DMZEU.cjs} +3 -3
- package/dist/{search-client-BTXL5XWD.mjs → search-client-OXH6GBNO.mjs} +5 -3
- package/dist/search-client-ZZLKVO5R.cjs +15 -0
- package/dist/server-action-security.cjs +2 -2
- package/dist/server-action-security.mjs +1 -1
- package/dist/server-fn.cjs +3 -3
- package/dist/server-fn.mjs +2 -2
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server-query-client.cjs +4 -3
- package/dist/server-query-client.mjs +3 -2
- package/dist/server-query.cjs +4 -4
- package/dist/server-query.mjs +3 -3
- package/dist/server.cjs +57 -55
- package/dist/server.d.mts +9 -9
- package/dist/server.d.ts +9 -9
- package/dist/server.mjs +34 -32
- package/dist/{spa-router-Dlv5ofg0.d.mts → spa-router-CVOL0Vrq.d.mts} +2 -2
- package/dist/{spa-router-qapSboKz.d.ts → spa-router-Kytv4jSB.d.ts} +2 -2
- package/dist/testing.cjs +12 -11
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +9 -8
- package/dist/{utils-A-cYF81u.d.ts → utils-DbyXlzaj.d.ts} +1 -1
- package/dist/{utils-DyvlSxFk.d.mts → utils-Dsa1HZ7X.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +25 -23
- package/dist/vite.d.mts +4 -4
- package/dist/vite.d.ts +4 -4
- package/dist/vite.mjs +24 -22
- package/dist/workflows.cjs +4 -4
- package/dist/workflows.mjs +3 -3
- package/package.json +8 -3
- package/dist/base-path-leyrqXbX.d.mts +0 -19
- package/dist/base-path-leyrqXbX.d.ts +0 -19
- package/dist/chunk-OTOOJIUB.mjs +0 -34
- package/dist/search-client-QCYAL6AY.cjs +0 -13
package/dist/server.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkXPMC4E2Gcjs = require('./chunk-XPMC4E2G.cjs');
|
|
4
4
|
require('./chunk-3376ZTRC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkVO6NLTV4cjs = require('./chunk-VO6NLTV4.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -21,8 +21,8 @@ var _chunkOCS3PSYRcjs = require('./chunk-OCS3PSYR.cjs');
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
var
|
|
25
|
-
require('./chunk-
|
|
24
|
+
var _chunkHASX6DC7cjs = require('./chunk-HASX6DC7.cjs');
|
|
25
|
+
require('./chunk-2IAPKPEB.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkV3UOEWCBcjs = require('./chunk-V3UOEWCB.cjs');
|
|
@@ -32,7 +32,7 @@ var _chunkV3UOEWCBcjs = require('./chunk-V3UOEWCB.cjs');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
var
|
|
35
|
+
var _chunkO3MMJPC2cjs = require('./chunk-O3MMJPC2.cjs');
|
|
36
36
|
require('./chunk-OZC2JPW6.cjs');
|
|
37
37
|
require('./chunk-MPU5DOXX.cjs');
|
|
38
38
|
|
|
@@ -40,11 +40,12 @@ require('./chunk-MPU5DOXX.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkDWW3AMJXcjs = require('./chunk-DWW3AMJX.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
var _chunkDGOLAZLVcjs = require('./chunk-DGOLAZLV.cjs');
|
|
48
|
+
require('./chunk-PIUTGRDI.cjs');
|
|
48
49
|
require('./chunk-A5BJKSZE.cjs');
|
|
49
50
|
|
|
50
51
|
|
|
@@ -56,37 +57,38 @@ require('./chunk-A5BJKSZE.cjs');
|
|
|
56
57
|
|
|
57
58
|
|
|
58
59
|
|
|
59
|
-
var
|
|
60
|
+
var _chunkF42U3R4Fcjs = require('./chunk-F42U3R4F.cjs');
|
|
60
61
|
|
|
61
62
|
|
|
62
|
-
var
|
|
63
|
+
var _chunkLNM57D3Hcjs = require('./chunk-LNM57D3H.cjs');
|
|
63
64
|
|
|
64
65
|
|
|
65
66
|
|
|
66
67
|
var _chunk3EEET2Q5cjs = require('./chunk-3EEET2Q5.cjs');
|
|
67
|
-
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
|
|
72
|
+
require('./chunk-YKHRCY4T.cjs');
|
|
73
|
+
require('./chunk-Y7TLL65B.cjs');
|
|
74
|
+
require('./chunk-E36C43IX.cjs');
|
|
68
75
|
require('./chunk-N7JQXQAV.cjs');
|
|
69
|
-
require('./chunk-3ATXWZPH.cjs');
|
|
70
76
|
require('./chunk-SHD265HW.cjs');
|
|
71
77
|
|
|
72
78
|
|
|
73
79
|
var _chunkSYW346ZNcjs = require('./chunk-SYW346ZN.cjs');
|
|
74
80
|
require('./chunk-GBMWLDCC.cjs');
|
|
75
81
|
require('./chunk-QISW423S.cjs');
|
|
76
|
-
require('./chunk-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
|
|
81
|
-
require('./chunk-YKHRCY4T.cjs');
|
|
82
|
-
require('./chunk-VCKGOXFI.cjs');
|
|
82
|
+
require('./chunk-76GHW3WI.cjs');
|
|
83
83
|
require('./chunk-47JV57DA.cjs');
|
|
84
84
|
require('./chunk-EZTKXD6P.cjs');
|
|
85
85
|
require('./chunk-SGBNF56S.cjs');
|
|
86
|
-
require('./chunk-
|
|
86
|
+
require('./chunk-J22JD5YJ.cjs');
|
|
87
87
|
require('./chunk-SBABQKPT.cjs');
|
|
88
|
+
require('./chunk-YB44NKC2.cjs');
|
|
88
89
|
require('./chunk-XGJVRPYL.cjs');
|
|
89
|
-
require('./chunk-
|
|
90
|
+
require('./chunk-3OWVWZ6R.cjs');
|
|
91
|
+
require('./chunk-CKPTIEDX.cjs');
|
|
90
92
|
require('./chunk-7KJJ4SBS.cjs');
|
|
91
93
|
require('./chunk-OWOUTKIJ.cjs');
|
|
92
94
|
require('./chunk-TVCFY3KK.cjs');
|
|
@@ -134,8 +136,8 @@ var _chunk3EIPOTZVcjs = require('./chunk-3EIPOTZV.cjs');
|
|
|
134
136
|
var _chunk5Y2P454Ocjs = require('./chunk-5Y2P454O.cjs');
|
|
135
137
|
require('./chunk-2HW5LWAH.cjs');
|
|
136
138
|
require('./chunk-DQJ2CIH7.cjs');
|
|
137
|
-
require('./chunk-
|
|
138
|
-
require('./chunk-
|
|
139
|
+
require('./chunk-XB24LZWI.cjs');
|
|
140
|
+
require('./chunk-XYL4HSVC.cjs');
|
|
139
141
|
require('./chunk-2KMIJDY6.cjs');
|
|
140
142
|
|
|
141
143
|
|
|
@@ -149,7 +151,7 @@ require('./chunk-2KMIJDY6.cjs');
|
|
|
149
151
|
|
|
150
152
|
|
|
151
153
|
|
|
152
|
-
var
|
|
154
|
+
var _chunkFK25QSVCcjs = require('./chunk-FK25QSVC.cjs');
|
|
153
155
|
require('./chunk-WT6RAN2I.cjs');
|
|
154
156
|
require('./chunk-WJFFPXCV.cjs');
|
|
155
157
|
|
|
@@ -188,10 +190,10 @@ require('./chunk-WAPQWAE6.cjs');
|
|
|
188
190
|
require('./chunk-DUIP64BF.cjs');
|
|
189
191
|
require('./chunk-PFV2KPDZ.cjs');
|
|
190
192
|
require('./chunk-ZXK2EYQW.cjs');
|
|
191
|
-
require('./chunk-
|
|
192
|
-
require('./chunk-L6QDME5Z.cjs');
|
|
193
|
-
require('./chunk-J2ZEVDEK.cjs');
|
|
193
|
+
require('./chunk-USL2ANCB.cjs');
|
|
194
194
|
require('./chunk-UPYIFH2H.cjs');
|
|
195
|
+
require('./chunk-B3GZAQSC.cjs');
|
|
196
|
+
require('./chunk-EHB77D5U.cjs');
|
|
195
197
|
require('./chunk-YDXLC4DW.cjs');
|
|
196
198
|
require('./chunk-5DX3O6TT.cjs');
|
|
197
199
|
require('./chunk-BNH53KOT.cjs');
|
|
@@ -202,8 +204,8 @@ require('./chunk-KBGZ5FD6.cjs');
|
|
|
202
204
|
|
|
203
205
|
|
|
204
206
|
var _chunkP2355C6Ecjs = require('./chunk-P2355C6E.cjs');
|
|
205
|
-
require('./chunk-
|
|
206
|
-
require('./chunk-
|
|
207
|
+
require('./chunk-KHXAJ2KA.cjs');
|
|
208
|
+
require('./chunk-NWUHS6GV.cjs');
|
|
207
209
|
require('./chunk-SBDWCDS6.cjs');
|
|
208
210
|
require('./chunk-RVGLYMJM.cjs');
|
|
209
211
|
require('./chunk-BBPDJGCU.cjs');
|
|
@@ -258,8 +260,8 @@ require('./chunk-LNVGXUL3.cjs');
|
|
|
258
260
|
|
|
259
261
|
|
|
260
262
|
|
|
261
|
-
var
|
|
262
|
-
require('./chunk-
|
|
263
|
+
var _chunkVQJYGZNXcjs = require('./chunk-VQJYGZNX.cjs');
|
|
264
|
+
require('./chunk-SUCDVKUB.cjs');
|
|
263
265
|
require('./chunk-EVIWKPJV.cjs');
|
|
264
266
|
|
|
265
267
|
|
|
@@ -269,7 +271,7 @@ require('./chunk-JYT7AN37.cjs');
|
|
|
269
271
|
require('./chunk-B5BBTPJQ.cjs');
|
|
270
272
|
|
|
271
273
|
|
|
272
|
-
var
|
|
274
|
+
var _chunkX5BCMLGPcjs = require('./chunk-X5BCMLGP.cjs');
|
|
273
275
|
require('./chunk-JGAE5XPL.cjs');
|
|
274
276
|
require('./chunk-OOZEU5KK.cjs');
|
|
275
277
|
require('./chunk-HA7YRO53.cjs');
|
|
@@ -378,7 +380,7 @@ async function closeViteDevServer(server, closeViteServer) {
|
|
|
378
380
|
timedOut
|
|
379
381
|
]);
|
|
380
382
|
if (outcome === "timeout") {
|
|
381
|
-
|
|
383
|
+
_chunkVQJYGZNXcjs.logger.error(
|
|
382
384
|
`Vite server close did not settle within ${VITE_CLOSE_TIMEOUT_MS}ms; continuing shutdown without it (https://github.com/farming-labs/farm.js/issues/1263)`
|
|
383
385
|
);
|
|
384
386
|
await Promise.allSettled([
|
|
@@ -454,7 +456,7 @@ function createFarmDevLifecyclePlugin(pluginManager, instrumentation) {
|
|
|
454
456
|
const closeIfCurrent = () => {
|
|
455
457
|
if (owner.httpServer !== httpServer) return;
|
|
456
458
|
shutdownFarmDevRuntime(owner).catch((error) => {
|
|
457
|
-
|
|
459
|
+
_chunkVQJYGZNXcjs.logger.warn(`Dev server shutdown failed: ${error}`);
|
|
458
460
|
});
|
|
459
461
|
};
|
|
460
462
|
if (pendingRestarts.size > 0) {
|
|
@@ -492,7 +494,7 @@ function createBrandingPlugin() {
|
|
|
492
494
|
const pc = _chunkY3WG64CPcjs.createCliColors.call(void 0, );
|
|
493
495
|
console.log("");
|
|
494
496
|
console.log(
|
|
495
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
497
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkX5BCMLGPcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
496
498
|
);
|
|
497
499
|
console.log("");
|
|
498
500
|
console.log(
|
|
@@ -567,7 +569,7 @@ function inlineEnvScope(scope) {
|
|
|
567
569
|
);
|
|
568
570
|
}
|
|
569
571
|
async function resolveInlineConfig(config, mode) {
|
|
570
|
-
if (
|
|
572
|
+
if (_chunkO3MMJPC2cjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
571
573
|
_chunk3EIPOTZVcjs.setEnv.call(void 0, config.env);
|
|
572
574
|
return { ...config };
|
|
573
575
|
}
|
|
@@ -577,7 +579,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
577
579
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
578
580
|
const auth = config.auth;
|
|
579
581
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
580
|
-
const resolved = await
|
|
582
|
+
const resolved = await _chunkO3MMJPC2cjs.resolveConfig.call(void 0,
|
|
581
583
|
{
|
|
582
584
|
...config,
|
|
583
585
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -614,11 +616,11 @@ async function createServer2(config = {}, options = {}) {
|
|
|
614
616
|
try {
|
|
615
617
|
const root = config.root || process.cwd();
|
|
616
618
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
617
|
-
const userConfig = await
|
|
619
|
+
const userConfig = await _chunkO3MMJPC2cjs.loadConfig.call(void 0, root, void 0, mode);
|
|
618
620
|
checkWebDesktopBlock(_optionalChain([userConfig, 'optionalAccess', _19 => _19.desktop]));
|
|
619
621
|
const rscConfig = _nullishCoalesce(userConfig, () => ( config));
|
|
620
622
|
if (_chunkBPNOYILCcjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([rscConfig, 'access', _20 => _20.experimental, 'optionalAccess', _21 => _21.serverComponents]))) {
|
|
621
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
623
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-JRGUZBYM.cjs");
|
|
622
624
|
await _optionalChain([options, 'access', _22 => _22.ensureServerComponentsPackages, 'optionalCall', _23 => _23(rscConfig, root)]);
|
|
623
625
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
624
626
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -628,7 +630,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
628
630
|
});
|
|
629
631
|
}
|
|
630
632
|
}
|
|
631
|
-
const resolvedConfig = userConfig ? await
|
|
633
|
+
const resolvedConfig = userConfig ? await _chunkO3MMJPC2cjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
632
634
|
const instrumentationRoot = resolvedConfig.root;
|
|
633
635
|
const instrumentationFile = _chunkBRWIVOV4cjs.resolveFarmInstrumentationFile.call(void 0,
|
|
634
636
|
instrumentationRoot,
|
|
@@ -665,7 +667,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
665
667
|
pluginManager.addPlugin(_chunkCL2ONP73cjs.createCompressionPlugin.call(void 0, ));
|
|
666
668
|
}
|
|
667
669
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
668
|
-
const infraAnalytics = resolvedConfig.analytics !== false ?
|
|
670
|
+
const infraAnalytics = resolvedConfig.analytics !== false ? _chunkVO6NLTV4cjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
|
|
669
671
|
if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
|
|
670
672
|
if (mode === "development") {
|
|
671
673
|
const hasLogger = pluginManager.getPlugins().some((p) => p.name === "farm:logger");
|
|
@@ -678,7 +680,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
678
680
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
679
681
|
finalConfig.renderer = _chunkRD623KW4cjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
680
682
|
const projectRoot = finalConfig.root || process.cwd();
|
|
681
|
-
finalConfig.images =
|
|
683
|
+
finalConfig.images = _chunkF42U3R4Fcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
682
684
|
root: projectRoot,
|
|
683
685
|
dev: true
|
|
684
686
|
});
|
|
@@ -694,28 +696,28 @@ async function createServer2(config = {}, options = {}) {
|
|
|
694
696
|
let tailwindVitePlugin = void 0;
|
|
695
697
|
const shouldUseProjectPostcss = hasProjectPostcssConfig(projectRoot);
|
|
696
698
|
if (shouldUseProjectPostcss) {
|
|
697
|
-
|
|
699
|
+
_chunkVQJYGZNXcjs.logger.info("\u{1F4E6} Using project PostCSS/Tailwind configuration");
|
|
698
700
|
} else {
|
|
699
|
-
tailwindVitePlugin = await
|
|
701
|
+
tailwindVitePlugin = await _chunkLNM57D3Hcjs.loadTailwindVitePlugin.call(void 0, );
|
|
700
702
|
}
|
|
701
703
|
server = await createViteDevServer(
|
|
702
|
-
|
|
704
|
+
_chunkF42U3R4Fcjs.mergeFarmViteConfig.call(void 0,
|
|
703
705
|
{
|
|
704
706
|
root: projectRoot,
|
|
705
707
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
706
708
|
plugins: [
|
|
707
709
|
_chunkDGOLAZLVcjs.farmDesktopDevGuardPlugin.call(void 0, finalConfig.basePath),
|
|
708
|
-
|
|
710
|
+
_chunkF42U3R4Fcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
709
711
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
710
712
|
...rendererVitePlugins,
|
|
711
713
|
...reactRefreshPlugins,
|
|
712
714
|
createDevDependencyStubsPlugin(),
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
715
|
+
_chunkDWW3AMJXcjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
716
|
+
_chunkDWW3AMJXcjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
717
|
+
_chunkDWW3AMJXcjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
716
718
|
_chunkJ37KTQIAcjs.farmEnvironmentFunctionsPlugin.call(void 0, finalConfig),
|
|
717
719
|
createBrandingPlugin(),
|
|
718
|
-
|
|
720
|
+
_chunkXPMC4E2Gcjs.createFarmDevLoopbackPlugin.call(void 0, ),
|
|
719
721
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
720
722
|
],
|
|
721
723
|
server: {
|
|
@@ -728,8 +730,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
728
730
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
729
731
|
},
|
|
730
732
|
optimizeDeps: {
|
|
731
|
-
...
|
|
732
|
-
|
|
733
|
+
..._chunkF42U3R4Fcjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
734
|
+
_chunkF42U3R4Fcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunk5Y2P454Ocjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
733
735
|
finalConfig.renderer
|
|
734
736
|
),
|
|
735
737
|
exclude: [
|
|
@@ -765,7 +767,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
765
767
|
},
|
|
766
768
|
warnOnce: () => {
|
|
767
769
|
},
|
|
768
|
-
error: (msg) =>
|
|
770
|
+
error: (msg) => _chunkVQJYGZNXcjs.logger.error(String(msg)),
|
|
769
771
|
clearScreen: () => {
|
|
770
772
|
},
|
|
771
773
|
hasErrorLogged: () => false,
|
|
@@ -819,7 +821,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
819
821
|
);
|
|
820
822
|
await attempt("shut down instrumentation", () => _optionalChain([instrumentation, 'optionalAccess', _28 => _28.shutdown, 'call', _29 => _29()]));
|
|
821
823
|
}
|
|
822
|
-
|
|
824
|
+
_chunkVQJYGZNXcjs.logger.error(`Failed to create server: ${error}`);
|
|
823
825
|
throw error;
|
|
824
826
|
}
|
|
825
827
|
}
|
|
@@ -830,7 +832,7 @@ function noticeSchemaChangesInBackground(config) {
|
|
|
830
832
|
...Object.values(_nullishCoalesce(config.integrations, () => ( {})))
|
|
831
833
|
];
|
|
832
834
|
if (!candidates.some((candidate) => _chunkSYW346ZNcjs.readSchemaTables.call(void 0, candidate))) return false;
|
|
833
|
-
void import("./schema-dev-notice-
|
|
835
|
+
void import("./schema-dev-notice-UU7DMZEU.cjs").then(({ noticePendingSchemaChanges }) => noticePendingSchemaChanges(config)).catch(() => {
|
|
834
836
|
});
|
|
835
837
|
return true;
|
|
836
838
|
}
|
|
@@ -853,7 +855,7 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
853
855
|
try {
|
|
854
856
|
await server.close();
|
|
855
857
|
} catch (closeError) {
|
|
856
|
-
|
|
858
|
+
_chunkVQJYGZNXcjs.logger.error(`Failed to clean up after a failed dev server start: ${closeError}`);
|
|
857
859
|
}
|
|
858
860
|
throw error;
|
|
859
861
|
}
|
|
@@ -965,4 +967,4 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
965
967
|
|
|
966
968
|
|
|
967
969
|
|
|
968
|
-
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT =
|
|
970
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkFK25QSVCcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkHASX6DC7cjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkF42U3R4Fcjs.FarmApp; exports.FarmDataCache = _chunkDMAP4RNDcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkVXCFJWK5cjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunkDMAP4RNDcjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunkF42U3R4Fcjs.RouteManager; exports.ServerActionRequestError = _chunkFK25QSVCcjs.ServerActionRequestError; exports.ServerRenderer = _chunkF42U3R4Fcjs.ServerRenderer; exports._collectFarmStorageModules = _chunkJMYXO572cjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkJMYXO572cjs._registerFarmStorageModules; exports._runWithAfterNodeResponse = _chunkP2355C6Ecjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkP2355C6Ecjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkP2355C6Ecjs._withAfterNodeMiddleware; exports.after = _chunkP2355C6Ecjs.after; exports.applyFarmCacheInvalidationTargets = _chunkDMAP4RNDcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkUZCMMJJTcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunkDMAP4RNDcjs.configureFarmCache; exports.createClientOnlyFn = _chunkVXCFJWK5cjs.createClientOnlyFn; exports.createFarmApp = _chunkF42U3R4Fcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunkDMAP4RNDcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkDXUXQP2Tcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunk5Y2P454Ocjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunkJMYXO572cjs.createFarmStorage; exports.createIsomorphicFn = _chunkVXCFJWK5cjs.createIsomorphicFn; exports.createPathCacheTag = _chunkDMAP4RNDcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkDXUXQP2Tcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunkDMAP4RNDcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunkFK25QSVCcjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkVXCFJWK5cjs.createServerOnlyFn; exports.createServerQuery = _chunkHASX6DC7cjs.createServerQuery; exports.createStorageClient = _chunkJMYXO572cjs.createStorageClient; exports.databaseStorage = _chunkJMYXO572cjs.databaseStorage; exports.defineCacheKey = _chunkDMAP4RNDcjs.defineCacheKey; exports.defineConfig = _chunkDWW3AMJXcjs.defineConfig; exports.defineStorageClient = _chunkJMYXO572cjs.defineStorageClient; exports.disposeStorage = _chunkJMYXO572cjs.disposeStorage; exports.driverStorage = _chunkJMYXO572cjs.driverStorage; exports.farmPlugin = _chunkDWW3AMJXcjs.farmPlugin; exports.fileExists = _chunkVQJYGZNXcjs.fileExists; exports.getCurrentRequest = _chunkHNAISJFDcjs.getCurrentRequest; exports.getFarmAppDirectories = _chunk5Y2P454Ocjs.getFarmAppDirectories; exports.getFarmDataCache = _chunkDMAP4RNDcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunk5Y2P454Ocjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunk5Y2P454Ocjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunkFK25QSVCcjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunkFK25QSVCcjs.getServerActionInvalidations; exports.getServerActionSignal = _chunkFK25QSVCcjs.getServerActionSignal; exports.getStorage = _chunkJMYXO572cjs.getStorage; exports.getTheme = _chunk4ZJ5C7UJcjs.getTheme; exports.getThemeSnapshot = _chunk4ZJ5C7UJcjs.getThemeSnapshot; exports.globFiles = _chunkVQJYGZNXcjs.globFiles; exports.initStorage = _chunkJMYXO572cjs.initStorage; exports.invalidate = _chunkDMAP4RNDcjs.invalidate; exports.invalidateRouteData = _chunkDMAP4RNDcjs.invalidateRouteData; exports.libsqlStorage = _chunkJMYXO572cjs.libsqlStorage; exports.loadFarmConfigFile = _chunk5Y2P454Ocjs.loadFarmConfigFile; exports.localStorage = _chunkJMYXO572cjs.localStorage; exports.logger = _chunkVQJYGZNXcjs.logger; exports.matchRoute = _chunkVQJYGZNXcjs.matchRoute; exports.matchRouteParts = _chunkVQJYGZNXcjs.matchRouteParts; exports.matchRoutePrefix = _chunkVQJYGZNXcjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunkVQJYGZNXcjs.matchRoutePrefixParts; exports.memoryStorage = _chunkJMYXO572cjs.memoryStorage; exports.mongodbStorage = _chunkJMYXO572cjs.mongodbStorage; exports.mysql2Storage = _chunkJMYXO572cjs.mysql2Storage; exports.mysqlStorage = _chunkJMYXO572cjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkJMYXO572cjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunkDMAP4RNDcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunkVQJYGZNXcjs.parseRoutePath; exports.parseSearchParams = _chunkVQJYGZNXcjs.parseSearchParams; exports.pgStorage = _chunkJMYXO572cjs.pgStorage; exports.pgliteStorage = _chunkJMYXO572cjs.pgliteStorage; exports.planetscaleStorage = _chunkJMYXO572cjs.planetscaleStorage; exports.postgresStorage = _chunkJMYXO572cjs.postgresStorage; exports.prepareServerActionRequest = _chunkFK25QSVCcjs.prepareServerActionRequest; exports.redisStorage = _chunkJMYXO572cjs.redisStorage; exports.resolveAppPath = _chunkVQJYGZNXcjs.resolveAppPath; exports.resolveFarmLayers = _chunk5Y2P454Ocjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkO3MMJPC2cjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkO3MMJPC2cjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunkFK25QSVCcjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunkJMYXO572cjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunkDMAP4RNDcjs.revalidatePath; exports.revalidateTag = _chunkDMAP4RNDcjs.revalidateTag; exports.runWithServerActionRequest = _chunkFK25QSVCcjs.runWithServerActionRequest; exports.s3Storage = _chunkJMYXO572cjs.s3Storage; exports.sanitizeServerActionError = _chunkFK25QSVCcjs.sanitizeServerActionError; exports.segmentsToPattern = _chunkVQJYGZNXcjs.segmentsToPattern; exports.sendWebResponse = _chunkZ5MZDFX4cjs.sendWebResponse; exports.splitRoutePath = _chunkVQJYGZNXcjs.splitRoutePath; exports.sqliteStorage = _chunkJMYXO572cjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunkDMAP4RNDcjs.storageCacheAdapter; exports.toPosixPath = _chunkVQJYGZNXcjs.toPosixPath; exports.toRootRelativeUrlPath = _chunkVQJYGZNXcjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunkVQJYGZNXcjs.toViteModuleId; exports.unstable_cache = _chunkDMAP4RNDcjs.unstable_cache; exports.updateTag = _chunkDMAP4RNDcjs.updateTag; exports.upstashStorage = _chunkJMYXO572cjs.upstashStorage; exports.validateServerActionRequest = _chunkFK25QSVCcjs.validateServerActionRequest; exports.vercelBlobStorage = _chunkJMYXO572cjs.vercelBlobStorage; exports.vercelKVStorage = _chunkJMYXO572cjs.vercelKVStorage;
|
package/dist/server.d.mts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-aeD4s_mg.mjs';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.mjs';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
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-
|
|
3
|
+
import { aV as FarmConfig, p as FarmUserConfig } from './client-plugins-cqy_dQd0.mjs';
|
|
4
|
+
export { aW as AppRoutePattern, aX as BuildOptions, aY as ErrorBoundary, aZ as ErrorProps, v as FarmAppContext, a_ as FarmComponentType, aG as FarmContextFactory, a$ as FarmContextFactoryInput, b0 as FarmIsolatedClientHydrationMode, b1 as FarmMCPUserConfig, b2 as FarmMigrationCommand, b3 as FarmMigrationsConfig, b4 as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, b5 as GenerateStaticParams, b6 as Layout, b7 as LayoutMetadataProps, b8 as LayoutModule, L as LayoutProps, b9 as Loading, ba as LoadingProps, M as Metadata, bb as MetadataJsonLd, bc as MetadataProps, bd as MetadataRobots, be as MetadataRobotsDirectives, aF as MiddlewareProps, bf as NitroPreset, bg as Page, w as PageProps, bh as PagePropsWithMiddleware, bi as PageRouteParams, P as ParsedRoute, y as PluginContextProps, bj as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, aQ as SSGCollectionResult, aR as SSGPage, bk as ServerAction, bl as StaticPathParams, bm as StaticPathPrimitive, bn as StaticRouteParams, bo as ThemeColorDescriptor, bp as Viewport, bq as resolveFarmMCPConfig, br as resolveFarmMCPPlugin } from './client-plugins-cqy_dQd0.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-Dsa1HZ7X.mjs';
|
|
6
6
|
export { _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.mjs';
|
|
7
7
|
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.mjs';
|
|
8
8
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.mjs';
|
|
9
9
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.mjs';
|
|
10
10
|
import { ViteDevServer } from 'vite';
|
|
11
|
-
export { g as getCurrentRequest } from './request-
|
|
11
|
+
export { g as getCurrentRequest } from './request-WwB1-Uim.mjs';
|
|
12
12
|
import { ServerResponse } from 'node:http';
|
|
13
13
|
export { getTheme, getThemeSnapshot } from './theme/server.mjs';
|
|
14
14
|
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.mjs';
|
|
@@ -42,11 +42,11 @@ import './types-C41ePjvP.mjs';
|
|
|
42
42
|
import './config-CnhyvvmT.mjs';
|
|
43
43
|
import './types-DQnyD3VD.mjs';
|
|
44
44
|
import './font.mjs';
|
|
45
|
-
import './programmatic-routes-client-
|
|
46
|
-
import './route-rendering-
|
|
45
|
+
import './programmatic-routes-client-NpqGBn-i.mjs';
|
|
46
|
+
import './route-rendering-S6NFjnx4.mjs';
|
|
47
47
|
import './island-CfGru1MO.mjs';
|
|
48
|
-
import './agent-mcp-
|
|
49
|
-
import './render-plan-
|
|
48
|
+
import './agent-mcp-D44ip11f.mjs';
|
|
49
|
+
import './render-plan-C9sWvDTv.mjs';
|
|
50
50
|
import './runtime-CihDZ2Rn.mjs';
|
|
51
51
|
import './resolver-TDyZKgKI.mjs';
|
|
52
52
|
import './server-client-bridge-DKWDl5NB.mjs';
|
package/dist/server.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-CourU3rQ.js';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.js';
|
|
3
|
-
import {
|
|
4
|
-
export {
|
|
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-
|
|
3
|
+
import { aV as FarmConfig, p as FarmUserConfig } from './client-plugins-CFBEfVPO.js';
|
|
4
|
+
export { aW as AppRoutePattern, aX as BuildOptions, aY as ErrorBoundary, aZ as ErrorProps, v as FarmAppContext, a_ as FarmComponentType, aG as FarmContextFactory, a$ as FarmContextFactoryInput, b0 as FarmIsolatedClientHydrationMode, b1 as FarmMCPUserConfig, b2 as FarmMigrationCommand, b3 as FarmMigrationsConfig, b4 as FarmMigrationsUserConfig, s as FarmRequest, t as FarmResponse, b5 as GenerateStaticParams, b6 as Layout, b7 as LayoutMetadataProps, b8 as LayoutModule, L as LayoutProps, b9 as Loading, ba as LoadingProps, M as Metadata, bb as MetadataJsonLd, bc as MetadataProps, bd as MetadataRobots, be as MetadataRobotsDirectives, aF as MiddlewareProps, bf as NitroPreset, bg as Page, w as PageProps, bh as PagePropsWithMiddleware, bi as PageRouteParams, P as ParsedRoute, y as PluginContextProps, bj as ResolvedFarmMigrationsConfig, i as RouteModule, q as RouteSegment, aQ as SSGCollectionResult, aR as SSGPage, bk as ServerAction, bl as StaticPathParams, bm as StaticPathPrimitive, bn as StaticRouteParams, bo as ThemeColorDescriptor, bp as Viewport, bq as resolveFarmMCPConfig, br as resolveFarmMCPPlugin } from './client-plugins-CFBEfVPO.js';
|
|
5
|
+
export { f as fileExists, g as globFiles, l as logger, m as matchRoute, a as matchRouteParts, b as matchRoutePrefix, c as matchRoutePrefixParts, p as parseRoutePath, d as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, e as splitRoutePath, t as toPosixPath, h as toRootRelativeUrlPath, i as toViteModuleId } from './utils-DbyXlzaj.js';
|
|
6
6
|
export { _collectFarmStorageModules, _registerFarmStorageModules, createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.js';
|
|
7
7
|
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, PPR_SHELL_ADAPTER_TTL_SECONDS, RevalidateTagProfile, RouteDataCacheKey, StorageFarmCacheAdapterOptions, applyFarmCacheInvalidationTargets, applyFarmCacheInvalidations, configureFarmCache, createFarmCacheInvalidationStream, createFarmCacheKey, createPathCacheTag, createRouteDataCacheKey, createRouteDataCacheTag, defineCacheKey, getFarmDataCache, invalidate, invalidateRouteData, normalizeRevalidatePath, revalidatePath, revalidateTag, storageCacheAdapter, unstable_cache, updateTag } from './cache.js';
|
|
8
8
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
|
|
9
9
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
|
|
10
10
|
import { ViteDevServer } from 'vite';
|
|
11
|
-
export { g as getCurrentRequest } from './request-
|
|
11
|
+
export { g as getCurrentRequest } from './request-BizeuqD7.js';
|
|
12
12
|
import { ServerResponse } from 'node:http';
|
|
13
13
|
export { getTheme, getThemeSnapshot } from './theme/server.js';
|
|
14
14
|
export { DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT, FarmServerActionsConfig, PreparedServerActionRequest, ResolvedFarmServerActionsConfig, SanitizedServerActionError, ServerActionRequestError, ServerActionRequestKind, createServerActionRequestErrorResponse, getServerActionExecutionContext, getServerActionInvalidations, getServerActionSignal, prepareServerActionRequest, resolveServerActionsConfig, runWithServerActionRequest, sanitizeServerActionError, validateServerActionRequest } from './server-action-security.js';
|
|
@@ -42,11 +42,11 @@ import './types-C41ePjvP.js';
|
|
|
42
42
|
import './config-CnhyvvmT.js';
|
|
43
43
|
import './types-DQnyD3VD.js';
|
|
44
44
|
import './font.js';
|
|
45
|
-
import './programmatic-routes-client-
|
|
46
|
-
import './route-rendering-
|
|
45
|
+
import './programmatic-routes-client-CBqkNhBy.js';
|
|
46
|
+
import './route-rendering-BGhJN64l.js';
|
|
47
47
|
import './island-CfGru1MO.js';
|
|
48
|
-
import './agent-mcp-
|
|
49
|
-
import './render-plan-
|
|
48
|
+
import './agent-mcp-BBMfNpsC.js';
|
|
49
|
+
import './render-plan-CrqcBbnV.js';
|
|
50
50
|
import './runtime-C4CmlOOh.js';
|
|
51
51
|
import './resolver-CJ-D9nP-.js';
|
|
52
52
|
import './server-client-bridge-DKWDl5NB.js';
|
package/dist/server.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmDevLoopbackPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LMFJCXDD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createFarmInfraAnalyticsPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YLNBWUVS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
FarmEnvironmentError,
|
|
9
9
|
createClientOnlyFn,
|
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
FARM_SERVER_QUERY_SYMBOL,
|
|
22
22
|
createServerQuery
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-T4EW7AAD.mjs";
|
|
24
|
+
import "./chunk-AER5I65K.mjs";
|
|
25
25
|
import {
|
|
26
26
|
loadFarmDocsEngine
|
|
27
27
|
} from "./chunk-VE3FWJBO.mjs";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveConfig,
|
|
32
32
|
resolveFarmMCPConfig,
|
|
33
33
|
resolveFarmMCPPlugin
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JF5CNHHF.mjs";
|
|
35
35
|
import "./chunk-VISQDC6W.mjs";
|
|
36
36
|
import "./chunk-N7XWC6BN.mjs";
|
|
37
37
|
import {
|
|
@@ -39,11 +39,12 @@ import {
|
|
|
39
39
|
farmI18nClientBridgePlugin,
|
|
40
40
|
farmPlugin,
|
|
41
41
|
farmServerOnlyEntriesPlugin
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-I2ZA5SXS.mjs";
|
|
43
43
|
import {
|
|
44
44
|
createFarmReactRefreshPlugins,
|
|
45
45
|
farmDesktopDevGuardPlugin
|
|
46
46
|
} from "./chunk-75WWOZ5C.mjs";
|
|
47
|
+
import "./chunk-GNZIAJGB.mjs";
|
|
47
48
|
import "./chunk-ANHZ6SUL.mjs";
|
|
48
49
|
import {
|
|
49
50
|
FarmApp,
|
|
@@ -55,37 +56,38 @@ import {
|
|
|
55
56
|
createFarmThemeCssPlugin,
|
|
56
57
|
mergeFarmViteConfig,
|
|
57
58
|
resolveFarmImageProviderForRuntime
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-S5ZA2T2W.mjs";
|
|
59
60
|
import {
|
|
60
61
|
loadTailwindVitePlugin
|
|
61
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-PIHKO25G.mjs";
|
|
62
63
|
import {
|
|
63
64
|
FarmRuntimeShutdownError,
|
|
64
65
|
PluginManager
|
|
65
66
|
} from "./chunk-GHNW564E.mjs";
|
|
66
|
-
import
|
|
67
|
+
import {
|
|
68
|
+
resolveFarmPlatform,
|
|
69
|
+
validateFarmDesktopConfig
|
|
70
|
+
} from "./chunk-SMUW7UST.mjs";
|
|
71
|
+
import "./chunk-UB7RVEMX.mjs";
|
|
72
|
+
import "./chunk-WVX3BUNJ.mjs";
|
|
73
|
+
import "./chunk-2KVDHNQS.mjs";
|
|
67
74
|
import "./chunk-WSDKXV4E.mjs";
|
|
68
|
-
import "./chunk-2G63BIRL.mjs";
|
|
69
75
|
import "./chunk-WNLPQW7W.mjs";
|
|
70
76
|
import {
|
|
71
77
|
readSchemaTables
|
|
72
78
|
} from "./chunk-2DLGV2ZG.mjs";
|
|
73
79
|
import "./chunk-F3N52U7S.mjs";
|
|
74
80
|
import "./chunk-HPP2II4Z.mjs";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import {
|
|
77
|
-
resolveFarmPlatform,
|
|
78
|
-
validateFarmDesktopConfig
|
|
79
|
-
} from "./chunk-SMUW7UST.mjs";
|
|
80
|
-
import "./chunk-UB7RVEMX.mjs";
|
|
81
|
-
import "./chunk-ZIBIE7AH.mjs";
|
|
81
|
+
import "./chunk-7UPCJDB5.mjs";
|
|
82
82
|
import "./chunk-UUMKLGUU.mjs";
|
|
83
83
|
import "./chunk-23LVFSID.mjs";
|
|
84
84
|
import "./chunk-CSLUBKGG.mjs";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-R5P4KFPM.mjs";
|
|
86
86
|
import "./chunk-KRRZJ77U.mjs";
|
|
87
|
+
import "./chunk-OZK2DS44.mjs";
|
|
87
88
|
import "./chunk-A4PWGL46.mjs";
|
|
88
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-Z5A6CNV2.mjs";
|
|
90
|
+
import "./chunk-X3EFRVXY.mjs";
|
|
89
91
|
import "./chunk-S32PDOLO.mjs";
|
|
90
92
|
import "./chunk-XAXTTBUT.mjs";
|
|
91
93
|
import "./chunk-MNIR7I7B.mjs";
|
|
@@ -133,8 +135,8 @@ import {
|
|
|
133
135
|
} from "./chunk-52Y3C3HG.mjs";
|
|
134
136
|
import "./chunk-UIJOLBUL.mjs";
|
|
135
137
|
import "./chunk-VFXE6NWR.mjs";
|
|
136
|
-
import "./chunk-
|
|
137
|
-
import "./chunk-
|
|
138
|
+
import "./chunk-LZ4SB57H.mjs";
|
|
139
|
+
import "./chunk-X3JNB2TB.mjs";
|
|
138
140
|
import "./chunk-WXFY5JIY.mjs";
|
|
139
141
|
import {
|
|
140
142
|
DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT,
|
|
@@ -148,7 +150,7 @@ import {
|
|
|
148
150
|
runWithServerActionRequest,
|
|
149
151
|
sanitizeServerActionError,
|
|
150
152
|
validateServerActionRequest
|
|
151
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-FSQMN2MQ.mjs";
|
|
152
154
|
import "./chunk-YWPNIYUP.mjs";
|
|
153
155
|
import "./chunk-N77JBPLC.mjs";
|
|
154
156
|
import {
|
|
@@ -187,10 +189,10 @@ import "./chunk-HHFMECFO.mjs";
|
|
|
187
189
|
import "./chunk-H4WUWLQR.mjs";
|
|
188
190
|
import "./chunk-F6TLUMH7.mjs";
|
|
189
191
|
import "./chunk-46P5KNTE.mjs";
|
|
190
|
-
import "./chunk-
|
|
191
|
-
import "./chunk-4HBKBHVP.mjs";
|
|
192
|
-
import "./chunk-CBJKDB6F.mjs";
|
|
192
|
+
import "./chunk-WSY2JD7O.mjs";
|
|
193
193
|
import "./chunk-KPAJWD3N.mjs";
|
|
194
|
+
import "./chunk-5ENW27SL.mjs";
|
|
195
|
+
import "./chunk-IRSS4HS4.mjs";
|
|
194
196
|
import "./chunk-6ZFRWRHO.mjs";
|
|
195
197
|
import "./chunk-EDPENAVO.mjs";
|
|
196
198
|
import "./chunk-OJO2GOM3.mjs";
|
|
@@ -201,8 +203,8 @@ import {
|
|
|
201
203
|
_withAfterNodeMiddleware,
|
|
202
204
|
after
|
|
203
205
|
} from "./chunk-IYEY3JWJ.mjs";
|
|
204
|
-
import "./chunk-
|
|
205
|
-
import "./chunk-
|
|
206
|
+
import "./chunk-KY32FWK7.mjs";
|
|
207
|
+
import "./chunk-FSXSQQTV.mjs";
|
|
206
208
|
import "./chunk-YX6AFPXC.mjs";
|
|
207
209
|
import "./chunk-CV6MFQ4Y.mjs";
|
|
208
210
|
import "./chunk-DU4VHHPJ.mjs";
|
|
@@ -257,8 +259,8 @@ import {
|
|
|
257
259
|
toPosixPath,
|
|
258
260
|
toRootRelativeUrlPath,
|
|
259
261
|
toViteModuleId
|
|
260
|
-
} from "./chunk-
|
|
261
|
-
import "./chunk-
|
|
262
|
+
} from "./chunk-Y3N5BFRJ.mjs";
|
|
263
|
+
import "./chunk-H3ASZDT7.mjs";
|
|
262
264
|
import "./chunk-2DA7CLY7.mjs";
|
|
263
265
|
import {
|
|
264
266
|
sendWebResponse
|
|
@@ -268,7 +270,7 @@ import "./chunk-D2LCAV6L.mjs";
|
|
|
268
270
|
import "./chunk-LM2YOGDK.mjs";
|
|
269
271
|
import {
|
|
270
272
|
FARM_VERSION
|
|
271
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-ZF3GX4O7.mjs";
|
|
272
274
|
import "./chunk-RFKTJTWZ.mjs";
|
|
273
275
|
import "./chunk-QPNVDSFZ.mjs";
|
|
274
276
|
import "./chunk-GYMGK467.mjs";
|
|
@@ -617,7 +619,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
617
619
|
checkWebDesktopBlock(userConfig?.desktop);
|
|
618
620
|
const rscConfig = userConfig ?? config;
|
|
619
621
|
if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
|
|
620
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
622
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-OLAVIKI3.mjs");
|
|
621
623
|
await options.ensureServerComponentsPackages?.(rscConfig, root);
|
|
622
624
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
623
625
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -829,7 +831,7 @@ function noticeSchemaChangesInBackground(config) {
|
|
|
829
831
|
...Object.values(config.integrations ?? {})
|
|
830
832
|
];
|
|
831
833
|
if (!candidates.some((candidate) => readSchemaTables(candidate))) return false;
|
|
832
|
-
void import("./schema-dev-notice-
|
|
834
|
+
void import("./schema-dev-notice-F6QYSOAI.mjs").then(({ noticePendingSchemaChanges }) => noticePendingSchemaChanges(config)).catch(() => {
|
|
833
835
|
});
|
|
834
836
|
return true;
|
|
835
837
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins-
|
|
1
|
+
import { M as Metadata } from './client-plugins-cqy_dQd0.mjs';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle-C2aLBOwu.mjs';
|
|
3
3
|
import { a as FarmI18nClientSnapshot } from './types-C41ePjvP.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-C9sWvDTv.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|