@farm.js/core 0.1.25 → 0.1.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-runtime.d.mts +2 -2
- package/dist/agent-runtime.d.ts +2 -2
- package/dist/api/route-manager.d.mts +2 -2
- package/dist/api/route-manager.d.ts +2 -2
- package/dist/api.d.mts +3 -3
- package/dist/api.d.ts +3 -3
- package/dist/{app-ZuWrAMc_.d.mts → app-29vG5tmY.d.mts} +3 -3
- package/dist/{app-BF-ctoxh.d.ts → app-Cx71s_PT.d.ts} +3 -3
- package/dist/app-markdown.cjs +6 -4
- package/dist/app-markdown.d.mts +3 -3
- package/dist/app-markdown.d.ts +3 -3
- package/dist/app-markdown.mjs +5 -3
- package/dist/{chunk-E3RDL2DA.cjs → chunk-2CT6XUNO.cjs} +61 -31
- package/dist/{chunk-R7LCG3BT.cjs → chunk-3TQG7CGC.cjs} +84 -77
- package/dist/{chunk-AXYTGLF3.cjs → chunk-3WSWXPYM.cjs} +4 -4
- package/dist/{chunk-2BIJGZR3.mjs → chunk-74RZNRY6.mjs} +1 -1
- package/dist/{chunk-TTVHACQV.cjs → chunk-ALIFMS4A.cjs} +1 -1
- package/dist/{chunk-T2OPSH6S.mjs → chunk-ARXCHQLX.mjs} +9 -2
- package/dist/{chunk-2KI3CL3N.mjs → chunk-DU2CASV6.mjs} +1 -1
- package/dist/chunk-J63ZH5OQ.cjs +62 -0
- package/dist/{chunk-XM4ZDVD7.mjs → chunk-JM5GQL4H.mjs} +1 -1
- package/dist/{chunk-6VEHUKZ2.mjs → chunk-MM5D6VLP.mjs} +4 -20
- package/dist/chunk-MVL2RAJW.mjs +62 -0
- package/dist/{chunk-YA6LLTIJ.cjs → chunk-ND224OE2.cjs} +4 -20
- package/dist/{chunk-XME4TCLB.mjs → chunk-OFKG57MZ.mjs} +2 -2
- package/dist/{chunk-U4MP7XTD.mjs → chunk-OOIL3BWR.mjs} +168 -16
- package/dist/{chunk-WOI2HOGA.mjs → chunk-PPIW3MH6.mjs} +1 -1
- package/dist/{chunk-2ITKVAIF.cjs → chunk-QIH2HD6H.cjs} +191 -39
- package/dist/{chunk-65P6OGYN.cjs → chunk-QJ4D3UKJ.cjs} +10 -3
- package/dist/{chunk-RYDW7GPR.cjs → chunk-QLXEYIAW.cjs} +13 -13
- package/dist/{chunk-WJYCI56T.mjs → chunk-QPPQHB6X.mjs} +43 -30
- package/dist/{chunk-RR6UGYUT.mjs → chunk-RAI7NULA.mjs} +39 -9
- package/dist/{chunk-6K4SPQWL.cjs → chunk-RCYINC4A.cjs} +3 -3
- package/dist/{chunk-QYMRIVG6.cjs → chunk-SZ4LYNUX.cjs} +110 -97
- package/dist/{chunk-N2Z4ZFDE.mjs → chunk-UXQXGB5A.mjs} +19 -12
- package/dist/{chunk-CFNOGDUS.cjs → chunk-W2HZKYES.cjs} +2 -2
- package/dist/{chunk-O5DVPF3R.cjs → chunk-WFPRVVF2.cjs} +10 -10
- package/dist/{chunk-5YYJ6Q2L.mjs → chunk-YMUH2BLR.mjs} +2 -2
- package/dist/{client-plugins-DPG0NeZN.d.mts → client-plugins-B8RPJnot.d.mts} +90 -3
- package/dist/{client-plugins-Fgni-_25.d.ts → client-plugins-bPBf4haK.d.ts} +90 -3
- package/dist/client-plugins.d.mts +2 -2
- package/dist/client-plugins.d.ts +2 -2
- package/dist/client.d.mts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/config.d.mts +2 -2
- package/dist/config.d.ts +2 -2
- package/dist/{devtools-I7TBFOKD.mjs → devtools-5D4ZDRPR.mjs} +5 -3
- package/dist/{devtools-6OA7FEF6.cjs → devtools-QZJEUOJW.cjs} +6 -4
- package/dist/docs.cjs +8 -6
- package/dist/docs.mjs +7 -5
- package/dist/index.cjs +17 -13
- package/dist/index.d.mts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.mjs +16 -12
- package/dist/integrations.d.mts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.cjs +5 -3
- package/dist/internal/app-markdown-runtime.d.mts +2 -2
- package/dist/internal/app-markdown-runtime.d.ts +2 -2
- package/dist/internal/app-markdown-runtime.mjs +4 -2
- package/dist/internal/build-runtime.cjs +14 -13
- package/dist/internal/build-runtime.d.mts +4 -4
- package/dist/internal/build-runtime.d.ts +4 -4
- package/dist/internal/build-runtime.mjs +13 -12
- package/dist/internal/cli-runtime.cjs +6 -5
- package/dist/internal/cli-runtime.mjs +5 -4
- 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 +2 -2
- package/dist/internal/compression-runtime.d.ts +2 -2
- package/dist/internal/config-runtime.cjs +6 -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 +5 -3
- package/dist/internal/infra-analytics-runtime.cjs +4 -3
- package/dist/internal/infra-analytics-runtime.mjs +2 -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 +5 -4
- package/dist/internal/production-runtime.d.mts +11 -9
- package/dist/internal/production-runtime.d.ts +11 -9
- package/dist/internal/production-runtime.mjs +4 -3
- package/dist/markdown.cjs +4 -2
- package/dist/markdown.mjs +3 -1
- package/dist/{metadata-D0EF7esB.d.mts → metadata-C3na4CBj.d.mts} +1 -1
- package/dist/{metadata-CDnRHKVq.d.ts → metadata-CzBP4Mfp.d.ts} +1 -1
- package/dist/middleware.d.mts +4 -4
- package/dist/middleware.d.ts +4 -4
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/observability-BupkiN0m.d.mts +447 -0
- package/dist/observability-BupkiN0m.d.ts +447 -0
- package/dist/observability.d.mts +2 -417
- package/dist/observability.d.ts +2 -417
- package/dist/plugin.cjs +9 -8
- package/dist/plugin.d.mts +2 -2
- package/dist/plugin.d.ts +2 -2
- package/dist/plugin.mjs +8 -7
- package/dist/{production-runtime-DpCt0opU.d.ts → production-runtime-CYg4wM4E.d.ts} +1 -1
- package/dist/{production-runtime-x3W4wVqx.d.mts → production-runtime-DP94hPGe.d.mts} +1 -1
- package/dist/{render-plan-D5oFRVBV.d.ts → render-plan-Bl6Fzg5z.d.ts} +1 -1
- package/dist/{render-plan-tazUJalK.d.mts → render-plan-CKAJg0jC.d.mts} +1 -1
- package/dist/renderer-client.d.mts +4 -4
- package/dist/renderer-client.d.ts +4 -4
- package/dist/{request-CzZX0Aew.d.ts → request-CR-Bp1Px.d.ts} +1 -1
- package/dist/{request-CXmQy5ks.d.mts → request-CrBCcPZZ.d.mts} +1 -1
- package/dist/request.d.mts +3 -3
- package/dist/request.d.ts +3 -3
- package/dist/{route-rendering-B-qpe32B.d.mts → route-rendering-C1NAHo-C.d.mts} +1 -1
- package/dist/{route-rendering-Dw3C362T.d.ts → route-rendering-CZH5FegB.d.ts} +1 -1
- package/dist/{router-CafM2jlw.d.mts → router-B57eDJ3u.d.mts} +1 -1
- package/dist/{router-CLl3xHwl.d.ts → router-Cg_kD3Bd.d.ts} +1 -1
- package/dist/routes.d.mts +2 -2
- package/dist/routes.d.ts +2 -2
- package/dist/server-plugins.d.mts +3 -3
- package/dist/server-plugins.d.ts +3 -3
- package/dist/server.cjs +159 -102
- package/dist/server.d.mts +8 -8
- package/dist/server.d.ts +8 -8
- package/dist/server.mjs +140 -83
- package/dist/{spa-router-DePr2aZ6.d.ts → spa-router-BstQUO6Q.d.ts} +2 -2
- package/dist/{spa-router-6sJfsMlQ.d.mts → spa-router-DTdbuinx.d.mts} +2 -2
- package/dist/testing.d.mts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/{utils-BPHr-1mP.d.mts → utils-CS3ZLnEJ.d.mts} +1 -1
- package/dist/{utils-BBKC3cf3.d.ts → utils-D3rdsIvM.d.ts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +9 -8
- package/dist/vite.d.mts +2 -2
- package/dist/vite.d.ts +2 -2
- package/dist/vite.mjs +8 -7
- package/package.json +1 -1
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-
|
|
2
|
-
import { G as FarmConfig } from './client-plugins-
|
|
3
|
-
export { K as AppRoutePattern, ab as BuildOptions, a3 as ErrorBoundary, Y as ErrorProps, m as FarmAppContext, J as FarmComponentType, B as FarmContextFactory, V as FarmContextFactoryInput, W as FarmIsolatedClientHydrationMode, ag as FarmLayerEntry, ak as FarmLayerResolution, Q as FarmMigrationCommand, S as FarmMigrationsConfig, T as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ai as FarmSourceRoot, a7 as GenerateStaticParams, a1 as Layout, $ as LayoutMetadataProps, a8 as LayoutModule, L as LayoutProps, a2 as Loading, X as LoadingProps, M as Metadata, a9 as MetadataJsonLd, _ as MetadataProps, af as MetadataRobots, ae as MetadataRobotsDirectives, C as MiddlewareProps, O as NitroPreset, a0 as Page, o as PageProps, Z as PagePropsWithMiddleware, N as PageRouteParams, P as ParsedRoute, q as PluginContextProps, aj as ResolveFarmLayersOptions, ah as ResolvedFarmLayer, U as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ad as SSGCollectionResult, ac as SSGPage, aa as ServerAction, a5 as StaticPathParams, a4 as StaticPathPrimitive, a6 as StaticRouteParams, ap as createFarmConfigResolutionPlugin, I as defineConfig, H as farmPlugin, an as getFarmAppDirectories, ao as getFarmLayerAliases, am as getFarmSourceRoots, aq as loadFarmConfigFile, al as resolveFarmLayers } from './client-plugins-
|
|
4
|
-
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-
|
|
1
|
+
export { F as FarmApp, R as RouteManager, S as ServerRenderer, c as createFarmApp } from './app-Cx71s_PT.js';
|
|
2
|
+
import { G as FarmConfig } from './client-plugins-bPBf4haK.js';
|
|
3
|
+
export { K as AppRoutePattern, ab as BuildOptions, a3 as ErrorBoundary, Y as ErrorProps, m as FarmAppContext, J as FarmComponentType, B as FarmContextFactory, V as FarmContextFactoryInput, W as FarmIsolatedClientHydrationMode, ag as FarmLayerEntry, ak as FarmLayerResolution, Q as FarmMigrationCommand, S as FarmMigrationsConfig, T as FarmMigrationsUserConfig, e as FarmRequest, f as FarmResponse, ai as FarmSourceRoot, a7 as GenerateStaticParams, a1 as Layout, $ as LayoutMetadataProps, a8 as LayoutModule, L as LayoutProps, a2 as Loading, X as LoadingProps, M as Metadata, a9 as MetadataJsonLd, _ as MetadataProps, af as MetadataRobots, ae as MetadataRobotsDirectives, C as MiddlewareProps, O as NitroPreset, a0 as Page, o as PageProps, Z as PagePropsWithMiddleware, N as PageRouteParams, P as ParsedRoute, q as PluginContextProps, aj as ResolveFarmLayersOptions, ah as ResolvedFarmLayer, U as ResolvedFarmMigrationsConfig, s as RouteModule, R as RouteSegment, ad as SSGCollectionResult, ac as SSGPage, aa as ServerAction, a5 as StaticPathParams, a4 as StaticPathPrimitive, a6 as StaticRouteParams, ap as createFarmConfigResolutionPlugin, I as defineConfig, H as farmPlugin, an as getFarmAppDirectories, ao as getFarmLayerAliases, am as getFarmSourceRoots, aq as loadFarmConfigFile, al as resolveFarmLayers } from './client-plugins-bPBf4haK.js';
|
|
4
|
+
export { g as fileExists, h as globFiles, l as logger, m as matchRoute, b as matchRouteParts, c as matchRoutePrefix, d as matchRoutePrefixParts, p as parseRoutePath, i as parseSearchParams, r as resolveAppPath, s as segmentsToPattern, a as splitRoutePath, e as toPosixPath, t as toRootRelativeUrlPath, f as toViteModuleId } from './utils-D3rdsIvM.js';
|
|
5
5
|
export { createFarmStorage, createStorageClient, databaseStorage, defineStorageClient, disposeStorage, driverStorage, getStorage, initStorage, libsqlStorage, localStorage, memoryStorage, mongodbStorage, mysql2Storage, mysqlStorage, netlifyBlobsStorage, pgStorage, pgliteStorage, planetscaleStorage, postgresStorage, redisStorage, resolveStorageRuntimeClient, s3Storage, sqliteStorage, upstashStorage, vercelBlobStorage, vercelKVStorage } from './storage.js';
|
|
6
6
|
export { CacheKeyFactory, DefinedCacheKey, FarmCacheAdapter, FarmCacheEntry, FarmCacheInvalidationStreamOptions, FarmCacheInvalidationTarget, FarmCacheOptions, FarmCacheSetOptions, FarmCacheStorage, FarmCacheUserConfig, FarmClientCacheUserConfig, FarmDataCache, GetFarmCacheEntryOptions, InferCacheKeyData, 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';
|
|
7
7
|
export { AfterCallback, FarmAfterPlatformContext, _runWithAfterNodeResponse, _runWithAfterRequest, _withAfterNodeMiddleware, after } from './after.js';
|
|
8
8
|
export { FARM_SERVER_QUERY_SYMBOL, ServerQuery, ServerQueryKey, ServerQueryOptions, ServerQueryOutputOptions, ServerQueryStaleTime, createServerQuery } from './server-query.js';
|
|
9
9
|
import { ViteDevServer } from 'vite';
|
|
10
10
|
import './types-Z0aotQ8w.js';
|
|
11
|
-
export { g as getCurrentRequest } from './request-
|
|
11
|
+
export { g as getCurrentRequest } from './request-CR-Bp1Px.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';
|
|
@@ -35,7 +35,7 @@ import 'http';
|
|
|
35
35
|
import './schema.js';
|
|
36
36
|
import './integration-api-BbaiokCC.js';
|
|
37
37
|
import '@farming-labs/orm';
|
|
38
|
-
import './observability.js';
|
|
38
|
+
import './observability-BupkiN0m.js';
|
|
39
39
|
import '@opentelemetry/api';
|
|
40
40
|
import './env.js';
|
|
41
41
|
import 'rolldown/utils';
|
|
@@ -43,8 +43,8 @@ import 'rolldown';
|
|
|
43
43
|
import './types-DQnyD3VD.js';
|
|
44
44
|
import './font.js';
|
|
45
45
|
import './island-CfGru1MO.js';
|
|
46
|
-
import './metadata-
|
|
47
|
-
import './render-plan-
|
|
46
|
+
import './metadata-CzBP4Mfp.js';
|
|
47
|
+
import './render-plan-Bl6Fzg5z.js';
|
|
48
48
|
import './runtime-BirxPwbZ.js';
|
|
49
49
|
import './resolver-PPEeiJ6M.js';
|
|
50
50
|
|
package/dist/server.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmInfraAnalyticsPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MM5D6VLP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
FarmEnvironmentError,
|
|
6
6
|
createClientOnlyFn,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
loadConfig,
|
|
20
20
|
resolveConfig
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YMUH2BLR.mjs";
|
|
22
22
|
import "./chunk-XZNTNMHT.mjs";
|
|
23
23
|
import {
|
|
24
24
|
loadFarmInstrumentation,
|
|
@@ -45,14 +45,14 @@ import {
|
|
|
45
45
|
loadTailwindVitePlugin,
|
|
46
46
|
mergeFarmViteConfig,
|
|
47
47
|
resolveFarmImageProviderForRuntime
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-UXQXGB5A.mjs";
|
|
49
49
|
import "./chunk-VVJCWBIE.mjs";
|
|
50
50
|
import {
|
|
51
51
|
readSchemaTables
|
|
52
52
|
} from "./chunk-HALDNTIV.mjs";
|
|
53
53
|
import "./chunk-ZMSZZXOR.mjs";
|
|
54
54
|
import "./chunk-F3VB7ONA.mjs";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-ARXCHQLX.mjs";
|
|
56
56
|
import "./chunk-DAO7JGTS.mjs";
|
|
57
57
|
import "./chunk-BOYNDCZL.mjs";
|
|
58
58
|
import "./chunk-YQVSHTMR.mjs";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
loadFarmRendererVitePlugins,
|
|
87
87
|
resolveFarmRenderer
|
|
88
88
|
} from "./chunk-DAATZTKJ.mjs";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-RAI7NULA.mjs";
|
|
90
90
|
import "./chunk-G2KY33I6.mjs";
|
|
91
91
|
import "./chunk-YHOCRI4H.mjs";
|
|
92
92
|
import {
|
|
@@ -103,10 +103,11 @@ import {
|
|
|
103
103
|
validateServerActionRequest
|
|
104
104
|
} from "./chunk-QCFFHV5H.mjs";
|
|
105
105
|
import "./chunk-4OOBRCJX.mjs";
|
|
106
|
-
import "./chunk-
|
|
107
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-74RZNRY6.mjs";
|
|
107
|
+
import "./chunk-JM5GQL4H.mjs";
|
|
108
108
|
import "./chunk-FA2W42OV.mjs";
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-OOIL3BWR.mjs";
|
|
110
|
+
import "./chunk-MVL2RAJW.mjs";
|
|
110
111
|
import "./chunk-SFGWNC43.mjs";
|
|
111
112
|
import "./chunk-3ATMYLLJ.mjs";
|
|
112
113
|
import "./chunk-2UC36WAC.mjs";
|
|
@@ -196,7 +197,7 @@ import {
|
|
|
196
197
|
} from "./chunk-Z2RZJZIZ.mjs";
|
|
197
198
|
import {
|
|
198
199
|
FARM_VERSION
|
|
199
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-PPIW3MH6.mjs";
|
|
200
201
|
import "./chunk-54UPOYFS.mjs";
|
|
201
202
|
import "./chunk-WNSDDRNU.mjs";
|
|
202
203
|
import "./chunk-JPLUGGRV.mjs";
|
|
@@ -262,12 +263,20 @@ import {
|
|
|
262
263
|
|
|
263
264
|
// src/server/create-server.ts
|
|
264
265
|
import { createServer as createViteServer } from "vite";
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
var DEFAULT_FARM_DEV_SERVER_PORT = 3e3;
|
|
266
|
+
|
|
267
|
+
// src/server/dev-lifecycle.ts
|
|
268
268
|
var VITE_CLOSE_TIMEOUT_MS = 1e4;
|
|
269
|
-
async function
|
|
270
|
-
const
|
|
269
|
+
async function drainVitePendingWork(server) {
|
|
270
|
+
const environments = Object.values(server.environments ?? {});
|
|
271
|
+
await Promise.allSettled(
|
|
272
|
+
environments.map(async ({ depsOptimizer }) => {
|
|
273
|
+
await depsOptimizer?.scanProcessing;
|
|
274
|
+
await Promise.allSettled(
|
|
275
|
+
Object.values(depsOptimizer?.metadata.discovered ?? {}).map((dep) => dep.processing)
|
|
276
|
+
);
|
|
277
|
+
})
|
|
278
|
+
);
|
|
279
|
+
const registries = environments.map(
|
|
271
280
|
(environment) => environment._pendingRequests
|
|
272
281
|
);
|
|
273
282
|
const pending = /* @__PURE__ */ __name(() => registries.flatMap((registry) => registry ? [...registry.values()] : []), "pending");
|
|
@@ -275,7 +284,121 @@ async function drainVitePendingRequests(server) {
|
|
|
275
284
|
await Promise.allSettled(requests.map(({ request }) => request));
|
|
276
285
|
}
|
|
277
286
|
}
|
|
278
|
-
__name(
|
|
287
|
+
__name(drainVitePendingWork, "drainVitePendingWork");
|
|
288
|
+
function createFarmDevLifecyclePlugin(pluginManager, instrumentation) {
|
|
289
|
+
let runtimeServer;
|
|
290
|
+
const pendingRestarts = /* @__PURE__ */ new Set();
|
|
291
|
+
const viteClosers = /* @__PURE__ */ new WeakMap();
|
|
292
|
+
let shutdownPromise;
|
|
293
|
+
const shutdownFarmDevRuntime = /* @__PURE__ */ __name((server) => {
|
|
294
|
+
shutdownPromise ?? (shutdownPromise = (async () => {
|
|
295
|
+
await Promise.allSettled(pendingRestarts);
|
|
296
|
+
const closeViteServer = viteClosers.get(server.environments);
|
|
297
|
+
const closingHttpServer = server.httpServer;
|
|
298
|
+
const closingWatcher = server.watcher;
|
|
299
|
+
const closingWebSocket = server.ws;
|
|
300
|
+
const failures = [];
|
|
301
|
+
const step = /* @__PURE__ */ __name(async (label, run) => {
|
|
302
|
+
try {
|
|
303
|
+
await run();
|
|
304
|
+
} catch (error) {
|
|
305
|
+
failures.push({ label, error });
|
|
306
|
+
}
|
|
307
|
+
}, "step");
|
|
308
|
+
await step("Vite server close", async () => {
|
|
309
|
+
let timer;
|
|
310
|
+
const timedOut = new Promise((resolve) => {
|
|
311
|
+
timer = setTimeout(() => resolve("timeout"), VITE_CLOSE_TIMEOUT_MS);
|
|
312
|
+
timer.unref?.();
|
|
313
|
+
});
|
|
314
|
+
try {
|
|
315
|
+
const outcome = await Promise.race([
|
|
316
|
+
(async () => {
|
|
317
|
+
await drainVitePendingWork(server);
|
|
318
|
+
await closeViteServer();
|
|
319
|
+
return "closed";
|
|
320
|
+
})(),
|
|
321
|
+
timedOut
|
|
322
|
+
]);
|
|
323
|
+
if (outcome === "timeout") {
|
|
324
|
+
logger.error(
|
|
325
|
+
`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)`
|
|
326
|
+
);
|
|
327
|
+
await Promise.allSettled([
|
|
328
|
+
new Promise((resolve) => {
|
|
329
|
+
if (!closingHttpServer || !closingHttpServer.listening) return resolve();
|
|
330
|
+
closingHttpServer.close(() => resolve());
|
|
331
|
+
}),
|
|
332
|
+
Promise.resolve(closingWatcher?.close?.()).catch(() => {
|
|
333
|
+
}),
|
|
334
|
+
Promise.resolve(closingWebSocket?.close?.()).catch(() => {
|
|
335
|
+
})
|
|
336
|
+
]);
|
|
337
|
+
}
|
|
338
|
+
} finally {
|
|
339
|
+
if (timer) clearTimeout(timer);
|
|
340
|
+
}
|
|
341
|
+
});
|
|
342
|
+
await step("Plugin runtime shutdown", () => pluginManager.closeRuntime("dev-server-closed"));
|
|
343
|
+
await step("Instrumentation shutdown", () => instrumentation.shutdown());
|
|
344
|
+
if (failures.length === 1) throw failures[0].error;
|
|
345
|
+
if (failures.length > 1) {
|
|
346
|
+
throw new FarmRuntimeShutdownError(
|
|
347
|
+
`Dev server shutdown failed during ${failures.map(({ label }) => label).join(", ")}`,
|
|
348
|
+
failures.map(({ error }) => error)
|
|
349
|
+
);
|
|
350
|
+
}
|
|
351
|
+
})());
|
|
352
|
+
return shutdownPromise;
|
|
353
|
+
}, "shutdownFarmDevRuntime");
|
|
354
|
+
return {
|
|
355
|
+
name: "farm:dev-lifecycle",
|
|
356
|
+
configureServer: {
|
|
357
|
+
order: "post",
|
|
358
|
+
handler(server) {
|
|
359
|
+
return () => {
|
|
360
|
+
runtimeServer ?? (runtimeServer = server);
|
|
361
|
+
const owner = runtimeServer;
|
|
362
|
+
viteClosers.set(server.environments, server.close.bind(server));
|
|
363
|
+
server.close = () => shutdownFarmDevRuntime(owner);
|
|
364
|
+
const restartViteServer = server.restart.bind(server);
|
|
365
|
+
server.restart = async (forceOptimize) => {
|
|
366
|
+
if (shutdownPromise) {
|
|
367
|
+
throw new Error("Cannot restart the Farm dev server during or after shutdown");
|
|
368
|
+
}
|
|
369
|
+
const restart = restartViteServer(forceOptimize);
|
|
370
|
+
pendingRestarts.add(restart);
|
|
371
|
+
try {
|
|
372
|
+
await restart;
|
|
373
|
+
} finally {
|
|
374
|
+
pendingRestarts.delete(restart);
|
|
375
|
+
}
|
|
376
|
+
};
|
|
377
|
+
const httpServer = server.httpServer;
|
|
378
|
+
httpServer?.once("close", () => {
|
|
379
|
+
const closeIfCurrent = /* @__PURE__ */ __name(() => {
|
|
380
|
+
if (owner.httpServer !== httpServer) return;
|
|
381
|
+
shutdownFarmDevRuntime(owner).catch((error) => {
|
|
382
|
+
logger.warn(`Dev server shutdown failed: ${error}`);
|
|
383
|
+
});
|
|
384
|
+
}, "closeIfCurrent");
|
|
385
|
+
if (pendingRestarts.size > 0) {
|
|
386
|
+
void Promise.allSettled(pendingRestarts).then(closeIfCurrent);
|
|
387
|
+
} else {
|
|
388
|
+
closeIfCurrent();
|
|
389
|
+
}
|
|
390
|
+
});
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
}
|
|
396
|
+
__name(createFarmDevLifecyclePlugin, "createFarmDevLifecyclePlugin");
|
|
397
|
+
|
|
398
|
+
// src/server/create-server.ts
|
|
399
|
+
import fs from "fs";
|
|
400
|
+
import path from "path";
|
|
401
|
+
var DEFAULT_FARM_DEV_SERVER_PORT = 3e3;
|
|
279
402
|
function createBrandingPlugin() {
|
|
280
403
|
let serverStarted = false;
|
|
281
404
|
let startTime = Date.now();
|
|
@@ -449,7 +572,8 @@ async function createServer(config = {}, options = {}) {
|
|
|
449
572
|
farmServerOnlyEntriesPlugin(),
|
|
450
573
|
farmPlugin(finalConfig, pluginManager),
|
|
451
574
|
farmEnvironmentFunctionsPlugin(),
|
|
452
|
-
createBrandingPlugin()
|
|
575
|
+
createBrandingPlugin(),
|
|
576
|
+
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
453
577
|
],
|
|
454
578
|
server: {
|
|
455
579
|
middlewareMode: false,
|
|
@@ -511,73 +635,6 @@ async function createServer(config = {}, options = {}) {
|
|
|
511
635
|
server.__farmPluginManager = pluginManager;
|
|
512
636
|
server.__farmResolvedConfig = resolvedConfig;
|
|
513
637
|
server.__farmInstrumentation = instrumentation;
|
|
514
|
-
const closeViteServer = server.close.bind(server);
|
|
515
|
-
let shutdownPromise;
|
|
516
|
-
const shutdownFarmDevRuntime = /* @__PURE__ */ __name(() => {
|
|
517
|
-
shutdownPromise ?? (shutdownPromise = (async () => {
|
|
518
|
-
const failures = [];
|
|
519
|
-
const step = /* @__PURE__ */ __name(async (label, run) => {
|
|
520
|
-
try {
|
|
521
|
-
await run();
|
|
522
|
-
} catch (error) {
|
|
523
|
-
failures.push({ label, error });
|
|
524
|
-
}
|
|
525
|
-
}, "step");
|
|
526
|
-
await step("Vite server close", async () => {
|
|
527
|
-
let timer;
|
|
528
|
-
const timedOut = new Promise((resolve) => {
|
|
529
|
-
timer = setTimeout(() => resolve("timeout"), VITE_CLOSE_TIMEOUT_MS);
|
|
530
|
-
timer.unref?.();
|
|
531
|
-
});
|
|
532
|
-
try {
|
|
533
|
-
const outcome = await Promise.race([
|
|
534
|
-
(async () => {
|
|
535
|
-
await drainVitePendingRequests(server);
|
|
536
|
-
await closeViteServer();
|
|
537
|
-
return "closed";
|
|
538
|
-
})(),
|
|
539
|
-
timedOut
|
|
540
|
-
]);
|
|
541
|
-
if (outcome === "timeout") {
|
|
542
|
-
logger.error(
|
|
543
|
-
`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)`
|
|
544
|
-
);
|
|
545
|
-
await Promise.allSettled([
|
|
546
|
-
new Promise((resolve) => {
|
|
547
|
-
if (!server.httpServer || !server.httpServer.listening) return resolve();
|
|
548
|
-
server.httpServer.close(() => resolve());
|
|
549
|
-
}),
|
|
550
|
-
Promise.resolve(server.watcher?.close?.()).catch(() => {
|
|
551
|
-
}),
|
|
552
|
-
Promise.resolve(server.ws?.close?.()).catch(() => {
|
|
553
|
-
})
|
|
554
|
-
]);
|
|
555
|
-
}
|
|
556
|
-
} finally {
|
|
557
|
-
if (timer) clearTimeout(timer);
|
|
558
|
-
}
|
|
559
|
-
});
|
|
560
|
-
await step(
|
|
561
|
-
"Plugin runtime shutdown",
|
|
562
|
-
() => pluginManager?.closeRuntime("dev-server-closed")
|
|
563
|
-
);
|
|
564
|
-
await step("Instrumentation shutdown", () => instrumentation?.shutdown());
|
|
565
|
-
if (failures.length === 1) throw failures[0].error;
|
|
566
|
-
if (failures.length > 1) {
|
|
567
|
-
throw new FarmRuntimeShutdownError(
|
|
568
|
-
`Dev server shutdown failed during ${failures.map(({ label }) => label).join(", ")}`,
|
|
569
|
-
failures.map(({ error }) => error)
|
|
570
|
-
);
|
|
571
|
-
}
|
|
572
|
-
})());
|
|
573
|
-
return shutdownPromise;
|
|
574
|
-
}, "shutdownFarmDevRuntime");
|
|
575
|
-
server.close = shutdownFarmDevRuntime;
|
|
576
|
-
server.httpServer?.once("close", () => {
|
|
577
|
-
shutdownFarmDevRuntime().catch((error) => {
|
|
578
|
-
logger.warn(`Dev server shutdown failed: ${error}`);
|
|
579
|
-
});
|
|
580
|
-
});
|
|
581
638
|
pluginManager.updateContext({ config: finalConfig, viteServer: server });
|
|
582
639
|
await pluginManager.setupPlugins();
|
|
583
640
|
await pluginManager.runHookParallel("devServerCreated", server);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins-
|
|
1
|
+
import { M as Metadata } from './client-plugins-bPBf4haK.js';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.js';
|
|
3
3
|
import { F as FarmI18nClientSnapshot } from './types-Z0aotQ8w.js';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island-CfGru1MO.js';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan-Bl6Fzg5z.js';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { M as Metadata } from './client-plugins-
|
|
1
|
+
import { M as Metadata } from './client-plugins-B8RPJnot.mjs';
|
|
2
2
|
import { F as FarmClientPluginManager } from './lifecycle-DK06VuKP.mjs';
|
|
3
3
|
import { F as FarmI18nClientSnapshot } from './types-Z0aotQ8w.mjs';
|
|
4
4
|
import { F as FarmIslandStrategy } from './island-CfGru1MO.mjs';
|
|
5
|
-
import { F as FarmRouteRenderPlan } from './render-plan-
|
|
5
|
+
import { F as FarmRouteRenderPlan } from './render-plan-CKAJg0jC.mjs';
|
|
6
6
|
|
|
7
7
|
type NavigationMetadata = (Metadata & Record<string, any>) | undefined;
|
|
8
8
|
|
package/dist/testing.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { B as FarmContextFactory, C as MiddlewareProps, q as PluginContextProps, s as RouteModule } from './client-plugins-
|
|
2
|
+
import { B as FarmContextFactory, C as MiddlewareProps, q as PluginContextProps, s as RouteModule } from './client-plugins-B8RPJnot.mjs';
|
|
3
3
|
import './types-Z0aotQ8w.mjs';
|
|
4
4
|
import { ServerFn } from './server-fn.mjs';
|
|
5
5
|
import { a as APIRouteParams } from './route-pattern-W-SsJGSp.mjs';
|
|
@@ -21,7 +21,7 @@ import './integration-api-BbaiokCC.mjs';
|
|
|
21
21
|
import '@farming-labs/orm';
|
|
22
22
|
import './types-DFbjpjXX.mjs';
|
|
23
23
|
import '@farming-labs/docs';
|
|
24
|
-
import './observability.mjs';
|
|
24
|
+
import './observability-BupkiN0m.mjs';
|
|
25
25
|
import '@opentelemetry/api';
|
|
26
26
|
import 'vite';
|
|
27
27
|
import './workflows-CR9ex-gz.mjs';
|
package/dist/testing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement } from 'react';
|
|
2
|
-
import { B as FarmContextFactory, C as MiddlewareProps, q as PluginContextProps, s as RouteModule } from './client-plugins-
|
|
2
|
+
import { B as FarmContextFactory, C as MiddlewareProps, q as PluginContextProps, s as RouteModule } from './client-plugins-bPBf4haK.js';
|
|
3
3
|
import './types-Z0aotQ8w.js';
|
|
4
4
|
import { ServerFn } from './server-fn.js';
|
|
5
5
|
import { a as APIRouteParams } from './route-pattern-W-SsJGSp.js';
|
|
@@ -21,7 +21,7 @@ import './integration-api-BbaiokCC.js';
|
|
|
21
21
|
import '@farming-labs/orm';
|
|
22
22
|
import './types-DFbjpjXX.js';
|
|
23
23
|
import '@farming-labs/docs';
|
|
24
|
-
import './observability.js';
|
|
24
|
+
import './observability-BupkiN0m.js';
|
|
25
25
|
import '@opentelemetry/api';
|
|
26
26
|
import 'vite';
|
|
27
27
|
import './workflows-CR9ex-gz.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as ParsedRoute, R as RouteSegment } from './client-plugins-
|
|
1
|
+
import { P as ParsedRoute, R as RouteSegment } from './client-plugins-B8RPJnot.mjs';
|
|
2
2
|
|
|
3
3
|
declare function parseRoutePath(filePath: string): ParsedRoute;
|
|
4
4
|
declare function segmentsToPattern(segments: RouteSegment[]): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as ParsedRoute, R as RouteSegment } from './client-plugins-
|
|
1
|
+
import { P as ParsedRoute, R as RouteSegment } from './client-plugins-bPBf4haK.js';
|
|
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 _chunkALIFMS4Acjs = require('./chunk-ALIFMS4A.cjs');
|
|
4
4
|
require('./chunk-S3JO3N4H.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.FARM_VERSION =
|
|
7
|
+
exports.FARM_VERSION = _chunkALIFMS4Acjs.FARM_VERSION;
|
package/dist/version.mjs
CHANGED
package/dist/vite.cjs
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk3TQG7CGCcjs = require('./chunk-3TQG7CGC.cjs');
|
|
13
13
|
require('./chunk-DW34V5SM.cjs');
|
|
14
14
|
require('./chunk-E2ROOWQC.cjs');
|
|
15
15
|
require('./chunk-JSROZYYO.cjs');
|
|
16
16
|
require('./chunk-XSIRSMAS.cjs');
|
|
17
|
-
require('./chunk-
|
|
17
|
+
require('./chunk-QJ4D3UKJ.cjs');
|
|
18
18
|
require('./chunk-SYQ3MOWW.cjs');
|
|
19
19
|
require('./chunk-CXP5U3RW.cjs');
|
|
20
20
|
require('./chunk-K3F2E6GS.cjs');
|
|
@@ -33,15 +33,16 @@ require('./chunk-YJRZR7VU.cjs');
|
|
|
33
33
|
require('./chunk-Q5B3KJBP.cjs');
|
|
34
34
|
require('./chunk-VPTDD5XF.cjs');
|
|
35
35
|
require('./chunk-PSV6XKPO.cjs');
|
|
36
|
-
require('./chunk-
|
|
36
|
+
require('./chunk-2CT6XUNO.cjs');
|
|
37
37
|
require('./chunk-YFPGHF5F.cjs');
|
|
38
38
|
require('./chunk-6EXBPJ24.cjs');
|
|
39
39
|
require('./chunk-T5CERMEH.cjs');
|
|
40
40
|
require('./chunk-VEKFLAQM.cjs');
|
|
41
|
-
require('./chunk-
|
|
42
|
-
require('./chunk-
|
|
41
|
+
require('./chunk-W2HZKYES.cjs');
|
|
42
|
+
require('./chunk-RCYINC4A.cjs');
|
|
43
43
|
require('./chunk-OHY2ZWUG.cjs');
|
|
44
|
-
require('./chunk-
|
|
44
|
+
require('./chunk-QIH2HD6H.cjs');
|
|
45
|
+
require('./chunk-J63ZH5OQ.cjs');
|
|
45
46
|
require('./chunk-UYIHRDE4.cjs');
|
|
46
47
|
require('./chunk-MPEYMSCF.cjs');
|
|
47
48
|
require('./chunk-JDNHKPTD.cjs');
|
|
@@ -79,7 +80,7 @@ require('./chunk-HBTUGXHS.cjs');
|
|
|
79
80
|
require('./chunk-5QIKR7RR.cjs');
|
|
80
81
|
require('./chunk-QNPEUFHQ.cjs');
|
|
81
82
|
require('./chunk-UQZ4AYTH.cjs');
|
|
82
|
-
require('./chunk-
|
|
83
|
+
require('./chunk-ALIFMS4A.cjs');
|
|
83
84
|
require('./chunk-OYEUREB6.cjs');
|
|
84
85
|
require('./chunk-7W3CPVXS.cjs');
|
|
85
86
|
require('./chunk-NZKJGRB3.cjs');
|
|
@@ -119,4 +120,4 @@ require('./chunk-S3JO3N4H.cjs');
|
|
|
119
120
|
|
|
120
121
|
|
|
121
122
|
|
|
122
|
-
exports.createFarmNodeRequestAbortSignal = _chunkEM6SBQKMcjs.createFarmNodeRequestAbortSignal; exports.defineConfig =
|
|
123
|
+
exports.createFarmNodeRequestAbortSignal = _chunkEM6SBQKMcjs.createFarmNodeRequestAbortSignal; exports.defineConfig = _chunk3TQG7CGCcjs.defineConfig; exports.farmI18nClientBridgePlugin = _chunk3TQG7CGCcjs.farmI18nClientBridgePlugin; exports.farmPlugin = _chunk3TQG7CGCcjs.farmPlugin; exports.farmServerOnlyEntriesPlugin = _chunk3TQG7CGCcjs.farmServerOnlyEntriesPlugin; exports.generateClientCachePersistenceCode = _chunk3TQG7CGCcjs.generateClientCachePersistenceCode; exports.resolveFarmClientCacheAdapterEntry = _chunk3TQG7CGCcjs.resolveFarmClientCacheAdapterEntry; exports.rewriteEarlySsrRelativeImports = _chunk3TQG7CGCcjs.rewriteEarlySsrRelativeImports; exports.shouldEmitFarmClientRootHmr = _chunk3TQG7CGCcjs.shouldEmitFarmClientRootHmr; exports.transformIsolatedClientBoundaryModule = _chunk3TQG7CGCcjs.transformIsolatedClientBoundaryModule; exports.withFarmRequestTracing = _chunk3TQG7CGCcjs.withFarmRequestTracing;
|
package/dist/vite.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'vite';
|
|
2
|
-
export {
|
|
2
|
+
export { fq as ClientCachePersistenceEntryCode, I as defineConfig, fi as farmI18nClientBridgePlugin, H as farmPlugin, fj as farmServerOnlyEntriesPlugin, fo as generateClientCachePersistenceCode, fp as resolveFarmClientCacheAdapterEntry, fl as rewriteEarlySsrRelativeImports, fn as shouldEmitFarmClientRootHmr, fm as transformIsolatedClientBoundaryModule, fk as withFarmRequestTracing } from './client-plugins-B8RPJnot.mjs';
|
|
3
3
|
import './after.mjs';
|
|
4
4
|
import './renderer.mjs';
|
|
5
5
|
import './island-CfGru1MO.mjs';
|
|
@@ -19,7 +19,7 @@ import './integration-api-BbaiokCC.mjs';
|
|
|
19
19
|
import '@farming-labs/orm';
|
|
20
20
|
import './types-DFbjpjXX.mjs';
|
|
21
21
|
import '@farming-labs/docs';
|
|
22
|
-
import './observability.mjs';
|
|
22
|
+
import './observability-BupkiN0m.mjs';
|
|
23
23
|
import '@opentelemetry/api';
|
|
24
24
|
import './cron.mjs';
|
|
25
25
|
import './env.mjs';
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'vite';
|
|
2
|
-
export {
|
|
2
|
+
export { fq as ClientCachePersistenceEntryCode, I as defineConfig, fi as farmI18nClientBridgePlugin, H as farmPlugin, fj as farmServerOnlyEntriesPlugin, fo as generateClientCachePersistenceCode, fp as resolveFarmClientCacheAdapterEntry, fl as rewriteEarlySsrRelativeImports, fn as shouldEmitFarmClientRootHmr, fm as transformIsolatedClientBoundaryModule, fk as withFarmRequestTracing } from './client-plugins-bPBf4haK.js';
|
|
3
3
|
import './after.js';
|
|
4
4
|
import './renderer.js';
|
|
5
5
|
import './island-CfGru1MO.js';
|
|
@@ -19,7 +19,7 @@ import './integration-api-BbaiokCC.js';
|
|
|
19
19
|
import '@farming-labs/orm';
|
|
20
20
|
import './types-DFbjpjXX.js';
|
|
21
21
|
import '@farming-labs/docs';
|
|
22
|
-
import './observability.js';
|
|
22
|
+
import './observability-BupkiN0m.js';
|
|
23
23
|
import '@opentelemetry/api';
|
|
24
24
|
import './cron.js';
|
|
25
25
|
import './env.js';
|
package/dist/vite.mjs
CHANGED
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
shouldEmitFarmClientRootHmr,
|
|
10
10
|
transformIsolatedClientBoundaryModule,
|
|
11
11
|
withFarmRequestTracing
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UXQXGB5A.mjs";
|
|
13
13
|
import "./chunk-VVJCWBIE.mjs";
|
|
14
14
|
import "./chunk-HALDNTIV.mjs";
|
|
15
15
|
import "./chunk-ZMSZZXOR.mjs";
|
|
16
16
|
import "./chunk-F3VB7ONA.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-ARXCHQLX.mjs";
|
|
18
18
|
import "./chunk-DAO7JGTS.mjs";
|
|
19
19
|
import "./chunk-BOYNDCZL.mjs";
|
|
20
20
|
import "./chunk-YQVSHTMR.mjs";
|
|
@@ -33,15 +33,16 @@ import "./chunk-JBSVKMC5.mjs";
|
|
|
33
33
|
import "./chunk-GHFS7RUB.mjs";
|
|
34
34
|
import "./chunk-JHWOVJ3M.mjs";
|
|
35
35
|
import "./chunk-DAATZTKJ.mjs";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-RAI7NULA.mjs";
|
|
37
37
|
import "./chunk-G2KY33I6.mjs";
|
|
38
38
|
import "./chunk-YHOCRI4H.mjs";
|
|
39
39
|
import "./chunk-QCFFHV5H.mjs";
|
|
40
40
|
import "./chunk-4OOBRCJX.mjs";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-74RZNRY6.mjs";
|
|
42
|
+
import "./chunk-JM5GQL4H.mjs";
|
|
43
43
|
import "./chunk-FA2W42OV.mjs";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-OOIL3BWR.mjs";
|
|
45
|
+
import "./chunk-MVL2RAJW.mjs";
|
|
45
46
|
import "./chunk-SFGWNC43.mjs";
|
|
46
47
|
import "./chunk-3ATMYLLJ.mjs";
|
|
47
48
|
import "./chunk-2UC36WAC.mjs";
|
|
@@ -79,7 +80,7 @@ import "./chunk-YMCXWPWK.mjs";
|
|
|
79
80
|
import "./chunk-KI3MESHB.mjs";
|
|
80
81
|
import "./chunk-QVKYGNVM.mjs";
|
|
81
82
|
import "./chunk-Z2RZJZIZ.mjs";
|
|
82
|
-
import "./chunk-
|
|
83
|
+
import "./chunk-PPIW3MH6.mjs";
|
|
83
84
|
import "./chunk-54UPOYFS.mjs";
|
|
84
85
|
import "./chunk-WNSDDRNU.mjs";
|
|
85
86
|
import "./chunk-JPLUGGRV.mjs";
|