@farm.js/core 0.1.86 → 0.1.87

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.
Files changed (232) hide show
  1. package/dist/{agent-mcp.d-7uKdOttc.d.ts → agent-mcp.d-BdM0pIrD.d.ts} +1 -1
  2. package/dist/{agent-mcp.d-LChlR2au.d.mts → agent-mcp.d-CMGqpUbk.d.mts} +1 -1
  3. package/dist/agent-runtime.d.mts +1 -1
  4. package/dist/agent-runtime.d.ts +1 -1
  5. package/dist/analyzer-LLU2Z6I4.cjs +17 -0
  6. package/dist/{analyzer-I5S5YKHM.mjs → analyzer-W4EB7DHL.mjs} +2 -2
  7. package/dist/api/node.d.mts +3 -3
  8. package/dist/api/node.d.ts +3 -3
  9. package/dist/api/route-manager.cjs +3 -3
  10. package/dist/api/route-manager.d.mts +3 -3
  11. package/dist/api/route-manager.d.ts +3 -3
  12. package/dist/api/route-manager.mjs +2 -2
  13. package/dist/api/runtime.d.mts +2 -2
  14. package/dist/api/runtime.d.ts +2 -2
  15. package/dist/api.cjs +4 -4
  16. package/dist/api.d.mts +4 -4
  17. package/dist/api.d.ts +4 -4
  18. package/dist/api.mjs +3 -3
  19. package/dist/{app-manifest.d-QMdmqqCr.d.mts → app-manifest.d-BeDB2OVm.d.mts} +1 -1
  20. package/dist/{app-manifest.d-CRp21oAz.d.ts → app-manifest.d-COhjPgHn.d.ts} +1 -1
  21. package/dist/app-markdown.d.mts +2 -2
  22. package/dist/app-markdown.d.ts +2 -2
  23. package/dist/{app.d-Bvpc2eJq.d.mts → app.d-AVZXCfcO.d.mts} +5 -4
  24. package/dist/{app.d-DEKpJEp4.d.ts → app.d-b3A4cca5.d.ts} +5 -4
  25. package/dist/{chunk-SB74WCKC.mjs → chunk-26HESRBL.mjs} +4 -4
  26. package/dist/chunk-2HTNASSB.cjs +134 -0
  27. package/dist/{chunk-BAD6T5NU.cjs → chunk-33WR5XV5.cjs} +4 -4
  28. package/dist/{chunk-YMAE32O7.mjs → chunk-3F55K4MC.mjs} +1 -1
  29. package/dist/{chunk-CVKTYG4L.mjs → chunk-4FGTNYHE.mjs} +2 -2
  30. package/dist/{chunk-CFKAYV7B.mjs → chunk-5D73SKF3.mjs} +1 -1
  31. package/dist/{chunk-Q3YWQEUS.cjs → chunk-7BNVUIGL.cjs} +2 -2
  32. package/dist/{chunk-RA5OUXOJ.mjs → chunk-A2PPQ5LB.mjs} +2 -2
  33. package/dist/{chunk-KHIEGVG7.mjs → chunk-ALOFMAFA.mjs} +10 -4
  34. package/dist/{chunk-BLZCAFGJ.cjs → chunk-CXHVRHM2.cjs} +2 -2
  35. package/dist/{chunk-3RVLJTFZ.mjs → chunk-D7LXBLUW.mjs} +1 -1
  36. package/dist/{chunk-45ANSCTO.mjs → chunk-EZYNIADW.mjs} +63 -37
  37. package/dist/{chunk-NAHDG6UX.mjs → chunk-HFRG2IQS.mjs} +1 -1
  38. package/dist/{chunk-7H2TXT2K.mjs → chunk-HX5HLFBZ.mjs} +7 -0
  39. package/dist/{chunk-2NKNP4AH.cjs → chunk-HYL372GW.cjs} +1 -1
  40. package/dist/{chunk-25JGHAGH.cjs → chunk-I2RBHZF7.cjs} +15 -8
  41. package/dist/{chunk-NXOZRI3B.cjs → chunk-IM422XKU.cjs} +2 -2
  42. package/dist/{chunk-6QYPP5KC.mjs → chunk-K5FLQJW5.mjs} +2 -2
  43. package/dist/chunk-K6RMOB25.mjs +134 -0
  44. package/dist/{chunk-UAQQUQWE.mjs → chunk-LBJOHMTB.mjs} +1 -1
  45. package/dist/{chunk-QYWP5KDY.mjs → chunk-LIWVPE72.mjs} +59 -21
  46. package/dist/{chunk-FDU4Q4QP.cjs → chunk-MZR22RAC.cjs} +10 -4
  47. package/dist/chunk-NDMPGFKL.cjs +47 -0
  48. package/dist/{chunk-YHM4PXJY.mjs → chunk-O5YM6GU3.mjs} +1 -1
  49. package/dist/{chunk-GWPANDW3.mjs → chunk-O7K4HMAQ.mjs} +1 -1
  50. package/dist/{chunk-7UTRNV6R.mjs → chunk-Q73LRKLP.mjs} +1 -1
  51. package/dist/{chunk-3TKGMIPX.mjs → chunk-QLRI2BX5.mjs} +90 -11
  52. package/dist/{chunk-PAENAKTC.mjs → chunk-QSDIJ45N.mjs} +1 -1
  53. package/dist/{chunk-UDWBTABT.cjs → chunk-RGYS5OPL.cjs} +3 -3
  54. package/dist/{chunk-FWLXYNWA.cjs → chunk-SDNYULFS.cjs} +347 -321
  55. package/dist/chunk-TCGPBSVY.mjs +47 -0
  56. package/dist/{chunk-P253SZJF.cjs → chunk-TI4BZV6M.cjs} +353 -274
  57. package/dist/{chunk-QYDGIXQ5.cjs → chunk-U3A46QFD.cjs} +9 -9
  58. package/dist/{chunk-VGHDPEPQ.cjs → chunk-UA77C2ZA.cjs} +2 -2
  59. package/dist/{chunk-U54REWMJ.cjs → chunk-VCI776NG.cjs} +13 -13
  60. package/dist/{chunk-IAERD73G.cjs → chunk-VCZ4EM5K.cjs} +367 -329
  61. package/dist/{chunk-5P65LXGU.cjs → chunk-WSQ3S3NV.cjs} +2 -2
  62. package/dist/{chunk-VTEAUQMT.mjs → chunk-X2SMVPLH.mjs} +19 -3
  63. package/dist/{chunk-TQJ35BBW.cjs → chunk-XFUPWRKT.cjs} +4 -4
  64. package/dist/{chunk-DJ3PVHTW.cjs → chunk-XGPRM7OK.cjs} +3 -3
  65. package/dist/{chunk-CPSFDQKJ.cjs → chunk-Z43CIBUR.cjs} +20 -4
  66. package/dist/{chunk-L2IULWKV.cjs → chunk-ZCX2XJPY.cjs} +3 -3
  67. package/dist/{cli-runtime.d-DaElKjaL.d.ts → cli-runtime.d-jqZ7YCsm.d.ts} +5 -5
  68. package/dist/{cli-runtime.d-C7aMfoTq.d.mts → cli-runtime.d-qL44rqYO.d.mts} +5 -5
  69. package/dist/{client-component.d-miqIXyQv.d.mts → client-component.d-B2L2LyAr.d.mts} +1 -1
  70. package/dist/{client-component.d-CZG02pIh.d.ts → client-component.d-BDD5aiUb.d.ts} +1 -1
  71. package/dist/{client-plugins.d-BVXjyIkY.d.ts → client-plugins.d-Crct3m_r.d.ts} +14 -5
  72. package/dist/{client-plugins.d-BwKwuO_0.d.mts → client-plugins.d-Dzc3vOw_.d.mts} +14 -5
  73. package/dist/client-plugins.d.mts +1 -1
  74. package/dist/client-plugins.d.ts +1 -1
  75. package/dist/client.d.mts +8 -7
  76. package/dist/client.d.ts +8 -7
  77. package/dist/config.d.mts +1 -1
  78. package/dist/config.d.ts +1 -1
  79. package/dist/desktop.d.mts +2 -2
  80. package/dist/desktop.d.ts +2 -2
  81. package/dist/{devtools-A3L7WNTB.cjs → devtools-GPIKZ5AV.cjs} +5 -3
  82. package/dist/{devtools-DGC2247E.mjs → devtools-GWJZPWIW.mjs} +4 -2
  83. package/dist/docs.cjs +6 -4
  84. package/dist/docs.d.mts +3 -3
  85. package/dist/docs.d.ts +3 -3
  86. package/dist/docs.mjs +5 -3
  87. package/dist/environment/vite.cjs +4 -4
  88. package/dist/environment/vite.mjs +3 -3
  89. package/dist/font.cjs +4 -2
  90. package/dist/font.d.mts +13 -1
  91. package/dist/font.d.ts +13 -1
  92. package/dist/font.mjs +3 -1
  93. package/dist/{handler.d-BKTWzzNA.d.mts → handler.d-B1S1ZBqS.d.mts} +1 -1
  94. package/dist/{handler.d-Dzpyg3-N.d.ts → handler.d-ZweCBJD4.d.ts} +1 -1
  95. package/dist/{headers.d-PZyXcDAH.d.ts → headers.d-BgBdQN8x.d.ts} +1 -1
  96. package/dist/{headers.d-5opjyhXw.d.mts → headers.d-C-yGl_f6.d.mts} +1 -1
  97. package/dist/image-attributes.d-BMPDQO1q.d.mts +55 -0
  98. package/dist/image-attributes.d-BMPDQO1q.d.ts +55 -0
  99. package/dist/image.cjs +5 -127
  100. package/dist/image.d.mts +3 -13
  101. package/dist/image.d.ts +3 -13
  102. package/dist/image.mjs +5 -127
  103. package/dist/index.cjs +24 -22
  104. package/dist/{index.d-C0Mie66f.d.mts → index.d-13h3oDu7.d.mts} +1 -1
  105. package/dist/{index.d-DV2q-0mE.d.ts → index.d-CtoniAXT.d.ts} +1 -1
  106. package/dist/index.d.mts +24 -23
  107. package/dist/index.d.ts +24 -23
  108. package/dist/index.mjs +23 -21
  109. package/dist/integrations/orm.d.mts +1 -1
  110. package/dist/integrations/orm.d.ts +1 -1
  111. package/dist/integrations.d.mts +1 -1
  112. package/dist/integrations.d.ts +1 -1
  113. package/dist/internal/app-markdown-runtime.d.mts +2 -2
  114. package/dist/internal/app-markdown-runtime.d.ts +2 -2
  115. package/dist/internal/build-runtime.cjs +19 -19
  116. package/dist/internal/build-runtime.d.mts +4 -4
  117. package/dist/internal/build-runtime.d.ts +4 -4
  118. package/dist/internal/build-runtime.mjs +18 -18
  119. package/dist/internal/cli-runtime.cjs +5 -3
  120. package/dist/internal/cli-runtime.d.mts +7 -7
  121. package/dist/internal/cli-runtime.d.ts +7 -7
  122. package/dist/internal/cli-runtime.mjs +4 -2
  123. package/dist/internal/client-error-overlay.cjs +4 -4
  124. package/dist/internal/client-error-overlay.mjs +1 -1
  125. package/dist/internal/client-runtime.cjs +66 -40
  126. package/dist/internal/client-runtime.d.mts +6 -6
  127. package/dist/internal/client-runtime.d.ts +6 -6
  128. package/dist/internal/client-runtime.mjs +53 -27
  129. package/dist/internal/compression-runtime.d.mts +1 -1
  130. package/dist/internal/compression-runtime.d.ts +1 -1
  131. package/dist/internal/config-runtime.cjs +6 -4
  132. package/dist/internal/config-runtime.d.mts +3 -3
  133. package/dist/internal/config-runtime.d.ts +3 -3
  134. package/dist/internal/config-runtime.mjs +5 -3
  135. package/dist/internal/infra-analytics-runtime.cjs +6 -6
  136. package/dist/internal/infra-analytics-runtime.mjs +4 -4
  137. package/dist/internal/islands-boot.cjs +44 -16
  138. package/dist/internal/islands-boot.d.mts +3 -1
  139. package/dist/internal/islands-boot.d.ts +3 -1
  140. package/dist/internal/islands-boot.mjs +28 -0
  141. package/dist/internal/native-server-fns.cjs +4 -4
  142. package/dist/internal/native-server-fns.mjs +3 -3
  143. package/dist/internal/product-telemetry-runtime.cjs +3 -3
  144. package/dist/internal/product-telemetry-runtime.mjs +2 -2
  145. package/dist/internal/production-runtime.cjs +6 -6
  146. package/dist/internal/production-runtime.d.mts +10 -10
  147. package/dist/internal/production-runtime.d.ts +10 -10
  148. package/dist/internal/production-runtime.mjs +5 -5
  149. package/dist/internal/renderer-islands.cjs +35 -8
  150. package/dist/internal/renderer-islands.d.mts +9 -1
  151. package/dist/internal/renderer-islands.d.ts +9 -1
  152. package/dist/internal/renderer-islands.mjs +35 -8
  153. package/dist/internal/spa-router.d.mts +3 -3
  154. package/dist/internal/spa-router.d.ts +3 -3
  155. package/dist/internal/start-manifest.d.mts +1 -1
  156. package/dist/internal/start-manifest.d.ts +1 -1
  157. package/dist/{island-runtime.d-BA7EPo1v.d.ts → island-runtime.d-D2Mh5eTU.d.ts} +5 -1
  158. package/dist/{island-runtime.d-BBS_YUSX.d.mts → island-runtime.d-lrpEJlgg.d.mts} +5 -1
  159. package/dist/markdown.d.mts +1 -1
  160. package/dist/markdown.d.ts +1 -1
  161. package/dist/middleware.cjs +4 -4
  162. package/dist/middleware.d.mts +1 -1
  163. package/dist/middleware.d.ts +1 -1
  164. package/dist/middleware.mjs +3 -3
  165. package/dist/{mount.d-gWul1GA1.d.ts → mount.d-DyKlRR6z.d.ts} +1 -1
  166. package/dist/{mount.d-CZ_qL1iS.d.mts → mount.d-_6Un9wdK.d.mts} +1 -1
  167. package/dist/{navigation-delegate.d-BBTzhJLj.d.mts → navigation-delegate.d-ChfinbWB.d.mts} +1 -1
  168. package/dist/{navigation-delegate.d-BZsYEAet.d.ts → navigation-delegate.d-fMgELdAe.d.ts} +1 -1
  169. package/dist/navigation.d.mts +4 -4
  170. package/dist/navigation.d.ts +4 -4
  171. package/dist/{plugin-QOTAPTVV.mjs → plugin-EVKQZBNW.mjs} +1 -1
  172. package/dist/{plugin-3PT7I26P.cjs → plugin-MWO3G2XM.cjs} +2 -2
  173. package/dist/plugin.cjs +16 -16
  174. package/dist/plugin.d.mts +5 -5
  175. package/dist/plugin.d.ts +5 -5
  176. package/dist/plugin.mjs +15 -15
  177. package/dist/{render-plan.d-AaJsYPX-.d.ts → render-plan.d-D0FV9lDT.d.ts} +1 -1
  178. package/dist/{render-plan.d-bnWxS12w.d.mts → render-plan.d-DaM1NPnm.d.mts} +1 -1
  179. package/dist/renderer-client.cjs +6 -1
  180. package/dist/renderer-client.d.mts +6 -5
  181. package/dist/renderer-client.d.ts +6 -5
  182. package/dist/renderer-client.mjs +5 -0
  183. package/dist/renderer.cjs +3 -3
  184. package/dist/renderer.mjs +2 -2
  185. package/dist/{request.d-CAeitOG1.d.ts → request.d-CrXC7voZ.d.ts} +1 -1
  186. package/dist/{request.d-C2HOn3Hi.d.mts → request.d-DVSLilGx.d.mts} +1 -1
  187. package/dist/request.d.mts +2 -2
  188. package/dist/request.d.ts +2 -2
  189. package/dist/{route-rendering.d-CYA-ulnX.d.mts → route-rendering.d-CWi3UYtR.d.mts} +1 -1
  190. package/dist/{route-rendering.d-A1dIkUK5.d.ts → route-rendering.d-OfbM_rj8.d.ts} +1 -1
  191. package/dist/{router.d-A_Yt6jYz.d.ts → router.d-D5Mp7bpO.d.ts} +1 -1
  192. package/dist/{router.d-8lxnzlkr.d.mts → router.d-DrQ1QDFk.d.mts} +1 -1
  193. package/dist/routes.d.mts +1 -1
  194. package/dist/routes.d.ts +1 -1
  195. package/dist/{rsc-pipeline-BROS3NEB.mjs → rsc-pipeline-KLMQU3YP.mjs} +5 -3
  196. package/dist/{rsc-pipeline-SNGPAXGW.cjs → rsc-pipeline-TQOSDWOU.cjs} +6 -4
  197. package/dist/{runtime-SLJLW37A.mjs → runtime-BDPBO65S.mjs} +5 -3
  198. package/dist/{runtime-7T5TRAWL.cjs → runtime-CQSCRVZ7.cjs} +7 -5
  199. package/dist/{runtime.d-C_rZ9_DD.d.mts → runtime.d-BVj6apd0.d.mts} +1 -1
  200. package/dist/{runtime.d-BPyvWrgQ.d.ts → runtime.d-D7QYVJGO.d.ts} +1 -1
  201. package/dist/{server-components-status.d-BpxiEMQE.d.mts → server-components-status.d-BDVcxi0z.d.mts} +1 -1
  202. package/dist/{server-components-status.d-C2UEKJn7.d.ts → server-components-status.d-CfKDpmCH.d.ts} +1 -1
  203. package/dist/server-plugins.d.mts +3 -3
  204. package/dist/server-plugins.d.ts +3 -3
  205. package/dist/server.cjs +37 -37
  206. package/dist/server.d.mts +11 -11
  207. package/dist/server.d.ts +11 -11
  208. package/dist/server.mjs +17 -17
  209. package/dist/{spa-router.d-Cw5i_15e.d.ts → spa-router.d-BXxoU3Cv.d.ts} +2 -2
  210. package/dist/{spa-router.d-BD-6WX1R.d.mts → spa-router.d-CXgvy-7L.d.mts} +2 -2
  211. package/dist/{ssg.d-CCE9aob5.d.mts → ssg.d-DS-gXUbf.d.mts} +2 -2
  212. package/dist/{ssg.d-Bifiq0EL.d.ts → ssg.d-jXlUAKzg.d.ts} +2 -2
  213. package/dist/{store-core.d-BN2MxSG9.d.mts → store-core.d-CDbVAbTn.d.mts} +3 -2
  214. package/dist/{store-core.d-5tVn5vi1.d.ts → store-core.d-D00BsbnO.d.ts} +3 -2
  215. package/dist/testing.cjs +2 -2
  216. package/dist/testing.d.mts +1 -1
  217. package/dist/testing.d.ts +1 -1
  218. package/dist/testing.mjs +2 -2
  219. package/dist/{utils.d-BUjpSNIO.d.ts → utils.d-BODwBtkz.d.ts} +1 -1
  220. package/dist/{utils.d-wGPLeVbq.d.mts → utils.d-Cmj-fzds.d.mts} +1 -1
  221. package/dist/version.cjs +2 -2
  222. package/dist/version.mjs +1 -1
  223. package/dist/vite.cjs +21 -19
  224. package/dist/vite.d.mts +21 -7
  225. package/dist/vite.d.ts +21 -7
  226. package/dist/vite.mjs +20 -18
  227. package/package.json +2 -2
  228. package/dist/analyzer-OEMQSLYT.cjs +0 -17
  229. package/dist/chunk-7EPYN7GW.cjs +0 -30
  230. package/dist/chunk-HZOMT5DY.mjs +0 -30
  231. package/dist/{chunk-4B6YJ5DS.cjs → chunk-4ZVKDHS6.cjs} +3 -3
  232. package/dist/{chunk-4EEAPBNV.mjs → chunk-PEQJ4UUT.mjs} +3 -3
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-HR4N2K4V.mjs";
5
5
  import {
6
6
  normalizeFarmProductionSiteOrigin
7
- } from "./chunk-7UTRNV6R.mjs";
7
+ } from "./chunk-Q73LRKLP.mjs";
8
8
  import {
9
9
  resolveFarmAppManifestConfig
10
10
  } from "./chunk-SQ5O7I3L.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-YT2ZMLXK.mjs";
30
30
  import {
31
31
  FARM_VERSION
32
- } from "./chunk-GWPANDW3.mjs";
32
+ } from "./chunk-O7K4HMAQ.mjs";
33
33
  import {
34
34
  applyFarmBasePath
35
35
  } from "./chunk-SF3JB56B.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getFarmRouteLabel
3
- } from "./chunk-CVKTYG4L.mjs";
3
+ } from "./chunk-4FGTNYHE.mjs";
4
4
  import {
5
5
  _classifyFarmMCPSession,
6
6
  _farmMCPClientSession,
@@ -18,14 +18,14 @@ var _chunkCCAUIBIScjs = require('./chunk-CCAUIBIS.cjs');
18
18
  var _chunkWMRGIQTAcjs = require('./chunk-WMRGIQTA.cjs');
19
19
 
20
20
 
21
- var _chunk2NKNP4AHcjs = require('./chunk-2NKNP4AH.cjs');
21
+ var _chunkHYL372GWcjs = require('./chunk-HYL372GW.cjs');
22
22
 
23
23
  // src/mobile/analyzer.ts
24
24
  var _crypto = require('crypto');
25
25
  var _fs = require('fs');
26
26
  var _promises = require('fs/promises');
27
27
  var _path = require('path'); var path = _interopRequireWildcard(_path);
28
- var ANALYZER_VERSION = `8:${_chunk2NKNP4AHcjs.FARM_VERSION}`;
28
+ var ANALYZER_VERSION = `8:${_chunkHYL372GWcjs.FARM_VERSION}`;
29
29
  var INTRINSIC_KINDS = {};
30
30
  for (const tag of "div section main article header footer nav aside figure hr li".split(" ")) {
31
31
  INTRINSIC_KINDS[tag] = "View";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RLEAVG6G.mjs";
4
4
  import {
5
5
  resolveDeployOutputPath
6
- } from "./chunk-KHIEGVG7.mjs";
6
+ } from "./chunk-ALOFMAFA.mjs";
7
7
  import {
8
8
  farmDesktopDevGuardPlugin,
9
9
  loadFarmReactPlugin
@@ -217,7 +217,7 @@ async function resolveFarmRscServerPlugins(userConfig, config, root) {
217
217
  }
218
218
  async function configureFarmRscPlugins(config, command) {
219
219
  if (config.plugins.length === 0) return config;
220
- const { PluginManager } = await import("./plugin-QOTAPTVV.mjs");
220
+ const { PluginManager } = await import("./plugin-EVKQZBNW.mjs");
221
221
  const manager = new PluginManager({
222
222
  config,
223
223
  isDev: command === "serve",
@@ -16,6 +16,9 @@ import {
16
16
  import {
17
17
  resolveFarmDevtoolsConfig
18
18
  } from "./chunk-CU5SYTJG.mjs";
19
+ import {
20
+ resolveFarmRendererServerComponentsIslands
21
+ } from "./chunk-X2SMVPLH.mjs";
19
22
  import {
20
23
  resolveFarmAgentCrawlers,
21
24
  resolveFarmAgentSitemap,
@@ -46,9 +49,6 @@ import {
46
49
  resolveFarmRenderer,
47
50
  resolveFarmServerComponentsMode
48
51
  } from "./chunk-HV6CYSMF.mjs";
49
- import {
50
- resolveFarmImageConfig
51
- } from "./chunk-AOIUYHPH.mjs";
52
52
  import {
53
53
  FARM_CRON_NAME_SEGMENT_PATTERN,
54
54
  normalizeCronExpression,
@@ -94,6 +94,9 @@ import {
94
94
  import {
95
95
  resolveFarmAPIConfig
96
96
  } from "./chunk-W6QLRQ3V.mjs";
97
+ import {
98
+ resolveFarmImageConfig
99
+ } from "./chunk-AOIUYHPH.mjs";
97
100
  import {
98
101
  normalizeFarmDeploymentId
99
102
  } from "./chunk-IWJONXPF.mjs";
@@ -1054,6 +1057,7 @@ async function resolveConfig(userConfig, mode) {
1054
1057
  mode
1055
1058
  });
1056
1059
  userConfig = layerResolution.config;
1060
+ const rendererServerComponentsIslands = resolveFarmRendererServerComponentsIslands(userConfig);
1057
1061
  if (userConfig.typescript !== void 0) {
1058
1062
  logger.warn(
1059
1063
  'The top-level "typescript" option is not supported and has no effect. Configure TypeScript in `tsconfig.json` and run `tsc --noEmit` separately when builds must enforce project type errors.'
@@ -1181,7 +1185,9 @@ async function resolveConfig(userConfig, mode) {
1181
1185
  // isolatedClientHydration itself.
1182
1186
  isolatedClientHydration: resolveFarmServerComponentsMode(userConfig.experimental?.serverComponents) === "islands" ? "enabled" : "off",
1183
1187
  ppr: false,
1184
- ...userConfig.experimental
1188
+ ...userConfig.experimental,
1189
+ // Another renderer's islands run without Farm's server components engine, which renders React.
1190
+ ...rendererServerComponentsIslands ? { serverComponents: false } : {}
1185
1191
  },
1186
1192
  agent: resolveFarmAgentConfig(userConfig.agent, {
1187
1193
  docs: docs.enabled,
@@ -18,7 +18,7 @@ var _chunkHR5GU4UUcjs = require('./chunk-HR5GU4UU.cjs');
18
18
  var _chunkNDOE76QCcjs = require('./chunk-NDOE76QC.cjs');
19
19
 
20
20
 
21
- var _chunkFDU4Q4QPcjs = require('./chunk-FDU4Q4QP.cjs');
21
+ var _chunkMZR22RACcjs = require('./chunk-MZR22RAC.cjs');
22
22
 
23
23
 
24
24
 
@@ -599,7 +599,7 @@ async function resolveAPIContext(options) {
599
599
  config: options.config,
600
600
  configPath: options.configPath
601
601
  }));
602
- const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkFDU4Q4QPcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
602
+ const docs = isResolvedDocsConfig(docsInput) ? docsInput : await _chunkMZR22RACcjs.resolveDocsConfig.call(void 0, docsInput, { root, srcDir });
603
603
  const guardedPaths = new Set(_nullishCoalesce(_optionalChain([runtimeConfig, 'optionalAccess', _25 => _25.guardedPaths]), () => ( [])));
604
604
  return {
605
605
  root,
@@ -28,7 +28,7 @@ import {
28
28
  } from "./chunk-VHIXGZYH.mjs";
29
29
  import {
30
30
  loadFarmDevModule
31
- } from "./chunk-7H2TXT2K.mjs";
31
+ } from "./chunk-HX5HLFBZ.mjs";
32
32
  import {
33
33
  logger
34
34
  } from "./chunk-U6GMCDRS.mjs";
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  collectFarmNativeServerFns,
34
34
  findFarmNativeScreenFiles
35
- } from "./chunk-YMAE32O7.mjs";
35
+ } from "./chunk-3F55K4MC.mjs";
36
36
  import {
37
37
  assertFarmDocsAdapterServesNoGuardedPages,
38
38
  compileFarmDocsAdapterEdgeManifest,
@@ -40,7 +40,7 @@ import {
40
40
  farmDocsAdapterServesGuardedPages,
41
41
  listFarmDocsAdapterPages,
42
42
  listFarmDocsPagePaths
43
- } from "./chunk-PAENAKTC.mjs";
43
+ } from "./chunk-QSDIJ45N.mjs";
44
44
  import {
45
45
  FARM_DOCS_LAST_MODIFIED_MANIFEST,
46
46
  createFarmDocsHandler,
@@ -70,7 +70,7 @@ import {
70
70
  getDeployTargetForPreset,
71
71
  hasCustomFarmRouteContext,
72
72
  resolveDeployOutputPath
73
- } from "./chunk-KHIEGVG7.mjs";
73
+ } from "./chunk-ALOFMAFA.mjs";
74
74
  import {
75
75
  resolveFarmInstrumentationFile
76
76
  } from "./chunk-QRNYSISP.mjs";
@@ -103,6 +103,7 @@ import {
103
103
  generateClientCachePersistenceCode,
104
104
  generateFarmIntegrationProviderClientCode,
105
105
  generateFarmIntegrationProviderServerModules,
106
+ isFarmLayoutModule,
106
107
  isRendererCompiledComponent,
107
108
  mergeFarmFontCss,
108
109
  mergeFarmProductionViteConfig,
@@ -115,7 +116,7 @@ import {
115
116
  resolveFarmNotFoundComponentPath,
116
117
  resolveFarmRouteRootStrategy,
117
118
  toBakedMarkdownSourcePath
118
- } from "./chunk-3TKGMIPX.mjs";
119
+ } from "./chunk-QLRI2BX5.mjs";
119
120
  import {
120
121
  TAILWIND_CSS_BROWSER_TARGET,
121
122
  generateFarmClientPluginEntryCode,
@@ -132,13 +133,10 @@ import {
132
133
  resolveRouteRenderingConfig,
133
134
  resolveRouteRenderingConfigFromFile
134
135
  } from "./chunk-4SJ22WTT.mjs";
135
- import {
136
- usesFarmRendererIslands
137
- } from "./chunk-VTEAUQMT.mjs";
138
136
  import {
139
137
  FARM_PRERENDER_ENV,
140
138
  _farmWebMCPReportsEnabled
141
- } from "./chunk-CFKAYV7B.mjs";
139
+ } from "./chunk-5D73SKF3.mjs";
142
140
  import {
143
141
  HOISTED_HEAD_ELEMENT,
144
142
  appMiddlewareMayHandlePath,
@@ -151,7 +149,7 @@ import {
151
149
  layoutsCanCoverSamePage,
152
150
  routeBoundaryCoversDirectory,
153
151
  stripRouteGroups
154
- } from "./chunk-4EEAPBNV.mjs";
152
+ } from "./chunk-PEQJ4UUT.mjs";
155
153
  import {
156
154
  FARM_NATIVE_TREE_CONTENT_TYPE
157
155
  } from "./chunk-LLZSYFOM.mjs";
@@ -165,7 +163,7 @@ import {
165
163
  listFarmBuiltInRoutePaths,
166
164
  resolveFarmApiCatalogInput,
167
165
  resolveFarmAppManifestInput
168
- } from "./chunk-CVKTYG4L.mjs";
166
+ } from "./chunk-4FGTNYHE.mjs";
169
167
  import {
170
168
  FARM_DEFAULT_MCP_PATH,
171
169
  createFarmDefaultMCPServer,
@@ -173,7 +171,7 @@ import {
173
171
  } from "./chunk-HR4N2K4V.mjs";
174
172
  import {
175
173
  isFarmPreviewDeploymentEnvironment
176
- } from "./chunk-7UTRNV6R.mjs";
174
+ } from "./chunk-Q73LRKLP.mjs";
177
175
  import {
178
176
  FARM_NATIVE_SERVER_FN_PLUGIN
179
177
  } from "./chunk-L4RTTTVE.mjs";
@@ -194,7 +192,7 @@ import {
194
192
  withFarmSourceSnapshot,
195
193
  withFarmSourceSnapshotOf,
196
194
  withPackageClientBoundaryCache
197
- } from "./chunk-SB74WCKC.mjs";
195
+ } from "./chunk-26HESRBL.mjs";
198
196
  import {
199
197
  generateFarmDocsAdapterClientRuntime,
200
198
  getFarmDocsAdapterConfigModule
@@ -212,6 +210,9 @@ import {
212
210
  nitroRouteRulesBelowBasePath,
213
211
  routeRulesToNitroRouteRules
214
212
  } from "./chunk-YVVY276M.mjs";
213
+ import {
214
+ usesFarmRendererIslands
215
+ } from "./chunk-X2SMVPLH.mjs";
215
216
  import {
216
217
  applyFarmCspHashesToHtml,
217
218
  createFarmCspNonce
@@ -280,7 +281,7 @@ import {
280
281
  } from "./chunk-QD34VE4N.mjs";
281
282
  import {
282
283
  APIRouteManager
283
- } from "./chunk-NAHDG6UX.mjs";
284
+ } from "./chunk-HFRG2IQS.mjs";
284
285
  import {
285
286
  readFarmI18nCatalogs
286
287
  } from "./chunk-VO55MMBX.mjs";
@@ -308,7 +309,7 @@ import {
308
309
  } from "./chunk-2I6PUKWJ.mjs";
309
310
  import {
310
311
  FARM_VERSION
311
- } from "./chunk-GWPANDW3.mjs";
312
+ } from "./chunk-O7K4HMAQ.mjs";
312
313
  import {
313
314
  FARM_VIDEO_PLAYER_PATH
314
315
  } from "./chunk-AG27TI6Q.mjs";
@@ -893,15 +894,26 @@ function encodeFarmBuildJSONPlaceholder(value) {
893
894
 
894
895
  // src/nitro/islands-react-chunk.ts
895
896
  var REACT_MODULE = /[\\/]node_modules[\\/](?:react|react-dom|scheduler)[\\/]/;
896
- function createFarmIslandsReactChunkGroup() {
897
+ var REACT_DOM_MODULE = /[\\/]node_modules[\\/]react-dom[\\/]/;
898
+ var FARM_EAGER_COMPILE_HINT = "//# allFunctionsCalledOnLoad";
899
+ function createFarmIslandsReactOutput() {
897
900
  let entryImportsReact;
898
901
  return {
899
- debugName: "react",
900
- name(moduleId, context) {
901
- if (!REACT_MODULE.test(moduleId)) return null;
902
- entryImportsReact ?? (entryImportsReact = reactLoadsWithAnEntry(moduleId, context));
903
- return entryImportsReact ? null : "react";
904
- }
902
+ codeSplitting: {
903
+ groups: [
904
+ {
905
+ debugName: "react",
906
+ name(moduleId, context) {
907
+ if (!REACT_MODULE.test(moduleId)) return null;
908
+ entryImportsReact ?? (entryImportsReact = reactLoadsWithAnEntry(moduleId, context));
909
+ return entryImportsReact ? null : "react";
910
+ }
911
+ }
912
+ ]
913
+ },
914
+ // After minification, so the hint stays the chunk's first line; its source map accounts for it.
915
+ // Rolldown adds a line after any string, an empty one too, so other chunks get none.
916
+ postBanner: ((chunk) => entryImportsReact === false && chunk.moduleIds.some((id) => REACT_DOM_MODULE.test(id)) ? FARM_EAGER_COMPILE_HINT : void 0)
905
917
  };
906
918
  }
907
919
  function reactLoadsWithAnEntry(moduleId, context) {
@@ -925,14 +937,25 @@ function reactLoadsWithAnEntry(moduleId, context) {
925
937
  }
926
938
  return false;
927
939
  }
928
- function configuresFarmClientChunks(vite) {
929
- const build2 = vite?.build;
930
- const outputs = [build2?.rollupOptions?.output, build2?.rolldownOptions?.output].flat();
931
- return outputs.some(
932
- (output) => !!output && typeof output === "object" && ["manualChunks", "advancedChunks", "codeSplitting", "inlineDynamicImports"].some(
933
- (key) => output[key] !== void 0
934
- )
935
- );
940
+ var CHUNKING_OPTIONS = [
941
+ "manualChunks",
942
+ "advancedChunks",
943
+ "codeSplitting",
944
+ "inlineDynamicImports"
945
+ ];
946
+ function createFarmIslandsReactChunkPlugin() {
947
+ return {
948
+ name: "farm-islands-react-chunk",
949
+ enforce: "post",
950
+ outputOptions: {
951
+ order: "post",
952
+ handler(options) {
953
+ if (CHUNKING_OPTIONS.some((key) => options[key] !== void 0)) return null;
954
+ const { codeSplitting, postBanner } = createFarmIslandsReactOutput();
955
+ return { ...options, codeSplitting, postBanner: options.postBanner ?? postBanner };
956
+ }
957
+ }
958
+ };
936
959
  }
937
960
 
938
961
  // src/nitro/client-route-table.ts
@@ -3210,7 +3233,7 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
3210
3233
  farmPlugin,
3211
3234
  farmServerOnlyEntriesPlugin
3212
3235
  } = await import("./vite.mjs");
3213
- const { PluginManager: PluginManager2 } = await import("./plugin-QOTAPTVV.mjs");
3236
+ const { PluginManager: PluginManager2 } = await import("./plugin-EVKQZBNW.mjs");
3214
3237
  const fs5 = await import("fs/promises");
3215
3238
  const pluginManager = new PluginManager2({
3216
3239
  config,
@@ -3595,7 +3618,6 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
3595
3618
  entryFileNames: "[name]-h[hash].js",
3596
3619
  chunkFileNames: "chunks/[name]-h[hash].js",
3597
3620
  hashCharacters: "hex",
3598
- ...islandsMode && isReactRenderer(config.renderer) && !configuresFarmClientChunks(config.vite) ? { codeSplitting: { groups: [createFarmIslandsReactChunkGroup()] } } : {},
3599
3621
  // Use predictable name for CSS so we can reference it in SSR HTML
3600
3622
  assetFileNames: (assetInfo) => {
3601
3623
  if (assetInfo.name?.endsWith(".css")) {
@@ -3665,6 +3687,8 @@ async function buildClient(productionVite, config, root, srcDir, outputDir, page
3665
3687
  ...tailwindVitePlugin ? [tailwindVitePlugin] : [],
3666
3688
  ...rendererVitePlugins,
3667
3689
  ...config.vite.plugins || [],
3690
+ // React in one chunk, unless the app's config or one of its plugins splits chunks.
3691
+ ...islandsMode && isReactRenderer(config.renderer) ? [createFarmIslandsReactChunkPlugin()] : [],
3668
3692
  farmServerOnlyEntriesPlugin({ platform, distDir: config.distDir || ".farm" }),
3669
3693
  farmNavigationPlugin(config.renderer),
3670
3694
  farmDocsClientConfigPlugin(
@@ -5644,8 +5668,9 @@ let hydrateRoot;
5644
5668
  let farmRendererLoading = null;
5645
5669
  let farmRendererLoaded = false;${isolatedHydrationEnabled ? `
5646
5670
  // The boot stops holding interactions once this entry runs. Until islx loads, islands that have not
5647
- // hydrated hold them here, for their schedulers to replay.
5648
- const releaseFarmIslandInteractions = holdFarmIslandInteractions("f-island");` : ""}
5671
+ // hydrated hold them here, for their schedulers to replay, and a server component's form waits for
5672
+ // islx to post it without a page load.
5673
+ const releaseFarmIslandInteractions = holdFarmIslandInteractions("f-island", loadFarmRenderer);` : ""}
5649
5674
  function loadFarmRenderer() {
5650
5675
  return farmRendererLoading || (farmRendererLoading = Promise.all([
5651
5676
  import("react"),
@@ -7319,7 +7344,7 @@ async function buildSSRInMemory(productionVite, config, root, routeManager, apiR
7319
7344
  farmPlugin,
7320
7345
  farmServerOnlyEntriesPlugin
7321
7346
  } = await import("./vite.mjs");
7322
- const { PluginManager: PluginManager2 } = await import("./plugin-QOTAPTVV.mjs");
7347
+ const { PluginManager: PluginManager2 } = await import("./plugin-EVKQZBNW.mjs");
7323
7348
  const fs5 = await import("fs/promises");
7324
7349
  const pluginManager = new PluginManager2({
7325
7350
  config,
@@ -15711,7 +15736,8 @@ async function createProjectModuleServer(createViteServer, config, root, buildLi
15711
15736
  farmFontImportsPlugin({
15712
15737
  root,
15713
15738
  basePath: config.basePath,
15714
- publicDir: config.publicDir
15739
+ publicDir: config.publicDir,
15740
+ isLayoutModule: (id) => isFarmLayoutModule(id, getFarmAppDirectories(config))
15715
15741
  }),
15716
15742
  farmEnvironmentFunctionsPlugin({ renderer: config.renderer }),
15717
15743
  // Route modules load here at build time (rendering config, prerendering): `server-only`
@@ -15785,7 +15811,7 @@ async function buildClient2(viteBuild, config, root, srcDir, outputDir) {
15785
15811
  farmPlugin,
15786
15812
  farmServerOnlyEntriesPlugin
15787
15813
  } = await import("./vite.mjs");
15788
- const { PluginManager: PluginManager2 } = await import("./plugin-QOTAPTVV.mjs");
15814
+ const { PluginManager: PluginManager2 } = await import("./plugin-EVKQZBNW.mjs");
15789
15815
  const pluginManager = new PluginManager2({
15790
15816
  config,
15791
15817
  isDev: false,
@@ -15814,7 +15840,7 @@ async function buildClient2(viteBuild, config, root, srcDir, outputDir) {
15814
15840
  }
15815
15841
  async function buildSSR(viteBuild, config, root, srcDir, outputDir) {
15816
15842
  const { farmI18nClientBridgePlugin, farmIslandContainersPlugin, farmPlugin } = await import("./vite.mjs");
15817
- const { PluginManager: PluginManager2 } = await import("./plugin-QOTAPTVV.mjs");
15843
+ const { PluginManager: PluginManager2 } = await import("./plugin-EVKQZBNW.mjs");
15818
15844
  const pluginManager = new PluginManager2({
15819
15845
  config,
15820
15846
  isDev: false,
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-VHIXGZYH.mjs";
38
38
  import {
39
39
  loadFarmDevModule
40
- } from "./chunk-7H2TXT2K.mjs";
40
+ } from "./chunk-HX5HLFBZ.mjs";
41
41
  import {
42
42
  logger
43
43
  } from "./chunk-U6GMCDRS.mjs";
@@ -8,6 +8,12 @@ async function startPluginContainer(server) {
8
8
  await container.buildStart?.();
9
9
  startedContainers.add(container);
10
10
  }
11
+ function createFarmDevModuleCheck(server, exports, environmentName = "ssr") {
12
+ const modules = server.environments[environmentName]?.runner?.evaluatedModules;
13
+ const node = modules ? Array.from(modules.idToModuleMap.values()).find((module) => module.exports === exports) : void 0;
14
+ if (!modules || !node) return () => true;
15
+ return () => node.evaluated && modules.getModuleById(node.id) === node;
16
+ }
11
17
  var FarmDevEnvironmentError = class extends Error {
12
18
  };
13
19
  async function loadFarmDevModule(server, id, environmentName = "ssr") {
@@ -90,6 +96,7 @@ function invalidateFailedFarmDevModules(server) {
90
96
  }
91
97
 
92
98
  export {
99
+ createFarmDevModuleCheck,
93
100
  FarmDevEnvironmentError,
94
101
  loadFarmDevModule,
95
102
  invalidateFarmDevDependents,
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});// package.json
2
- var version = "0.1.86";
2
+ var version = "0.1.87";
3
3
 
4
4
  // src/version.ts
5
5
  var FARM_VERSION = version;
@@ -8,11 +8,17 @@ async function startPluginContainer(server) {
8
8
  await _optionalChain([container, 'access', _7 => _7.buildStart, 'optionalCall', _8 => _8()]);
9
9
  startedContainers.add(container);
10
10
  }
11
+ function createFarmDevModuleCheck(server, exports, environmentName = "ssr") {
12
+ const modules = _optionalChain([server, 'access', _9 => _9.environments, 'access', _10 => _10[environmentName], 'optionalAccess', _11 => _11.runner, 'optionalAccess', _12 => _12.evaluatedModules]);
13
+ const node = modules ? Array.from(modules.idToModuleMap.values()).find((module) => module.exports === exports) : void 0;
14
+ if (!modules || !node) return () => true;
15
+ return () => node.evaluated && modules.getModuleById(node.id) === node;
16
+ }
11
17
  var FarmDevEnvironmentError = class extends Error {
12
18
  };
13
19
  async function loadFarmDevModule(server, id, environmentName = "ssr") {
14
20
  const environment = server.environments[environmentName];
15
- const runner = _optionalChain([environment, 'optionalAccess', _9 => _9.runner]);
21
+ const runner = _optionalChain([environment, 'optionalAccess', _13 => _13.runner]);
16
22
  if (!environment || !runner || typeof runner.import !== "function") {
17
23
  throw new FarmDevEnvironmentError(
18
24
  `[Farm.js] Cannot load ${JSON.stringify(id)}: the "${environmentName}" development environment must provide a module runner. Remote runtimes require a request/response adapter.`
@@ -25,7 +31,7 @@ async function loadFarmDevModule(server, id, environmentName = "ssr") {
25
31
  const failures = _nullishCoalesce(failedModules.get(environment), () => ( /* @__PURE__ */ new Map()));
26
32
  failedModules.set(environment, failures);
27
33
  await Promise.all(
28
- [..._nullishCoalesce(_optionalChain([runner, 'access', _10 => _10.evaluatedModules, 'optionalAccess', _11 => _11.idToModuleMap, 'access', _12 => _12.values, 'call', _13 => _13()]), () => ( []))].filter((module) => module.evaluated && module.promise).map(async (module) => {
34
+ [..._nullishCoalesce(_optionalChain([runner, 'access', _14 => _14.evaluatedModules, 'optionalAccess', _15 => _15.idToModuleMap, 'access', _16 => _16.values, 'call', _17 => _17()]), () => ( []))].filter((module) => module.evaluated && module.promise).map(async (module) => {
29
35
  try {
30
36
  await module.promise;
31
37
  } catch (e) {
@@ -38,7 +44,7 @@ async function loadFarmDevModule(server, id, environmentName = "ssr") {
38
44
  }
39
45
  function invalidateFarmDevDependents(server, file, targets, environmentName = "ssr") {
40
46
  const environment = server.environments[environmentName];
41
- const graph = _optionalChain([environment, 'optionalAccess', _14 => _14.moduleGraph]);
47
+ const graph = _optionalChain([environment, 'optionalAccess', _18 => _18.moduleGraph]);
42
48
  if (!graph || targets.size === 0) return [];
43
49
  const posix = (filePath) => filePath.replace(/\\/g, "/");
44
50
  const byFile = new Map([...targets].map((target) => [posix(target), target]));
@@ -64,10 +70,10 @@ function invalidateFarmDevDependents(server, file, targets, environmentName = "s
64
70
  if (!importer.acceptedHmrDeps.has(node)) staleQueue.push(importer);
65
71
  }
66
72
  }
67
- const evaluatedModules = _optionalChain([environment, 'access', _15 => _15.runner, 'optionalAccess', _16 => _16.evaluatedModules]);
73
+ const evaluatedModules = _optionalChain([environment, 'access', _19 => _19.runner, 'optionalAccess', _20 => _20.evaluatedModules]);
68
74
  for (const node of stale) {
69
75
  graph.invalidateModule(node);
70
- const evaluated = node.id ? _optionalChain([evaluatedModules, 'optionalAccess', _17 => _17.getModuleById, 'call', _18 => _18(node.id)]) : void 0;
76
+ const evaluated = node.id ? _optionalChain([evaluatedModules, 'optionalAccess', _21 => _21.getModuleById, 'call', _22 => _22(node.id)]) : void 0;
71
77
  if (evaluated) evaluatedModules.invalidateModule(evaluated);
72
78
  }
73
79
  return [...reached];
@@ -76,11 +82,11 @@ function invalidateFailedFarmDevModules(server) {
76
82
  for (const entry of Object.values(server.environments)) {
77
83
  const environment = entry;
78
84
  const failures = failedModules.get(environment);
79
- if (!_optionalChain([failures, 'optionalAccess', _19 => _19.size])) continue;
85
+ if (!_optionalChain([failures, 'optionalAccess', _23 => _23.size])) continue;
80
86
  const runner = environment.runner;
81
87
  for (const [id, failed] of failures) {
82
88
  const evaluated = runner.evaluatedModules.getModuleById(id);
83
- if (_optionalChain([evaluated, 'optionalAccess', _20 => _20.promise]) !== failed) continue;
89
+ if (_optionalChain([evaluated, 'optionalAccess', _24 => _24.promise]) !== failed) continue;
84
90
  const transformed = environment.moduleGraph.getModuleById(id);
85
91
  if (transformed) environment.moduleGraph.invalidateModule(transformed);
86
92
  if (evaluated) runner.evaluatedModules.invalidateModule(evaluated);
@@ -94,4 +100,5 @@ function invalidateFailedFarmDevModules(server) {
94
100
 
95
101
 
96
102
 
97
- exports.FarmDevEnvironmentError = FarmDevEnvironmentError; exports.loadFarmDevModule = loadFarmDevModule; exports.invalidateFarmDevDependents = invalidateFarmDevDependents; exports.invalidateFailedFarmDevModules = invalidateFailedFarmDevModules;
103
+
104
+ exports.createFarmDevModuleCheck = createFarmDevModuleCheck; exports.FarmDevEnvironmentError = FarmDevEnvironmentError; exports.loadFarmDevModule = loadFarmDevModule; exports.invalidateFarmDevDependents = invalidateFarmDevDependents; exports.invalidateFailedFarmDevModules = invalidateFailedFarmDevModules;
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunk2NKNP4AHcjs = require('./chunk-2NKNP4AH.cjs');
3
+ var _chunkHYL372GWcjs = require('./chunk-HYL372GW.cjs');
4
4
 
5
5
  // src/deployment-environment.ts
6
6
  function isFarmProductionDeploymentEnvironment(env = process.env) {
@@ -90,7 +90,7 @@ function createFarmProductionSiteReporter(options) {
90
90
  schemaVersion: FARM_PRODUCTION_SITE_TELEMETRY_SCHEMA_VERSION,
91
91
  eventType: FARM_PRODUCTION_SITE_ATTESTATION_EVENT_TYPE,
92
92
  packageName: FARM_PRODUCTION_SITE_TELEMETRY_PACKAGE_NAME,
93
- packageVersion: sanitizeDetail(_chunk2NKNP4AHcjs.FARM_VERSION, "unknown"),
93
+ packageVersion: sanitizeDetail(_chunkHYL372GWcjs.FARM_VERSION, "unknown"),
94
94
  renderer: sanitizeDetail(options.renderer, "custom"),
95
95
  deployTarget: sanitizeDetail(options.deployTarget, "custom")
96
96
  };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IYEY3JWJ.mjs";
10
10
  import {
11
11
  APIRouteConflictError
12
- } from "./chunk-NAHDG6UX.mjs";
12
+ } from "./chunk-HFRG2IQS.mjs";
13
13
  import {
14
14
  findProgrammaticRouteFilesInDir
15
15
  } from "./chunk-URBP6DLH.mjs";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-O5QUJEWT.mjs";
39
39
  import {
40
40
  loadFarmDevModule
41
- } from "./chunk-7H2TXT2K.mjs";
41
+ } from "./chunk-HX5HLFBZ.mjs";
42
42
  import {
43
43
  isFarmI18nCatalogFile,
44
44
  resolveFarmI18nConfig