@bleedingdev/modern-js-ultramodern-create 3.9.0-ultramodern.2 → 3.9.0-ultramodern.21

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 (442) hide show
  1. package/README.md +43 -74
  2. package/dist/cjs/cli/package-source.cjs +2 -2
  3. package/dist/cjs/cli/project-setup.cjs +2 -22
  4. package/dist/cjs/index.cjs +9 -1
  5. package/dist/cjs/locale/en.cjs +2 -1
  6. package/dist/cjs/locale/zh.cjs +2 -1
  7. package/dist/cjs/ultramodern-package-source.cjs +13 -9
  8. package/dist/cjs/ultramodern-release-cohort.cjs +6 -21
  9. package/dist/cjs/ultramodern-tooling/commands/cloudflare-output-verify.cjs +49 -56
  10. package/dist/cjs/ultramodern-tooling/commands/context.cjs +11 -29
  11. package/dist/cjs/ultramodern-tooling/commands/routes-generate-app.cjs +67 -0
  12. package/dist/cjs/ultramodern-tooling/commands/routes-generate.cjs +24 -53
  13. package/dist/cjs/ultramodern-tooling/commands/validate.cjs +5 -11
  14. package/dist/cjs/ultramodern-tooling/commands.cjs +15 -8
  15. package/dist/cjs/ultramodern-tooling/config/index.cjs +10 -24
  16. package/dist/cjs/ultramodern-tooling/config/load.cjs +12 -10
  17. package/dist/cjs/ultramodern-tooling/config/metadata.cjs +34 -32
  18. package/dist/cjs/ultramodern-tooling/config/normalize.cjs +165 -164
  19. package/dist/cjs/ultramodern-workspace/add-shell.cjs +118 -118
  20. package/dist/cjs/ultramodern-workspace/add-vertical/execute.cjs +121 -25
  21. package/dist/cjs/ultramodern-workspace/add-vertical/plan.cjs +14 -160
  22. package/dist/cjs/ultramodern-workspace/add-vertical/preflight.cjs +16 -48
  23. package/dist/cjs/ultramodern-workspace/add-vertical/preview.cjs +78 -0
  24. package/dist/cjs/ultramodern-workspace/add-vertical/shell-files.cjs +87 -24
  25. package/dist/cjs/ultramodern-workspace/add-vertical/topology.cjs +4 -1
  26. package/dist/cjs/ultramodern-workspace/add-vertical/transaction.cjs +378 -45
  27. package/dist/cjs/ultramodern-workspace/add-vertical/workspace-state.cjs +21 -44
  28. package/dist/cjs/ultramodern-workspace/add-vertical.cjs +0 -9
  29. package/dist/cjs/ultramodern-workspace/api/client.cjs +5 -5
  30. package/dist/cjs/ultramodern-workspace/api/contracts.cjs +2 -2
  31. package/dist/cjs/ultramodern-workspace/api/rpc.cjs +20 -18
  32. package/dist/cjs/ultramodern-workspace/api/service.cjs +49 -24
  33. package/dist/cjs/ultramodern-workspace/api/shared.cjs +28 -18
  34. package/dist/cjs/ultramodern-workspace/app-files.cjs +3 -23
  35. package/dist/cjs/ultramodern-workspace/backend-federation.cjs +27 -27
  36. package/dist/cjs/ultramodern-workspace/contracts.cjs +14 -183
  37. package/dist/cjs/ultramodern-workspace/delivery-unit-schema/surfaces.cjs +85 -0
  38. package/dist/cjs/ultramodern-workspace/delivery-unit-schema/types.cjs +8 -85
  39. package/dist/cjs/ultramodern-workspace/delivery-unit-stamp.cjs +16 -4
  40. package/dist/cjs/ultramodern-workspace/delivery-unit-sync.cjs +27 -17
  41. package/dist/cjs/ultramodern-workspace/delivery-unit.cjs +16 -10
  42. package/dist/cjs/ultramodern-workspace/demo-components.cjs +66 -433
  43. package/dist/cjs/ultramodern-workspace/descriptors.cjs +0 -4
  44. package/dist/cjs/ultramodern-workspace/fs-io.cjs +37 -2
  45. package/dist/cjs/ultramodern-workspace/generation-result.cjs +4 -4
  46. package/dist/cjs/ultramodern-workspace/index.cjs +2 -5
  47. package/dist/cjs/ultramodern-workspace/mf-validation/constants.cjs +0 -6
  48. package/dist/cjs/ultramodern-workspace/mf-validation/discovery.cjs +6 -6
  49. package/dist/cjs/{ultramodern-tooling/commands/migrate-strict-effect/generated-patches.cjs → ultramodern-workspace/mf-validation/exposes.cjs} +13 -17
  50. package/dist/cjs/ultramodern-workspace/mf-validation/inspect.cjs +26 -7
  51. package/dist/cjs/ultramodern-workspace/mf-validation/object-literal.cjs +21 -122
  52. package/dist/cjs/ultramodern-workspace/mf-validation/path-utils.cjs +37 -38
  53. package/dist/cjs/ultramodern-workspace/mf-validation/syntax.cjs +93 -153
  54. package/dist/cjs/ultramodern-workspace/mf-validation.cjs +4 -0
  55. package/dist/cjs/ultramodern-workspace/module-federation/config.cjs +24 -29
  56. package/dist/cjs/ultramodern-workspace/module-federation/reexport-module.cjs +39 -58
  57. package/dist/cjs/ultramodern-workspace/module-federation/remote-refs.cjs +1 -43
  58. package/dist/cjs/ultramodern-workspace/package-json.cjs +63 -37
  59. package/dist/cjs/ultramodern-workspace/patch-inventory.cjs +104 -0
  60. package/dist/cjs/ultramodern-workspace/policy.cjs +3 -577
  61. package/dist/cjs/ultramodern-workspace/public-surface.cjs +3 -3
  62. package/dist/cjs/ultramodern-workspace/routes.cjs +2 -11
  63. package/dist/cjs/ultramodern-workspace/shared-patches.cjs +12 -2
  64. package/dist/cjs/ultramodern-workspace/shells.cjs +0 -70
  65. package/dist/cjs/ultramodern-workspace/tooling-command-catalog.cjs +27 -41
  66. package/dist/cjs/ultramodern-workspace/tsconfigs.cjs +8 -2
  67. package/dist/cjs/ultramodern-workspace/validation/architecture.cjs +397 -0
  68. package/dist/cjs/ultramodern-workspace/validation/assertions.cjs +140 -0
  69. package/dist/cjs/ultramodern-workspace/validation/types.cjs +18 -0
  70. package/dist/cjs/ultramodern-workspace/validation/workspace.cjs +344 -0
  71. package/dist/cjs/ultramodern-workspace/versions.cjs +81 -45
  72. package/dist/cjs/ultramodern-workspace/workspace-artifact-ownership.cjs +183 -0
  73. package/dist/cjs/ultramodern-workspace/workspace-script-plan.cjs +36 -25
  74. package/dist/cjs/ultramodern-workspace/workspace-scripts.cjs +11 -200
  75. package/dist/cjs/ultramodern-workspace/workspace-validation-contract.cjs +62 -373
  76. package/dist/cjs/ultramodern-workspace/write-app.cjs +19 -11
  77. package/dist/cjs/ultramodern-workspace/write-workspace.cjs +20 -50
  78. package/dist/cjs/ultramodern-workspace/zerops.cjs +2 -0
  79. package/dist/esm/cli/package-source.js +3 -3
  80. package/dist/esm/cli/project-setup.js +2 -22
  81. package/dist/esm/index.js +10 -2
  82. package/dist/esm/locale/en.js +2 -1
  83. package/dist/esm/locale/zh.js +2 -1
  84. package/dist/esm/ultramodern-package-source.js +14 -4
  85. package/dist/esm/ultramodern-release-cohort.js +5 -14
  86. package/dist/esm/ultramodern-tooling/commands/cloudflare-output-verify.js +49 -56
  87. package/dist/esm/ultramodern-tooling/commands/context.js +10 -26
  88. package/dist/esm/ultramodern-tooling/commands/routes-generate-app.js +35 -0
  89. package/dist/esm/ultramodern-tooling/commands/routes-generate.js +25 -54
  90. package/dist/esm/ultramodern-tooling/commands/validate.js +6 -12
  91. package/dist/esm/ultramodern-tooling/commands.js +15 -9
  92. package/dist/esm/ultramodern-tooling/config/index.js +0 -2
  93. package/dist/esm/ultramodern-tooling/config/load.js +9 -9
  94. package/dist/esm/ultramodern-tooling/config/metadata.js +33 -28
  95. package/dist/esm/ultramodern-tooling/config/normalize.js +159 -156
  96. package/dist/esm/ultramodern-workspace/add-shell.js +124 -123
  97. package/dist/esm/ultramodern-workspace/add-vertical/execute.js +119 -27
  98. package/dist/esm/ultramodern-workspace/add-vertical/plan.js +16 -150
  99. package/dist/esm/ultramodern-workspace/add-vertical/preflight.js +15 -47
  100. package/dist/esm/ultramodern-workspace/add-vertical/preview.js +40 -0
  101. package/dist/esm/ultramodern-workspace/add-vertical/shell-files.js +87 -25
  102. package/dist/esm/ultramodern-workspace/add-vertical/topology.js +4 -1
  103. package/dist/esm/ultramodern-workspace/add-vertical/transaction.js +373 -46
  104. package/dist/esm/ultramodern-workspace/add-vertical/workspace-state.js +17 -34
  105. package/dist/esm/ultramodern-workspace/add-vertical.js +1 -1
  106. package/dist/esm/ultramodern-workspace/api/client.js +5 -5
  107. package/dist/esm/ultramodern-workspace/api/contracts.js +2 -2
  108. package/dist/esm/ultramodern-workspace/api/rpc.js +20 -18
  109. package/dist/esm/ultramodern-workspace/api/service.js +49 -24
  110. package/dist/esm/ultramodern-workspace/api/shared.js +28 -18
  111. package/dist/esm/ultramodern-workspace/app-files.js +3 -23
  112. package/dist/esm/ultramodern-workspace/backend-federation.js +5 -5
  113. package/dist/esm/ultramodern-workspace/contracts.js +14 -180
  114. package/dist/esm/ultramodern-workspace/delivery-unit-schema/surfaces.js +41 -0
  115. package/dist/esm/ultramodern-workspace/delivery-unit-schema/types.js +1 -75
  116. package/dist/esm/ultramodern-workspace/delivery-unit-stamp.js +16 -4
  117. package/dist/esm/ultramodern-workspace/delivery-unit-sync.js +28 -18
  118. package/dist/esm/ultramodern-workspace/delivery-unit.js +12 -6
  119. package/dist/esm/ultramodern-workspace/demo-components.js +67 -428
  120. package/dist/esm/ultramodern-workspace/descriptors.js +1 -2
  121. package/dist/esm/ultramodern-workspace/fs-io.js +37 -2
  122. package/dist/esm/ultramodern-workspace/generation-result.js +3 -3
  123. package/dist/esm/ultramodern-workspace/index.js +1 -1
  124. package/dist/esm/ultramodern-workspace/mf-validation/constants.js +1 -4
  125. package/dist/esm/ultramodern-workspace/mf-validation/discovery.js +7 -7
  126. package/dist/esm/ultramodern-workspace/mf-validation/exposes.js +14 -0
  127. package/dist/esm/ultramodern-workspace/mf-validation/inspect.js +27 -8
  128. package/dist/esm/ultramodern-workspace/mf-validation/object-literal.js +22 -123
  129. package/dist/esm/ultramodern-workspace/mf-validation/path-utils.js +36 -34
  130. package/dist/esm/ultramodern-workspace/mf-validation/syntax.js +83 -143
  131. package/dist/esm/ultramodern-workspace/mf-validation.js +1 -0
  132. package/dist/esm/ultramodern-workspace/module-federation/config.js +25 -30
  133. package/dist/esm/ultramodern-workspace/module-federation/reexport-module.js +39 -58
  134. package/dist/esm/ultramodern-workspace/module-federation/remote-refs.js +1 -43
  135. package/dist/esm/ultramodern-workspace/package-json.js +58 -32
  136. package/dist/esm/ultramodern-workspace/patch-inventory.js +66 -0
  137. package/dist/esm/ultramodern-workspace/policy.js +2 -564
  138. package/dist/esm/ultramodern-workspace/public-surface.js +3 -3
  139. package/dist/esm/ultramodern-workspace/routes.js +2 -11
  140. package/dist/esm/ultramodern-workspace/shared-patches.js +2 -2
  141. package/dist/esm/ultramodern-workspace/shells.js +3 -67
  142. package/dist/esm/ultramodern-workspace/tooling-command-catalog.js +22 -37
  143. package/dist/esm/ultramodern-workspace/tsconfigs.js +9 -3
  144. package/dist/esm/ultramodern-workspace/validation/architecture.js +348 -0
  145. package/dist/esm/ultramodern-workspace/validation/assertions.js +65 -0
  146. package/dist/esm/ultramodern-workspace/validation/types.js +0 -0
  147. package/dist/esm/ultramodern-workspace/validation/workspace.js +286 -0
  148. package/dist/esm/ultramodern-workspace/versions.js +74 -29
  149. package/dist/esm/ultramodern-workspace/workspace-artifact-ownership.js +128 -0
  150. package/dist/esm/ultramodern-workspace/workspace-script-plan.js +35 -27
  151. package/dist/esm/ultramodern-workspace/workspace-scripts.js +10 -190
  152. package/dist/esm/ultramodern-workspace/workspace-validation-contract.js +65 -376
  153. package/dist/esm/ultramodern-workspace/write-app.js +18 -10
  154. package/dist/esm/ultramodern-workspace/write-workspace.js +25 -52
  155. package/dist/esm/ultramodern-workspace/zerops.js +2 -0
  156. package/dist/esm-node/cli/package-source.js +3 -3
  157. package/dist/esm-node/cli/project-setup.js +2 -22
  158. package/dist/esm-node/index.js +10 -2
  159. package/dist/esm-node/locale/en.js +2 -1
  160. package/dist/esm-node/locale/zh.js +2 -1
  161. package/dist/esm-node/ultramodern-package-source.js +14 -4
  162. package/dist/esm-node/ultramodern-release-cohort.js +5 -14
  163. package/dist/esm-node/ultramodern-tooling/commands/cloudflare-output-verify.js +49 -56
  164. package/dist/esm-node/ultramodern-tooling/commands/context.js +10 -26
  165. package/dist/esm-node/ultramodern-tooling/commands/routes-generate-app.js +36 -0
  166. package/dist/esm-node/ultramodern-tooling/commands/routes-generate.js +25 -54
  167. package/dist/esm-node/ultramodern-tooling/commands/validate.js +6 -12
  168. package/dist/esm-node/ultramodern-tooling/commands.js +15 -9
  169. package/dist/esm-node/ultramodern-tooling/config/index.js +0 -2
  170. package/dist/esm-node/ultramodern-tooling/config/load.js +9 -9
  171. package/dist/esm-node/ultramodern-tooling/config/metadata.js +33 -28
  172. package/dist/esm-node/ultramodern-tooling/config/normalize.js +159 -156
  173. package/dist/esm-node/ultramodern-workspace/add-shell.js +124 -123
  174. package/dist/esm-node/ultramodern-workspace/add-vertical/execute.js +119 -27
  175. package/dist/esm-node/ultramodern-workspace/add-vertical/plan.js +16 -150
  176. package/dist/esm-node/ultramodern-workspace/add-vertical/preflight.js +15 -47
  177. package/dist/esm-node/ultramodern-workspace/add-vertical/preview.js +41 -0
  178. package/dist/esm-node/ultramodern-workspace/add-vertical/shell-files.js +87 -25
  179. package/dist/esm-node/ultramodern-workspace/add-vertical/topology.js +4 -1
  180. package/dist/esm-node/ultramodern-workspace/add-vertical/transaction.js +373 -46
  181. package/dist/esm-node/ultramodern-workspace/add-vertical/workspace-state.js +17 -34
  182. package/dist/esm-node/ultramodern-workspace/add-vertical.js +1 -1
  183. package/dist/esm-node/ultramodern-workspace/api/client.js +5 -5
  184. package/dist/esm-node/ultramodern-workspace/api/contracts.js +2 -2
  185. package/dist/esm-node/ultramodern-workspace/api/rpc.js +20 -18
  186. package/dist/esm-node/ultramodern-workspace/api/service.js +49 -24
  187. package/dist/esm-node/ultramodern-workspace/api/shared.js +28 -18
  188. package/dist/esm-node/ultramodern-workspace/app-files.js +3 -23
  189. package/dist/esm-node/ultramodern-workspace/backend-federation.js +5 -5
  190. package/dist/esm-node/ultramodern-workspace/contracts.js +14 -180
  191. package/dist/esm-node/ultramodern-workspace/delivery-unit-schema/surfaces.js +42 -0
  192. package/dist/esm-node/ultramodern-workspace/delivery-unit-schema/types.js +1 -75
  193. package/dist/esm-node/ultramodern-workspace/delivery-unit-stamp.js +16 -4
  194. package/dist/esm-node/ultramodern-workspace/delivery-unit-sync.js +28 -18
  195. package/dist/esm-node/ultramodern-workspace/delivery-unit.js +12 -6
  196. package/dist/esm-node/ultramodern-workspace/demo-components.js +67 -428
  197. package/dist/esm-node/ultramodern-workspace/descriptors.js +1 -2
  198. package/dist/esm-node/ultramodern-workspace/fs-io.js +37 -2
  199. package/dist/esm-node/ultramodern-workspace/generation-result.js +3 -3
  200. package/dist/esm-node/ultramodern-workspace/index.js +1 -1
  201. package/dist/esm-node/ultramodern-workspace/mf-validation/constants.js +1 -4
  202. package/dist/esm-node/ultramodern-workspace/mf-validation/discovery.js +7 -7
  203. package/dist/esm-node/ultramodern-workspace/mf-validation/exposes.js +15 -0
  204. package/dist/esm-node/ultramodern-workspace/mf-validation/inspect.js +27 -8
  205. package/dist/esm-node/ultramodern-workspace/mf-validation/object-literal.js +22 -123
  206. package/dist/esm-node/ultramodern-workspace/mf-validation/path-utils.js +36 -34
  207. package/dist/esm-node/ultramodern-workspace/mf-validation/syntax.js +83 -143
  208. package/dist/esm-node/ultramodern-workspace/mf-validation.js +1 -0
  209. package/dist/esm-node/ultramodern-workspace/module-federation/config.js +25 -30
  210. package/dist/esm-node/ultramodern-workspace/module-federation/reexport-module.js +39 -58
  211. package/dist/esm-node/ultramodern-workspace/module-federation/remote-refs.js +1 -43
  212. package/dist/esm-node/ultramodern-workspace/package-json.js +58 -32
  213. package/dist/esm-node/ultramodern-workspace/patch-inventory.js +67 -0
  214. package/dist/esm-node/ultramodern-workspace/policy.js +2 -564
  215. package/dist/esm-node/ultramodern-workspace/public-surface.js +3 -3
  216. package/dist/esm-node/ultramodern-workspace/routes.js +2 -11
  217. package/dist/esm-node/ultramodern-workspace/shared-patches.js +2 -2
  218. package/dist/esm-node/ultramodern-workspace/shells.js +3 -67
  219. package/dist/esm-node/ultramodern-workspace/tooling-command-catalog.js +22 -37
  220. package/dist/esm-node/ultramodern-workspace/tsconfigs.js +9 -3
  221. package/dist/esm-node/ultramodern-workspace/validation/architecture.js +349 -0
  222. package/dist/esm-node/ultramodern-workspace/validation/assertions.js +66 -0
  223. package/dist/esm-node/ultramodern-workspace/validation/types.js +1 -0
  224. package/dist/esm-node/ultramodern-workspace/validation/workspace.js +287 -0
  225. package/dist/esm-node/ultramodern-workspace/versions.js +74 -29
  226. package/dist/esm-node/ultramodern-workspace/workspace-artifact-ownership.js +129 -0
  227. package/dist/esm-node/ultramodern-workspace/workspace-script-plan.js +35 -27
  228. package/dist/esm-node/ultramodern-workspace/workspace-scripts.js +10 -190
  229. package/dist/esm-node/ultramodern-workspace/workspace-validation-contract.js +65 -376
  230. package/dist/esm-node/ultramodern-workspace/write-app.js +18 -10
  231. package/dist/esm-node/ultramodern-workspace/write-workspace.js +25 -52
  232. package/dist/esm-node/ultramodern-workspace/zerops.js +2 -0
  233. package/dist/types/cli/project-setup.d.ts +1 -1
  234. package/dist/types/locale/en.d.ts +1 -0
  235. package/dist/types/locale/index.d.ts +2 -0
  236. package/dist/types/locale/zh.d.ts +1 -0
  237. package/dist/types/ultramodern-package-source.d.ts +2 -4
  238. package/dist/types/ultramodern-release-cohort.d.ts +1 -3
  239. package/dist/types/ultramodern-tooling/commands/cloudflare-output-verify.d.ts +2 -2
  240. package/dist/types/ultramodern-tooling/commands/context.d.ts +4 -1
  241. package/dist/types/ultramodern-tooling/commands/routes-generate-app.d.ts +1 -0
  242. package/dist/types/ultramodern-tooling/commands/routes-generate.d.ts +1 -1
  243. package/dist/types/ultramodern-tooling/commands/validate.d.ts +1 -1
  244. package/dist/types/ultramodern-tooling/config/index.d.ts +0 -2
  245. package/dist/types/ultramodern-tooling/config/load.d.ts +10 -2
  246. package/dist/types/ultramodern-tooling/config/metadata.d.ts +2 -2
  247. package/dist/types/ultramodern-tooling/config/normalize.d.ts +19 -19
  248. package/dist/types/ultramodern-tooling/config/types.d.ts +2 -9
  249. package/dist/types/ultramodern-workspace/add-shell.d.ts +1 -1
  250. package/dist/types/ultramodern-workspace/add-vertical/execute.d.ts +1 -0
  251. package/dist/types/ultramodern-workspace/add-vertical/preflight.d.ts +4 -3
  252. package/dist/types/ultramodern-workspace/add-vertical/preview.d.ts +4 -0
  253. package/dist/types/ultramodern-workspace/add-vertical/shell-files.d.ts +7 -2
  254. package/dist/types/ultramodern-workspace/add-vertical/transaction.d.ts +32 -6
  255. package/dist/types/ultramodern-workspace/add-vertical/workspace-state.d.ts +10 -7
  256. package/dist/types/ultramodern-workspace/add-vertical.d.ts +1 -1
  257. package/dist/types/ultramodern-workspace/api/client.d.ts +3 -1
  258. package/dist/types/ultramodern-workspace/api/rpc.d.ts +1 -1
  259. package/dist/types/ultramodern-workspace/api/service.d.ts +3 -1
  260. package/dist/types/ultramodern-workspace/api/shared.d.ts +2 -0
  261. package/dist/types/ultramodern-workspace/backend-federation.d.ts +1 -1
  262. package/dist/types/ultramodern-workspace/contracts.d.ts +1 -3
  263. package/dist/types/ultramodern-workspace/delivery-unit-schema/surfaces.d.ts +17 -0
  264. package/dist/types/ultramodern-workspace/delivery-unit-schema/types.d.ts +3 -68
  265. package/dist/types/ultramodern-workspace/delivery-unit-stamp.d.ts +2 -2
  266. package/dist/types/ultramodern-workspace/delivery-unit.d.ts +3 -3
  267. package/dist/types/ultramodern-workspace/demo-components.d.ts +0 -3
  268. package/dist/types/ultramodern-workspace/descriptors.d.ts +0 -1
  269. package/dist/types/ultramodern-workspace/fs-io.d.ts +1 -1
  270. package/dist/types/ultramodern-workspace/index.d.ts +1 -1
  271. package/dist/types/ultramodern-workspace/mf-validation/constants.d.ts +0 -1
  272. package/dist/types/ultramodern-workspace/mf-validation/exposes.d.ts +11 -0
  273. package/dist/types/ultramodern-workspace/mf-validation/path-utils.d.ts +2 -3
  274. package/dist/types/ultramodern-workspace/mf-validation/syntax.d.ts +4 -3
  275. package/dist/types/ultramodern-workspace/mf-validation/types.d.ts +1 -0
  276. package/dist/types/ultramodern-workspace/mf-validation.d.ts +1 -0
  277. package/dist/types/ultramodern-workspace/module-federation/config.d.ts +1 -1
  278. package/dist/types/ultramodern-workspace/module-federation/reexport-module.d.ts +2 -2
  279. package/dist/types/ultramodern-workspace/package-json.d.ts +1 -1
  280. package/dist/types/ultramodern-workspace/patch-inventory.d.ts +10 -0
  281. package/dist/types/ultramodern-workspace/policy.d.ts +31 -209
  282. package/dist/types/ultramodern-workspace/routes.d.ts +6 -1
  283. package/dist/types/ultramodern-workspace/shells.d.ts +2 -15
  284. package/dist/types/ultramodern-workspace/tooling-command-catalog.d.ts +8 -7
  285. package/dist/types/ultramodern-workspace/types.d.ts +9 -9
  286. package/dist/types/ultramodern-workspace/validation/architecture.d.ts +2 -0
  287. package/dist/types/ultramodern-workspace/validation/assertions.d.ts +14 -0
  288. package/dist/types/ultramodern-workspace/validation/types.d.ts +9 -0
  289. package/dist/types/ultramodern-workspace/validation/workspace.d.ts +6 -0
  290. package/dist/types/ultramodern-workspace/versions.d.ts +73 -28
  291. package/dist/types/ultramodern-workspace/workspace-artifact-ownership.d.ts +18 -0
  292. package/dist/types/ultramodern-workspace/workspace-script-plan.d.ts +4 -5
  293. package/dist/types/ultramodern-workspace/workspace-scripts.d.ts +8 -13
  294. package/dist/types/ultramodern-workspace/workspace-validation-contract.d.ts +22 -188
  295. package/dist/types/ultramodern-workspace/write-workspace.d.ts +1 -3
  296. package/package.json +18 -11
  297. package/{template-workspace/.modernjs/release-cohort.json → release-cohort.json} +88 -40
  298. package/template-workspace/.codex/skills/rspack-tracing/scripts/analyze_trace.js +1 -1
  299. package/template-workspace/README.md.handlebars +20 -35
  300. package/template-workspace/oxfmt.config.ts +3 -0
  301. package/template-workspace/pnpm-workspace.yaml.handlebars +0 -24
  302. package/template-workspace/scripts/bootstrap-agent-skills.mjs +4 -4
  303. package/templates/packages/shared-contracts-index.ts +4 -332
  304. package/templates/workspace/apps/modern.config.shared-module-federation.ts.handlebars +10 -0
  305. package/templates/workspace/apps/modern.config.ts.handlebars +13 -27
  306. package/templates/workspace/apps/shared/src/routes/ultramodern-route-metadata.ts.handlebars +21 -11
  307. package/templates/workspace/apps/shell-super-app/src/routes/[lang]/page.tsx.handlebars +20 -20
  308. package/templates/workspace/apps/shell-super-app/src/routes/vertical-components.helpers.tsx.handlebars +4 -6
  309. package/templates/workspace/apps/shell-super-app/src/routes/vertical-components.imports.tsx.handlebars +2 -2
  310. package/templates/workspace/apps/shell-super-app/src/routes/vertical-components.tsx.handlebars +11 -11
  311. package/templates/workspace/apps/shell-super-app/src/routes/vertical-components.worker.helpers.tsx.handlebars +1 -1
  312. package/templates/workspace/apps/shell-super-app/src/routes/vertical-components.worker.imports.tsx.handlebars +1 -1
  313. package/templates/workspace-scripts/generate-node-backend-federation.mjs +68 -77
  314. package/templates/workspace-scripts/generate-public-surface-assets.mjs +107 -207
  315. package/templates/workspace-scripts/materialize-zerops-runtime.mjs +12 -19
  316. package/templates/workspace-scripts/proof-cloudflare-version.mjs +53 -444
  317. package/templates/workspace-scripts/proof-node-backend-federation.mjs +212 -91
  318. package/templates/workspace-scripts/{proof-workerd-ssr.mts → proof-workerd-ssr.mjs} +434 -239
  319. package/templates/workspace-scripts/ultramodern-cloudflare-proof.mjs +25 -7
  320. package/templates/workspace-scripts/ultramodern-performance-readiness.mjs +45 -147
  321. package/templates/workspace-scripts/ultramodern-typecheck.mjs +1 -1
  322. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/api-metadata.cjs +0 -212
  323. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/declaration-patches.cjs +0 -47
  324. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/dependency-usage.cjs +0 -112
  325. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-backend-federation.cjs +0 -55
  326. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-build-identity.cjs +0 -102
  327. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-modern-configs.cjs +0 -195
  328. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxfmt.cjs +0 -146
  329. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxlint.cjs +0 -110
  330. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-removal.cjs +0 -67
  331. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-typescript.cjs +0 -307
  332. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-zerops.cjs +0 -58
  333. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts.cjs +0 -71
  334. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/generated-ui-source.cjs +0 -151
  335. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/help.cjs +0 -67
  336. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/install.cjs +0 -52
  337. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/io.cjs +0 -447
  338. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/package-cohort.cjs +0 -323
  339. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/package-source.cjs +0 -87
  340. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/pnpm-policy.cjs +0 -612
  341. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/pnpm-yaml.cjs +0 -376
  342. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/policy-constants.cjs +0 -73
  343. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/react-router-retirement.cjs +0 -215
  344. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect/toolchain-pins.cjs +0 -135
  345. package/dist/cjs/ultramodern-tooling/commands/migrate-strict-effect.cjs +0 -454
  346. package/dist/cjs/ultramodern-tooling/config/constants.cjs +0 -48
  347. package/dist/cjs/ultramodern-tooling/config/synthesize.cjs +0 -157
  348. package/dist/cjs/ultramodern-workspace/delivery-unit-schema/up-projection.cjs +0 -188
  349. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/api-metadata.js +0 -154
  350. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/declaration-patches.js +0 -9
  351. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/dependency-usage.js +0 -63
  352. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-backend-federation.js +0 -7
  353. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-build-identity.js +0 -47
  354. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-modern-configs.js +0 -146
  355. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxfmt.js +0 -97
  356. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxlint.js +0 -61
  357. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-removal.js +0 -16
  358. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-typescript.js +0 -258
  359. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-zerops.js +0 -10
  360. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts.js +0 -8
  361. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-patches.js +0 -15
  362. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/generated-ui-source.js +0 -100
  363. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/help.js +0 -29
  364. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/install.js +0 -14
  365. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/io.js +0 -385
  366. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/package-cohort.js +0 -276
  367. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/package-source.js +0 -49
  368. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/pnpm-policy.js +0 -559
  369. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/pnpm-yaml.js +0 -329
  370. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/policy-constants.js +0 -19
  371. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/react-router-retirement.js +0 -148
  372. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect/toolchain-pins.js +0 -80
  373. package/dist/esm/ultramodern-tooling/commands/migrate-strict-effect.js +0 -405
  374. package/dist/esm/ultramodern-tooling/config/constants.js +0 -4
  375. package/dist/esm/ultramodern-tooling/config/synthesize.js +0 -108
  376. package/dist/esm/ultramodern-workspace/delivery-unit-schema/up-projection.js +0 -129
  377. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/api-metadata.js +0 -155
  378. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/declaration-patches.js +0 -10
  379. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/dependency-usage.js +0 -64
  380. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-backend-federation.js +0 -8
  381. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-build-identity.js +0 -48
  382. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-modern-configs.js +0 -147
  383. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxfmt.js +0 -98
  384. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxlint.js +0 -62
  385. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-removal.js +0 -17
  386. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-typescript.js +0 -259
  387. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-zerops.js +0 -11
  388. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts.js +0 -9
  389. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-patches.js +0 -16
  390. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/generated-ui-source.js +0 -101
  391. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/help.js +0 -30
  392. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/install.js +0 -15
  393. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/io.js +0 -386
  394. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/package-cohort.js +0 -277
  395. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/package-source.js +0 -50
  396. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/pnpm-policy.js +0 -560
  397. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/pnpm-yaml.js +0 -330
  398. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/policy-constants.js +0 -20
  399. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/react-router-retirement.js +0 -149
  400. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect/toolchain-pins.js +0 -81
  401. package/dist/esm-node/ultramodern-tooling/commands/migrate-strict-effect.js +0 -406
  402. package/dist/esm-node/ultramodern-tooling/config/constants.js +0 -5
  403. package/dist/esm-node/ultramodern-tooling/config/synthesize.js +0 -109
  404. package/dist/esm-node/ultramodern-workspace/delivery-unit-schema/up-projection.js +0 -130
  405. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/api-metadata.d.ts +0 -12
  406. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/declaration-patches.d.ts +0 -4
  407. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/dependency-usage.d.ts +0 -1
  408. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-backend-federation.d.ts +0 -3
  409. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-build-identity.d.ts +0 -5
  410. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-modern-configs.d.ts +0 -3
  411. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxfmt.d.ts +0 -2
  412. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-oxlint.d.ts +0 -2
  413. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-removal.d.ts +0 -4
  414. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-typescript.d.ts +0 -3
  415. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts-zerops.d.ts +0 -3
  416. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-artifacts.d.ts +0 -8
  417. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-patches.d.ts +0 -3
  418. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/generated-ui-source.d.ts +0 -3
  419. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/help.d.ts +0 -1
  420. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/install.d.ts +0 -2
  421. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/io.d.ts +0 -26
  422. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/package-cohort.d.ts +0 -25
  423. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/package-source.d.ts +0 -3
  424. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/pnpm-policy.d.ts +0 -26
  425. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/pnpm-yaml.d.ts +0 -26
  426. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/policy-constants.d.ts +0 -6
  427. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/react-router-retirement.d.ts +0 -37
  428. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect/toolchain-pins.d.ts +0 -4
  429. package/dist/types/ultramodern-tooling/commands/migrate-strict-effect.d.ts +0 -2
  430. package/dist/types/ultramodern-tooling/config/constants.d.ts +0 -3
  431. package/dist/types/ultramodern-tooling/config/synthesize.d.ts +0 -5
  432. package/dist/types/ultramodern-workspace/delivery-unit-schema/up-projection.d.ts +0 -189
  433. package/template-workspace/patches/@module-federation__bridge-react@2.9.0.patch +0 -47
  434. package/template-workspace/patches/@module-federation__dts-plugin@2.9.0.patch +0 -26
  435. package/template-workspace/patches/@module-federation__modern-js-v3@2.9.0.patch +0 -268
  436. package/template-workspace/patches/@module-federation__runtime-core@2.9.0.patch +0 -13
  437. package/template-workspace/patches/drizzle-orm-ts7-strict-declarations.patch +0 -471
  438. package/template-workspace/patches/msgpackr@2.1.0.patch +0 -30
  439. package/template-workspace/patches/zod@4.5.4.patch +0 -56
  440. package/templates/workspace-scripts/check-ultramodern-api-boundaries.mts +0 -779
  441. package/templates/workspace-scripts/check-ultramodern-i18n-boundaries.mts +0 -9
  442. package/templates/workspace-scripts/validate-ultramodern-workspace.mjs.handlebars +0 -4109
@@ -1,12 +0,0 @@
1
- import type { ResolvedUltramodernPackageSource } from '../../../ultramodern-package-source.js';
2
- import { type MigrationIo } from './io.js';
3
- type PackageSourceReconciliationOptions = {
4
- canonical: Record<string, unknown>;
5
- label: string;
6
- ownedKeys: readonly string[];
7
- };
8
- export declare function reconcilePackageSourceMetadata(value: unknown, { canonical, label, ownedKeys }: PackageSourceReconciliationOptions): Record<string, unknown>;
9
- export declare function reconcileCompactPackageSourceMetadata(value: unknown, packageSource: ResolvedUltramodernPackageSource): Record<string, unknown>;
10
- export declare function updateUltramodernConfig(io: MigrationIo, config: Record<string, any>, packageSource: ResolvedUltramodernPackageSource): void;
11
- export declare function updateReferenceTopology(io: MigrationIo): boolean;
12
- export {};
@@ -1,4 +0,0 @@
1
- import type { MigrationIo } from './io.js';
2
- export declare function ensureGeneratedDeclarationPatches(io: MigrationIo, options: {
3
- includeDrizzleOrmPatch: boolean;
4
- }): boolean;
@@ -1 +0,0 @@
1
- export declare function workspaceUsesDependency(workspaceRoot: string, packageName: string, exactVersion?: string): boolean;
@@ -1,3 +0,0 @@
1
- import { type UltramodernToolingConfig } from '../../config/index.js';
2
- import { type MigrationIo } from './io.js';
3
- export declare function updateGeneratedBackendFederationContractFiles(io: MigrationIo, config: UltramodernToolingConfig): void;
@@ -1,5 +0,0 @@
1
- import { type UltramodernToolingConfig } from '../../config/index.js';
2
- import { type MigrationIo } from './io.js';
3
- export declare function rewriteLegacyApiMarkerBinding(source: string): string;
4
- export declare function rewriteApiMarkerIdentitySchema(source: string): string;
5
- export declare function updateGeneratedBuildIdentityModules(io: MigrationIo, config: UltramodernToolingConfig): void;
@@ -1,3 +0,0 @@
1
- import { type UltramodernToolingConfig } from '../../config/index.js';
2
- import { type MigrationIo } from './io.js';
3
- export declare function updateGeneratedModernConfigs(io: MigrationIo, config: UltramodernToolingConfig): void;
@@ -1,2 +0,0 @@
1
- import { type MigrationIo } from './io.js';
2
- export declare function ensureGeneratedOxfmtIgnorePatterns(io: MigrationIo): boolean;
@@ -1,2 +0,0 @@
1
- import { type MigrationIo } from './io.js';
2
- export declare function ensureGeneratedOxlintComponentStyle(io: MigrationIo): boolean;
@@ -1,4 +0,0 @@
1
- import { type UltramodernToolingConfig } from '../../config/index.js';
2
- import { type MigrationIo } from './io.js';
3
- export declare function removeGeneratedFileIfExists(io: MigrationIo, relativePath: string): boolean;
4
- export declare function removeStaleBackendFederationArtifacts(io: MigrationIo, config: UltramodernToolingConfig): boolean;
@@ -1,3 +0,0 @@
1
- import { type UltramodernToolingConfig } from '../../config/index.js';
2
- import { type MigrationIo } from './io.js';
3
- export declare function updateGeneratedTypeScriptSurfaces(io: MigrationIo, config: UltramodernToolingConfig): void;
@@ -1,3 +0,0 @@
1
- import { type UltramodernToolingConfig } from '../../config/index.js';
2
- import { type MigrationIo } from './io.js';
3
- export declare function updateGeneratedZeropsArtifacts(io: MigrationIo, config: UltramodernToolingConfig): void;
@@ -1,8 +0,0 @@
1
- export { updateGeneratedBackendFederationContractFiles } from './generated-artifacts-backend-federation.js';
2
- export { updateGeneratedBuildIdentityModules } from './generated-artifacts-build-identity.js';
3
- export { updateGeneratedModernConfigs } from './generated-artifacts-modern-configs.js';
4
- export { ensureGeneratedOxfmtIgnorePatterns } from './generated-artifacts-oxfmt.js';
5
- export { ensureGeneratedOxlintComponentStyle } from './generated-artifacts-oxlint.js';
6
- export { removeGeneratedFileIfExists, removeStaleBackendFederationArtifacts, } from './generated-artifacts-removal.js';
7
- export { updateGeneratedTypeScriptSurfaces } from './generated-artifacts-typescript.js';
8
- export { updateGeneratedZeropsArtifacts } from './generated-artifacts-zerops.js';
@@ -1,3 +0,0 @@
1
- import type { MigrationIo } from './io.js';
2
- export declare function ensureGeneratedPatchFile(io: MigrationIo, relativePatchPath: string, sourcePatchPath: string): boolean;
3
- export declare function removeGeneratedPatchFileIfUnchanged(io: MigrationIo, relativePatchPath: string, sourcePatchPath: string): boolean;
@@ -1,3 +0,0 @@
1
- import type { MigrationIo } from './io.js';
2
- export declare function generatedUiSourceRequiresRewrite(existingSource: string, nextSource: string): boolean;
3
- export declare function writeGeneratedUiSourceIfChanged(io: MigrationIo, filePath: string, nextSource: string): boolean;
@@ -1 +0,0 @@
1
- export declare const migrateStrictEffectHelp = "Usage:\n ultramodern-create ultramodern migrate-strict-effect --version <version> [--dry-run] [--skip-install]\n\nUpdates generated UltraModern package-source metadata, Modern package aliases,\nframework-owned toolchain pins, direct Effect API topology metadata, strict\nEffect pnpm overrides/trust policy, framework-owned TypeScript config\nsurfaces, and the pnpm lockfile. Source code still has to pass pnpm api:check\nand pnpm contract:check.\n\nExisting Modern configs are treated as consumer-owned unless generated\nownership can be proven. Package scripts and TypeScript configs are merged at\ntheir framework-owned boundaries so consumer command segments, includes,\nreferences, plugins, and diagnostic overrides survive. An ambiguous Module\nFederation config that requires a bridge update is refused before any file is\nwritten, with the config path and the manual resolution required.\n\nThe obsolete react-router dependency is dropped from every generated app that\ndoes not import React Router in its own source. Each generated Module\nFederation config then declares bridge.enableBridgeRouter from what its app\nstill depends on: true where the app declares react-router or react-router-dom,\nthe router-free false everywhere else.\n\nWhen the compact config is absent but legacy UltraModern 3.2 metadata is\npresent, the compact config is synthesized from it first. Shell-only\nworkspaces skip the backend-federation and Zerops runtime stages. Pass\n--dry-run to print the planned filesystem changes without writing anything\n(including preserved consumer overlays; implies --skip-install).\n";
@@ -1,2 +0,0 @@
1
- import type { CommandContext } from '../context.js';
2
- export declare function runPnpmLockfileRefresh(context: CommandContext): number;
@@ -1,26 +0,0 @@
1
- type MigrationTransactionOptions<T> = {
2
- commitWhen?: (result: T) => boolean;
3
- };
4
- export type MigrationIo = {
5
- workspaceRoot: string;
6
- dryRun: boolean;
7
- plan: string[];
8
- write(filePath: string, content: string): boolean;
9
- writeGenerated(filePath: string, content: string): boolean;
10
- remove(filePath: string): boolean;
11
- log(message: string): void;
12
- transaction<T>(operation: () => T, options?: MigrationTransactionOptions<Awaited<T>>): T;
13
- withStagedWorkspace<T>(operation: (stagedWorkspaceRoot: string) => T): T;
14
- };
15
- export declare function createMigrationIo(workspaceRoot: string, dryRun: boolean): MigrationIo;
16
- /**
17
- * Runs a dry-run against an owned, disposable workspace clone. The returned
18
- * IO still records a dry-run plan, but materializes that plan only inside the
19
- * clone so direct filesystem reads observe the same state as an applied
20
- * migration. Callers cannot opt an arbitrary workspace into this behavior.
21
- */
22
- export declare function withStagedDryRunMigrationIo<T>(workspaceRoot: string, operation: (io: MigrationIo) => T): T;
23
- export declare function readJsonFile(filePath: string): any;
24
- export declare function writeJsonFile(io: MigrationIo, filePath: string, value: unknown): boolean;
25
- export declare function listWorkspacePackageFiles(workspaceRoot: string): string[];
26
- export {};
@@ -1,25 +0,0 @@
1
- import { type ResolvedUltramodernPackageSource } from '../../../ultramodern-package-source.js';
2
- import type { WorkspaceApp } from '../../../ultramodern-workspace/types.js';
3
- export declare function updateModernDependencies(packageJson: Record<string, any>, packageSource: ResolvedUltramodernPackageSource): boolean;
4
- export declare function updateGeneratedToolingDependencies(packageJson: Record<string, any>, options?: {
5
- ownsGeneratedScripts?: boolean;
6
- }): boolean;
7
- /**
8
- * `@modern-js/plugin-bff` declares `effect` and `@effect/opentelemetry` as
9
- * OPTIONAL peers, so whoever depends on plugin-bff has to supply them. A
10
- * workspace generated before that change declares neither, and nothing else
11
- * pulls Effect in — so on migration the BFF lane has no Effect to load, and the
12
- * `effect@<version>` entry this command writes into `patchedDependencies`
13
- * matches no package, which pnpm rejects with ERR_PNPM_UNUSED_PATCH.
14
- *
15
- * Unlike `updateGeneratedToolingDependencies`, this adds the pins when they are
16
- * missing rather than only re-pinning what is already declared.
17
- */
18
- export declare function ensureBffEffectDependencies(packageJson: Record<string, any>): boolean;
19
- export declare function updateGeneratedPackageScripts(packageJson: Record<string, any>, options?: {
20
- relativePackageFile?: string;
21
- apps?: WorkspaceApp[];
22
- shellOnly?: boolean;
23
- canRetireLegacyOxfmtCliExclusion?: boolean;
24
- onPreserveScript?: (scriptName: string) => void;
25
- }): boolean;
@@ -1,3 +0,0 @@
1
- import { type ResolvedUltramodernPackageSource } from '../../../ultramodern-package-source.js';
2
- import { readUltramodernConfig } from '../../config/index.js';
3
- export declare function createMigrationPackageSource(args: string[], current: ReturnType<typeof readUltramodernConfig>): ResolvedUltramodernPackageSource;
@@ -1,26 +0,0 @@
1
- import type { ResolvedUltramodernPackageSource } from '../../../ultramodern-package-source.js';
2
- import { type UltramodernReleaseCohort } from '../../../ultramodern-release-cohort.js';
3
- import type { MigrationIo } from './io.js';
4
- type RegistryResponse = {
5
- ok: boolean;
6
- status: number;
7
- json: () => Promise<unknown>;
8
- };
9
- export type ReleaseAgeRegistryFetch = (url: URL, init: {
10
- headers: Record<string, string>;
11
- redirect: 'error';
12
- }) => Promise<RegistryResponse>;
13
- export declare function updateGeneratedPnpmWorkspacePolicy(io: MigrationIo, packageSource: ResolvedUltramodernPackageSource, options?: {
14
- now?: Date;
15
- releaseCohort?: UltramodernReleaseCohort;
16
- }): boolean;
17
- export declare function validateGeneratedPnpmLockReleaseAgePolicy(workspaceRoot: string, packageSource: ResolvedUltramodernPackageSource, options?: {
18
- fetchImpl?: ReleaseAgeRegistryFetch;
19
- now?: Date;
20
- registryUrl?: string;
21
- releaseCohort?: UltramodernReleaseCohort;
22
- }): Promise<{
23
- reviewCandidates: import("../../../ultramodern-workspace/policy.js").UltramodernReleaseAgeCandidate[];
24
- minimumReleaseAgeExclude: string[];
25
- }>;
26
- export {};
@@ -1,26 +0,0 @@
1
- export type PnpmWorkspaceYaml = Record<string, any>;
2
- export type PnpmLockReleaseAgeCandidate = {
3
- packageName: string;
4
- version: string;
5
- registry: {
6
- dist: {
7
- integrity: string;
8
- };
9
- };
10
- path: string[];
11
- };
12
- export type PnpmLockReleaseAgeClosure = {
13
- candidates: PnpmLockReleaseAgeCandidate[];
14
- unresolved: Array<{
15
- package?: string;
16
- path: string[];
17
- reason: string;
18
- }>;
19
- };
20
- export declare function isYamlRecord(value: unknown): value is PnpmWorkspaceYaml;
21
- export declare function discoverReachablePnpmLockReleaseAgeClosure(lockfile: unknown): PnpmLockReleaseAgeClosure;
22
- export declare function parsePnpmWorkspaceYaml(source: string, filename?: string): {
23
- document: PnpmWorkspaceYaml;
24
- lineEnding: string;
25
- };
26
- export declare function stringifyPnpmWorkspaceYaml(document: PnpmWorkspaceYaml, lineEnding?: string): string;
@@ -1,6 +0,0 @@
1
- export declare const requiredGeneratedPatches: {
2
- path: string;
3
- sourcePath: string;
4
- }[];
5
- export declare const drizzleOrmDeclarationPatchPath: string;
6
- export declare const drizzleOrmDeclarationPatchSourcePath: string;
@@ -1,37 +0,0 @@
1
- import type { WorkspaceApp } from '../../../ultramodern-workspace/types.js';
2
- import type { MigrationIo } from './io.js';
3
- export declare function authoredSourceImportsReactRouter(packageDirectory: string): boolean;
4
- /**
5
- * The single definition of "this app is a React Router consumer", shared by the
6
- * generators, the migration and (mirrored) the generated workspace validator.
7
- * `@module-federation/rspack` never inspects react-router when it decides
8
- * whether to install the bridge router plugin — the app's own manifest is the
9
- * only place that opting in can be declared, so it is the only place that is
10
- * read. Accepts a package directory or an already parsed manifest.
11
- */
12
- export declare function appDeclaresReactRouter(packageJsonOrDirectory: Record<string, any> | string): boolean;
13
- export type RetiredReactRouterOutcome = 'absent' | 'preserved' | 'removed';
14
- /**
15
- * `react-router` was pinned into generated apps only to satisfy
16
- * `@module-federation/bridge-react`, whose main entry statically imports
17
- * `react-router-dom`. Generated Module Federation configs now opt out with
18
- * `bridge.enableBridgeRouter: false`, which aliases bridge-react to its
19
- * router-free base entry, so the pin is obsolete. Apps that genuinely import
20
- * React Router themselves keep it — and keeping it is exactly what re-enables
21
- * the bridge router for them, see `appDeclaresReactRouter`.
22
- *
23
- * Unlike `updateGeneratedToolingDependencies`, which only re-pins keys that are
24
- * already declared, this removes a declared key — so it must never guess: an
25
- * app with authored React Router imports is reported and left alone.
26
- */
27
- export declare function removeRetiredReactRouterDependency(packageJson: Record<string, any>, packageDirectory: string): RetiredReactRouterOutcome;
28
- export declare function isGeneratedModuleFederationConfig(source: string): boolean;
29
- export declare function preflightModuleFederationBridgeRouter(workspaceRoot: string, apps: readonly Pick<WorkspaceApp, 'directory' | 'surfaceProfile'>[]): void;
30
- /**
31
- * Returns the rewritten source, the unchanged source when a `bridge` block is
32
- * already declared (a hand-written one is consumer-owned), or `undefined` when
33
- * the config shape is not statically recognizable — in which case the caller
34
- * must leave the file alone.
35
- */
36
- export declare function insertBridgeRouterOptOut(source: string, enableBridgeRouter?: boolean): string | undefined;
37
- export declare function ensureGeneratedModuleFederationBridgeRouterOptOut(io: MigrationIo, apps: readonly Pick<WorkspaceApp, 'directory' | 'surfaceProfile'>[]): boolean;
@@ -1,4 +0,0 @@
1
- import type { MigrationIo } from './io.js';
2
- export declare function updateUltramodernConfigToolchain(config: Record<string, any>): void;
3
- export declare function updateRootPackageToolchain(packageJson: Record<string, any>): void;
4
- export declare function updateGeneratedToolchainFiles(io: MigrationIo): void;
@@ -1,2 +0,0 @@
1
- import type { CommandContext } from './context.js';
2
- export declare function runMigrateStrictEffect(args: string[], context: CommandContext): number | Promise<number>;
@@ -1,3 +0,0 @@
1
- export declare const LEGACY_GENERATED_CONTRACT_PATH = ".modernjs/ultramodern-generated-contract.json";
2
- export declare const LEGACY_PACKAGE_SOURCE_METADATA_PATH = ".modernjs/ultramodern-package-source.json";
3
- export declare const LEGACY_DEVELOPMENT_OVERLAY_PATH = "topology/local-overlays/development.json";
@@ -1,5 +0,0 @@
1
- export declare function synthesizeCompactUltramodernConfig(workspaceRoot: string): {
2
- compact: Record<string, any>;
3
- missing: string[];
4
- sources: string[];
5
- } | undefined;
@@ -1,189 +0,0 @@
1
- /**
2
- * Canonical MicroVertical delivery contracts (W4) — v1 UP-projection.
3
- *
4
- * This module completes the round-trip that the down-projection in
5
- * `./types.ts` opened. Where {@link projectDeliveryUnitToV1} maps a canonical
6
- * {@link DeliveryUnitDescriptor} DOWN onto today's v1 `WorkspaceApp` +
7
- * `DeliveryUnitRecord`, {@link projectV1ToDeliveryUnit} maps a v1
8
- * `WorkspaceApp` UP into the canonical descriptor. The two compose so that
9
- * "every current fixture round-trips v1 -> canonical -> v1" (MicroVertical
10
- * Phase-1 exit criterion).
11
- *
12
- * Generator paths consume the projection helpers for grammar-safe surface
13
- * identity and owner/representability checks; the schema functions themselves
14
- * remain pure and side-effect free.
15
- *
16
- * Binding vocabulary: root `CONTEXT.md`, ADR-0019 (Federated Loading, Unified
17
- * Delivery), ADR-0020 (Zoned Surface Versioning). See the SPEC §5 mapping
18
- * table read in reverse.
19
- *
20
- * TS constraint: plain types + pure functions only. This file is scanned by
21
- * `tsgo-boundary.test.ts`; it must never import TypeScript compiler APIs.
22
- */
23
- import type { Ownership, WorkspaceApi, WorkspaceApp } from '../types.js';
24
- import type { ApiProtocol, ApiSurfaceDescriptor, BaselineCohort, ComponentSurfaceDescriptor, DeliveryUnitDescriptor, DeliveryUnitOwner, RouteSurfaceDescriptor, V1ProjectionMode } from './types.js';
25
- /**
26
- * The identity-root and platform-baseline facts that a v1 `WorkspaceApp` does
27
- * NOT carry but a canonical {@link DeliveryUnitDescriptor} requires. This is
28
- * the mirror image of the down-projection's `V1ProjectionContext`: the down
29
- * context supplies generator-only fields the descriptor deliberately does not
30
- * own (port, directory, package identity, ownership); this up context supplies
31
- * the canonical identity root the v1 app never had.
32
- *
33
- * Composition contract: given `record = createDeliveryUnitRecord(scope, app)`
34
- * (or an existing `DeliveryUnitRecord`), thread `record.buildMarker`,
35
- * `record.sourceRevision`, and the same `scope` through here so the descriptor
36
- * this produces reconstructs `record.unitId` verbatim. `buildMarker`,
37
- * `sourceRevision`, and `unitId` therefore survive a v1 -> canonical -> v1
38
- * pass untouched (SPEC §5 invariant 5, marker preservation).
39
- */
40
- export type V1UpProjectionContext = {
41
- /**
42
- * The v1 vocabulary being read. In `extended-v1`, additive fields already
43
- * present on the WorkspaceApp are authoritative for kind/protocol; strict
44
- * legacy mode deliberately ignores them and exposes their loss through the
45
- * representability guard.
46
- */
47
- mode?: V1ProjectionMode;
48
- /** Package/topology scope. `unitId` = `${scope}/${app.domain ?? app.id}`. */
49
- scope: string;
50
- /** Identity root: exact source revision, threaded, never regenerated. */
51
- sourceRevision: string;
52
- /** Identity root: exact build marker, threaded, never regenerated. */
53
- buildMarker: string;
54
- /**
55
- * Composition-time platform baseline pins. v1 has no cohort concept (the
56
- * cohort is advanced platform-wide, never per-vertical), so the caller must
57
- * supply the resolved cohort this unit was composed against.
58
- */
59
- baselineCohort: BaselineCohort;
60
- /**
61
- * Protocol for the app's HTTP api surface, if any. Defaults to `rest`:
62
- * today's v1 `WorkspaceApi` is only ever an HTTP REST prefix, so `rest` is
63
- * the faithful reading of current reality (SPEC §1: api surfaces carry a
64
- * protocol; v1 cannot distinguish rpc/graphql).
65
- */
66
- apiProtocol?: ApiProtocol;
67
- };
68
- /**
69
- * Map a v1 {@link Ownership} block onto the canonical single {@link
70
- * DeliveryUnitOwner}.
71
- *
72
- * Owner honouring (G3): when the v1 `Ownership` carries an explicit `owner`
73
- * attribution (opt-in — the way v1 records an `agent` / `agent-team` owner),
74
- * that attribution IS the canonical owner and is passed through verbatim
75
- * (`kind` + `id` + optional `contact`). Only when no explicit owner was set
76
- * does this fall back to the neutral human-team default: `kind: 'team'`, `id`
77
- * from `ownership.team`, `contact` from `ownership.slack`. The down-projection
78
- * writes a non-team owner back into `ownership.owner`, so agent / agent-team
79
- * owners round-trip faithfully through the projection pair.
80
- */
81
- export declare function ownershipToOwner(ownership: Ownership): DeliveryUnitOwner;
82
- /** Derive a canonical, SurfaceRef-valid `surfaceId` from an MF expose key. */
83
- export declare function exposeSurfaceId(key: string): string;
84
- /**
85
- * Map a single v1 expose onto a component-or-route surface.
86
- *
87
- * Route heuristic: an expose whose key or local module path mentions `route`
88
- * is a `route` surface; everything else is a `component`. The exposed local
89
- * module path (e.g. `./src/...`) is a build detail the canonical model
90
- * deliberately abstracts away, so it is dropped; the surface's single
91
- * `browser-mf` location points at the app's MF manifest (derived from
92
- * `app.port`, the only address a v1 app exposes for its browser bundle).
93
- */
94
- export declare function exposeSurface(app: WorkspaceApp, key: string, value: string): ComponentSurfaceDescriptor | RouteSurfaceDescriptor;
95
- /**
96
- * Map a v1 API descriptor onto the canonical API surface vocabulary.
97
- *
98
- * `stem` -> `surfaceId`; `prefix` -> a single `http` location `address`;
99
- * `protocol` from context (default `rest`). `consumedBy` has no canonical
100
- * home: it is a v1 emergent graph fact (SPEC §5 marks it non-projected), so it
101
- * is dropped here and the down-projection re-zeroes it to `[]`.
102
- *
103
- * Callers that know the concrete transport mount (for example RPC, which is
104
- * mounted below the API prefix) may provide its address explicitly. Keeping
105
- * the surface id/protocol/location construction here prevents generator
106
- * paths from re-deriving a second canonical API surface shape.
107
- */
108
- export declare function apiSurface(api: WorkspaceApi, protocol: ApiProtocol, address?: string): ApiSurfaceDescriptor;
109
- /**
110
- * Up-project a v1 `WorkspaceApp` into a canonical {@link
111
- * DeliveryUnitDescriptor}. Pure and total: `WorkspaceApp.kind` is only
112
- * `shell | vertical`, so this never throws and never produces the
113
- * v1-unrepresentable `horizontal-remote` kind or the `external` zone.
114
- *
115
- * The `publicationZone` is always `{ zone: 'coordinated' }`: v1 has no way to
116
- * express external publication (ADR-0020), so a v1 app is always coordinated.
117
- *
118
- * Marker preservation: `unitId` = `${context.scope}/${app.domain ?? app.id}`
119
- * (identical to `createDeliveryUnitRecord`), and `buildMarker` /
120
- * `sourceRevision` are threaded straight from `context`, never regenerated.
121
- *
122
- * Generator paths may consume this projection for canonical surface metadata;
123
- * the projection remains pure and does not mutate the v1 app.
124
- */
125
- export declare function projectV1ToDeliveryUnit(app: WorkspaceApp, context: V1UpProjectionContext): DeliveryUnitDescriptor;
126
- /**
127
- * The reasons a canonical descriptor cannot be faithfully represented in v1.
128
- * The down-projection in `./types.ts` degrades ALL of these silently, so this
129
- * guard exhaustively detects every canonical construct the v1 shape cannot
130
- * carry and lets callers fail loudly INSTEAD of degrading silently:
131
- *
132
- * - `horizontal-remote-kind`: v1 collapses `horizontal-remote` to `vertical`.
133
- * - `external-zone`: v1 has no publication-zone field (ADR-0020).
134
- * - `component-or-route-surface`: the down-projection reconstructs no
135
- * `exposes`, so every component/route surface is dropped.
136
- * - `backend-surface`: v1 has no backend-surface vocabulary at all.
137
- * - `multiple-api-surfaces`: v1 carries at most ONE `WorkspaceApi`; the
138
- * down-projection keeps the first api surface and drops the rest.
139
- * - `non-rest-protocol`: v1 `WorkspaceApi` is an HTTP REST prefix; `rpc` /
140
- * `graphql` protocols are dropped (the up-projection re-defaults to
141
- * `rest`).
142
- * - `unsupported-surface-shape`: an api surface whose shape v1 cannot carry —
143
- * anything other than exactly one `http` location, or per-surface
144
- * `externallyPublished` / `unknownFields` metadata.
145
- * - `unknown-fields`: the descriptor carries top-level `unknownFields`. v1 has
146
- * nowhere to store them in-band — the down-projection returns them
147
- * out-of-band (`preservedUnknownFields`), so a v1 shape cannot reproduce the
148
- * descriptor byte-for-byte in a single canonical value.
149
- * - `non-canonical-zone`: the descriptor's `publicationZone` is not exactly the
150
- * canonical `{ zone: 'coordinated' }` the up-projection always re-emits. A
151
- * descriptor with NO `publicationZone` (down drops the field, up re-adds an
152
- * explicit coordinated zone) or a `coordinated` zone carrying extra fields is
153
- * therefore not round-trip-faithful.
154
- */
155
- export type V1UnrepresentableReason = 'horizontal-remote-kind' | 'external-zone' | 'component-or-route-surface' | 'backend-surface' | 'multiple-api-surfaces' | 'non-rest-protocol' | 'unsupported-surface-shape' | 'unknown-fields' | 'non-canonical-zone';
156
- export type V1RepresentabilityResult = {
157
- representable: true;
158
- } | {
159
- representable: false;
160
- code: 'unrepresentable-in-v1';
161
- reason: V1UnrepresentableReason;
162
- };
163
- /**
164
- * A typed error for v1-unrepresentable cases. `code` is always
165
- * `'unrepresentable-in-v1'`; `reason` narrows which invariant was violated.
166
- */
167
- export declare class V1UnrepresentableError extends Error {
168
- readonly code: 'unrepresentable-in-v1';
169
- readonly reason: V1UnrepresentableReason;
170
- constructor(reason: V1UnrepresentableReason);
171
- }
172
- /**
173
- * Total check: is a canonical descriptor faithfully representable in v1?
174
- * Returns a typed result rather than throwing. Exhaustive over the loss set
175
- * of `projectDeliveryUnitToV1` (see {@link V1UnrepresentableReason}); the
176
- * first detected reason is reported, in a deterministic order (unit-level
177
- * kind, unknown-fields, zone, then surfaces in declaration order).
178
- *
179
- * The round-trip law rests on this guard: for descriptors this function
180
- * accepts, canonical -> v1 -> canonical is lossless on every
181
- * representability-covered field.
182
- */
183
- export declare function checkV1Representable(descriptor: DeliveryUnitDescriptor, mode?: V1ProjectionMode): V1RepresentabilityResult;
184
- /**
185
- * Assert v1 representability, throwing a typed {@link V1UnrepresentableError}
186
- * for any descriptor carrying a construct the v1 shape cannot represent,
187
- * rather than letting the down-projection degrade it silently.
188
- */
189
- export declare function assertV1Representable(descriptor: DeliveryUnitDescriptor, mode?: V1ProjectionMode): void;
@@ -1,47 +0,0 @@
1
- diff --git a/dist/lazy/wrapNoSSR.d.ts b/dist/lazy/wrapNoSSR.d.ts
2
- --- a/dist/lazy/wrapNoSSR.d.ts
3
- +++ b/dist/lazy/wrapNoSSR.d.ts
4
- @@ -6,4 +6,4 @@ export declare function wrapNoSSR<T, E extends keyof T>(createLazyComponentFn:
5
- key?: React.Key | null;
6
- } : {
7
- key?: React.Key | null;
8
- -}) => import("node_modules/@types/react").JSX.Element;
9
- +}) => import("react").JSX.Element;
10
- diff --git a/dist/provider/versions/v18.d.ts b/dist/provider/versions/v18.d.ts
11
- --- a/dist/provider/versions/v18.d.ts
12
- +++ b/dist/provider/versions/v18.d.ts
13
- @@ -12,7 +12,7 @@ export interface Root {
14
- unmount(): void;
15
- }
16
- export declare function createReact18Root(container: Element | DocumentFragment, options?: CreateRootOptions): Root;
17
- -export declare function hydrateReact18Root(container: Element | DocumentFragment, initialChildren: React.ReactNode, options?: CreateRootOptions): import("node_modules/@types/react-dom/client").Root;
18
- +export declare function hydrateReact18Root(container: Element | DocumentFragment, initialChildren: React.ReactNode, options?: CreateRootOptions): import("react-dom/client").Root;
19
- export declare function createBridgeComponent<T = any>(bridgeInfo: Omit<ProviderFnParams<T>, 'createRoot'>): () => {
20
- render(info: import("../..").RenderParams): Promise<void>;
21
- destroy(info: import("../..").DestroyParams): void;
22
- diff --git a/dist/remote/base-component/create.d.ts b/dist/remote/base-component/create.d.ts
23
- --- a/dist/remote/base-component/create.d.ts
24
- +++ b/dist/remote/base-component/create.d.ts
25
- @@ -1,7 +1,7 @@
26
- import { type LazyRemoteComponentInfo } from '../createHelpers';
27
- export type { LazyRemoteComponentInfo };
28
- -declare const createLazyRemoteComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("node_modules/@types/react").LazyExoticComponent<import("node_modules/@types/react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("node_modules/@types/react").RefAttributes<HTMLDivElement>>>;
29
- -export declare const createRemoteAppComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("node_modules/@types/react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("node_modules/@types/react").RefAttributes<HTMLDivElement>>;
30
- +declare const createLazyRemoteComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
31
- +export declare const createRemoteAppComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
32
- /**
33
- * @deprecated createRemoteComponent is deprecated, please use createRemoteAppComponent instead!
34
- */
35
- diff --git a/dist/remote/router-component/create.d.ts b/dist/remote/router-component/create.d.ts
36
- --- a/dist/remote/router-component/create.d.ts
37
- +++ b/dist/remote/router-component/create.d.ts
38
- @@ -1,7 +1,7 @@
39
- import { type LazyRemoteComponentInfo } from '../createHelpers';
40
- export type { LazyRemoteComponentInfo };
41
- -declare const createLazyRemoteComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("node_modules/@types/react").LazyExoticComponent<import("node_modules/@types/react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("node_modules/@types/react").RefAttributes<HTMLDivElement>>>;
42
- -export declare const createRemoteAppComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("node_modules/@types/react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("node_modules/@types/react").RefAttributes<HTMLDivElement>>;
43
- +declare const createLazyRemoteComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("react").LazyExoticComponent<import("react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("react").RefAttributes<HTMLDivElement>>>;
44
- +export declare const createRemoteAppComponent: <T = Record<string, unknown>, E extends keyof T = keyof T>(info: LazyRemoteComponentInfo<T, E>) => import("react").ForwardRefExoticComponent<Omit<import("../..").RemoteComponentProps<Record<string, unknown>>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
45
- /**
46
- * @deprecated createRemoteComponent is deprecated, please use createRemoteAppComponent instead!
47
- */
@@ -1,26 +0,0 @@
1
- diff --git a/dist/esm/expose-rpc-B0rqtOKP.mjs b/dist/esm/expose-rpc-B0rqtOKP.mjs
2
- index 1692a3e..1c99630 100644
3
- --- a/dist/esm/expose-rpc-B0rqtOKP.mjs
4
- +++ b/dist/esm/expose-rpc-B0rqtOKP.mjs
5
- @@ -1415,7 +1415,7 @@ const formatCompilerError = (error) => {
6
- const getDependentFilesWithTsc = (rootFiles, rootDir, resolvedTsConfigPath, compilerOptions, context, typeScriptContext) => {
7
- if (!rootFiles.length) return [];
8
- const typeScriptPackageInfo = getTypeScriptPackageInfo(typeScriptContext);
9
- - const listFilesTsConfigPath = writeListFilesTsConfig(rootFiles, resolvedTsConfigPath, context, compilerOptions);
10
- + const listFilesTsConfigPath = writeListFilesTsConfig(rootFiles, resolvedTsConfigPath, context, { ...compilerOptions, rootDir });
11
- try {
12
- const dependentFiles = execFileSync(process.execPath, [
13
- typeScriptPackageInfo.tscBinPath,
14
- diff --git a/dist/expose-rpc-jaGpsAVL.js b/dist/expose-rpc-jaGpsAVL.js
15
- index 55f07d8..7828615 100644
16
- --- a/dist/expose-rpc-jaGpsAVL.js
17
- +++ b/dist/expose-rpc-jaGpsAVL.js
18
- @@ -1404,7 +1404,7 @@ const formatCompilerError = (error) => {
19
- const getDependentFilesWithTsc = (rootFiles, rootDir, resolvedTsConfigPath, compilerOptions, context, typeScriptContext) => {
20
- if (!rootFiles.length) return [];
21
- const typeScriptPackageInfo = getTypeScriptPackageInfo(typeScriptContext);
22
- - const listFilesTsConfigPath = writeListFilesTsConfig(rootFiles, resolvedTsConfigPath, context, compilerOptions);
23
- + const listFilesTsConfigPath = writeListFilesTsConfig(rootFiles, resolvedTsConfigPath, context, { ...compilerOptions, rootDir });
24
- try {
25
- const dependentFiles = (0, child_process.execFileSync)(process.execPath, [
26
- typeScriptPackageInfo.tscBinPath,