@farm.js/core 0.1.41 → 0.1.42
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-D0eZKfci.d.ts → agent-mcp-SSD6L3VZ.d.ts} +1 -1
- package/dist/{agent-mcp-BOqIxJLI.d.mts → agent-mcp-ssVy_tea.d.mts} +1 -1
- package/dist/agent-runtime.d.mts +1 -1
- package/dist/agent-runtime.d.ts +1 -1
- package/dist/api/route-manager.d.mts +3 -3
- package/dist/api/route-manager.d.ts +3 -3
- package/dist/api/runtime.d.mts +2 -2
- package/dist/api/runtime.d.ts +2 -2
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/{app-CzTSMJaf.d.mts → app-1h3lVT4a.d.mts} +4 -4
- package/dist/{app-DM8e1z3G.d.ts → app-KjFzdCqy.d.ts} +4 -4
- package/dist/app-manifest-D3RkVNuS.d.mts +120 -0
- package/dist/app-manifest-DaW8-tvX.d.ts +120 -0
- package/dist/app-markdown.d.mts +2 -2
- package/dist/app-markdown.d.ts +2 -2
- package/dist/{chunk-PYHPXPSW.mjs → chunk-2JZHQDUY.mjs} +1 -1
- package/dist/{chunk-R65GCA6A.mjs → chunk-375K2ZVU.mjs} +7 -7
- package/dist/{chunk-L6HYACBE.cjs → chunk-7YHSD3Z6.cjs} +77 -113
- package/dist/{chunk-EH3464KF.cjs → chunk-AHFRQMRX.cjs} +1 -1
- package/dist/{chunk-EX4MKHXN.cjs → chunk-BXJ5HJTJ.cjs} +7 -6
- package/dist/{chunk-BYQVROIP.mjs → chunk-DMRPN25V.mjs} +69 -0
- package/dist/{chunk-4C7KTKX7.mjs → chunk-IVQY6UTY.mjs} +1 -1
- package/dist/{chunk-3TB5QGUW.cjs → chunk-JAXDRRRC.cjs} +70 -1
- package/dist/{chunk-32TZ3QTP.cjs → chunk-JG3MEQUH.cjs} +85 -85
- package/dist/{chunk-ENOBPDKZ.mjs → chunk-NU25TRIO.mjs} +3 -2
- package/dist/{chunk-SVPGWJZF.mjs → chunk-PIZXONIS.mjs} +71 -107
- package/dist/{chunk-JOTUZIM4.cjs → chunk-QKZMB7LY.cjs} +2 -2
- package/dist/{chunk-FJGIVDA5.mjs → chunk-QTEJGB5A.mjs} +3 -3
- package/dist/{chunk-OQ4YXWH4.cjs → chunk-TCJ4A4A2.cjs} +57 -62
- package/dist/{chunk-BGGWKZ2V.mjs → chunk-TUL355PH.mjs} +6 -11
- package/dist/{chunk-VLPII2JJ.mjs → chunk-U2UC7UGP.mjs} +1 -1
- package/dist/{chunk-ROQ4C4LJ.cjs → chunk-ZATTDMBW.cjs} +48 -48
- package/dist/{chunk-PN676AZF.cjs → chunk-ZS6HDNOM.cjs} +6 -6
- package/dist/{client-plugins-CkYwvDJ0.d.mts → client-plugins-C9Py_50W.d.mts} +78 -6
- package/dist/{client-plugins-DfeKd0sD.d.ts → client-plugins-DIem0I0W.d.ts} +78 -6
- package/dist/client-plugins.d.mts +1 -1
- package/dist/client-plugins.d.ts +1 -1
- package/dist/client.d.mts +5 -5
- package/dist/client.d.ts +5 -5
- package/dist/config.d.mts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{devtools-2YHAJYH6.cjs → devtools-2RY3EKHL.cjs} +3 -3
- package/dist/{devtools-N3QLRIQU.mjs → devtools-Q3LBNUJ7.mjs} +2 -2
- package/dist/docs.cjs +4 -4
- package/dist/docs.d.mts +2 -2
- package/dist/docs.d.ts +2 -2
- package/dist/docs.mjs +3 -3
- package/dist/index.cjs +9 -9
- package/dist/index.d.mts +14 -13
- package/dist/index.d.ts +14 -13
- package/dist/index.mjs +8 -8
- 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 +9 -9
- package/dist/internal/build-runtime.d.mts +3 -3
- package/dist/internal/build-runtime.d.ts +3 -3
- package/dist/internal/build-runtime.mjs +8 -8
- package/dist/internal/cli-runtime.cjs +3 -3
- package/dist/internal/cli-runtime.mjs +2 -2
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -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 +3 -3
- package/dist/internal/config-runtime.d.mts +2 -2
- package/dist/internal/config-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.mjs +2 -2
- package/dist/internal/product-telemetry-runtime.cjs +2 -2
- package/dist/internal/product-telemetry-runtime.mjs +1 -1
- package/dist/internal/production-runtime.cjs +5 -5
- package/dist/internal/production-runtime.d.mts +10 -127
- package/dist/internal/production-runtime.d.ts +10 -127
- package/dist/internal/production-runtime.mjs +4 -4
- package/dist/markdown.d.mts +1 -1
- package/dist/markdown.d.ts +1 -1
- package/dist/middleware.d.mts +3 -3
- package/dist/middleware.d.ts +3 -3
- package/dist/navigation.d.mts +4 -4
- package/dist/navigation.d.ts +4 -4
- package/dist/plugin.cjs +6 -6
- package/dist/plugin.d.mts +3 -3
- package/dist/plugin.d.ts +3 -3
- package/dist/plugin.mjs +5 -5
- package/dist/{production-runtime-BTkXQdYy.d.mts → production-runtime-CHFKIgpW.d.mts} +1 -1
- package/dist/{production-runtime-DFC7pgbp.d.ts → production-runtime-bjjWq-DA.d.ts} +1 -1
- package/dist/{render-plan-BoAK9xFC.d.ts → render-plan-B2UndB4x.d.ts} +1 -1
- package/dist/{render-plan-5rFeWmk7.d.mts → render-plan-DOHg6wdO.d.mts} +1 -1
- package/dist/renderer-client.d.mts +3 -3
- package/dist/renderer-client.d.ts +3 -3
- package/dist/{request-BxBWigtl.d.mts → request-DQcGfdgQ.d.mts} +1 -1
- package/dist/{request-fciwmd3n.d.ts → request-DVNXRQrI.d.ts} +1 -1
- package/dist/request.d.mts +2 -2
- package/dist/request.d.ts +2 -2
- package/dist/{route-rendering-BLZT0IP0.d.ts → route-rendering-B_6fj-GG.d.ts} +1 -1
- package/dist/{route-rendering-BCM1QzEf.d.mts → route-rendering-CEX4mFn-.d.mts} +1 -1
- package/dist/{router-CkheNX3-.d.ts → router-CHEMHm1P.d.ts} +1 -1
- package/dist/{router-DyZJWc1_.d.mts → router-CKHPBKXX.d.mts} +1 -1
- package/dist/routes.d.mts +1 -1
- package/dist/routes.d.ts +1 -1
- package/dist/{runtime-DfU4sKa5.d.ts → runtime-Br2ZDTAv.d.ts} +1 -1
- package/dist/{runtime-wexvUN5J.d.mts → runtime-jj8TKNsy.d.mts} +1 -1
- package/dist/server-plugins.d.mts +2 -2
- package/dist/server-plugins.d.ts +2 -2
- package/dist/server.cjs +22 -22
- package/dist/server.d.mts +9 -9
- package/dist/server.d.ts +9 -9
- package/dist/server.mjs +6 -6
- package/dist/{spa-router-DgsMXqfX.d.mts → spa-router-BEvS9Erj.d.mts} +2 -2
- package/dist/{spa-router-CcejECnG.d.ts → spa-router-DmCuH5B7.d.ts} +2 -2
- package/dist/{ssg-Bg4bMMhM.d.mts → ssg-57v6cZcW.d.mts} +2 -2
- package/dist/{ssg-1FGaFISl.d.ts → ssg-gT093ETk.d.ts} +2 -2
- package/dist/testing.d.mts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/{utils-Dxbh6Hgj.d.ts → utils-CCTKvR-P.d.ts} +1 -1
- package/dist/{utils-8wtTYiH4.d.mts → utils-raHHQVyL.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +6 -6
- package/dist/vite.d.mts +4 -4
- package/dist/vite.d.ts +4 -4
- package/dist/vite.mjs +5 -5
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-BEvS9Erj.mjs';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-di_Nasxa.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
|
5
5
|
import { ServerQuery } from './server-query.mjs';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-aP52iuL5.mjs';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.mjs';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-CnH8DOqo.mjs';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-C9Py_50W.mjs';
|
|
10
10
|
import './lifecycle-DK06VuKP.mjs';
|
|
11
11
|
import './integration-api-DWyMmvrR.mjs';
|
|
12
12
|
import './endpoint-DGZRZHux.mjs';
|
|
@@ -36,7 +36,7 @@ import 'rolldown';
|
|
|
36
36
|
import './image-config-BpH1q5R8.mjs';
|
|
37
37
|
import './font.mjs';
|
|
38
38
|
import './island-CfGru1MO.mjs';
|
|
39
|
-
import './render-plan-
|
|
39
|
+
import './render-plan-DOHg6wdO.mjs';
|
|
40
40
|
|
|
41
41
|
interface FarmClientStore<TSnapshot> {
|
|
42
42
|
getSnapshot(): TSnapshot;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FarmRouterRouteInput } from './router.js';
|
|
2
|
-
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-
|
|
2
|
+
import { F as FarmNavigationState, a as FarmNavigateOptions } from './spa-router-DmCuH5B7.js';
|
|
3
3
|
import { F as FarmClientCacheStatus } from './client-cache-Deoqq-nM.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
5
5
|
import { ServerQuery } from './server-query.js';
|
|
6
6
|
import { S as ServerQueryFetchOptions } from './server-query-runtime-DXRNhX_3.js';
|
|
7
7
|
import { F as FarmThemeSnapshot, a as FarmThemePreference } from './types-DQnyD3VD.js';
|
|
8
8
|
import { F as FarmI18nClientSnapshot, a as FarmTranslator, b as FarmI18nLocale } from './types-CnH8DOqo.js';
|
|
9
|
-
import './client-plugins-
|
|
9
|
+
import './client-plugins-DIem0I0W.js';
|
|
10
10
|
import './lifecycle-DK06VuKP.js';
|
|
11
11
|
import './integration-api-BuPHMeKz.js';
|
|
12
12
|
import './endpoint-BOE0IAaG.js';
|
|
@@ -36,7 +36,7 @@ import 'rolldown';
|
|
|
36
36
|
import './image-config-BpH1q5R8.js';
|
|
37
37
|
import './font.js';
|
|
38
38
|
import './island-CfGru1MO.js';
|
|
39
|
-
import './render-plan-
|
|
39
|
+
import './render-plan-B2UndB4x.js';
|
|
40
40
|
|
|
41
41
|
interface FarmClientStore<TSnapshot> {
|
|
42
42
|
getSnapshot(): TSnapshot;
|
package/dist/request.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request-
|
|
2
|
-
import './client-plugins-
|
|
1
|
+
export { g as getCurrentRequest } from './request-DQcGfdgQ.mjs';
|
|
2
|
+
import './client-plugins-C9Py_50W.mjs';
|
|
3
3
|
import './lifecycle-DK06VuKP.mjs';
|
|
4
4
|
import './integration-api-DWyMmvrR.mjs';
|
|
5
5
|
import './endpoint-DGZRZHux.mjs';
|
package/dist/request.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { g as getCurrentRequest } from './request-
|
|
2
|
-
import './client-plugins-
|
|
1
|
+
export { g as getCurrentRequest } from './request-DVNXRQrI.js';
|
|
2
|
+
import './client-plugins-DIem0I0W.js';
|
|
3
3
|
import './lifecycle-DK06VuKP.js';
|
|
4
4
|
import './integration-api-BuPHMeKz.js';
|
|
5
5
|
import './endpoint-BOE0IAaG.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { FarmRouterRouteInput } from './router.js';
|
|
3
|
-
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-
|
|
3
|
+
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-DmCuH5B7.js';
|
|
4
4
|
|
|
5
5
|
interface UseRouterOptions {
|
|
6
6
|
basePath?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RefObject } from 'react';
|
|
2
2
|
import { FarmRouterRouteInput } from './router.mjs';
|
|
3
|
-
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-
|
|
3
|
+
import { b as FarmNavigationBlockerContext, F as FarmNavigationState } from './spa-router-BEvS9Erj.mjs';
|
|
4
4
|
|
|
5
5
|
interface UseRouterOptions {
|
|
6
6
|
basePath?: string;
|
package/dist/routes.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-
|
|
1
|
+
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-C9Py_50W.mjs';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { RouteDataCacheKey } from './cache.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
package/dist/routes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-
|
|
1
|
+
import { F as FarmRouteRuntimeConfig, ac as LayoutProps, ad as Metadata, ae as FarmRouteRuntime, af as FarmRouteRegions, ag as FarmRouteMaxDuration, ah as FarmAppContext, ai as PageProps, aj as PluginContextProps, ak as RouteModule, a8 as ParsedRoute } from './client-plugins-DIem0I0W.js';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
3
|
import { RouteDataCacheKey } from './cache.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as EndpointFailure } from './endpoint-BOE0IAaG.js';
|
|
2
2
|
import { c as PluginRoutesFactory } from './integration-api-BuPHMeKz.js';
|
|
3
3
|
import { a as APIRouteParams, A as APIRouteMatch } from './route-pattern-W-SsJGSp.js';
|
|
4
|
-
import './client-plugins-
|
|
4
|
+
import './client-plugins-DIem0I0W.js';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { f as EndpointFailure } from './endpoint-DGZRZHux.mjs';
|
|
2
2
|
import { c as PluginRoutesFactory } from './integration-api-DWyMmvrR.mjs';
|
|
3
3
|
import { a as APIRouteParams, A as APIRouteMatch } from './route-pattern-W-SsJGSp.mjs';
|
|
4
|
-
import './client-plugins-
|
|
4
|
+
import './client-plugins-C9Py_50W.mjs';
|
|
5
5
|
|
|
6
6
|
interface MountedRoute {
|
|
7
7
|
path: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-
|
|
1
|
+
import { cq as RedirectConfig, aa as FarmRequest, ab as FarmResponse, f as FarmPluginContext, a as FarmPlugin, cr as HeaderConfig, cs as RewriteConfig } from './client-plugins-C9Py_50W.mjs';
|
|
2
|
+
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-C9Py_50W.mjs';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.mjs';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.mjs';
|
|
5
5
|
import './lifecycle-DK06VuKP.mjs';
|
package/dist/server-plugins.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-
|
|
1
|
+
import { cq as RedirectConfig, aa as FarmRequest, ab as FarmResponse, f as FarmPluginContext, a as FarmPlugin, cr as HeaderConfig, cs as RewriteConfig } from './client-plugins-DIem0I0W.js';
|
|
2
|
+
export { g as FarmPluginLifecycle, v as FarmPluginRuntimeEndpoint, u as FarmPluginRuntimeEndpointEvent, h as FarmRequestPluginContext, e as FarmRequestStore } from './client-plugins-DIem0I0W.js';
|
|
3
3
|
import { R as ResolvedFarmI18nConfig } from './types-CnH8DOqo.js';
|
|
4
4
|
export { createCompressionPlugin } from './internal/compression-runtime.js';
|
|
5
5
|
import './lifecycle-DK06VuKP.js';
|
package/dist/server.cjs
CHANGED
|
@@ -22,7 +22,7 @@ var _chunkIK6LVLKCcjs = require('./chunk-IK6LVLKC.cjs');
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkBXJ5HJTJcjs = require('./chunk-BXJ5HJTJ.cjs');
|
|
26
26
|
require('./chunk-KR6CKSXT.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
@@ -38,7 +38,7 @@ require('./chunk-SK35NQKK.cjs');
|
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkTCJ4A4A2cjs = require('./chunk-TCJ4A4A2.cjs');
|
|
42
42
|
require('./chunk-KEXK442I.cjs');
|
|
43
43
|
|
|
44
44
|
|
|
@@ -51,7 +51,7 @@ require('./chunk-KEXK442I.cjs');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var _chunkZATTDMBWcjs = require('./chunk-ZATTDMBW.cjs');
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
@@ -64,7 +64,7 @@ require('./chunk-ZQRCSUSB.cjs');
|
|
|
64
64
|
|
|
65
65
|
var _chunk4U5XZDLGcjs = require('./chunk-4U5XZDLG.cjs');
|
|
66
66
|
require('./chunk-6D24SDKO.cjs');
|
|
67
|
-
require('./chunk-
|
|
67
|
+
require('./chunk-7YHSD3Z6.cjs');
|
|
68
68
|
require('./chunk-BMOBTMDR.cjs');
|
|
69
69
|
require('./chunk-TI7UANHI.cjs');
|
|
70
70
|
require('./chunk-VHRS3MCW.cjs');
|
|
@@ -93,7 +93,7 @@ require('./chunk-YJRZR7VU.cjs');
|
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
var _chunkPSV6XKPOcjs = require('./chunk-PSV6XKPO.cjs');
|
|
96
|
-
require('./chunk-
|
|
96
|
+
require('./chunk-JAXDRRRC.cjs');
|
|
97
97
|
require('./chunk-D5IHNDHI.cjs');
|
|
98
98
|
require('./chunk-25LPIZSX.cjs');
|
|
99
99
|
|
|
@@ -248,7 +248,7 @@ require('./chunk-5NAVKJCZ.cjs');
|
|
|
248
248
|
require('./chunk-4TLUFAIP.cjs');
|
|
249
249
|
|
|
250
250
|
|
|
251
|
-
var
|
|
251
|
+
var _chunkAHFRQMRXcjs = require('./chunk-AHFRQMRX.cjs');
|
|
252
252
|
require('./chunk-OYEUREB6.cjs');
|
|
253
253
|
require('./chunk-7W3CPVXS.cjs');
|
|
254
254
|
require('./chunk-NZKJGRB3.cjs');
|
|
@@ -475,7 +475,7 @@ function createBrandingPlugin() {
|
|
|
475
475
|
const pc = _chunkM2L4MYDQcjs.createCliColors.call(void 0, );
|
|
476
476
|
console.log("");
|
|
477
477
|
console.log(
|
|
478
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
478
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkAHFRQMRXcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
479
479
|
);
|
|
480
480
|
console.log("");
|
|
481
481
|
console.log(
|
|
@@ -544,7 +544,7 @@ function inlineEnvScope(scope) {
|
|
|
544
544
|
}
|
|
545
545
|
_chunkS3JO3N4Hcjs.__name.call(void 0, inlineEnvScope, "inlineEnvScope");
|
|
546
546
|
async function resolveInlineConfig(config, mode) {
|
|
547
|
-
if (
|
|
547
|
+
if (_chunkBXJ5HJTJcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
548
548
|
_chunkVEKFLAQMcjs.setEnv.call(void 0, config.env);
|
|
549
549
|
return { ...config };
|
|
550
550
|
}
|
|
@@ -554,7 +554,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
554
554
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
555
555
|
const auth = config.auth;
|
|
556
556
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
557
|
-
const resolved = await
|
|
557
|
+
const resolved = await _chunkBXJ5HJTJcjs.resolveConfig.call(void 0,
|
|
558
558
|
{
|
|
559
559
|
...config,
|
|
560
560
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -588,8 +588,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
588
588
|
try {
|
|
589
589
|
const root = config.root || process.cwd();
|
|
590
590
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
591
|
-
const userConfig = await
|
|
592
|
-
const resolvedConfig = userConfig ? await
|
|
591
|
+
const userConfig = await _chunkBXJ5HJTJcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
592
|
+
const resolvedConfig = userConfig ? await _chunkBXJ5HJTJcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
593
593
|
const instrumentationRoot = resolvedConfig.root;
|
|
594
594
|
const instrumentationFile = _chunkKCMTCM6Icjs.resolveFarmInstrumentationFile.call(void 0,
|
|
595
595
|
instrumentationRoot,
|
|
@@ -639,7 +639,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
639
639
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
640
640
|
finalConfig.renderer = _chunkPSV6XKPOcjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
641
641
|
const projectRoot = finalConfig.root || process.cwd();
|
|
642
|
-
finalConfig.images =
|
|
642
|
+
finalConfig.images = _chunkZATTDMBWcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
643
643
|
root: projectRoot,
|
|
644
644
|
dev: true
|
|
645
645
|
});
|
|
@@ -651,28 +651,28 @@ async function createServer2(config = {}, options = {}) {
|
|
|
651
651
|
projectRoot,
|
|
652
652
|
{ ssr: true }
|
|
653
653
|
);
|
|
654
|
-
const reactRefreshPlugins = _chunkPSV6XKPOcjs.isReactRenderer.call(void 0, finalConfig.renderer) ? await
|
|
654
|
+
const reactRefreshPlugins = _chunkPSV6XKPOcjs.isReactRenderer.call(void 0, finalConfig.renderer) ? await _chunkTCJ4A4A2cjs.createFarmReactRefreshPlugins.call(void 0, ) : [];
|
|
655
655
|
let tailwindVitePlugin = void 0;
|
|
656
656
|
const shouldUseProjectPostcss = hasProjectPostcssConfig(projectRoot);
|
|
657
657
|
if (shouldUseProjectPostcss) {
|
|
658
658
|
_chunk5QIKR7RRcjs.logger.info("\u{1F4E6} Using project PostCSS/Tailwind configuration");
|
|
659
659
|
} else {
|
|
660
|
-
tailwindVitePlugin = await
|
|
660
|
+
tailwindVitePlugin = await _chunkZATTDMBWcjs.loadTailwindVitePlugin.call(void 0, );
|
|
661
661
|
}
|
|
662
662
|
server = await createViteDevServer(
|
|
663
|
-
|
|
663
|
+
_chunkZATTDMBWcjs.mergeFarmViteConfig.call(void 0,
|
|
664
664
|
{
|
|
665
665
|
root: projectRoot,
|
|
666
666
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
667
667
|
plugins: [
|
|
668
|
-
|
|
668
|
+
_chunkZATTDMBWcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
669
669
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
670
670
|
...rendererVitePlugins,
|
|
671
671
|
...reactRefreshPlugins,
|
|
672
672
|
createDevDependencyStubsPlugin(),
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
673
|
+
_chunkTCJ4A4A2cjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
674
|
+
_chunkTCJ4A4A2cjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
675
|
+
_chunkTCJ4A4A2cjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
676
676
|
_chunkVDRM36QBcjs.farmEnvironmentFunctionsPlugin.call(void 0, finalConfig),
|
|
677
677
|
createBrandingPlugin(),
|
|
678
678
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
@@ -687,8 +687,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
687
687
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
688
688
|
},
|
|
689
689
|
optimizeDeps: {
|
|
690
|
-
...
|
|
691
|
-
|
|
690
|
+
..._chunkZATTDMBWcjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
691
|
+
_chunkZATTDMBWcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunkWBKEZXWEcjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
692
692
|
finalConfig.renderer
|
|
693
693
|
),
|
|
694
694
|
exclude: [
|
|
@@ -927,4 +927,4 @@ _chunkS3JO3N4Hcjs.__name.call(void 0, startDevServer, "startDevServer");
|
|
|
927
927
|
|
|
928
928
|
|
|
929
929
|
|
|
930
|
-
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkP4TYB4SFcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkMN4TQJ3Wcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp =
|
|
930
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunkP4TYB4SFcjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkMN4TQJ3Wcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunkZATTDMBWcjs.FarmApp; exports.FarmDataCache = _chunk6MVFHNYZcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkW4E7WMXEcjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunk6MVFHNYZcjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunkZATTDMBWcjs.RouteManager; exports.ServerActionRequestError = _chunkP4TYB4SFcjs.ServerActionRequestError; exports.ServerRenderer = _chunkZATTDMBWcjs.ServerRenderer; exports._collectFarmStorageModules = _chunkOILHPMFXcjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkOILHPMFXcjs._registerFarmStorageModules; exports._runWithAfterNodeResponse = _chunkMQ3H6LT5cjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkMQ3H6LT5cjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkMQ3H6LT5cjs._withAfterNodeMiddleware; exports.after = _chunkMQ3H6LT5cjs.after; exports.applyFarmCacheInvalidationTargets = _chunk6MVFHNYZcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkZEG3OPIBcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunk6MVFHNYZcjs.configureFarmCache; exports.createClientOnlyFn = _chunkW4E7WMXEcjs.createClientOnlyFn; exports.createFarmApp = _chunkZATTDMBWcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunk6MVFHNYZcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkNYJMY3JAcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunkWBKEZXWEcjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunkOILHPMFXcjs.createFarmStorage; exports.createIsomorphicFn = _chunkW4E7WMXEcjs.createIsomorphicFn; exports.createPathCacheTag = _chunk6MVFHNYZcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkNYJMY3JAcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunk6MVFHNYZcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunkP4TYB4SFcjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkW4E7WMXEcjs.createServerOnlyFn; exports.createServerQuery = _chunkMN4TQJ3Wcjs.createServerQuery; exports.createStorageClient = _chunkOILHPMFXcjs.createStorageClient; exports.databaseStorage = _chunkOILHPMFXcjs.databaseStorage; exports.defineCacheKey = _chunk6MVFHNYZcjs.defineCacheKey; exports.defineConfig = _chunkTCJ4A4A2cjs.defineConfig; exports.defineStorageClient = _chunkOILHPMFXcjs.defineStorageClient; exports.disposeStorage = _chunkOILHPMFXcjs.disposeStorage; exports.driverStorage = _chunkOILHPMFXcjs.driverStorage; exports.farmPlugin = _chunkTCJ4A4A2cjs.farmPlugin; exports.fileExists = _chunk5QIKR7RRcjs.fileExists; exports.getCurrentRequest = _chunkZTP3BJG6cjs.getCurrentRequest; exports.getFarmAppDirectories = _chunkWBKEZXWEcjs.getFarmAppDirectories; exports.getFarmDataCache = _chunk6MVFHNYZcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunkWBKEZXWEcjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunkWBKEZXWEcjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunkP4TYB4SFcjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunkP4TYB4SFcjs.getServerActionInvalidations; exports.getServerActionSignal = _chunkP4TYB4SFcjs.getServerActionSignal; exports.getStorage = _chunkOILHPMFXcjs.getStorage; exports.getTheme = _chunk2FUIT2G2cjs.getTheme; exports.getThemeSnapshot = _chunk2FUIT2G2cjs.getThemeSnapshot; exports.globFiles = _chunk5QIKR7RRcjs.globFiles; exports.initStorage = _chunkOILHPMFXcjs.initStorage; exports.invalidate = _chunk6MVFHNYZcjs.invalidate; exports.invalidateRouteData = _chunk6MVFHNYZcjs.invalidateRouteData; exports.libsqlStorage = _chunkOILHPMFXcjs.libsqlStorage; exports.loadFarmConfigFile = _chunkWBKEZXWEcjs.loadFarmConfigFile; exports.localStorage = _chunkOILHPMFXcjs.localStorage; exports.logger = _chunk5QIKR7RRcjs.logger; exports.matchRoute = _chunk5QIKR7RRcjs.matchRoute; exports.matchRouteParts = _chunk5QIKR7RRcjs.matchRouteParts; exports.matchRoutePrefix = _chunk5QIKR7RRcjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunk5QIKR7RRcjs.matchRoutePrefixParts; exports.memoryStorage = _chunkOILHPMFXcjs.memoryStorage; exports.mongodbStorage = _chunkOILHPMFXcjs.mongodbStorage; exports.mysql2Storage = _chunkOILHPMFXcjs.mysql2Storage; exports.mysqlStorage = _chunkOILHPMFXcjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkOILHPMFXcjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunk6MVFHNYZcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunk5QIKR7RRcjs.parseRoutePath; exports.parseSearchParams = _chunk5QIKR7RRcjs.parseSearchParams; exports.pgStorage = _chunkOILHPMFXcjs.pgStorage; exports.pgliteStorage = _chunkOILHPMFXcjs.pgliteStorage; exports.planetscaleStorage = _chunkOILHPMFXcjs.planetscaleStorage; exports.postgresStorage = _chunkOILHPMFXcjs.postgresStorage; exports.prepareServerActionRequest = _chunkP4TYB4SFcjs.prepareServerActionRequest; exports.redisStorage = _chunkOILHPMFXcjs.redisStorage; exports.resolveAppPath = _chunk5QIKR7RRcjs.resolveAppPath; exports.resolveFarmLayers = _chunkWBKEZXWEcjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkBXJ5HJTJcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkBXJ5HJTJcjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunkP4TYB4SFcjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunkOILHPMFXcjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunk6MVFHNYZcjs.revalidatePath; exports.revalidateTag = _chunk6MVFHNYZcjs.revalidateTag; exports.runWithServerActionRequest = _chunkP4TYB4SFcjs.runWithServerActionRequest; exports.s3Storage = _chunkOILHPMFXcjs.s3Storage; exports.sanitizeServerActionError = _chunkP4TYB4SFcjs.sanitizeServerActionError; exports.segmentsToPattern = _chunk5QIKR7RRcjs.segmentsToPattern; exports.sendWebResponse = _chunkUQZ4AYTHcjs.sendWebResponse; exports.splitRoutePath = _chunk5QIKR7RRcjs.splitRoutePath; exports.sqliteStorage = _chunkOILHPMFXcjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunk6MVFHNYZcjs.storageCacheAdapter; exports.toPosixPath = _chunk5QIKR7RRcjs.toPosixPath; exports.toRootRelativeUrlPath = _chunk5QIKR7RRcjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunk5QIKR7RRcjs.toViteModuleId; exports.unstable_cache = _chunk6MVFHNYZcjs.unstable_cache; exports.updateTag = _chunk6MVFHNYZcjs.updateTag; exports.upstashStorage = _chunkOILHPMFXcjs.upstashStorage; exports.validateServerActionRequest = _chunkP4TYB4SFcjs.validateServerActionRequest; exports.vercelBlobStorage = _chunkOILHPMFXcjs.vercelBlobStorage; exports.vercelKVStorage = _chunkOILHPMFXcjs.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-1h3lVT4a.mjs';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.mjs';
|
|
3
|
-
import { ay as FarmConfig, au as FarmUserConfig } from './client-plugins-
|
|
4
|
-
export { aD as AppRoutePattern, b2 as BuildOptions, aU as ErrorBoundary, aN as ErrorProps, ah as FarmAppContext, aC as FarmComponentType, av as FarmContextFactory, aK as FarmContextFactoryInput, aL as FarmIsolatedClientHydrationMode, aB as FarmMCPUserConfig, aG as FarmMigrationCommand, aH as FarmMigrationsConfig, aI as FarmMigrationsUserConfig, aa as FarmRequest, ab as FarmResponse, aY as GenerateStaticParams, aS as Layout, aQ as LayoutMetadataProps, aZ as LayoutModule, ac as LayoutProps, aT as Loading, aM as LoadingProps, ad as Metadata, a_ as MetadataJsonLd, aP as MetadataProps, b6 as MetadataRobots, b5 as MetadataRobotsDirectives, aw as MiddlewareProps, aF as NitroPreset, aR as Page, ai as PageProps, aO as PagePropsWithMiddleware, aE as PageRouteParams, a8 as ParsedRoute, aj as PluginContextProps, aJ as ResolvedFarmMigrationsConfig, ak as RouteModule, a9 as RouteSegment, b4 as SSGCollectionResult, b3 as SSGPage, b1 as ServerAction, aW as StaticPathParams, aV as StaticPathPrimitive, aX as StaticRouteParams, a$ as ThemeColorDescriptor, b0 as Viewport, az as resolveFarmMCPConfig, aA as resolveFarmMCPPlugin } from './client-plugins-
|
|
5
|
-
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-
|
|
3
|
+
import { ay as FarmConfig, au as FarmUserConfig } from './client-plugins-C9Py_50W.mjs';
|
|
4
|
+
export { aD as AppRoutePattern, b2 as BuildOptions, aU as ErrorBoundary, aN as ErrorProps, ah as FarmAppContext, aC as FarmComponentType, av as FarmContextFactory, aK as FarmContextFactoryInput, aL as FarmIsolatedClientHydrationMode, aB as FarmMCPUserConfig, aG as FarmMigrationCommand, aH as FarmMigrationsConfig, aI as FarmMigrationsUserConfig, aa as FarmRequest, ab as FarmResponse, aY as GenerateStaticParams, aS as Layout, aQ as LayoutMetadataProps, aZ as LayoutModule, ac as LayoutProps, aT as Loading, aM as LoadingProps, ad as Metadata, a_ as MetadataJsonLd, aP as MetadataProps, b6 as MetadataRobots, b5 as MetadataRobotsDirectives, aw as MiddlewareProps, aF as NitroPreset, aR as Page, ai as PageProps, aO as PagePropsWithMiddleware, aE as PageRouteParams, a8 as ParsedRoute, aj as PluginContextProps, aJ as ResolvedFarmMigrationsConfig, ak as RouteModule, a9 as RouteSegment, b4 as SSGCollectionResult, b3 as SSGPage, b1 as ServerAction, aW as StaticPathParams, aV as StaticPathPrimitive, aX as StaticRouteParams, a$ as ThemeColorDescriptor, b0 as Viewport, az as resolveFarmMCPConfig, aA as resolveFarmMCPPlugin } from './client-plugins-C9Py_50W.mjs';
|
|
5
|
+
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-raHHQVyL.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, 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-DQcGfdgQ.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 'rolldown';
|
|
|
42
42
|
import './types-CnH8DOqo.mjs';
|
|
43
43
|
import './types-DQnyD3VD.mjs';
|
|
44
44
|
import './font.mjs';
|
|
45
|
-
import './ssg-
|
|
46
|
-
import './route-rendering-
|
|
45
|
+
import './ssg-57v6cZcW.mjs';
|
|
46
|
+
import './route-rendering-CEX4mFn-.mjs';
|
|
47
47
|
import './island-CfGru1MO.mjs';
|
|
48
|
-
import './agent-mcp-
|
|
49
|
-
import './render-plan-
|
|
48
|
+
import './agent-mcp-ssVy_tea.mjs';
|
|
49
|
+
import './render-plan-DOHg6wdO.mjs';
|
|
50
50
|
import './runtime-CV2UCV-5.mjs';
|
|
51
51
|
import './resolver-khasx3fU.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-KjFzdCqy.js';
|
|
2
2
|
export { defineConfig, farmPlugin } from './vite.js';
|
|
3
|
-
import { ay as FarmConfig, au as FarmUserConfig } from './client-plugins-
|
|
4
|
-
export { aD as AppRoutePattern, b2 as BuildOptions, aU as ErrorBoundary, aN as ErrorProps, ah as FarmAppContext, aC as FarmComponentType, av as FarmContextFactory, aK as FarmContextFactoryInput, aL as FarmIsolatedClientHydrationMode, aB as FarmMCPUserConfig, aG as FarmMigrationCommand, aH as FarmMigrationsConfig, aI as FarmMigrationsUserConfig, aa as FarmRequest, ab as FarmResponse, aY as GenerateStaticParams, aS as Layout, aQ as LayoutMetadataProps, aZ as LayoutModule, ac as LayoutProps, aT as Loading, aM as LoadingProps, ad as Metadata, a_ as MetadataJsonLd, aP as MetadataProps, b6 as MetadataRobots, b5 as MetadataRobotsDirectives, aw as MiddlewareProps, aF as NitroPreset, aR as Page, ai as PageProps, aO as PagePropsWithMiddleware, aE as PageRouteParams, a8 as ParsedRoute, aj as PluginContextProps, aJ as ResolvedFarmMigrationsConfig, ak as RouteModule, a9 as RouteSegment, b4 as SSGCollectionResult, b3 as SSGPage, b1 as ServerAction, aW as StaticPathParams, aV as StaticPathPrimitive, aX as StaticRouteParams, a$ as ThemeColorDescriptor, b0 as Viewport, az as resolveFarmMCPConfig, aA as resolveFarmMCPPlugin } from './client-plugins-
|
|
5
|
-
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-
|
|
3
|
+
import { ay as FarmConfig, au as FarmUserConfig } from './client-plugins-DIem0I0W.js';
|
|
4
|
+
export { aD as AppRoutePattern, b2 as BuildOptions, aU as ErrorBoundary, aN as ErrorProps, ah as FarmAppContext, aC as FarmComponentType, av as FarmContextFactory, aK as FarmContextFactoryInput, aL as FarmIsolatedClientHydrationMode, aB as FarmMCPUserConfig, aG as FarmMigrationCommand, aH as FarmMigrationsConfig, aI as FarmMigrationsUserConfig, aa as FarmRequest, ab as FarmResponse, aY as GenerateStaticParams, aS as Layout, aQ as LayoutMetadataProps, aZ as LayoutModule, ac as LayoutProps, aT as Loading, aM as LoadingProps, ad as Metadata, a_ as MetadataJsonLd, aP as MetadataProps, b6 as MetadataRobots, b5 as MetadataRobotsDirectives, aw as MiddlewareProps, aF as NitroPreset, aR as Page, ai as PageProps, aO as PagePropsWithMiddleware, aE as PageRouteParams, a8 as ParsedRoute, aj as PluginContextProps, aJ as ResolvedFarmMigrationsConfig, ak as RouteModule, a9 as RouteSegment, b4 as SSGCollectionResult, b3 as SSGPage, b1 as ServerAction, aW as StaticPathParams, aV as StaticPathPrimitive, aX as StaticRouteParams, a$ as ThemeColorDescriptor, b0 as Viewport, az as resolveFarmMCPConfig, aA as resolveFarmMCPPlugin } from './client-plugins-DIem0I0W.js';
|
|
5
|
+
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-CCTKvR-P.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, 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-DVNXRQrI.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 'rolldown';
|
|
|
42
42
|
import './types-CnH8DOqo.js';
|
|
43
43
|
import './types-DQnyD3VD.js';
|
|
44
44
|
import './font.js';
|
|
45
|
-
import './ssg-
|
|
46
|
-
import './route-rendering-
|
|
45
|
+
import './ssg-gT093ETk.js';
|
|
46
|
+
import './route-rendering-B_6fj-GG.js';
|
|
47
47
|
import './island-CfGru1MO.js';
|
|
48
|
-
import './agent-mcp-
|
|
49
|
-
import './render-plan-
|
|
48
|
+
import './agent-mcp-SSD6L3VZ.js';
|
|
49
|
+
import './render-plan-B2UndB4x.js';
|
|
50
50
|
import './runtime-BgDQzBiu.js';
|
|
51
51
|
import './resolver-DadfRL6F.js';
|
|
52
52
|
import './server-client-bridge-DKWDl5NB.js';
|
package/dist/server.mjs
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
resolveConfig,
|
|
22
22
|
resolveFarmMCPConfig,
|
|
23
23
|
resolveFarmMCPPlugin
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NU25TRIO.mjs";
|
|
25
25
|
import "./chunk-XZNTNMHT.mjs";
|
|
26
26
|
import {
|
|
27
27
|
loadFarmInstrumentation,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
farmI18nClientBridgePlugin,
|
|
38
38
|
farmPlugin,
|
|
39
39
|
farmServerOnlyEntriesPlugin
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TUL355PH.mjs";
|
|
41
41
|
import "./chunk-INQ64HTJ.mjs";
|
|
42
42
|
import {
|
|
43
43
|
FarmApp,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
loadTailwindVitePlugin,
|
|
51
51
|
mergeFarmViteConfig,
|
|
52
52
|
resolveFarmImageProviderForRuntime
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-QTEJGB5A.mjs";
|
|
54
54
|
import {
|
|
55
55
|
FarmRuntimeShutdownError,
|
|
56
56
|
PluginManager
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
readSchemaTables
|
|
64
64
|
} from "./chunk-GC3EM6H4.mjs";
|
|
65
65
|
import "./chunk-WDMIW6Q6.mjs";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-PIZXONIS.mjs";
|
|
67
67
|
import "./chunk-4ZZNPK25.mjs";
|
|
68
68
|
import "./chunk-Y5RG6B7S.mjs";
|
|
69
69
|
import "./chunk-COABSY3U.mjs";
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
loadFarmRendererVitePlugins,
|
|
93
93
|
resolveFarmRenderer
|
|
94
94
|
} from "./chunk-DAATZTKJ.mjs";
|
|
95
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-DMRPN25V.mjs";
|
|
96
96
|
import "./chunk-ETPEZLS3.mjs";
|
|
97
97
|
import "./chunk-7UEEHAW7.mjs";
|
|
98
98
|
import {
|
|
@@ -247,7 +247,7 @@ import "./chunk-ZZGQD7A4.mjs";
|
|
|
247
247
|
import "./chunk-P7XDC7UJ.mjs";
|
|
248
248
|
import {
|
|
249
249
|
FARM_VERSION
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-U2UC7UGP.mjs";
|
|
251
251
|
import "./chunk-54UPOYFS.mjs";
|
|
252
252
|
import "./chunk-WNSDDRNU.mjs";
|
|
253
253
|
import "./chunk-JPLUGGRV.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ad as Metadata } from './client-plugins-
|
|
1
|
+
import { ad as Metadata } from './client-plugins-C9Py_50W.mjs';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.mjs';
|
|
3
3
|
import { F as FarmI18nClientSnapshot } from './types-CnH8DOqo.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-DOHg6wdO.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ad as Metadata } from './client-plugins-
|
|
1
|
+
import { ad as Metadata } from './client-plugins-DIem0I0W.js';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.js';
|
|
3
3
|
import { F as FarmI18nClientSnapshot } from './types-CnH8DOqo.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-B2UndB4x.js';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-
|
|
2
|
-
import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-
|
|
1
|
+
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-CEX4mFn-.mjs';
|
|
2
|
+
import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-C9Py_50W.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The browser copy of a programmatic page or layout imports only the module that defines its
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-
|
|
2
|
-
import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-
|
|
1
|
+
import { R as RouteRenderingOptions, a as RouteRenderingConfig, D as DirectiveRenderingConfig } from './route-rendering-B_6fj-GG.js';
|
|
2
|
+
import { ak as RouteModule, b4 as SSGCollectionResult, b3 as SSGPage } from './client-plugins-DIem0I0W.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The browser copy of a programmatic page or layout imports only the module that defines its
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-
|
|
2
|
+
import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-C9Py_50W.mjs';
|
|
3
3
|
import './types-CnH8DOqo.mjs';
|
|
4
4
|
import { a as APIRouteParams } from './route-pattern-W-SsJGSp.mjs';
|
|
5
5
|
import { ServerFn } from './server-fn.mjs';
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-
|
|
2
|
+
import { av as FarmContextFactory, aw as MiddlewareProps, aj as PluginContextProps, ak as RouteModule } from './client-plugins-DIem0I0W.js';
|
|
3
3
|
import './types-CnH8DOqo.js';
|
|
4
4
|
import { a as APIRouteParams } from './route-pattern-W-SsJGSp.js';
|
|
5
5
|
import { ServerFn } from './server-fn.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as ParsedRoute, a9 as RouteSegment } from './client-plugins-
|
|
1
|
+
import { a8 as ParsedRoute, a9 as RouteSegment } from './client-plugins-DIem0I0W.js';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a8 as ParsedRoute, a9 as RouteSegment } from './client-plugins-
|
|
1
|
+
import { a8 as ParsedRoute, a9 as RouteSegment } from './client-plugins-C9Py_50W.mjs';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
package/dist/version.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkAHFRQMRXcjs = require('./chunk-AHFRQMRX.cjs');
|
|
4
4
|
require('./chunk-S3JO3N4H.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.FARM_VERSION =
|
|
7
|
+
exports.FARM_VERSION = _chunkAHFRQMRXcjs.FARM_VERSION;
|