@farm.js/core 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{agent-mcp.d--uQgDp_Q.d.ts → agent-mcp.d-DuZjglYX.d.ts} +1 -1
- package/dist/{agent-mcp.d-DpthRhqr.d.mts → agent-mcp.d-gI3ahrF6.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/analyzer-5RSMYPWD.cjs +17 -0
- package/dist/{analyzer-GLFRODYV.mjs → analyzer-7TNBOI3J.mjs} +2 -2
- package/dist/api/node.d.mts +3 -3
- package/dist/api/node.d.ts +3 -3
- package/dist/api/route-manager.cjs +4 -4
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/route-manager.mjs +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.cjs +5 -5
- package/dist/api.d.mts +4 -4
- package/dist/api.d.ts +4 -4
- package/dist/api.mjs +4 -4
- package/dist/{app-manifest.d-DMgcFuXQ.d.ts → app-manifest.d-B3h89j6a.d.ts} +1 -1
- package/dist/{app-manifest.d-DXAvPjMw.d.mts → app-manifest.d-bHK9EGPI.d.mts} +1 -1
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{app.d-htfGqq-d.d.ts → app.d-C3uyET_L.d.ts} +4 -4
- package/dist/{app.d-DG_-nN5y.d.mts → app.d-Cr7fXGvJ.d.mts} +4 -4
- package/dist/{chunk-BOHBFBRA.mjs → chunk-2FKGY2ZS.mjs} +1 -1
- package/dist/{chunk-YOVSWY2E.mjs → chunk-2XDRRAAD.mjs} +1 -1
- package/dist/{chunk-QJKGRUBR.mjs → chunk-4WCEWA22.mjs} +4 -4
- package/dist/{chunk-YQXLBYY2.cjs → chunk-5B2Y4EVS.cjs} +32 -8
- package/dist/{chunk-QCVP22KW.cjs → chunk-5RYBQKBY.cjs} +3 -3
- package/dist/{chunk-PGU4SCIU.cjs → chunk-6QWBZGGP.cjs} +132 -132
- package/dist/{chunk-DVL3UVYT.mjs → chunk-6XABTMXR.mjs} +2 -2
- package/dist/{chunk-D5GFVHBV.mjs → chunk-6YOMQ4GX.mjs} +9 -9
- package/dist/chunk-7QGA6UX6.cjs +26 -0
- package/dist/{chunk-JJ22OI7J.cjs → chunk-A4WDDASS.cjs} +2 -2
- package/dist/{chunk-V36K4TSU.mjs → chunk-ADKPJZPP.mjs} +1 -1
- package/dist/{chunk-LQZXCSYG.mjs → chunk-B6K2ZM3C.mjs} +5 -3
- package/dist/{chunk-JZAGIXMB.cjs → chunk-C2J5LMH6.cjs} +1 -1
- package/dist/{chunk-SIJ3DREB.mjs → chunk-CIRC2LRP.mjs} +1 -1
- package/dist/{chunk-Q4FHYBFT.cjs → chunk-CSCORWIQ.cjs} +11 -11
- package/dist/{chunk-RCJAOQWW.mjs → chunk-CTHQE7DO.mjs} +1 -1
- package/dist/{chunk-PRKFECGT.cjs → chunk-DZWX7FDX.cjs} +6 -4
- package/dist/{chunk-OKZHPPBX.mjs → chunk-ERY4VYUH.mjs} +1 -1
- package/dist/{chunk-GEZ76JXD.cjs → chunk-F6JSVP5C.cjs} +3 -3
- package/dist/chunk-G7LNCHTS.mjs +21 -0
- package/dist/{chunk-D2OU4CX2.cjs → chunk-GWFNJLDN.cjs} +11 -11
- package/dist/{chunk-V6ACETKR.cjs → chunk-H7DAFRYR.cjs} +4 -4
- package/dist/{chunk-TI4BJFYX.mjs → chunk-HOBCEE5J.mjs} +12 -12
- package/dist/{chunk-XYCB3CXM.mjs → chunk-IPKL7L6B.mjs} +2 -2
- package/dist/{chunk-P2THJDLH.mjs → chunk-IQQ3SWH6.mjs} +86 -51
- package/dist/{chunk-HENYWY5J.cjs → chunk-JJUHUPRB.cjs} +2 -2
- package/dist/{chunk-XSE4XJKY.cjs → chunk-K7RXZ77U.cjs} +2 -2
- package/dist/{chunk-HBZQIRRM.mjs → chunk-KJMRW3IP.mjs} +1 -1
- package/dist/{chunk-PYPHM7AS.cjs → chunk-LH7S7FI3.cjs} +5 -1
- package/dist/{chunk-WXPY5FRF.cjs → chunk-P2PF5FUW.cjs} +2 -2
- package/dist/{chunk-CPL7WIMP.mjs → chunk-P3UT3OLV.mjs} +2 -2
- package/dist/{chunk-PZ5ZJAAO.mjs → chunk-POCWXRXW.mjs} +1 -1
- package/dist/{chunk-Z23OCU33.cjs → chunk-RF3VCNV7.cjs} +6 -6
- package/dist/{chunk-CZMMU3FP.mjs → chunk-RS4QZOFK.mjs} +1 -1
- package/dist/{chunk-MR64FNW6.cjs → chunk-SO4USIKL.cjs} +4 -4
- package/dist/{chunk-PVB5UYJT.cjs → chunk-TAXZQNFZ.cjs} +74 -74
- package/dist/{chunk-MYJPW4XN.mjs → chunk-UKGAP2OK.mjs} +3 -3
- package/dist/{chunk-DZXD6CYJ.mjs → chunk-V2RXBDV6.mjs} +4 -0
- package/dist/{chunk-L2KGQXFU.mjs → chunk-VZRY3CL5.mjs} +1 -1
- package/dist/{chunk-LO5BNR6Y.mjs → chunk-W5T3ZAFU.mjs} +25 -1
- package/dist/{chunk-ADCVSTFV.cjs → chunk-WAQIO2VD.cjs} +2 -2
- package/dist/{chunk-QI3UYN3P.cjs → chunk-WFL7CD5C.cjs} +12 -12
- package/dist/{chunk-E7ISZK3R.mjs → chunk-XGBDRC5B.mjs} +2 -2
- package/dist/{chunk-W34OS5CK.cjs → chunk-XLJ2REOI.cjs} +370 -335
- package/dist/{chunk-D2VLHRBN.cjs → chunk-Y3MTKPLN.cjs} +4 -4
- package/dist/{chunk-GL4SPJTE.cjs → chunk-YPPAYYSX.cjs} +4 -4
- package/dist/{client-component.d-DDbDw2yP.d.ts → client-component.d-BavTzqsn.d.ts} +1 -1
- package/dist/{client-component.d-D5JVDeQf.d.mts → client-component.d-X3j9FOZ2.d.mts} +1 -1
- package/dist/{client-plugins.d-BHqfH3DQ.d.ts → client-plugins.d-CqTr5IrQ.d.ts} +61 -1
- package/dist/{client-plugins.d-9jr2yWR3.d.mts → client-plugins.d-DnnAopKG.d.mts} +61 -1
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +7 -7
- package/dist/client.d.ts +7 -7
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/desktop.cjs +5 -1
- package/dist/desktop.d.mts +8 -4
- package/dist/desktop.d.ts +8 -4
- package/dist/desktop.mjs +4 -0
- package/dist/{dev-guard-M3ZCDWCK.cjs → dev-guard-5NUIX6IZ.cjs} +4 -3
- package/dist/{dev-guard-TFVWJNIB.mjs → dev-guard-L42ZZRCZ.mjs} +2 -1
- package/dist/{devtools-ZDBCJI44.mjs → devtools-VPFBH6I2.mjs} +1 -1
- package/dist/{devtools-F6Z436WU.cjs → devtools-YTND2OWT.cjs} +2 -2
- package/dist/docs.cjs +3 -3
- package/dist/docs.d.mts +3 -3
- package/dist/docs.d.ts +3 -3
- package/dist/docs.mjs +2 -2
- package/dist/environment/vite.cjs +4 -4
- package/dist/environment/vite.mjs +3 -3
- package/dist/{handler.d-EtTSPkeO.d.mts → handler.d-BSlpYCDB.d.mts} +1 -1
- package/dist/{handler.d-Dq_bSEKC.d.ts → handler.d-DgX7gPO6.d.ts} +1 -1
- package/dist/{headers.d-BKwGD_uC.d.mts → headers.d-Cf8l5LMo.d.mts} +1 -1
- package/dist/{headers.d-CpIHLCEk.d.ts → headers.d-CmxW42R2.d.ts} +1 -1
- package/dist/index.cjs +22 -21
- package/dist/{index.d-DXtaU9OU.d.mts → index.d-7xoJqKRZ.d.mts} +1 -1
- package/dist/{index.d-CoRZKiHA.d.ts → index.d-BZZt7kxO.d.ts} +1 -1
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/dist/index.mjs +21 -20
- package/dist/integrations/orm.d.mts +1 -1
- package/dist/integrations/orm.d.ts +1 -1
- package/dist/integrations.d.mts +1 -1
- package/dist/integrations.d.ts +1 -1
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/build-runtime.cjs +22 -21
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +21 -20
- package/dist/internal/cli-runtime.cjs +7 -7
- package/dist/internal/cli-runtime.d.mts +7 -7
- package/dist/internal/cli-runtime.d.ts +7 -7
- package/dist/internal/cli-runtime.mjs +6 -6
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/compression-runtime.d.mts +1 -1
- package/dist/internal/compression-runtime.d.ts +1 -1
- package/dist/internal/config-runtime.cjs +5 -4
- package/dist/internal/config-runtime.d.mts +3 -3
- package/dist/internal/config-runtime.d.ts +3 -3
- package/dist/internal/config-runtime.mjs +4 -3
- package/dist/internal/infra-analytics-runtime.cjs +6 -6
- package/dist/internal/infra-analytics-runtime.mjs +4 -4
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +4 -4
- package/dist/internal/production-runtime.d.mts +10 -10
- package/dist/internal/production-runtime.d.ts +10 -10
- package/dist/internal/production-runtime.mjs +3 -3
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/start-manifest.d.mts +1 -1
- package/dist/internal/start-manifest.d.ts +1 -1
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.d.mts +1 -1
- package/dist/middleware.d.ts +1 -1
- package/dist/{mount.d-BzK2Z1pR.d.ts → mount.d-CD-xVBu7.d.ts} +1 -1
- package/dist/{mount.d-D-ynBlxU.d.mts → mount.d-Dd0xeRMl.d.mts} +1 -1
- package/dist/{navigation-delegate.d-DtsnFnNF.d.ts → navigation-delegate.d-Bses_F-y.d.ts} +1 -1
- package/dist/{navigation-delegate.d-aJh3ZmTY.d.mts → navigation-delegate.d-dBNg976E.d.mts} +1 -1
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/plugin.cjs +17 -16
- package/dist/plugin.d.mts +5 -5
- package/dist/plugin.d.ts +5 -5
- package/dist/plugin.mjs +16 -15
- package/dist/{render-plan.d-h8bkOQyh.d.ts → render-plan.d-DaIwnRK2.d.ts} +1 -1
- package/dist/{render-plan.d-C6nUIU2m.d.mts → render-plan.d-vOdZHHLI.d.mts} +1 -1
- package/dist/renderer-client.d.mts +5 -5
- package/dist/renderer-client.d.ts +5 -5
- package/dist/{request.d-CBEdJD5R.d.mts → request.d-B8U4pVFP.d.mts} +1 -1
- package/dist/{request.d-CrriEvxy.d.ts → request.d-CgXp3EEc.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering.d-DgXpNk_c.d.mts → route-rendering.d-BQvNYQqu.d.mts} +1 -1
- package/dist/{route-rendering.d-C-ivf31T.d.ts → route-rendering.d-Di0AxFix.d.ts} +1 -1
- package/dist/{router.d-BRRPd5dE.d.ts → router.d-BJVGhSAJ.d.ts} +1 -1
- package/dist/{router.d-O5LrW9mZ.d.mts → router.d-hNedVdoB.d.mts} +1 -1
- package/dist/routes.cjs +3 -3
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/routes.mjs +2 -2
- package/dist/{rsc-pipeline-HYINQPMW.mjs → rsc-pipeline-2JSNRVIL.mjs} +6 -5
- package/dist/{rsc-pipeline-2DNM7UDA.cjs → rsc-pipeline-WTKDMTE2.cjs} +7 -6
- package/dist/{runtime-M6GLD4CR.cjs → runtime-I4GV4CDP.cjs} +8 -8
- package/dist/{runtime-JP7L5KI7.mjs → runtime-RNSTQY27.mjs} +5 -5
- package/dist/{runtime.d-DW_1avVi.d.ts → runtime.d-0R8nHCM6.d.ts} +1 -1
- package/dist/{runtime.d-DP8Sk9PM.d.mts → runtime.d-DpeuF_T-.d.mts} +1 -1
- package/dist/{schema-dependencies.d-Cedd7QUf.d.mts → schema-dependencies.d-_Wyey4Wv.d.mts} +1 -1
- package/dist/{schema-dependencies.d-C__RyTvW.d.ts → schema-dependencies.d-tkUHREqz.d.ts} +1 -1
- package/dist/{server-components-status.d-CdsEQbeM.d.ts → server-components-status.d-B2Z5WvO5.d.ts} +1 -1
- package/dist/{server-components-status.d-DN98yOT4.d.mts → server-components-status.d-sN7ju-ie.d.mts} +1 -1
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +42 -41
- package/dist/server.d.mts +11 -11
- package/dist/server.d.ts +11 -11
- package/dist/server.mjs +18 -17
- package/dist/{spa-router.d-FcDbBCrK.d.mts → spa-router.d-D3AtR2Bc.d.mts} +2 -2
- package/dist/{spa-router.d-BJWZAdrV.d.ts → spa-router.d-MjT6sGb9.d.ts} +2 -2
- package/dist/{ssg.d--uut8Gya.d.mts → ssg.d-B32Cp_XW.d.mts} +2 -2
- package/dist/{ssg.d-Cf9mC1rZ.d.ts → ssg.d-C1SNuPz5.d.ts} +2 -2
- package/dist/{store-core.d-h7o6V2kH.d.ts → store-core.d-BZ3YXs70.d.ts} +2 -2
- package/dist/{store-core.d-DgYlAo-e.d.mts → store-core.d-BbVdaoA0.d.mts} +2 -2
- package/dist/testing.cjs +5 -5
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.mjs +4 -4
- package/dist/{utils.d-2lGEnyBc.d.ts → utils.d-Bjbm44fP.d.ts} +1 -1
- package/dist/{utils.d-DjFApBfE.d.mts → utils.d-CoLozp7-.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +17 -16
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +16 -15
- package/package.json +1 -1
- package/dist/analyzer-KBVOHASA.cjs +0 -17
- /package/dist/{chunk-EIAA4W3M.cjs → chunk-2LGM5WIK.cjs} +0 -0
- /package/dist/{chunk-H6MYRZ2U.mjs → chunk-MVNIAD6O.mjs} +0 -0
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
createFarmReactRefreshPlugins,
|
|
3
3
|
farmDesktopDevGuardPlugin,
|
|
4
4
|
isFarmReactRefreshActive
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6XABTMXR.mjs";
|
|
6
6
|
import {
|
|
7
7
|
_listFarmRegisteredMCPServerTools,
|
|
8
8
|
_observeFarmRegisteredMCPResponse,
|
|
@@ -44,25 +44,25 @@ import {
|
|
|
44
44
|
resolveFarmIslxActionsMode,
|
|
45
45
|
resolveFarmRouteRootStrategy,
|
|
46
46
|
toBakedMarkdownSourcePath
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6YOMQ4GX.mjs";
|
|
48
48
|
import {
|
|
49
49
|
generateFarmClientPluginEntryCode,
|
|
50
50
|
hasFarmServerRuntimePlugins,
|
|
51
51
|
loadTailwindVitePlugin
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ADKPJZPP.mjs";
|
|
53
53
|
import {
|
|
54
54
|
FARM_NODE_RESPONSE_END_PENDING
|
|
55
55
|
} from "./chunk-6IKUYFNQ.mjs";
|
|
56
56
|
import {
|
|
57
57
|
resolveFarmPlatform
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-W5T3ZAFU.mjs";
|
|
59
59
|
import {
|
|
60
60
|
generateFarmTypeArtifacts,
|
|
61
61
|
resolveRouteRenderingConfig
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-RS4QZOFK.mjs";
|
|
63
63
|
import {
|
|
64
64
|
_setFarmInfraAnalyticsWebMCPRoute
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-CIRC2LRP.mjs";
|
|
66
66
|
import {
|
|
67
67
|
createFarmRouteRenderPlan,
|
|
68
68
|
farmPathGuardCoversEndpoint,
|
|
@@ -89,13 +89,13 @@ import {
|
|
|
89
89
|
resolveFarmMCPRouteLabel,
|
|
90
90
|
resolveFarmMarkdownRouteLabel,
|
|
91
91
|
setFarmRouteLabel
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-IPKL7L6B.mjs";
|
|
93
93
|
import {
|
|
94
94
|
FARM_DEFAULT_MCP_PATH
|
|
95
95
|
} from "./chunk-WABOJXAA.mjs";
|
|
96
96
|
import {
|
|
97
97
|
isFarmPreviewDeploymentEnvironment
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-CTHQE7DO.mjs";
|
|
99
99
|
import {
|
|
100
100
|
createFarmServerFnBoundaryModule,
|
|
101
101
|
isFarmServerFnBoundaryId,
|
|
@@ -148,7 +148,7 @@ import {
|
|
|
148
148
|
usePackageScanCacheFile,
|
|
149
149
|
withFarmSourceSnapshotOf,
|
|
150
150
|
wrapFarmIslandContainers
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-XGBDRC5B.mjs";
|
|
152
152
|
import {
|
|
153
153
|
generateFarmDocsAdapterClientRuntime,
|
|
154
154
|
getFarmDocsAdapterConfigModule
|
|
@@ -253,7 +253,7 @@ import {
|
|
|
253
253
|
} from "./chunk-IYEY3JWJ.mjs";
|
|
254
254
|
import {
|
|
255
255
|
APIRouteManager
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-P3UT3OLV.mjs";
|
|
257
257
|
import {
|
|
258
258
|
hasPolyroutePlugin,
|
|
259
259
|
isFarmAPIRouteFileName,
|
|
@@ -276,9 +276,10 @@ import {
|
|
|
276
276
|
} from "./chunk-F7MJWW6A.mjs";
|
|
277
277
|
import {
|
|
278
278
|
isProgrammaticRoutesFileName,
|
|
279
|
+
isTestSourceFile,
|
|
279
280
|
parseProgrammaticRouteModuleId,
|
|
280
281
|
scanProgrammaticPagePaths
|
|
281
|
-
} from "./chunk-
|
|
282
|
+
} from "./chunk-V2RXBDV6.mjs";
|
|
282
283
|
import {
|
|
283
284
|
createCliColors
|
|
284
285
|
} from "./chunk-IGL6CO6M.mjs";
|
|
@@ -321,7 +322,7 @@ import {
|
|
|
321
322
|
} from "./chunk-EILUVBKS.mjs";
|
|
322
323
|
import {
|
|
323
324
|
FARM_VERSION
|
|
324
|
-
} from "./chunk-
|
|
325
|
+
} from "./chunk-2FKGY2ZS.mjs";
|
|
325
326
|
import {
|
|
326
327
|
DEFAULT_FARM_API_BASE_PATH
|
|
327
328
|
} from "./chunk-W6QLRQ3V.mjs";
|
|
@@ -1303,7 +1304,7 @@ function loadFarmWorkflowsDevRuntime() {
|
|
|
1303
1304
|
return import("./workflows.mjs");
|
|
1304
1305
|
}
|
|
1305
1306
|
function loadFarmDevtoolsSnapshotRuntime() {
|
|
1306
|
-
return import("./devtools-
|
|
1307
|
+
return import("./devtools-VPFBH6I2.mjs");
|
|
1307
1308
|
}
|
|
1308
1309
|
function loadFarmDevtoolsUIRuntime() {
|
|
1309
1310
|
return import("./devtools-ui-UYEVDADD.mjs");
|
|
@@ -2034,7 +2035,7 @@ function isResolvedEnvScope(value) {
|
|
|
2034
2035
|
function isPotentialProgrammaticRouteSourceFile(normalizedFile, srcDirSlug) {
|
|
2035
2036
|
return normalizedFile.startsWith(`${srcDirSlug}/`) && /\.(ts|tsx|js|jsx)$/.test(normalizedFile) && // A declaration file, including TypeScript's `.d.<ext>.ts` form such as a
|
|
2036
2037
|
// Polyroute `route.d.rs.ts`, has no runtime code to register a route.
|
|
2037
|
-
!/\.d(\.[^./]+)?\.ts$/.test(normalizedFile) && !normalizedFile.endsWith("/farm-routes.d.ts") && !normalizedFile.endsWith("/farm-env.d.ts") && !normalizedFile.endsWith("/lib/api.generated.ts");
|
|
2038
|
+
!/\.d(\.[^./]+)?\.ts$/.test(normalizedFile) && !normalizedFile.endsWith("/farm-routes.d.ts") && !normalizedFile.endsWith("/farm-env.d.ts") && !normalizedFile.endsWith("/lib/api.generated.ts") && !isTestSourceFile(normalizedFile.slice(srcDirSlug.length));
|
|
2038
2039
|
}
|
|
2039
2040
|
function fileContainsProgrammaticPageRoute(file) {
|
|
2040
2041
|
if (!fs2.existsSync(file)) {
|
|
@@ -2350,6 +2351,11 @@ function toFarmRuntimeModuleId(specifier) {
|
|
|
2350
2351
|
function getFarmCoreFile() {
|
|
2351
2352
|
return typeof __filename === "string" ? __filename : fileURLToPath(import.meta.url);
|
|
2352
2353
|
}
|
|
2354
|
+
var farmCoreModuleDirectory;
|
|
2355
|
+
function isFarmCoreModule(id) {
|
|
2356
|
+
farmCoreModuleDirectory ?? (farmCoreModuleDirectory = `${toPosixPath(path6.dirname(getFarmCoreFile()))}/`);
|
|
2357
|
+
return toPosixPath(id.split("?", 1)[0]).startsWith(farmCoreModuleDirectory);
|
|
2358
|
+
}
|
|
2353
2359
|
var FARM_SOURCE_ALIAS_PROBES = [
|
|
2354
2360
|
"@/x",
|
|
2355
2361
|
"@/index.ts",
|
|
@@ -2421,6 +2427,7 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
|
|
|
2421
2427
|
let openAPIManager = null;
|
|
2422
2428
|
let middlewareManager;
|
|
2423
2429
|
let refreshRouteDiscovery = null;
|
|
2430
|
+
let refreshFarmDocsConfig = null;
|
|
2424
2431
|
const pendingRouteReloads = /* @__PURE__ */ new Set();
|
|
2425
2432
|
let workflowHandler = null;
|
|
2426
2433
|
let isBuild = false;
|
|
@@ -2516,11 +2523,12 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
|
|
|
2516
2523
|
}
|
|
2517
2524
|
},
|
|
2518
2525
|
async configureServer(viteServer) {
|
|
2519
|
-
viteServer.middlewares.
|
|
2520
|
-
|
|
2526
|
+
viteServer.middlewares.stack.unshift({
|
|
2527
|
+
route: "",
|
|
2528
|
+
handle: createFarmDevPreviewGuard(viteServer, {
|
|
2521
2529
|
getSourceRoots: () => getFarmSourceRoots(farmApp?.getConfig() ?? options)
|
|
2522
2530
|
})
|
|
2523
|
-
);
|
|
2531
|
+
});
|
|
2524
2532
|
if (typeof fontImports.configureServer === "function") {
|
|
2525
2533
|
await fontImports.configureServer.call(this, viteServer);
|
|
2526
2534
|
}
|
|
@@ -2919,38 +2927,58 @@ function farmPlugin(options = {}, initialPluginManager, deferredSetup) {
|
|
|
2919
2927
|
},
|
|
2920
2928
|
href
|
|
2921
2929
|
);
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2930
|
+
let farmDocsRuntimeGeneration = 0;
|
|
2931
|
+
const createFarmDocsAdapterHandler = () => {
|
|
2932
|
+
const generation = ++farmDocsRuntimeGeneration;
|
|
2933
|
+
return farmDocsDevRuntime.createFarmDocsAdapterHandler(farmConfig.docs, {
|
|
2934
|
+
root: farmConfig.root,
|
|
2935
|
+
srcDir: farmConfig.srcDir,
|
|
2936
|
+
clientEntry: "/@farm/client.js",
|
|
2937
|
+
rendererServer: farmConfig.renderer.server,
|
|
2938
|
+
resolveLayoutFonts: resolveDocsLayoutFonts,
|
|
2939
|
+
fontStylesheetHref: "/@farm/fonts.css",
|
|
2940
|
+
globalStylesheetHref: resolveDevGlobalStylesheetHref(farmConfig.root, farmConfig.srcDir),
|
|
2941
|
+
loadModule: async (specifier) => {
|
|
2942
|
+
const resolved = await server.environments.ssr.pluginContainer.resolveId(specifier);
|
|
2943
|
+
if (specifier === farmConfig.docs.adapter?.server && resolved?.id) {
|
|
2944
|
+
const file = resolved.id.split("?", 1)[0];
|
|
2945
|
+
return import(
|
|
2946
|
+
/* @vite-ignore */
|
|
2947
|
+
pathToFileURL(file).href
|
|
2948
|
+
);
|
|
2949
|
+
}
|
|
2950
|
+
return loadFarmDevModule(server, resolved?.id ?? specifier);
|
|
2951
|
+
},
|
|
2952
|
+
registerMCPServer: (mcpServer) => {
|
|
2953
|
+
if (generation !== farmDocsRuntimeGeneration) return () => {
|
|
2954
|
+
};
|
|
2955
|
+
const dispose = registerFarmMCPServer(mcpServer);
|
|
2956
|
+
docsMCPServerDisposers.add(dispose);
|
|
2957
|
+
return () => {
|
|
2958
|
+
docsMCPServerDisposers.delete(dispose);
|
|
2959
|
+
dispose();
|
|
2960
|
+
};
|
|
2961
|
+
},
|
|
2962
|
+
isPathGuarded: isFarmDocsPathGuarded
|
|
2963
|
+
});
|
|
2964
|
+
};
|
|
2965
|
+
let farmDocsAdapterHandler = farmDocsDevRuntime?.hasFarmDocsRuntimeAdapter(farmConfig.docs) ? createFarmDocsAdapterHandler() : void 0;
|
|
2966
|
+
if (farmDocsAdapterHandler) await farmDocsAdapterHandler;
|
|
2967
|
+
const farmDocsConfigModule = farmDocsAdapterHandler ? getFarmDocsAdapterConfigModule(farmConfig.docs) : void 0;
|
|
2968
|
+
if (farmDocsConfigModule) {
|
|
2969
|
+
const configFile = toPosixPath(path6.resolve(farmConfig.root, farmDocsConfigModule));
|
|
2970
|
+
refreshFarmDocsConfig = (file) => {
|
|
2971
|
+
if (invalidateFarmDevDependents(server, file, /* @__PURE__ */ new Set([configFile])).length === 0) {
|
|
2972
|
+
return false;
|
|
2941
2973
|
}
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
};
|
|
2951
|
-
},
|
|
2952
|
-
isPathGuarded: isFarmDocsPathGuarded
|
|
2953
|
-
}) : farmDocsDevRuntime.createFarmDocsHandler(farmConfig.docs, {
|
|
2974
|
+
releaseDocsMCPServers();
|
|
2975
|
+
farmDocsAdapterHandler = createFarmDocsAdapterHandler();
|
|
2976
|
+
farmDocsAdapterHandler.catch(() => {
|
|
2977
|
+
});
|
|
2978
|
+
return true;
|
|
2979
|
+
};
|
|
2980
|
+
}
|
|
2981
|
+
const farmDocsHandler = farmDocsDevRuntime ? farmDocsAdapterHandler ? (request) => farmDocsAdapterHandler.then((handle) => handle(request)) : farmDocsDevRuntime.createFarmDocsHandler(farmConfig.docs, {
|
|
2954
2982
|
root: farmConfig.root,
|
|
2955
2983
|
srcDir: farmConfig.srcDir,
|
|
2956
2984
|
clientEntry: "/@farm/client.js",
|
|
@@ -5059,7 +5087,7 @@ export { manifest };
|
|
|
5059
5087
|
const runtimeModule = !isBuild && transformOptions?.ssr === true && isOutsideAppRoot(id) ? toFarmRuntimeModuleId : void 0;
|
|
5060
5088
|
const actionConfig = farmApp?.getConfig() ?? options;
|
|
5061
5089
|
let rewrotePackageImports = false;
|
|
5062
|
-
if (resolveFarmServerComponentsMode(readFarmServerComponentsConfig(actionConfig)) === "islands" && (!id.includes("/node_modules/") || transformOptions?.ssr === true && farmReactServerFiles.has(id.split("?", 1)[0])) && !id.startsWith("\0") && /\.[cm]?[jt]sx?(?:$|\?)/.test(id) && !hasUseClientDirective(code)) {
|
|
5090
|
+
if (resolveFarmServerComponentsMode(readFarmServerComponentsConfig(actionConfig)) === "islands" && (!id.includes("/node_modules/") && !isFarmCoreModule(id) || transformOptions?.ssr === true && farmReactServerFiles.has(id.split("?", 1)[0])) && !id.startsWith("\0") && /\.[cm]?[jt]sx?(?:$|\?)/.test(id) && !hasUseClientDirective(code)) {
|
|
5063
5091
|
const file = id.split("?", 1)[0];
|
|
5064
5092
|
const projectRoot = actionConfig.root || server?.config.root || process.cwd();
|
|
5065
5093
|
const buildSnapshot = isBuild ? options.sourceSnapshot : void 0;
|
|
@@ -5511,6 +5539,11 @@ if (import.meta.hot) {
|
|
|
5511
5539
|
if (apiRouteManager && invalidateFarmDevDependents(server2, file, apiRouteManager.getSourceFiles()).length > 0) {
|
|
5512
5540
|
await refreshRouteDiscovery?.(`updated ${file}`);
|
|
5513
5541
|
}
|
|
5542
|
+
if (refreshFarmDocsConfig?.(file)) {
|
|
5543
|
+
logUpdate("PAGE", `updated ${path6.basename(file)}`);
|
|
5544
|
+
reloadAfterEdit();
|
|
5545
|
+
return [];
|
|
5546
|
+
}
|
|
5514
5547
|
const isolatedHydrationMode = currentFarmConfig?.experimental?.isolatedClientHydration;
|
|
5515
5548
|
const planRouteManager = farmApp?.getRouteManager();
|
|
5516
5549
|
const isHydrationPlanSource = /\.[cm]?[jt]sx?$/.test(normalizedFile) && !normalizedFile.includes("/node_modules/") && !isFarmGeneratedOutput(normalizedFile);
|
|
@@ -5612,10 +5645,11 @@ if (import.meta.hot) {
|
|
|
5612
5645
|
return modules;
|
|
5613
5646
|
}
|
|
5614
5647
|
};
|
|
5615
|
-
if (!deferredSetup) return plugin;
|
|
5616
5648
|
const setUpDevServer = plugin.configureServer;
|
|
5649
|
+
plugin.configureServer = { order: "post", handler: setUpDevServer };
|
|
5650
|
+
if (!deferredSetup) return plugin;
|
|
5617
5651
|
let deferred = false;
|
|
5618
|
-
|
|
5652
|
+
const setUpDeferredDevServer = function(viteServer) {
|
|
5619
5653
|
if (deferred) {
|
|
5620
5654
|
deferredGates = void 0;
|
|
5621
5655
|
return setUpDevServer.call(this, viteServer);
|
|
@@ -5645,6 +5679,7 @@ if (import.meta.hot) {
|
|
|
5645
5679
|
viteServer.middlewares.use(post);
|
|
5646
5680
|
};
|
|
5647
5681
|
};
|
|
5682
|
+
plugin.configureServer = { order: "post", handler: setUpDeferredDevServer };
|
|
5648
5683
|
return plugin;
|
|
5649
5684
|
}
|
|
5650
5685
|
function runFarmMiddlewareWithNavigation(renderer, middlewareRequest, req, res, execute) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkC2J5LMH6cjs = require('./chunk-C2J5LMH6.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _chunkUGL4BDNBcjs = require('./chunk-UGL4BDNB.cjs');
|
|
@@ -97,7 +97,7 @@ function createFarmProductionSiteReporter(options) {
|
|
|
97
97
|
schemaVersion: FARM_PRODUCTION_SITE_TELEMETRY_SCHEMA_VERSION,
|
|
98
98
|
eventType: FARM_PRODUCTION_SITE_ATTESTATION_EVENT_TYPE,
|
|
99
99
|
packageName: FARM_PRODUCTION_SITE_TELEMETRY_PACKAGE_NAME,
|
|
100
|
-
packageVersion: sanitizeDetail(
|
|
100
|
+
packageVersion: sanitizeDetail(_chunkC2J5LMH6cjs.FARM_VERSION, "unknown"),
|
|
101
101
|
renderer: sanitizeDetail(options.renderer, "custom"),
|
|
102
102
|
deployTarget: sanitizeDetail(options.deployTarget, "custom")
|
|
103
103
|
};
|
|
@@ -18,7 +18,7 @@ var _chunk4A6WSOZHcjs = require('./chunk-4A6WSOZH.cjs');
|
|
|
18
18
|
var _chunkTDAH76RRcjs = require('./chunk-TDAH76RR.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk2LGM5WIKcjs = require('./chunk-2LGM5WIK.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -638,7 +638,7 @@ async function resolveAPIContext(options) {
|
|
|
638
638
|
config: options.config,
|
|
639
639
|
configPath: options.configPath
|
|
640
640
|
}));
|
|
641
|
-
const docs = isResolvedDocsConfig(docsInput) ? docsInput : await
|
|
641
|
+
const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunk2LGM5WIKcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
|
|
642
642
|
const guardedPaths = new Set(_nullishCoalesce(_optionalChain([runtimeConfig, 'optionalAccess', _27 => _27.guardedPaths]), () => ( [])));
|
|
643
643
|
return {
|
|
644
644
|
root,
|
|
@@ -344,6 +344,9 @@ var PROGRAMMATIC_ROUTE_FILE_NAMES = [
|
|
|
344
344
|
"routes.js",
|
|
345
345
|
"routes.jsx"
|
|
346
346
|
];
|
|
347
|
+
function isTestSourceFile(file) {
|
|
348
|
+
return /(?:^|[\\/])__tests__[\\/]|\.(?:test|spec)\.[^./\\]+$/.test(file);
|
|
349
|
+
}
|
|
347
350
|
function getProgrammaticRouteSearchClientOptions(search) {
|
|
348
351
|
if (!search || "parse" in search) return void 0;
|
|
349
352
|
const options = {};
|
|
@@ -451,4 +454,5 @@ function getProgrammaticRouteDefinitionSource(route) {
|
|
|
451
454
|
|
|
452
455
|
|
|
453
456
|
|
|
454
|
-
|
|
457
|
+
|
|
458
|
+
exports.extractProgrammaticPageCallPathLiterals = extractProgrammaticPageCallPathLiterals; exports.PROGRAMMATIC_ROUTE_FILE_NAMES = PROGRAMMATIC_ROUTE_FILE_NAMES; exports.isTestSourceFile = isTestSourceFile; exports.getProgrammaticRouteSearchClientOptions = getProgrammaticRouteSearchClientOptions; exports.isProgrammaticRoutesFileName = isProgrammaticRoutesFileName; exports.createProgrammaticRouteModuleId = createProgrammaticRouteModuleId; exports.parseProgrammaticRouteModuleId = parseProgrammaticRouteModuleId; exports.parseProgrammaticRoutePath = parseProgrammaticRoutePath; exports.scanProgrammaticPagePaths = scanProgrammaticPagePaths; exports.normalizeProgrammaticRoutePath = normalizeProgrammaticRoutePath; exports.PROGRAMMATIC_ROUTE_SOURCE = PROGRAMMATIC_ROUTE_SOURCE; exports.TRACK_PROGRAMMATIC_ROUTE_SOURCES = TRACK_PROGRAMMATIC_ROUTE_SOURCES; exports.trackProgrammaticRouteSources = trackProgrammaticRouteSources; exports.getProgrammaticRouteDefinitionSource = getProgrammaticRouteDefinitionSource;
|
|
@@ -11,7 +11,7 @@ var _chunkLEZJZX4Ccjs = require('./chunk-LEZJZX4C.cjs');
|
|
|
11
11
|
var _chunkRBDAW6IZcjs = require('./chunk-RBDAW6IZ.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkDZWX7FDXcjs = require('./chunk-DZWX7FDX.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
var _chunk7ZDLE77Pcjs = require('./chunk-7ZDLE77P.cjs');
|
|
@@ -375,7 +375,7 @@ async function scanRoutePatterns(options) {
|
|
|
375
375
|
);
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
for (const route of await
|
|
378
|
+
for (const route of await _chunkDZWX7FDXcjs.discoverProgrammaticRoutePaths.call(void 0, source.root, source.srcDir)) {
|
|
379
379
|
pages.add(route);
|
|
380
380
|
modules.add(route);
|
|
381
381
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-NRWEY2CM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
findProgrammaticRouteFilesInDir
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B6K2ZM3C.mjs";
|
|
7
7
|
import {
|
|
8
8
|
hasPolyroutePlugin,
|
|
9
9
|
isFarmAPIRouteFileName
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-2LKUR5QJ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
createProgrammaticRouteModuleId
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-V2RXBDV6.mjs";
|
|
32
32
|
import {
|
|
33
33
|
getFarmRouteRuntimeConfig,
|
|
34
34
|
normalizeFarmRouteRuntimeConfig
|
|
@@ -7,7 +7,7 @@ var _chunkYZMSJRM5cjs = require('./chunk-YZMSJRM5.cjs');
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkLH7S7FI3cjs = require('./chunk-LH7S7FI3.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkGUDYDNKUcjs = require('./chunk-GUDYDNKU.cjs');
|
|
@@ -105,13 +105,13 @@ function createProgrammaticRoute(route) {
|
|
|
105
105
|
return stampProgrammaticRouteSource(normalizeProgrammaticRoute(route), route, true);
|
|
106
106
|
}
|
|
107
107
|
function stampProgrammaticRouteSource(route, input, created) {
|
|
108
|
-
if (!globalThis[
|
|
109
|
-
const previous =
|
|
108
|
+
if (!globalThis[_chunkLH7S7FI3cjs.TRACK_PROGRAMMATIC_ROUTE_SOURCES]) return route;
|
|
109
|
+
const previous = _chunkLH7S7FI3cjs.getProgrammaticRouteDefinitionSource.call(void 0, input);
|
|
110
110
|
const source = {
|
|
111
111
|
stacks: [..._nullishCoalesce(_optionalChain([previous, 'optionalAccess', _ => _.stacks]), () => ( [])), captureRouteSourceStack()],
|
|
112
112
|
raw: created ? false : _nullishCoalesce(_optionalChain([previous, 'optionalAccess', _2 => _2.raw]), () => ( true))
|
|
113
113
|
};
|
|
114
|
-
Object.defineProperty(route,
|
|
114
|
+
Object.defineProperty(route, _chunkLH7S7FI3cjs.PROGRAMMATIC_ROUTE_SOURCE, {
|
|
115
115
|
value: source,
|
|
116
116
|
enumerable: true,
|
|
117
117
|
configurable: true,
|
|
@@ -305,7 +305,7 @@ function parseProgrammaticRouteModuleId(moduleId) {
|
|
|
305
305
|
};
|
|
306
306
|
}
|
|
307
307
|
function parseProgrammaticRoutePath2(routePath, type = "page") {
|
|
308
|
-
return
|
|
308
|
+
return _chunkLH7S7FI3cjs.parseProgrammaticRoutePath.call(void 0, routePath, type);
|
|
309
309
|
}
|
|
310
310
|
function createRouteModuleFromProgrammaticPage(route, rendererRuntime) {
|
|
311
311
|
const mod = {
|
|
@@ -365,7 +365,7 @@ function createLayoutModuleFromProgrammaticLayout(route) {
|
|
|
365
365
|
}
|
|
366
366
|
function scanProgrammaticPagePaths(source) {
|
|
367
367
|
const paths = /* @__PURE__ */ new Set();
|
|
368
|
-
for (const routePath of
|
|
368
|
+
for (const routePath of _chunkLH7S7FI3cjs.extractProgrammaticPageCallPathLiterals.call(void 0, source)) {
|
|
369
369
|
if (routePath) {
|
|
370
370
|
paths.add(normalizeRoutePath(routePath));
|
|
371
371
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var _chunkR6GOH5CHcjs = require('./chunk-R6GOH5CH.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkJJUHUPRBcjs = require('./chunk-JJUHUPRB.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk6QCZWAGOcjs = require('./chunk-6QCZWAGO.cjs');
|
|
@@ -29,7 +29,7 @@ var _chunkH5AC3XSEcjs = require('./chunk-H5AC3XSE.cjs');
|
|
|
29
29
|
var _chunk7GKZDRY2cjs = require('./chunk-7GKZDRY2.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkC2J5LMH6cjs = require('./chunk-C2J5LMH6.cjs');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
var _chunkTFCBJFP7cjs = require('./chunk-TFCBJFP7.cjs');
|
|
@@ -294,7 +294,7 @@ function createFarmAppManifest(input, registered = []) {
|
|
|
294
294
|
return {
|
|
295
295
|
schemaVersion: 1,
|
|
296
296
|
app: app ? {
|
|
297
|
-
...app.version ? { farm:
|
|
297
|
+
...app.version ? { farm: _chunkC2J5LMH6cjs.FARM_VERSION } : {},
|
|
298
298
|
...app.renderer ? { renderer: input.renderer } : {},
|
|
299
299
|
basePath: input.basePath,
|
|
300
300
|
...app.build ? { build: input.build } : {}
|
|
@@ -325,7 +325,7 @@ function resolveFarmSiteUrl() {
|
|
|
325
325
|
asUrl(read("RAILWAY_PUBLIC_DOMAIN"))
|
|
326
326
|
];
|
|
327
327
|
for (const candidate of candidates) {
|
|
328
|
-
const origin = candidate ?
|
|
328
|
+
const origin = candidate ? _chunkJJUHUPRBcjs.normalizeFarmProductionSiteOrigin.call(void 0, candidate) : void 0;
|
|
329
329
|
if (origin) return origin;
|
|
330
330
|
}
|
|
331
331
|
return null;
|