@farm.js/core 0.1.64 → 0.1.65
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/analyzer-GHWK46LX.cjs +16 -0
- package/dist/{analyzer-Q3QXC6PD.mjs → analyzer-PE33SK5W.mjs} +2 -2
- package/dist/{chunk-O4FWNLQK.mjs → chunk-2L54YV25.mjs} +10 -8
- package/dist/{chunk-S25BQIFW.cjs → chunk-32RPJAAS.cjs} +2 -2
- package/dist/{chunk-FAP7CX7C.cjs → chunk-3KJPIO5D.cjs} +526 -3018
- package/dist/{chunk-OYF23QLG.mjs → chunk-6X5NKNBE.mjs} +36 -32
- package/dist/{chunk-LQDLEWPO.mjs → chunk-72JSHQQQ.mjs} +1 -1
- package/dist/{chunk-WNYRYI4D.mjs → chunk-7GYCZRTH.mjs} +379 -2871
- package/dist/chunk-7QVRWGBL.cjs +3704 -0
- package/dist/{chunk-O2XFIPNL.cjs → chunk-A3G5IY2W.cjs} +1 -1
- package/dist/{chunk-NXFA7G3Y.cjs → chunk-C7DCMGC4.cjs} +4 -4
- package/dist/chunk-CJNAUEVC.mjs +34 -0
- package/dist/{chunk-O7IEMY55.cjs → chunk-CZF4XIRZ.cjs} +3 -3
- package/dist/{chunk-SLYDIHLW.mjs → chunk-E2TSYUHV.mjs} +2 -2
- package/dist/{chunk-VVTJTMGQ.cjs → chunk-GL7N5UHF.cjs} +4 -4
- package/dist/{chunk-6NHSGVVA.mjs → chunk-GRBJ7VKH.mjs} +1 -1
- package/dist/{chunk-UR25Z5Z6.mjs → chunk-HCGWDRZO.mjs} +1 -1
- package/dist/{chunk-FH45OB37.mjs → chunk-HKNYNSOK.mjs} +1 -1
- package/dist/{chunk-DUSHDZQL.cjs → chunk-IMK32ERL.cjs} +15 -13
- package/dist/{chunk-XVWSDSUM.mjs → chunk-IP2KHSGF.mjs} +4 -2
- package/dist/{chunk-MG356ROI.cjs → chunk-OSFIUSYK.cjs} +3 -3
- package/dist/{chunk-SNFTMSHX.mjs → chunk-Q75QPLBA.mjs} +1 -1
- package/dist/{chunk-WFNAOWH4.mjs → chunk-QHRCR44V.mjs} +2 -2
- package/dist/{chunk-JCPSA4X5.cjs → chunk-T4M52BA5.cjs} +116 -112
- package/dist/{chunk-PAKCHVUS.mjs → chunk-TPA2PV5J.mjs} +3 -35
- package/dist/{chunk-N3Z3PLHC.cjs → chunk-TRIDJQ6A.cjs} +6 -6
- package/dist/{chunk-3EBHJET2.cjs → chunk-TZOGZKI7.cjs} +380 -269
- package/dist/{chunk-BPNOYILC.cjs → chunk-UVV3I5QA.cjs} +3 -35
- package/dist/{chunk-RAH5MT53.mjs → chunk-VHHLKIDZ.mjs} +153 -42
- package/dist/{chunk-S7ZW72JH.cjs → chunk-WNXVWXG3.cjs} +2 -2
- package/dist/{chunk-XZLZ6YPP.cjs → chunk-YD4J37RN.cjs} +90 -33
- package/dist/{chunk-NNLFW3P4.mjs → chunk-YUW7F6SK.mjs} +1 -1
- package/dist/chunk-ZAUOOGER.mjs +3704 -0
- package/dist/chunk-ZIHWAN55.cjs +34 -0
- package/dist/{chunk-EL4364S2.cjs → chunk-ZQQK4U66.cjs} +4 -2
- package/dist/{chunk-6NNYPY5W.mjs → chunk-ZX2JHEWW.mjs} +59 -2
- package/dist/{devtools-MX3FE733.mjs → devtools-PUVZB3F2.mjs} +4 -3
- package/dist/{devtools-WET5NAKO.cjs → devtools-SGYOG36E.cjs} +5 -4
- package/dist/docs.cjs +6 -5
- package/dist/docs.mjs +5 -4
- package/dist/environment/vite.cjs +9 -2
- package/dist/environment/vite.d.mts +3 -0
- package/dist/environment/vite.d.ts +3 -0
- package/dist/environment/vite.mjs +8 -1
- package/dist/index.cjs +20 -19
- package/dist/index.mjs +19 -18
- package/dist/internal/build-runtime.cjs +18 -17
- package/dist/internal/build-runtime.mjs +17 -16
- 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/config-runtime.cjs +6 -5
- package/dist/internal/config-runtime.mjs +5 -4
- 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 +5 -5
- package/dist/internal/production-runtime.d.mts +7 -0
- package/dist/internal/production-runtime.d.ts +7 -0
- package/dist/internal/production-runtime.mjs +4 -4
- package/dist/{native-tree-WOX3JMBG.cjs → native-tree-HE2FLS72.cjs} +2 -2
- package/dist/{native-tree-BPEE2LAL.mjs → native-tree-YF2DSPKM.mjs} +1 -1
- package/dist/plugin.cjs +11 -10
- package/dist/plugin.mjs +10 -9
- package/dist/{rsc-pipeline-3LNVP2OO.mjs → rsc-pipeline-T3PWURLJ.mjs} +6 -5
- package/dist/{rsc-pipeline-G5WELVW3.cjs → rsc-pipeline-V4ANLRAA.cjs} +7 -6
- package/dist/{runtime-DMEULPE7.cjs → runtime-5AROV2C3.cjs} +12 -11
- package/dist/{runtime-HQJ2LLQL.mjs → runtime-LRIQ3XH7.mjs} +9 -8
- package/dist/server.cjs +36 -35
- package/dist/server.mjs +19 -18
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +14 -12
- package/dist/vite.mjs +13 -11
- package/package.json +1 -1
- package/dist/analyzer-ODLF2Z6O.cjs +0 -16
- package/dist/chunk-NK2VWS7P.cjs +0 -954
- package/dist/chunk-ZQ5BDNKW.mjs +0 -954
package/dist/plugin.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
farmPlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VHHLKIDZ.mjs";
|
|
4
4
|
import "./chunk-QOSDWGKT.mjs";
|
|
5
5
|
import "./chunk-3TXKFRSO.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-7GYCZRTH.mjs";
|
|
7
7
|
import "./chunk-OM7WILES.mjs";
|
|
8
8
|
import {
|
|
9
9
|
FARM_NODE_RESPONSE_END_PENDING,
|
|
@@ -26,34 +26,35 @@ import "./chunk-LLZSYFOM.mjs";
|
|
|
26
26
|
import "./chunk-UUMKLGUU.mjs";
|
|
27
27
|
import "./chunk-23LVFSID.mjs";
|
|
28
28
|
import "./chunk-MK5E44WP.mjs";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-E2TSYUHV.mjs";
|
|
30
30
|
import "./chunk-MESQF2JC.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-Q75QPLBA.mjs";
|
|
32
32
|
import "./chunk-X3EFRVXY.mjs";
|
|
33
33
|
import "./chunk-A4PWGL46.mjs";
|
|
34
34
|
import "./chunk-MNIR7I7B.mjs";
|
|
35
35
|
import "./chunk-L4RTTTVE.mjs";
|
|
36
36
|
import "./chunk-GNZIAJGB.mjs";
|
|
37
|
-
import "./chunk-S32PDOLO.mjs";
|
|
38
37
|
import "./chunk-XAXTTBUT.mjs";
|
|
39
38
|
import "./chunk-HZOMT5DY.mjs";
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-ZAUOOGER.mjs";
|
|
40
|
+
import "./chunk-S32PDOLO.mjs";
|
|
41
41
|
import "./chunk-TUPKMMXT.mjs";
|
|
42
42
|
import "./chunk-Q5B4LNON.mjs";
|
|
43
43
|
import "./chunk-EJCVG25Z.mjs";
|
|
44
44
|
import "./chunk-NRNAHZ57.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-TPA2PV5J.mjs";
|
|
46
46
|
import "./chunk-X3XUZWRB.mjs";
|
|
47
47
|
import "./chunk-XR2ZIBQK.mjs";
|
|
48
48
|
import {
|
|
49
49
|
resolveFarmDevtoolsConfig
|
|
50
50
|
} from "./chunk-CU5SYTJG.mjs";
|
|
51
|
-
import "./chunk-ES2LD2YD.mjs";
|
|
52
51
|
import "./chunk-VQ4NWOWO.mjs";
|
|
53
52
|
import "./chunk-22W4FNTG.mjs";
|
|
54
53
|
import "./chunk-SQ5O7I3L.mjs";
|
|
55
54
|
import "./chunk-KL7SHLQB.mjs";
|
|
55
|
+
import "./chunk-CJNAUEVC.mjs";
|
|
56
56
|
import "./chunk-52Y3C3HG.mjs";
|
|
57
|
+
import "./chunk-ES2LD2YD.mjs";
|
|
57
58
|
import "./chunk-2NGZFOKG.mjs";
|
|
58
59
|
import "./chunk-N33DLJBC.mjs";
|
|
59
60
|
import "./chunk-FIR62CR3.mjs";
|
|
@@ -114,7 +115,7 @@ import "./chunk-CO6UYM2D.mjs";
|
|
|
114
115
|
import "./chunk-2I6PUKWJ.mjs";
|
|
115
116
|
import "./chunk-QDWMCFTH.mjs";
|
|
116
117
|
import "./chunk-D2LCAV6L.mjs";
|
|
117
|
-
import "./chunk-
|
|
118
|
+
import "./chunk-72JSHQQQ.mjs";
|
|
118
119
|
import "./chunk-RFKTJTWZ.mjs";
|
|
119
120
|
import "./chunk-QPNVDSFZ.mjs";
|
|
120
121
|
import "./chunk-GYMGK467.mjs";
|
|
@@ -2,31 +2,32 @@ import {
|
|
|
2
2
|
buildFarmRsc,
|
|
3
3
|
createFarmRscDevServer,
|
|
4
4
|
createFarmRscViteConfig
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QHRCR44V.mjs";
|
|
6
6
|
import {
|
|
7
7
|
FARM_RSC_PACKAGES,
|
|
8
8
|
farmAppUsesRscPipeline,
|
|
9
9
|
farmConfigUsesServerComponents,
|
|
10
10
|
inspectFarmServerComponents,
|
|
11
11
|
resolveFarmRscCheckConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HCGWDRZO.mjs";
|
|
13
13
|
import "./chunk-FN5UEC7I.mjs";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2L54YV25.mjs";
|
|
15
15
|
import "./chunk-VISQDC6W.mjs";
|
|
16
16
|
import "./chunk-QOSDWGKT.mjs";
|
|
17
17
|
import "./chunk-OM7WILES.mjs";
|
|
18
18
|
import "./chunk-SMUW7UST.mjs";
|
|
19
19
|
import "./chunk-UB7RVEMX.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-TPA2PV5J.mjs";
|
|
21
21
|
import "./chunk-X3XUZWRB.mjs";
|
|
22
22
|
import "./chunk-XR2ZIBQK.mjs";
|
|
23
23
|
import "./chunk-CU5SYTJG.mjs";
|
|
24
|
-
import "./chunk-ES2LD2YD.mjs";
|
|
25
24
|
import "./chunk-VQ4NWOWO.mjs";
|
|
26
25
|
import "./chunk-22W4FNTG.mjs";
|
|
27
26
|
import "./chunk-SQ5O7I3L.mjs";
|
|
28
27
|
import "./chunk-KL7SHLQB.mjs";
|
|
28
|
+
import "./chunk-CJNAUEVC.mjs";
|
|
29
29
|
import "./chunk-52Y3C3HG.mjs";
|
|
30
|
+
import "./chunk-ES2LD2YD.mjs";
|
|
30
31
|
import "./chunk-2NGZFOKG.mjs";
|
|
31
32
|
import "./chunk-N33DLJBC.mjs";
|
|
32
33
|
import "./chunk-UIJOLBUL.mjs";
|
|
@@ -2,31 +2,32 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkTRIDJQ6Acjs = require('./chunk-TRIDJQ6A.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkGL7N5UHFcjs = require('./chunk-GL7N5UHF.cjs');
|
|
13
13
|
require('./chunk-XVSBALOY.cjs');
|
|
14
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-IMK32ERL.cjs');
|
|
15
15
|
require('./chunk-OZC2JPW6.cjs');
|
|
16
16
|
require('./chunk-65Y5SIBH.cjs');
|
|
17
17
|
require('./chunk-R53QDV6T.cjs');
|
|
18
18
|
require('./chunk-AQLHD6HZ.cjs');
|
|
19
19
|
require('./chunk-YKHRCY4T.cjs');
|
|
20
|
-
require('./chunk-
|
|
20
|
+
require('./chunk-UVV3I5QA.cjs');
|
|
21
21
|
require('./chunk-V56632LA.cjs');
|
|
22
22
|
require('./chunk-LSHX2H5G.cjs');
|
|
23
23
|
require('./chunk-STF6VDYQ.cjs');
|
|
24
|
-
require('./chunk-RD623KW4.cjs');
|
|
25
24
|
require('./chunk-O6L3YYPM.cjs');
|
|
26
25
|
require('./chunk-6JHZPB52.cjs');
|
|
27
26
|
require('./chunk-BTVDYS4B.cjs');
|
|
28
27
|
require('./chunk-FJWN7RV4.cjs');
|
|
28
|
+
require('./chunk-ZIHWAN55.cjs');
|
|
29
29
|
require('./chunk-5Y2P454O.cjs');
|
|
30
|
+
require('./chunk-RD623KW4.cjs');
|
|
30
31
|
require('./chunk-HEPJIKKQ.cjs');
|
|
31
32
|
require('./chunk-3EIPOTZV.cjs');
|
|
32
33
|
require('./chunk-2HW5LWAH.cjs');
|
|
@@ -80,4 +81,4 @@ require('./chunk-BTZ5O6VM.cjs');
|
|
|
80
81
|
|
|
81
82
|
|
|
82
83
|
|
|
83
|
-
exports.FARM_RSC_PACKAGES =
|
|
84
|
+
exports.FARM_RSC_PACKAGES = _chunkGL7N5UHFcjs.FARM_RSC_PACKAGES; exports.buildFarmRsc = _chunkTRIDJQ6Acjs.buildFarmRsc; exports.createFarmRscDevServer = _chunkTRIDJQ6Acjs.createFarmRscDevServer; exports.createFarmRscViteConfig = _chunkTRIDJQ6Acjs.createFarmRscViteConfig; exports.farmAppUsesRscPipeline = _chunkGL7N5UHFcjs.farmAppUsesRscPipeline; exports.farmConfigUsesServerComponents = _chunkGL7N5UHFcjs.farmConfigUsesServerComponents; exports.inspectFarmServerComponents = _chunkGL7N5UHFcjs.inspectFarmServerComponents; exports.resolveFarmRscCheckConfig = _chunkGL7N5UHFcjs.resolveFarmRscCheckConfig;
|
|
@@ -23,7 +23,7 @@ require('./chunk-WYAXRIYP.cjs');
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
var
|
|
26
|
+
var _chunkIMK32ERLcjs = require('./chunk-IMK32ERL.cjs');
|
|
27
27
|
require('./chunk-OZC2JPW6.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
@@ -37,22 +37,23 @@ var _chunkYKHRCY4Tcjs = require('./chunk-YKHRCY4T.cjs');
|
|
|
37
37
|
|
|
38
38
|
var _chunk752XUZIMcjs = require('./chunk-752XUZIM.cjs');
|
|
39
39
|
require('./chunk-5YPBFMBN.cjs');
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
var _chunkBPNOYILCcjs = require('./chunk-BPNOYILC.cjs');
|
|
40
|
+
require('./chunk-UVV3I5QA.cjs');
|
|
43
41
|
require('./chunk-V56632LA.cjs');
|
|
44
42
|
require('./chunk-LSHX2H5G.cjs');
|
|
45
43
|
require('./chunk-STF6VDYQ.cjs');
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
|
|
49
44
|
require('./chunk-O6L3YYPM.cjs');
|
|
50
45
|
require('./chunk-6JHZPB52.cjs');
|
|
51
46
|
require('./chunk-BTVDYS4B.cjs');
|
|
52
47
|
require('./chunk-FJWN7RV4.cjs');
|
|
53
48
|
|
|
54
49
|
|
|
50
|
+
var _chunkZIHWAN55cjs = require('./chunk-ZIHWAN55.cjs');
|
|
51
|
+
|
|
52
|
+
|
|
55
53
|
var _chunk5Y2P454Ocjs = require('./chunk-5Y2P454O.cjs');
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
|
|
56
57
|
require('./chunk-HEPJIKKQ.cjs');
|
|
57
58
|
require('./chunk-3EIPOTZV.cjs');
|
|
58
59
|
require('./chunk-2HW5LWAH.cjs');
|
|
@@ -1104,7 +1105,7 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1104
1105
|
const root = path2.resolve(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'access', _76 => _76.config, 'optionalAccess', _77 => _77.root]), () => ( options.root)), () => ( process.cwd())));
|
|
1105
1106
|
const command = _nullishCoalesce(options.command, () => ( "build"));
|
|
1106
1107
|
const mode = command === "dev" ? "development" : "production";
|
|
1107
|
-
const userConfig = options.userConfig === void 0 ? await
|
|
1108
|
+
const userConfig = options.userConfig === void 0 ? await _chunkIMK32ERLcjs.loadConfig.call(void 0, root, void 0, mode) : options.userConfig;
|
|
1108
1109
|
if (_optionalChain([userConfig, 'optionalAccess', _78 => _78.mobile]) === void 0) {
|
|
1109
1110
|
throw new FarmMobileError(
|
|
1110
1111
|
'farm.config.ts has no `mobile` entry. Add one, such as `mobile: { id: "com.example.notes", server: "https://notes.example.com" }`.'
|
|
@@ -1118,7 +1119,7 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1118
1119
|
mode
|
|
1119
1120
|
});
|
|
1120
1121
|
const block = await resolveFarmMobileBlock(userConfig.mobile, context, options.cache);
|
|
1121
|
-
const config = await _asyncNullishCoalesce(options.config, async () => ( await
|
|
1122
|
+
const config = await _asyncNullishCoalesce(options.config, async () => ( await _chunkIMK32ERLcjs.resolveConfig.call(void 0, { ...userConfig, root }, mode)));
|
|
1122
1123
|
const scan = await _chunk752XUZIMcjs.scanRoutePatterns.call(void 0, {
|
|
1123
1124
|
root,
|
|
1124
1125
|
srcDir: config.srcDir,
|
|
@@ -1186,14 +1187,14 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1186
1187
|
return decision.source === "default" || decision.requested !== void 0;
|
|
1187
1188
|
});
|
|
1188
1189
|
const portable = mobile.native.engine !== "platform" && (mobile.native.auto === "on" || candidates.some((route) => screens[route].requested === "native"));
|
|
1189
|
-
const { analyzeFarmMobileRoutes } = await import("./analyzer-
|
|
1190
|
+
const { analyzeFarmMobileRoutes } = await import("./analyzer-GHWK46LX.cjs");
|
|
1190
1191
|
const analyzed = await analyzeFarmMobileRoutes({
|
|
1191
1192
|
root,
|
|
1192
1193
|
srcDir: config.srcDir,
|
|
1193
1194
|
routes: portable ? routes : candidates,
|
|
1194
1195
|
pageFiles: scan.pageFiles,
|
|
1195
1196
|
nativeOnlyRoutes: scan.nativeOnlyPages,
|
|
1196
|
-
serverComponents:
|
|
1197
|
+
serverComponents: _chunkZIHWAN55cjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _82 => _82.experimental, 'optionalAccess', _83 => _83.serverComponents])) !== void 0,
|
|
1197
1198
|
cacheFile: path2.resolve(root, getFarmMobileOutputDirs(config.distDir).analyzerCache)
|
|
1198
1199
|
});
|
|
1199
1200
|
analyzerStats = analyzed.stats;
|
|
@@ -23,7 +23,7 @@ import "./chunk-E4RDMG3K.mjs";
|
|
|
23
23
|
import {
|
|
24
24
|
loadConfig,
|
|
25
25
|
resolveConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2L54YV25.mjs";
|
|
27
27
|
import "./chunk-VISQDC6W.mjs";
|
|
28
28
|
import {
|
|
29
29
|
createPlatformBlockChecker,
|
|
@@ -37,22 +37,23 @@ import {
|
|
|
37
37
|
scanRoutePatterns
|
|
38
38
|
} from "./chunk-SA7MLSP4.mjs";
|
|
39
39
|
import "./chunk-Q5B4LNON.mjs";
|
|
40
|
-
import
|
|
41
|
-
resolveFarmServerComponentsMode
|
|
42
|
-
} from "./chunk-PAKCHVUS.mjs";
|
|
40
|
+
import "./chunk-TPA2PV5J.mjs";
|
|
43
41
|
import "./chunk-X3XUZWRB.mjs";
|
|
44
42
|
import "./chunk-XR2ZIBQK.mjs";
|
|
45
43
|
import "./chunk-CU5SYTJG.mjs";
|
|
46
|
-
import {
|
|
47
|
-
getFarmRendererComponentExtensions
|
|
48
|
-
} from "./chunk-ES2LD2YD.mjs";
|
|
49
44
|
import "./chunk-VQ4NWOWO.mjs";
|
|
50
45
|
import "./chunk-22W4FNTG.mjs";
|
|
51
46
|
import "./chunk-SQ5O7I3L.mjs";
|
|
52
47
|
import "./chunk-KL7SHLQB.mjs";
|
|
48
|
+
import {
|
|
49
|
+
resolveFarmServerComponentsMode
|
|
50
|
+
} from "./chunk-CJNAUEVC.mjs";
|
|
53
51
|
import {
|
|
54
52
|
getFarmSourceRoots
|
|
55
53
|
} from "./chunk-52Y3C3HG.mjs";
|
|
54
|
+
import {
|
|
55
|
+
getFarmRendererComponentExtensions
|
|
56
|
+
} from "./chunk-ES2LD2YD.mjs";
|
|
56
57
|
import "./chunk-2NGZFOKG.mjs";
|
|
57
58
|
import "./chunk-N33DLJBC.mjs";
|
|
58
59
|
import "./chunk-UIJOLBUL.mjs";
|
|
@@ -1186,7 +1187,7 @@ async function resolveFarmMobileApp(options = {}) {
|
|
|
1186
1187
|
return decision.source === "default" || decision.requested !== void 0;
|
|
1187
1188
|
});
|
|
1188
1189
|
const portable = mobile.native.engine !== "platform" && (mobile.native.auto === "on" || candidates.some((route) => screens[route].requested === "native"));
|
|
1189
|
-
const { analyzeFarmMobileRoutes } = await import("./analyzer-
|
|
1190
|
+
const { analyzeFarmMobileRoutes } = await import("./analyzer-PE33SK5W.mjs");
|
|
1190
1191
|
const analyzed = await analyzeFarmMobileRoutes({
|
|
1191
1192
|
root,
|
|
1192
1193
|
srcDir: config.srcDir,
|
package/dist/server.cjs
CHANGED
|
@@ -4,7 +4,7 @@ var _chunkXVSBALOYcjs = require('./chunk-XVSBALOY.cjs');
|
|
|
4
4
|
require('./chunk-3376ZTRC.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkOSFIUSYKcjs = require('./chunk-OSFIUSYK.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
@@ -24,7 +24,7 @@ var _chunkV3UOEWCBcjs = require('./chunk-V3UOEWCB.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkIMK32ERLcjs = require('./chunk-IMK32ERL.cjs');
|
|
28
28
|
require('./chunk-OZC2JPW6.cjs');
|
|
29
29
|
|
|
30
30
|
|
|
@@ -40,7 +40,7 @@ require('./chunk-MPU5DOXX.cjs');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkTZOGZKI7cjs = require('./chunk-TZOGZKI7.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
@@ -56,7 +56,7 @@ require('./chunk-5IQ2ERQA.cjs');
|
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
|
|
59
|
-
var
|
|
59
|
+
var _chunk3KJPIO5Dcjs = require('./chunk-3KJPIO5D.cjs');
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
var _chunkR53QDV6Tcjs = require('./chunk-R53QDV6T.cjs');
|
|
@@ -84,47 +84,48 @@ require('./chunk-3HLQTOVU.cjs');
|
|
|
84
84
|
require('./chunk-47JV57DA.cjs');
|
|
85
85
|
require('./chunk-EZTKXD6P.cjs');
|
|
86
86
|
require('./chunk-CLFEQGET.cjs');
|
|
87
|
-
require('./chunk-
|
|
87
|
+
require('./chunk-C7DCMGC4.cjs');
|
|
88
88
|
require('./chunk-Y5TOT5F6.cjs');
|
|
89
|
-
require('./chunk-
|
|
89
|
+
require('./chunk-WNXVWXG3.cjs');
|
|
90
90
|
require('./chunk-CKPTIEDX.cjs');
|
|
91
91
|
require('./chunk-XGJVRPYL.cjs');
|
|
92
92
|
require('./chunk-TVCFY3KK.cjs');
|
|
93
93
|
require('./chunk-4EBC7EMW.cjs');
|
|
94
94
|
require('./chunk-PIUTGRDI.cjs');
|
|
95
|
-
require('./chunk-7KJJ4SBS.cjs');
|
|
96
95
|
require('./chunk-OWOUTKIJ.cjs');
|
|
97
96
|
require('./chunk-7EPYN7GW.cjs');
|
|
98
97
|
|
|
99
98
|
|
|
100
|
-
var
|
|
99
|
+
var _chunk7QVRWGBLcjs = require('./chunk-7QVRWGBL.cjs');
|
|
100
|
+
require('./chunk-7KJJ4SBS.cjs');
|
|
101
101
|
require('./chunk-GSVJ3IIF.cjs');
|
|
102
102
|
require('./chunk-5YPBFMBN.cjs');
|
|
103
103
|
require('./chunk-SM2SYWAR.cjs');
|
|
104
104
|
require('./chunk-ERMUL73L.cjs');
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
var _chunkBPNOYILCcjs = require('./chunk-BPNOYILC.cjs');
|
|
105
|
+
require('./chunk-UVV3I5QA.cjs');
|
|
108
106
|
require('./chunk-V56632LA.cjs');
|
|
109
107
|
require('./chunk-LSHX2H5G.cjs');
|
|
110
108
|
require('./chunk-STF6VDYQ.cjs');
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
|
|
116
109
|
require('./chunk-O6L3YYPM.cjs');
|
|
117
110
|
require('./chunk-6JHZPB52.cjs');
|
|
118
111
|
require('./chunk-BTVDYS4B.cjs');
|
|
119
112
|
require('./chunk-FJWN7RV4.cjs');
|
|
120
113
|
|
|
121
114
|
|
|
115
|
+
var _chunkZIHWAN55cjs = require('./chunk-ZIHWAN55.cjs');
|
|
116
|
+
|
|
117
|
+
|
|
122
118
|
|
|
123
119
|
|
|
124
120
|
|
|
125
121
|
|
|
126
122
|
|
|
127
123
|
var _chunk5Y2P454Ocjs = require('./chunk-5Y2P454O.cjs');
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
var _chunkRD623KW4cjs = require('./chunk-RD623KW4.cjs');
|
|
128
129
|
require('./chunk-HEPJIKKQ.cjs');
|
|
129
130
|
|
|
130
131
|
|
|
@@ -273,7 +274,7 @@ require('./chunk-CFG4QERR.cjs');
|
|
|
273
274
|
require('./chunk-JYT7AN37.cjs');
|
|
274
275
|
|
|
275
276
|
|
|
276
|
-
var
|
|
277
|
+
var _chunkA3G5IY2Wcjs = require('./chunk-A3G5IY2W.cjs');
|
|
277
278
|
require('./chunk-JGAE5XPL.cjs');
|
|
278
279
|
require('./chunk-OOZEU5KK.cjs');
|
|
279
280
|
require('./chunk-HA7YRO53.cjs');
|
|
@@ -496,7 +497,7 @@ function createBrandingPlugin() {
|
|
|
496
497
|
const pc = _chunkY3WG64CPcjs.createCliColors.call(void 0, );
|
|
497
498
|
console.log("");
|
|
498
499
|
console.log(
|
|
499
|
-
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${
|
|
500
|
+
` ${pc.bold(pc.green("Farm.js"))} ${pc.dim(`v${_chunkA3G5IY2Wcjs.FARM_VERSION}`)} ${pc.dim(`ready in ${elapsed}ms`)}`
|
|
500
501
|
);
|
|
501
502
|
console.log("");
|
|
502
503
|
console.log(
|
|
@@ -571,7 +572,7 @@ function inlineEnvScope(scope) {
|
|
|
571
572
|
);
|
|
572
573
|
}
|
|
573
574
|
async function resolveInlineConfig(config, mode) {
|
|
574
|
-
if (
|
|
575
|
+
if (_chunkIMK32ERLcjs.isResolvedFarmConfig.call(void 0, config)) {
|
|
575
576
|
_chunk3EIPOTZVcjs.setEnv.call(void 0, config.env);
|
|
576
577
|
return { ...config };
|
|
577
578
|
}
|
|
@@ -581,7 +582,7 @@ async function resolveInlineConfig(config, mode) {
|
|
|
581
582
|
const resolvedI18n = i18n && "enabled" in i18n ? i18n : void 0;
|
|
582
583
|
const auth = config.auth;
|
|
583
584
|
const resolvedAuth = auth && typeof auth === "object" && typeof auth.emailAndPassword === "object" && "enabled" in auth.emailAndPassword ? auth : void 0;
|
|
584
|
-
const resolved = await
|
|
585
|
+
const resolved = await _chunkIMK32ERLcjs.resolveConfig.call(void 0,
|
|
585
586
|
{
|
|
586
587
|
...config,
|
|
587
588
|
...resolvedDocs ? { docs: false } : {},
|
|
@@ -618,11 +619,11 @@ async function createServer2(config = {}, options = {}) {
|
|
|
618
619
|
try {
|
|
619
620
|
const root = config.root || process.cwd();
|
|
620
621
|
const mode = process.env.NODE_ENV === "production" ? "production" : "development";
|
|
621
|
-
const userConfig = await
|
|
622
|
+
const userConfig = await _chunkIMK32ERLcjs.loadConfig.call(void 0, root, void 0, mode);
|
|
622
623
|
checkWebDesktopBlock(_optionalChain([userConfig, 'optionalAccess', _19 => _19.desktop]));
|
|
623
624
|
const rscConfig = _nullishCoalesce(userConfig, () => ( config));
|
|
624
|
-
if (
|
|
625
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
625
|
+
if (_chunkZIHWAN55cjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([rscConfig, 'access', _20 => _20.experimental, 'optionalAccess', _21 => _21.serverComponents]))) {
|
|
626
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-V4ANLRAA.cjs");
|
|
626
627
|
await _optionalChain([options, 'access', _22 => _22.ensureServerComponentsPackages, 'optionalCall', _23 => _23(rscConfig, root)]);
|
|
627
628
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
628
629
|
return await createFarmRscDevServer(rscConfig, {
|
|
@@ -632,7 +633,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
632
633
|
});
|
|
633
634
|
}
|
|
634
635
|
}
|
|
635
|
-
const resolvedConfig = userConfig ? await
|
|
636
|
+
const resolvedConfig = userConfig ? await _chunkIMK32ERLcjs.resolveConfig.call(void 0, userConfig, mode) : await resolveInlineConfig(config, mode);
|
|
636
637
|
const instrumentationRoot = resolvedConfig.root;
|
|
637
638
|
const instrumentationFile = _chunkBRWIVOV4cjs.resolveFarmInstrumentationFile.call(void 0,
|
|
638
639
|
instrumentationRoot,
|
|
@@ -669,7 +670,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
669
670
|
pluginManager.addPlugin(_chunkCL2ONP73cjs.createCompressionPlugin.call(void 0, ));
|
|
670
671
|
}
|
|
671
672
|
pluginManager.addPlugins(resolvedConfig.plugins);
|
|
672
|
-
const infraAnalytics = resolvedConfig.analytics !== false ?
|
|
673
|
+
const infraAnalytics = resolvedConfig.analytics !== false ? _chunkOSFIUSYKcjs.createFarmInfraAnalyticsPlugin.call(void 0, ) : null;
|
|
673
674
|
if (infraAnalytics) pluginManager.addPlugin(infraAnalytics);
|
|
674
675
|
if (mode === "development") {
|
|
675
676
|
const hasLogger = pluginManager.getPlugins().some((p) => p.name === "farm:logger");
|
|
@@ -682,7 +683,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
682
683
|
finalConfig = await pluginManager.runHookSerial("config", finalConfig);
|
|
683
684
|
finalConfig.renderer = _chunkRD623KW4cjs.resolveFarmRenderer.call(void 0, finalConfig.renderer);
|
|
684
685
|
const projectRoot = finalConfig.root || process.cwd();
|
|
685
|
-
finalConfig.images =
|
|
686
|
+
finalConfig.images = _chunk3KJPIO5Dcjs.resolveFarmImageProviderForRuntime.call(void 0, finalConfig.images, {
|
|
686
687
|
root: projectRoot,
|
|
687
688
|
dev: true
|
|
688
689
|
});
|
|
@@ -703,21 +704,21 @@ async function createServer2(config = {}, options = {}) {
|
|
|
703
704
|
tailwindVitePlugin = await _chunkR53QDV6Tcjs.loadTailwindVitePlugin.call(void 0, );
|
|
704
705
|
}
|
|
705
706
|
server = await createViteDevServer(
|
|
706
|
-
|
|
707
|
+
_chunk3KJPIO5Dcjs.mergeFarmViteConfig.call(void 0,
|
|
707
708
|
{
|
|
708
709
|
root: projectRoot,
|
|
709
710
|
css: shouldUseProjectPostcss ? void 0 : { postcss: { plugins: [] } },
|
|
710
711
|
plugins: [
|
|
711
712
|
_chunk65Y5SIBHcjs.farmDesktopDevGuardPlugin.call(void 0, finalConfig.basePath),
|
|
712
|
-
|
|
713
|
+
_chunk3KJPIO5Dcjs.createFarmThemeCssPlugin.call(void 0, finalConfig.theme, finalConfig.basePath),
|
|
713
714
|
...tailwindVitePlugin ? [tailwindVitePlugin] : [],
|
|
714
715
|
...rendererVitePlugins,
|
|
715
716
|
...reactRefreshPlugins,
|
|
716
717
|
createDevDependencyStubsPlugin(),
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
718
|
+
_chunkTZOGZKI7cjs.farmI18nClientBridgePlugin.call(void 0, ),
|
|
719
|
+
_chunkTZOGZKI7cjs.farmServerOnlyEntriesPlugin.call(void 0, ),
|
|
720
|
+
_chunkTZOGZKI7cjs.farmPlugin.call(void 0, finalConfig, pluginManager),
|
|
721
|
+
_chunk7QVRWGBLcjs.farmEnvironmentFunctionsPlugin.call(void 0, finalConfig),
|
|
721
722
|
createBrandingPlugin(),
|
|
722
723
|
_chunkXVSBALOYcjs.createFarmDevLoopbackPlugin.call(void 0, ),
|
|
723
724
|
createFarmDevLifecyclePlugin(pluginManager, instrumentation)
|
|
@@ -732,8 +733,8 @@ async function createServer2(config = {}, options = {}) {
|
|
|
732
733
|
dedupe: [...finalConfig.renderer.dedupe || []]
|
|
733
734
|
},
|
|
734
735
|
optimizeDeps: {
|
|
735
|
-
...
|
|
736
|
-
|
|
736
|
+
..._chunk3KJPIO5Dcjs.createFarmClientOptimizeDepsConfig.call(void 0,
|
|
737
|
+
_chunk3KJPIO5Dcjs.createFarmClientOptimizeDepsEntries.call(void 0, projectRoot, _chunk5Y2P454Ocjs.getFarmAppDirectories.call(void 0, finalConfig)),
|
|
737
738
|
finalConfig.renderer
|
|
738
739
|
),
|
|
739
740
|
exclude: [
|
|
@@ -969,4 +970,4 @@ async function startDevServer(config = {}, port, options = {}) {
|
|
|
969
970
|
|
|
970
971
|
|
|
971
972
|
|
|
972
|
-
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunk4P5634G6cjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkWKPBIT5Qcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp =
|
|
973
|
+
exports.DEFAULT_FARM_DEV_SERVER_PORT = DEFAULT_FARM_DEV_SERVER_PORT; exports.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT = _chunk4P5634G6cjs.DEFAULT_SERVER_ACTION_BODY_SIZE_LIMIT; exports.FARM_SERVER_QUERY_SYMBOL = _chunkWKPBIT5Qcjs.FARM_SERVER_QUERY_SYMBOL; exports.FarmApp = _chunk3KJPIO5Dcjs.FarmApp; exports.FarmDataCache = _chunkDMAP4RNDcjs.FarmDataCache; exports.FarmEnvironmentError = _chunkVXCFJWK5cjs.FarmEnvironmentError; exports.PPR_SHELL_ADAPTER_TTL_SECONDS = _chunkDMAP4RNDcjs.PPR_SHELL_ADAPTER_TTL_SECONDS; exports.RouteManager = _chunk3KJPIO5Dcjs.RouteManager; exports.ServerActionRequestError = _chunk4P5634G6cjs.ServerActionRequestError; exports.ServerRenderer = _chunk3KJPIO5Dcjs.ServerRenderer; exports._collectFarmStorageModules = _chunkJMYXO572cjs._collectFarmStorageModules; exports._registerFarmStorageModules = _chunkJMYXO572cjs._registerFarmStorageModules; exports._runWithAfterNodeResponse = _chunkP2355C6Ecjs._runWithAfterNodeResponse; exports._runWithAfterRequest = _chunkP2355C6Ecjs._runWithAfterRequest; exports._withAfterNodeMiddleware = _chunkP2355C6Ecjs._withAfterNodeMiddleware; exports.after = _chunkP2355C6Ecjs.after; exports.applyFarmCacheInvalidationTargets = _chunkDMAP4RNDcjs.applyFarmCacheInvalidationTargets; exports.applyFarmCacheInvalidations = _chunkUZCMMJJTcjs.applyFarmCacheInvalidations; exports.configureFarmCache = _chunkDMAP4RNDcjs.configureFarmCache; exports.createClientOnlyFn = _chunkVXCFJWK5cjs.createClientOnlyFn; exports.createFarmApp = _chunk3KJPIO5Dcjs.createFarmApp; exports.createFarmCacheInvalidationStream = _chunkDMAP4RNDcjs.createFarmCacheInvalidationStream; exports.createFarmCacheKey = _chunkDXUXQP2Tcjs.createFarmCacheKey; exports.createFarmConfigResolutionPlugin = _chunk5Y2P454Ocjs.createFarmConfigResolutionPlugin; exports.createFarmStorage = _chunkJMYXO572cjs.createFarmStorage; exports.createIsomorphicFn = _chunkVXCFJWK5cjs.createIsomorphicFn; exports.createPathCacheTag = _chunkDMAP4RNDcjs.createPathCacheTag; exports.createRouteDataCacheKey = _chunkDXUXQP2Tcjs.createRouteDataCacheKey; exports.createRouteDataCacheTag = _chunkDMAP4RNDcjs.createRouteDataCacheTag; exports.createServer = createServer2; exports.createServerActionRequestErrorResponse = _chunk4P5634G6cjs.createServerActionRequestErrorResponse; exports.createServerOnlyFn = _chunkVXCFJWK5cjs.createServerOnlyFn; exports.createServerQuery = _chunkWKPBIT5Qcjs.createServerQuery; exports.createStorageClient = _chunkJMYXO572cjs.createStorageClient; exports.databaseStorage = _chunkJMYXO572cjs.databaseStorage; exports.defineCacheKey = _chunkDMAP4RNDcjs.defineCacheKey; exports.defineConfig = _chunkTZOGZKI7cjs.defineConfig; exports.defineStorageClient = _chunkJMYXO572cjs.defineStorageClient; exports.disposeStorage = _chunkJMYXO572cjs.disposeStorage; exports.driverStorage = _chunkJMYXO572cjs.driverStorage; exports.farmPlugin = _chunkTZOGZKI7cjs.farmPlugin; exports.fileExists = _chunkQMNWKQL4cjs.fileExists; exports.getCurrentRequest = _chunkHNAISJFDcjs.getCurrentRequest; exports.getFarmAppDirectories = _chunk5Y2P454Ocjs.getFarmAppDirectories; exports.getFarmDataCache = _chunkDMAP4RNDcjs.getFarmDataCache; exports.getFarmLayerAliases = _chunk5Y2P454Ocjs.getFarmLayerAliases; exports.getFarmSourceRoots = _chunk5Y2P454Ocjs.getFarmSourceRoots; exports.getServerActionExecutionContext = _chunk4P5634G6cjs.getServerActionExecutionContext; exports.getServerActionInvalidations = _chunk4P5634G6cjs.getServerActionInvalidations; exports.getServerActionSignal = _chunk4P5634G6cjs.getServerActionSignal; exports.getStorage = _chunkJMYXO572cjs.getStorage; exports.getTheme = _chunk4ZJ5C7UJcjs.getTheme; exports.getThemeSnapshot = _chunk4ZJ5C7UJcjs.getThemeSnapshot; exports.globFiles = _chunkQMNWKQL4cjs.globFiles; exports.initStorage = _chunkJMYXO572cjs.initStorage; exports.invalidate = _chunkDMAP4RNDcjs.invalidate; exports.invalidateRouteData = _chunkDMAP4RNDcjs.invalidateRouteData; exports.libsqlStorage = _chunkJMYXO572cjs.libsqlStorage; exports.loadFarmConfigFile = _chunk5Y2P454Ocjs.loadFarmConfigFile; exports.localStorage = _chunkJMYXO572cjs.localStorage; exports.logger = _chunkQMNWKQL4cjs.logger; exports.matchRoute = _chunkQMNWKQL4cjs.matchRoute; exports.matchRouteParts = _chunkQMNWKQL4cjs.matchRouteParts; exports.matchRoutePrefix = _chunkQMNWKQL4cjs.matchRoutePrefix; exports.matchRoutePrefixParts = _chunkQMNWKQL4cjs.matchRoutePrefixParts; exports.memoryStorage = _chunkJMYXO572cjs.memoryStorage; exports.mongodbStorage = _chunkJMYXO572cjs.mongodbStorage; exports.mysql2Storage = _chunkJMYXO572cjs.mysql2Storage; exports.mysqlStorage = _chunkJMYXO572cjs.mysqlStorage; exports.netlifyBlobsStorage = _chunkJMYXO572cjs.netlifyBlobsStorage; exports.normalizeRevalidatePath = _chunkDMAP4RNDcjs.normalizeRevalidatePath; exports.parseRoutePath = _chunkQMNWKQL4cjs.parseRoutePath; exports.parseSearchParams = _chunkQMNWKQL4cjs.parseSearchParams; exports.pgStorage = _chunkJMYXO572cjs.pgStorage; exports.pgliteStorage = _chunkJMYXO572cjs.pgliteStorage; exports.planetscaleStorage = _chunkJMYXO572cjs.planetscaleStorage; exports.postgresStorage = _chunkJMYXO572cjs.postgresStorage; exports.prepareServerActionRequest = _chunk4P5634G6cjs.prepareServerActionRequest; exports.redisStorage = _chunkJMYXO572cjs.redisStorage; exports.resolveAppPath = _chunkQMNWKQL4cjs.resolveAppPath; exports.resolveFarmLayers = _chunk5Y2P454Ocjs.resolveFarmLayers; exports.resolveFarmMCPConfig = _chunkIMK32ERLcjs.resolveFarmMCPConfig; exports.resolveFarmMCPPlugin = _chunkIMK32ERLcjs.resolveFarmMCPPlugin; exports.resolveServerActionsConfig = _chunk4P5634G6cjs.resolveServerActionsConfig; exports.resolveStorageRuntimeClient = _chunkJMYXO572cjs.resolveStorageRuntimeClient; exports.revalidatePath = _chunkDMAP4RNDcjs.revalidatePath; exports.revalidateTag = _chunkDMAP4RNDcjs.revalidateTag; exports.runWithServerActionRequest = _chunk4P5634G6cjs.runWithServerActionRequest; exports.s3Storage = _chunkJMYXO572cjs.s3Storage; exports.sanitizeServerActionError = _chunk4P5634G6cjs.sanitizeServerActionError; exports.segmentsToPattern = _chunkQMNWKQL4cjs.segmentsToPattern; exports.sendWebResponse = _chunkYIHRZBD7cjs.sendWebResponse; exports.splitRoutePath = _chunkQMNWKQL4cjs.splitRoutePath; exports.sqliteStorage = _chunkJMYXO572cjs.sqliteStorage; exports.startDevServer = startDevServer; exports.storageCacheAdapter = _chunkDMAP4RNDcjs.storageCacheAdapter; exports.toPosixPath = _chunkQMNWKQL4cjs.toPosixPath; exports.toRootRelativeUrlPath = _chunkQMNWKQL4cjs.toRootRelativeUrlPath; exports.toViteModuleId = _chunkQMNWKQL4cjs.toViteModuleId; exports.unstable_cache = _chunkDMAP4RNDcjs.unstable_cache; exports.updateTag = _chunkDMAP4RNDcjs.updateTag; exports.upstashStorage = _chunkJMYXO572cjs.upstashStorage; exports.validateServerActionRequest = _chunk4P5634G6cjs.validateServerActionRequest; exports.vercelBlobStorage = _chunkJMYXO572cjs.vercelBlobStorage; exports.vercelKVStorage = _chunkJMYXO572cjs.vercelKVStorage;
|
package/dist/server.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-FN5UEC7I.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createFarmInfraAnalyticsPlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YUW7F6SK.mjs";
|
|
7
7
|
import {
|
|
8
8
|
FARM_SERVER_QUERY_SYMBOL,
|
|
9
9
|
createServerQuery
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveConfig,
|
|
24
24
|
resolveFarmMCPConfig,
|
|
25
25
|
resolveFarmMCPPlugin
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2L54YV25.mjs";
|
|
27
27
|
import "./chunk-VISQDC6W.mjs";
|
|
28
28
|
import {
|
|
29
29
|
loadFarmInstrumentation,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
farmI18nClientBridgePlugin,
|
|
40
40
|
farmPlugin,
|
|
41
41
|
farmServerOnlyEntriesPlugin
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VHHLKIDZ.mjs";
|
|
43
43
|
import {
|
|
44
44
|
createFarmReactRefreshPlugins,
|
|
45
45
|
farmDesktopDevGuardPlugin
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
createFarmThemeCssPlugin,
|
|
56
56
|
mergeFarmViteConfig,
|
|
57
57
|
resolveFarmImageProviderForRuntime
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-7GYCZRTH.mjs";
|
|
59
59
|
import {
|
|
60
60
|
loadTailwindVitePlugin
|
|
61
61
|
} from "./chunk-OM7WILES.mjs";
|
|
@@ -83,39 +83,35 @@ import "./chunk-LLZSYFOM.mjs";
|
|
|
83
83
|
import "./chunk-UUMKLGUU.mjs";
|
|
84
84
|
import "./chunk-23LVFSID.mjs";
|
|
85
85
|
import "./chunk-MK5E44WP.mjs";
|
|
86
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-E2TSYUHV.mjs";
|
|
87
87
|
import "./chunk-MESQF2JC.mjs";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-Q75QPLBA.mjs";
|
|
89
89
|
import "./chunk-X3EFRVXY.mjs";
|
|
90
90
|
import "./chunk-A4PWGL46.mjs";
|
|
91
91
|
import "./chunk-MNIR7I7B.mjs";
|
|
92
92
|
import "./chunk-L4RTTTVE.mjs";
|
|
93
93
|
import "./chunk-GNZIAJGB.mjs";
|
|
94
|
-
import "./chunk-S32PDOLO.mjs";
|
|
95
94
|
import "./chunk-XAXTTBUT.mjs";
|
|
96
95
|
import "./chunk-HZOMT5DY.mjs";
|
|
97
96
|
import {
|
|
98
97
|
farmEnvironmentFunctionsPlugin
|
|
99
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-ZAUOOGER.mjs";
|
|
99
|
+
import "./chunk-S32PDOLO.mjs";
|
|
100
100
|
import "./chunk-TUPKMMXT.mjs";
|
|
101
101
|
import "./chunk-Q5B4LNON.mjs";
|
|
102
102
|
import "./chunk-EJCVG25Z.mjs";
|
|
103
103
|
import "./chunk-NRNAHZ57.mjs";
|
|
104
|
-
import
|
|
105
|
-
resolveFarmServerComponentsMode
|
|
106
|
-
} from "./chunk-PAKCHVUS.mjs";
|
|
104
|
+
import "./chunk-TPA2PV5J.mjs";
|
|
107
105
|
import "./chunk-X3XUZWRB.mjs";
|
|
108
106
|
import "./chunk-XR2ZIBQK.mjs";
|
|
109
107
|
import "./chunk-CU5SYTJG.mjs";
|
|
110
|
-
import {
|
|
111
|
-
isReactRenderer,
|
|
112
|
-
loadFarmRendererVitePlugins,
|
|
113
|
-
resolveFarmRenderer
|
|
114
|
-
} from "./chunk-ES2LD2YD.mjs";
|
|
115
108
|
import "./chunk-VQ4NWOWO.mjs";
|
|
116
109
|
import "./chunk-22W4FNTG.mjs";
|
|
117
110
|
import "./chunk-SQ5O7I3L.mjs";
|
|
118
111
|
import "./chunk-KL7SHLQB.mjs";
|
|
112
|
+
import {
|
|
113
|
+
resolveFarmServerComponentsMode
|
|
114
|
+
} from "./chunk-CJNAUEVC.mjs";
|
|
119
115
|
import {
|
|
120
116
|
createFarmConfigResolutionPlugin,
|
|
121
117
|
getFarmAppDirectories,
|
|
@@ -124,6 +120,11 @@ import {
|
|
|
124
120
|
loadFarmConfigFile,
|
|
125
121
|
resolveFarmLayers
|
|
126
122
|
} from "./chunk-52Y3C3HG.mjs";
|
|
123
|
+
import {
|
|
124
|
+
isReactRenderer,
|
|
125
|
+
loadFarmRendererVitePlugins,
|
|
126
|
+
resolveFarmRenderer
|
|
127
|
+
} from "./chunk-ES2LD2YD.mjs";
|
|
127
128
|
import "./chunk-2NGZFOKG.mjs";
|
|
128
129
|
import {
|
|
129
130
|
setEnv
|
|
@@ -272,7 +273,7 @@ import "./chunk-QDWMCFTH.mjs";
|
|
|
272
273
|
import "./chunk-D2LCAV6L.mjs";
|
|
273
274
|
import {
|
|
274
275
|
FARM_VERSION
|
|
275
|
-
} from "./chunk-
|
|
276
|
+
} from "./chunk-72JSHQQQ.mjs";
|
|
276
277
|
import "./chunk-RFKTJTWZ.mjs";
|
|
277
278
|
import "./chunk-QPNVDSFZ.mjs";
|
|
278
279
|
import "./chunk-GYMGK467.mjs";
|
|
@@ -621,7 +622,7 @@ async function createServer2(config = {}, options = {}) {
|
|
|
621
622
|
checkWebDesktopBlock(userConfig?.desktop);
|
|
622
623
|
const rscConfig = userConfig ?? config;
|
|
623
624
|
if (resolveFarmServerComponentsMode(rscConfig.experimental?.serverComponents)) {
|
|
624
|
-
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-
|
|
625
|
+
const { createFarmRscDevServer, farmAppUsesRscPipeline, resolveFarmRscCheckConfig } = await import("./rsc-pipeline-T3PWURLJ.mjs");
|
|
625
626
|
await options.ensureServerComponentsPackages?.(rscConfig, root);
|
|
626
627
|
if (farmAppUsesRscPipeline(await resolveFarmRscCheckConfig(rscConfig, root, mode), root)) {
|
|
627
628
|
return await createFarmRscDevServer(rscConfig, {
|
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 _chunkA3G5IY2Wcjs = require('./chunk-A3G5IY2W.cjs');
|
|
4
4
|
require('./chunk-BTZ5O6VM.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.FARM_VERSION =
|
|
7
|
+
exports.FARM_VERSION = _chunkA3G5IY2Wcjs.FARM_VERSION;
|