@nifrajs/cli 5.13.0 → 5.15.0

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 (357) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +3 -1
  3. package/dist/agent-files.js +0 -74
  4. package/dist/agent-files.js.map +1 -1
  5. package/dist/app-files.js +0 -19
  6. package/dist/app-files.js.map +1 -1
  7. package/dist/assure-hydration.js +0 -23
  8. package/dist/assure-hydration.js.map +1 -1
  9. package/dist/assure.js +0 -14
  10. package/dist/assure.js.map +1 -1
  11. package/dist/capabilities-tool.js +0 -51
  12. package/dist/capabilities-tool.js.map +1 -1
  13. package/dist/cdn-check.js +0 -2
  14. package/dist/cdn-check.js.map +1 -1
  15. package/dist/check-diagnostics.d.ts.map +1 -1
  16. package/dist/check-diagnostics.js +22 -31
  17. package/dist/check-diagnostics.js.map +1 -1
  18. package/dist/check-scan.d.ts.map +1 -1
  19. package/dist/check-scan.js +17 -622
  20. package/dist/check-scan.js.map +1 -1
  21. package/dist/check.js +0 -86
  22. package/dist/check.js.map +1 -1
  23. package/dist/cli.js +3 -336
  24. package/dist/cli.js.map +1 -1
  25. package/dist/client-module.js +0 -13
  26. package/dist/client-module.js.map +1 -1
  27. package/dist/command-catalog.js +0 -21
  28. package/dist/command-catalog.js.map +1 -1
  29. package/dist/component-check.js +1 -7
  30. package/dist/component-check.js.map +1 -1
  31. package/dist/config-target.js +0 -13
  32. package/dist/config-target.js.map +1 -1
  33. package/dist/contract-proof.js +0 -1
  34. package/dist/contract-proof.js.map +1 -1
  35. package/dist/contracts.js +0 -36
  36. package/dist/contracts.js.map +1 -1
  37. package/dist/db-audit.js +0 -15
  38. package/dist/db-audit.js.map +1 -1
  39. package/dist/db-child.js +0 -20
  40. package/dist/db-child.js.map +1 -1
  41. package/dist/db-config.js +0 -23
  42. package/dist/db-config.js.map +1 -1
  43. package/dist/db-tool.js +0 -24
  44. package/dist/db-tool.js.map +1 -1
  45. package/dist/deployment-adapters.js +1 -7
  46. package/dist/deployment-adapters.js.map +1 -1
  47. package/dist/dev-bun-config.js +0 -102
  48. package/dist/dev-bun-config.js.map +1 -1
  49. package/dist/dev-feed-tool.js +0 -32
  50. package/dist/dev-feed-tool.js.map +1 -1
  51. package/dist/dev-server-client.js +0 -16
  52. package/dist/dev-server-client.js.map +1 -1
  53. package/dist/diagnostics.js +0 -10
  54. package/dist/diagnostics.js.map +1 -1
  55. package/dist/diff-tool.js +0 -23
  56. package/dist/diff-tool.js.map +1 -1
  57. package/dist/docs-search.js +0 -35
  58. package/dist/docs-search.js.map +1 -1
  59. package/dist/doctor.js +3 -161
  60. package/dist/doctor.js.map +1 -1
  61. package/dist/env-file.js +0 -66
  62. package/dist/env-file.js.map +1 -1
  63. package/dist/examples.js +0 -16
  64. package/dist/examples.js.map +1 -1
  65. package/dist/fix-recipes.js +0 -20
  66. package/dist/fix-recipes.js.map +1 -1
  67. package/dist/frontend-guidance.js +12 -48
  68. package/dist/frontend-guidance.js.map +1 -1
  69. package/dist/hand-built-manifest.js +0 -17
  70. package/dist/hand-built-manifest.js.map +1 -1
  71. package/dist/hooks-report.js +0 -4
  72. package/dist/hooks-report.js.map +1 -1
  73. package/dist/i18n-check.js +0 -30
  74. package/dist/i18n-check.js.map +1 -1
  75. package/dist/init-agents.js +1 -133
  76. package/dist/init-agents.js.map +1 -1
  77. package/dist/internal/code-unit-order.js +0 -2
  78. package/dist/internal/code-unit-order.js.map +1 -1
  79. package/dist/internal/config-paths.js +0 -12
  80. package/dist/internal/config-paths.js.map +1 -1
  81. package/dist/internal/control-character.js +0 -1
  82. package/dist/internal/control-character.js.map +1 -1
  83. package/dist/internal/escape-regexp.d.ts +1 -2
  84. package/dist/internal/escape-regexp.d.ts.map +1 -1
  85. package/dist/internal/escape-regexp.js +1 -4
  86. package/dist/internal/escape-regexp.js.map +1 -1
  87. package/dist/internal/git-ignored.js +0 -11
  88. package/dist/internal/git-ignored.js.map +1 -1
  89. package/dist/internal/installed-package.js +0 -2
  90. package/dist/internal/installed-package.js.map +1 -1
  91. package/dist/internal/line-at.js +0 -1
  92. package/dist/internal/line-at.js.map +1 -1
  93. package/dist/internal/nifra-project.js +0 -31
  94. package/dist/internal/nifra-project.js.map +1 -1
  95. package/dist/internal/posix-path.js +0 -1
  96. package/dist/internal/posix-path.js.map +1 -1
  97. package/dist/internal/project-specifiers.js +0 -34
  98. package/dist/internal/project-specifiers.js.map +1 -1
  99. package/dist/internal/realpath-or-self.js +0 -1
  100. package/dist/internal/realpath-or-self.js.map +1 -1
  101. package/dist/internal/record.d.ts +1 -1
  102. package/dist/internal/record.d.ts.map +1 -1
  103. package/dist/internal/record.js +1 -4
  104. package/dist/internal/record.js.map +1 -1
  105. package/dist/internal/reserved-segment-codemod.js +0 -44
  106. package/dist/internal/reserved-segment-codemod.js.map +1 -1
  107. package/dist/internal/script-kind.js +0 -5
  108. package/dist/internal/script-kind.js.map +1 -1
  109. package/dist/internal/source-facts.js +3 -37
  110. package/dist/internal/source-facts.js.map +1 -1
  111. package/dist/internal/typescript-import.js +0 -49
  112. package/dist/internal/typescript-import.js.map +1 -1
  113. package/dist/internal/workspace-packages.js +0 -24
  114. package/dist/internal/workspace-packages.js.map +1 -1
  115. package/dist/introspect.js +1 -89
  116. package/dist/introspect.js.map +1 -1
  117. package/dist/learn.js +0 -16
  118. package/dist/learn.js.map +1 -1
  119. package/dist/levels-tool.js +0 -34
  120. package/dist/levels-tool.js.map +1 -1
  121. package/dist/load.js +0 -75
  122. package/dist/load.js.map +1 -1
  123. package/dist/local-cli.js +0 -23
  124. package/dist/local-cli.js.map +1 -1
  125. package/dist/lock-links.js +0 -20
  126. package/dist/lock-links.js.map +1 -1
  127. package/dist/manifest-tool.js +0 -5
  128. package/dist/manifest-tool.js.map +1 -1
  129. package/dist/mcp-app-tool.js +0 -9
  130. package/dist/mcp-app-tool.js.map +1 -1
  131. package/dist/mcp-context.js +0 -30
  132. package/dist/mcp-context.js.map +1 -1
  133. package/dist/mcp-delegate.js +0 -45
  134. package/dist/mcp-delegate.js.map +1 -1
  135. package/dist/mcp-docs-tools.js +0 -13
  136. package/dist/mcp-docs-tools.js.map +1 -1
  137. package/dist/mcp-exec.js +0 -71
  138. package/dist/mcp-exec.js.map +1 -1
  139. package/dist/mcp-http.js +1 -38
  140. package/dist/mcp-http.js.map +1 -1
  141. package/dist/mcp-io.d.ts +5 -1
  142. package/dist/mcp-io.d.ts.map +1 -1
  143. package/dist/mcp-io.js +3 -68
  144. package/dist/mcp-io.js.map +1 -1
  145. package/dist/mcp-isolate.js +0 -28
  146. package/dist/mcp-isolate.js.map +1 -1
  147. package/dist/mcp-path.js +0 -8
  148. package/dist/mcp-path.js.map +1 -1
  149. package/dist/mcp-project-child.js +0 -19
  150. package/dist/mcp-project-child.js.map +1 -1
  151. package/dist/mcp-protocol.js +0 -5
  152. package/dist/mcp-protocol.js.map +1 -1
  153. package/dist/mcp-reflect.js +0 -11
  154. package/dist/mcp-reflect.js.map +1 -1
  155. package/dist/mcp-relay.d.ts +4 -0
  156. package/dist/mcp-relay.d.ts.map +1 -1
  157. package/dist/mcp-relay.js +9 -20
  158. package/dist/mcp-relay.js.map +1 -1
  159. package/dist/mcp-render.js +1 -42
  160. package/dist/mcp-render.js.map +1 -1
  161. package/dist/mcp-root.js +0 -90
  162. package/dist/mcp-root.js.map +1 -1
  163. package/dist/mcp-run.js +1 -38
  164. package/dist/mcp-run.js.map +1 -1
  165. package/dist/mcp-tool-meta.js +3 -8
  166. package/dist/mcp-tool-meta.js.map +1 -1
  167. package/dist/mcp-ws.js +0 -16
  168. package/dist/mcp-ws.js.map +1 -1
  169. package/dist/mcp.js +0 -86
  170. package/dist/mcp.js.map +1 -1
  171. package/dist/migrate-layout.js +0 -313
  172. package/dist/migrate-layout.js.map +1 -1
  173. package/dist/openapi-tool.js +0 -18
  174. package/dist/openapi-tool.js.map +1 -1
  175. package/dist/openapi-types.js +0 -22
  176. package/dist/openapi-types.js.map +1 -1
  177. package/dist/output-schemas.js +0 -67
  178. package/dist/output-schemas.js.map +1 -1
  179. package/dist/pipeline-guard.js +0 -58
  180. package/dist/pipeline-guard.js.map +1 -1
  181. package/dist/pipeline-report.js +0 -71
  182. package/dist/pipeline-report.js.map +1 -1
  183. package/dist/port.js +1 -89
  184. package/dist/port.js.map +1 -1
  185. package/dist/ppr-read-fix.js +0 -29
  186. package/dist/ppr-read-fix.js.map +1 -1
  187. package/dist/project-facts.js +0 -5
  188. package/dist/project-facts.js.map +1 -1
  189. package/dist/project-path.js +0 -7
  190. package/dist/project-path.js.map +1 -1
  191. package/dist/project-site.js +0 -2
  192. package/dist/project-site.js.map +1 -1
  193. package/dist/recipes/1.8.0.js +0 -9
  194. package/dist/recipes/1.8.0.js.map +1 -1
  195. package/dist/recipes/2.0.0.js +0 -6
  196. package/dist/recipes/2.0.0.js.map +1 -1
  197. package/dist/recipes/3.0.0.js +0 -7
  198. package/dist/recipes/3.0.0.js.map +1 -1
  199. package/dist/recipes/4.0.0.js +0 -6
  200. package/dist/recipes/4.0.0.js.map +1 -1
  201. package/dist/recipes/5.0.0.js +0 -8
  202. package/dist/recipes/5.0.0.js.map +1 -1
  203. package/dist/recipes/5.1.0.js +0 -6
  204. package/dist/recipes/5.1.0.js.map +1 -1
  205. package/dist/recipes/5.10.0.js +0 -10
  206. package/dist/recipes/5.10.0.js.map +1 -1
  207. package/dist/recipes/5.11.0.js +0 -7
  208. package/dist/recipes/5.11.0.js.map +1 -1
  209. package/dist/recipes/5.12.0.js +0 -6
  210. package/dist/recipes/5.12.0.js.map +1 -1
  211. package/dist/recipes/5.13.0.js +0 -6
  212. package/dist/recipes/5.13.0.js.map +1 -1
  213. package/dist/recipes/5.14.0.d.ts +10 -0
  214. package/dist/recipes/5.14.0.d.ts.map +1 -0
  215. package/dist/recipes/5.14.0.js +26 -0
  216. package/dist/recipes/5.14.0.js.map +1 -0
  217. package/dist/recipes/5.15.0.d.ts +12 -0
  218. package/dist/recipes/5.15.0.d.ts.map +1 -0
  219. package/dist/recipes/5.15.0.js +30 -0
  220. package/dist/recipes/5.15.0.js.map +1 -0
  221. package/dist/recipes/5.2.0.js +0 -7
  222. package/dist/recipes/5.2.0.js.map +1 -1
  223. package/dist/recipes/5.3.0.js +0 -8
  224. package/dist/recipes/5.3.0.js.map +1 -1
  225. package/dist/recipes/5.4.0.js +0 -8
  226. package/dist/recipes/5.4.0.js.map +1 -1
  227. package/dist/recipes/5.5.0.js +0 -6
  228. package/dist/recipes/5.5.0.js.map +1 -1
  229. package/dist/recipes/5.6.0.js +0 -7
  230. package/dist/recipes/5.6.0.js.map +1 -1
  231. package/dist/recipes/5.7.0.js +0 -9
  232. package/dist/recipes/5.7.0.js.map +1 -1
  233. package/dist/recipes/5.8.0.js +0 -6
  234. package/dist/recipes/5.8.0.js.map +1 -1
  235. package/dist/recipes/5.9.0.js +0 -9
  236. package/dist/recipes/5.9.0.js.map +1 -1
  237. package/dist/recipes/index.d.ts.map +1 -1
  238. package/dist/recipes/index.js +4 -9
  239. package/dist/recipes/index.js.map +1 -1
  240. package/dist/release-verification.js +0 -14
  241. package/dist/release-verification.js.map +1 -1
  242. package/dist/replay.js +0 -3
  243. package/dist/replay.js.map +1 -1
  244. package/dist/review.js +0 -21
  245. package/dist/review.js.map +1 -1
  246. package/dist/route-types.js +0 -17
  247. package/dist/route-types.js.map +1 -1
  248. package/dist/rule-explain.js +0 -5
  249. package/dist/rule-explain.js.map +1 -1
  250. package/dist/rules/codes.js +0 -2
  251. package/dist/rules/codes.js.map +1 -1
  252. package/dist/rules/comment-markers.js +0 -25
  253. package/dist/rules/comment-markers.js.map +1 -1
  254. package/dist/rules/contract-visibility.js +0 -27
  255. package/dist/rules/contract-visibility.js.map +1 -1
  256. package/dist/rules/data-guard.js +1 -52
  257. package/dist/rules/data-guard.js.map +1 -1
  258. package/dist/rules/internal-links.js +0 -36
  259. package/dist/rules/internal-links.js.map +1 -1
  260. package/dist/rules/islands.js +2 -65
  261. package/dist/rules/islands.js.map +1 -1
  262. package/dist/rules/layout.js +0 -1
  263. package/dist/rules/layout.js.map +1 -1
  264. package/dist/rules/legacy.js +0 -31
  265. package/dist/rules/legacy.js.map +1 -1
  266. package/dist/rules/merge-auth.js +0 -9
  267. package/dist/rules/merge-auth.js.map +1 -1
  268. package/dist/rules/pages.js +0 -95
  269. package/dist/rules/pages.js.map +1 -1
  270. package/dist/rules/ppr.js +0 -8
  271. package/dist/rules/ppr.js.map +1 -1
  272. package/dist/rules/route-statement.js +0 -13
  273. package/dist/rules/route-statement.js.map +1 -1
  274. package/dist/rules/routes.js +1 -67
  275. package/dist/rules/routes.js.map +1 -1
  276. package/dist/rules/secrets.js +0 -15
  277. package/dist/rules/secrets.js.map +1 -1
  278. package/dist/rules/security.js +0 -113
  279. package/dist/rules/security.js.map +1 -1
  280. package/dist/rules/server-fn-namespace.js +0 -5
  281. package/dist/rules/server-fn-namespace.js.map +1 -1
  282. package/dist/rules/source-scan.js +0 -5
  283. package/dist/rules/source-scan.js.map +1 -1
  284. package/dist/rules/swap.js +0 -21
  285. package/dist/rules/swap.js.map +1 -1
  286. package/dist/rules/text-slot-boolean.js +0 -5
  287. package/dist/rules/text-slot-boolean.js.map +1 -1
  288. package/dist/rules/typescript.js +0 -5
  289. package/dist/rules/typescript.js.map +1 -1
  290. package/dist/rules/undeclared-response.js +0 -8
  291. package/dist/rules/undeclared-response.js.map +1 -1
  292. package/dist/rules/zones.js +0 -45
  293. package/dist/rules/zones.js.map +1 -1
  294. package/dist/runtime-differences.js +0 -20
  295. package/dist/runtime-differences.js.map +1 -1
  296. package/dist/scaffold-hole.js +1 -45
  297. package/dist/scaffold-hole.js.map +1 -1
  298. package/dist/scaffold.js +3 -60
  299. package/dist/scaffold.js.map +1 -1
  300. package/dist/sdk.js +1 -13
  301. package/dist/sdk.js.map +1 -1
  302. package/dist/search-terms.js +0 -12
  303. package/dist/search-terms.js.map +1 -1
  304. package/dist/shell-files.js +0 -15
  305. package/dist/shell-files.js.map +1 -1
  306. package/dist/shell-init.js +0 -15
  307. package/dist/shell-init.js.map +1 -1
  308. package/dist/smoke.js +0 -4
  309. package/dist/smoke.js.map +1 -1
  310. package/dist/source-rewrites.js +0 -43
  311. package/dist/source-rewrites.js.map +1 -1
  312. package/dist/stylex-migrate.js +0 -29
  313. package/dist/stylex-migrate.js.map +1 -1
  314. package/dist/symptom-search.js +0 -3
  315. package/dist/symptom-search.js.map +1 -1
  316. package/dist/sync-manifest.js +3 -33
  317. package/dist/sync-manifest.js.map +1 -1
  318. package/dist/test-tool.js +0 -10
  319. package/dist/test-tool.js.map +1 -1
  320. package/dist/typecheck-coverage.js +0 -36
  321. package/dist/typecheck-coverage.js.map +1 -1
  322. package/dist/types-search.js +0 -35
  323. package/dist/types-search.js.map +1 -1
  324. package/dist/upgrade.js +0 -214
  325. package/dist/upgrade.js.map +1 -1
  326. package/dist/verification-plan.js +0 -19
  327. package/dist/verification-plan.js.map +1 -1
  328. package/dist/verification.js +0 -23
  329. package/dist/verification.js.map +1 -1
  330. package/dist/version-drift.js +0 -8
  331. package/dist/version-drift.js.map +1 -1
  332. package/dist/web-app-options.js +0 -16
  333. package/dist/web-app-options.js.map +1 -1
  334. package/dist/work-graph.js +0 -21
  335. package/dist/work-graph.js.map +1 -1
  336. package/dist/workspace-link.js +0 -31
  337. package/dist/workspace-link.js.map +1 -1
  338. package/docs/examples.json +7 -1
  339. package/docs/llms-full.txt +422 -44
  340. package/docs/types.json +193 -16
  341. package/package.json +12 -11
  342. package/src/assure-hydration.ts +3 -3
  343. package/src/check-diagnostics.ts +26 -2
  344. package/src/check-scan.ts +8 -1
  345. package/src/cli.ts +5 -5
  346. package/src/frontend-guidance.ts +12 -12
  347. package/src/internal/escape-regexp.ts +1 -4
  348. package/src/internal/record.ts +1 -3
  349. package/src/internal/typescript-import.ts +1 -1
  350. package/src/mcp-http.ts +1 -1
  351. package/src/mcp-io.ts +8 -5
  352. package/src/mcp-relay.ts +19 -7
  353. package/src/mcp-render.ts +1 -1
  354. package/src/mcp-tool-meta.ts +3 -3
  355. package/src/recipes/5.14.0.ts +34 -0
  356. package/src/recipes/5.15.0.ts +40 -0
  357. package/src/recipes/index.ts +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nifrajs/cli",
3
- "version": "5.13.0",
3
+ "version": "5.15.0",
4
4
  "description": "The nifra CLI - zero-config dev/build/start for a nifra app (`nifra dev`, `nifra build`, `nifra start`).",
5
5
  "keywords": [
6
6
  "bun",
@@ -70,16 +70,17 @@
70
70
  "access": "public"
71
71
  },
72
72
  "dependencies": {
73
- "@nifrajs/client": "5.13.0",
74
- "@nifrajs/core": "5.13.0",
75
- "@nifrajs/agent-review": "5.13.0",
76
- "@nifrajs/i18n": "5.13.0",
77
- "@nifrajs/mcp": "5.13.0",
78
- "@nifrajs/mcp-db": "5.13.0",
79
- "@nifrajs/runner": "5.13.0",
80
- "@nifrajs/schema": "5.13.0",
81
- "@nifrajs/testing": "5.13.0",
82
- "@nifrajs/web": "5.13.0"
73
+ "@nifrajs/agent-review": "5.15.0",
74
+ "@nifrajs/client": "5.15.0",
75
+ "@nifrajs/core": "5.15.0",
76
+ "@nifrajs/i18n": "5.15.0",
77
+ "@nifrajs/mcp": "5.15.0",
78
+ "@nifrajs/mcp-db": "5.15.0",
79
+ "@nifrajs/runner": "5.15.0",
80
+ "@nifrajs/schema": "5.15.0",
81
+ "@nifrajs/testing": "5.15.0",
82
+ "@nifrajs/utils": "5.15.0",
83
+ "@nifrajs/web": "5.15.0"
83
84
  },
84
85
  "repository": {
85
86
  "type": "git",
@@ -220,7 +220,7 @@ async function buildHydrationApp(cwd: string): Promise<BuiltHydrationApp | { ski
220
220
  clientEntry: client.entry,
221
221
  ...frameworkWebAppOptions(loaded.framework, loaded.backend),
222
222
  ...(client.copyChunks === undefined ? {} : { copyChunks: client.copyChunks }),
223
- }) as unknown as AppLike
223
+ }) as AppLike
224
224
  return {
225
225
  app: webApp,
226
226
  client,
@@ -273,8 +273,8 @@ async function runDomHydration(
273
273
  unknown
274
274
  >
275
275
  const documentValue = windowValue.document as Record<string, unknown>
276
- const globals = globalThis as unknown as Record<string, unknown>
277
- const globalRecord = globalThis as unknown as Record<PropertyKey, unknown>
276
+ const globals = globalThis as Record<string, unknown>
277
+ const globalRecord = globalThis as Record<PropertyKey, unknown>
278
278
  const runtimeKey = Symbol.for("nifra.hydration.runtime")
279
279
  const previous = new Map<string, unknown>()
280
280
  const names = [
@@ -648,11 +648,33 @@ export async function collectCheckDiagnostics(
648
648
  return [Object.freeze({ ...value, severity: override.severity })]
649
649
  })
650
650
 
651
+ // A promoted contract note must also appear in the human report when it fails the gate.
652
+ for (const value of finalStructured) {
653
+ if (
654
+ value.severity === "error" &&
655
+ knownLegacyCodes.has(value.code) &&
656
+ diagnosticCompatibilityOf(value) === undefined
657
+ ) {
658
+ const row: { -readonly [Key in keyof CheckDiagnostic]: CheckDiagnostic[Key] } = {
659
+ rule: value.code,
660
+ code: value.code,
661
+ severity: "error",
662
+ message: value.message,
663
+ }
664
+ if (value.file !== undefined) row.file = value.file
665
+ if (value.line !== undefined) row.line = value.line
666
+ finalDiagnostics.push(row)
667
+ }
668
+ }
669
+
651
670
  const total = finalDiagnostics.length
652
671
  const max = opts.maxDiagnostics
653
672
  const shown = max !== undefined && total > max ? finalDiagnostics.slice(0, max) : finalDiagnostics
654
673
  const nonLegacyStructuredCount = finalStructured.filter(
655
- (value) => knownLegacyCodes.has(value.code) && diagnosticCompatibilityOf(value) === undefined,
674
+ (value) =>
675
+ value.severity !== "error" &&
676
+ knownLegacyCodes.has(value.code) &&
677
+ diagnosticCompatibilityOf(value) === undefined,
656
678
  ).length
657
679
  const structuredLimit =
658
680
  shown.length < total ? shown.length + nonLegacyStructuredCount : finalStructured.length
@@ -666,7 +688,9 @@ export async function collectCheckDiagnostics(
666
688
  ? undefined
667
689
  : (await import("@nifrajs/core/reflection")).reflectHooks(hookSource)
668
690
  const result: CheckResult = {
669
- ok: !finalDiagnostics.some((value) => value.severity === "error"),
691
+ ok:
692
+ !finalDiagnostics.some((value) => value.severity === "error") &&
693
+ !finalStructured.some((value) => value.severity === "error"),
670
694
  typecheck: !projectFacts.check.typecheck.ran
671
695
  ? "skipped"
672
696
  : projectFacts.check.typecheck.ok && outsideProgram === 0
package/src/check-scan.ts CHANGED
@@ -3597,9 +3597,16 @@ export async function scanServerManifestDrift(cwd: string): Promise<ManifestDrif
3597
3597
  "@nifrajs/web/build"
3598
3598
  )
3599
3599
  const findings: ManifestDriftFinding[] = []
3600
+ const manifests: string[] = []
3600
3601
  for await (const rawRel of new Glob("**/server-manifest.ts").scan({ cwd, dot: false })) {
3601
3602
  const rel = normalizeProjectPath(rawRel)
3602
- if (IGNORED.test(rel)) continue
3603
+ if (!IGNORED.test(rel)) manifests.push(rel)
3604
+ }
3605
+ // A gitignored manifest is a disposable build output the build regenerates (the ISR template), so
3606
+ // it cannot be stale in any way that matters - and flagging it would block the build that fixes it.
3607
+ const ignored = await gitIgnored(cwd, manifests)
3608
+ for (const rel of manifests) {
3609
+ if (ignored.has(rel)) continue
3603
3610
  const source = await Bun.file(join(cwd, rel)).text()
3604
3611
  if (!source.includes(GENERATED_MARKER)) continue // not a generated manifest - skip
3605
3612
  const prefixMatch = ROUTES_PREFIX.exec(source)
package/src/cli.ts CHANGED
@@ -368,7 +368,7 @@ set in the process environment is never overwritten by a file.
368
368
  ${renderCommandCatalogHelp()}`
369
369
 
370
370
  // Kept in lockstep with packages/cli/package.json by check:publish's version-consistency gate.
371
- const CLI_VERSION = "5.13.0"
371
+ const CLI_VERSION = "5.15.0"
372
372
 
373
373
  // A render adapter + nifra server are opaque to the CLI (it just forwards them); cast at the seam.
374
374
  const asAdapter = (v: unknown): RenderAdapter => v as RenderAdapter
@@ -1025,8 +1025,8 @@ async function buildForTarget(
1025
1025
  // whatever it's given straight to the chosen bundler, which casts to its own plugin type.
1026
1026
  const plugins = useVite
1027
1027
  ? {
1028
- clientPlugins: app.resolvedPlugins.vitePlugins as unknown as BunPlugin[],
1029
- serverPlugins: app.resolvedPlugins.vitePlugins as unknown as BunPlugin[],
1028
+ clientPlugins: app.resolvedPlugins.vitePlugins as BunPlugin[],
1029
+ serverPlugins: app.resolvedPlugins.vitePlugins as BunPlugin[],
1030
1030
  }
1031
1031
  : {
1032
1032
  clientPlugins: asBunPlugins(app.resolvedPlugins.clientPlugins),
@@ -1516,7 +1516,7 @@ async function main(): Promise<void> {
1516
1516
  markReflecting(command)
1517
1517
  const output = await catalogSpec.run(input, { cwd: process.cwd(), cliVersion: CLI_VERSION })
1518
1518
  markReflecting(undefined)
1519
- const asRecord = output as unknown as Record<string, unknown>
1519
+ const asRecord = output as Record<string, unknown>
1520
1520
  const wantsJson = asRecord.json === true || argv.includes("--json")
1521
1521
  if (wantsJson) {
1522
1522
  const value = catalogSpec.json?.(output, input) ?? output
@@ -1674,7 +1674,7 @@ function isMainModule(): boolean {
1674
1674
  * Only non-flag entries are considered and every match must resolve to this exact file, so an
1675
1675
  * unresolved or arbitrary flag can never turn an imported CLI module into a running CLI.
1676
1676
  */
1677
- const bunMain = (Bun as unknown as { main?: unknown }).main
1677
+ const bunMain = (Bun as { main?: unknown }).main
1678
1678
  const argvEntries = (argv: readonly string[]): string[] => {
1679
1679
  const entries: string[] = []
1680
1680
  for (const value of argv.slice(1)) {
@@ -150,11 +150,11 @@ export const FRONTEND_GUIDANCE: readonly GuidanceEntry[] = [
150
150
  symptom: "A prop or store value renders once and never tracks updates in a Solid component.",
151
151
  cause:
152
152
  "Solid props are getters, evaluated where you read them. Destructuring props (or reading them outside JSX/an effect) reads once and loses tracking.",
153
- fix: "Access `props.x` at the point of use inside JSX, or `splitProps`/`mergeProps` when you need to pass a subset on. Never destructure props in the function signature.",
153
+ fix: "Access `props.x` at the point of use inside JSX, or use `omit`/`merge` when you need to pass a subset on or add defaults. Never destructure props in the function signature.",
154
154
  verify:
155
155
  "eslint-plugin-solid - the authority on Solid reactivity; nifra routes you to it, not around it.",
156
- seeAlso: "eslint-plugin-solid splitProps props getters",
157
- versions: ["Solid 1.8-1.9"],
156
+ seeAlso: "eslint-plugin-solid omit merge props getters",
157
+ versions: ["Solid 2.0"],
158
158
  source: "https://docs.solidjs.com/concepts/components/props",
159
159
  category: "reactivity",
160
160
  },
@@ -284,12 +284,12 @@ export const FRONTEND_GUIDANCE: readonly GuidanceEntry[] = [
284
284
  symptom:
285
285
  "A Solid list displays the wrong row state or does unnecessary work after an item is inserted or reordered.",
286
286
  cause:
287
- "`Index` tracks positions while `For` tracks item identity. Choosing the wrong primitive changes which values remain attached to a row.",
288
- fix: "Use `<For>` for collections whose item identity can move and `<Index>` only when position is the identity. Supply a stable key at the data boundary when persistence matters.",
287
+ "`<For>` tracks items by identity, while `keyed={false}` tracks them by position and hands each row an item accessor. Choosing the wrong mode changes which values remain attached to a row.",
288
+ fix: "Use plain `<For>` for collections whose item identity can move, `keyed={false}` only when position is the identity, and `keyed={(item) => item.id}` when a stable id should carry row state.",
289
289
  verify:
290
290
  "Test insert, remove, and reorder operations while editing one row; assert both rendered identity and preserved local state.",
291
- seeAlso: "Solid list rendering For Index",
292
- versions: ["Solid 1.8-1.9"],
291
+ seeAlso: "Solid list rendering For keyed",
292
+ versions: ["Solid 2.0"],
293
293
  source: "https://docs.solidjs.com/concepts/control-flow/list-rendering",
294
294
  category: "lists",
295
295
  },
@@ -299,12 +299,12 @@ export const FRONTEND_GUIDANCE: readonly GuidanceEntry[] = [
299
299
  symptom:
300
300
  "A Solid computation reads a signal once and never updates, or a server-rendered value is captured before the component runs.",
301
301
  cause:
302
- "The signal is read outside a tracked computation or at module/component setup time instead of inside JSX, `createEffect`, or `createMemo`.",
303
- fix: "Read signals where Solid can track them, keep derived work in `createMemo`, and keep side effects in `createEffect`. Do not cache a getter's current value as a plain variable.",
302
+ "The signal is read outside a tracked computation or at module/component setup time instead of inside JSX, `createMemo`, or the compute half of `createEffect`.",
303
+ fix: "Read signals where Solid can track them, keep derived work in `createMemo`, and split `createEffect(compute, effect)` so reads happen in `compute` and side effects in `effect`. Do not cache a getter's current value as a plain variable.",
304
304
  verify:
305
305
  "Change the source signal after mount and assert the derived output changes without manually calling an update function.",
306
306
  seeAlso: "Solid reactivity tracking createMemo createEffect",
307
- versions: ["Solid 1.8-1.9"],
307
+ versions: ["Solid 2.0"],
308
308
  source: "https://docs.solidjs.com/concepts/reactivity",
309
309
  category: "reactivity",
310
310
  },
@@ -314,11 +314,11 @@ export const FRONTEND_GUIDANCE: readonly GuidanceEntry[] = [
314
314
  symptom: "A Solid event listener, interval, or resource outlives the owner that created it.",
315
315
  cause:
316
316
  "The effect allocates an external resource without registering cleanup with the current owner.",
317
- fix: "Register teardown with `onCleanup` in the same owner that created the resource. Abort async work when its owner is disposed.",
317
+ fix: "Return a cleanup function from the `effect` half of `createEffect(compute, effect)`, or register `onCleanup` in the same owner that created the resource. Abort async work when its owner is disposed.",
318
318
  verify:
319
319
  "Mount and dispose the owner repeatedly, then assert that listener, timer, and request counts return to zero.",
320
320
  seeAlso: "Solid onCleanup effects",
321
- versions: ["Solid 1.8-1.9"],
321
+ versions: ["Solid 2.0"],
322
322
  source: "https://docs.solidjs.com/reference/lifecycle/on-cleanup",
323
323
  category: "effects",
324
324
  },
@@ -1,4 +1 @@
1
- /** `value` with every RegExp metacharacter escaped, to match it literally inside a pattern. */
2
- export function escapeRegExp(value: string): string {
3
- return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")
4
- }
1
+ export { escapeRegExp } from "@nifrajs/utils/escape-regexp"
@@ -1,4 +1,2 @@
1
1
  /** A non-null, non-array object. The prototype is not checked: a `Date` or a `Map` passes. */
2
- export function isRecord(value: unknown): value is Record<string, unknown> {
3
- return typeof value === "object" && value !== null && !Array.isArray(value)
4
- }
2
+ export { isRecord } from "@nifrajs/utils/record"
@@ -562,7 +562,7 @@ async function createTypeScript7Session(
562
562
  isParameter,
563
563
  isStringLiteralLike,
564
564
  }
565
- const compiler = Object.freeze(facade) as unknown as TypeScriptApi
565
+ const compiler = Object.freeze(facade) as TypeScriptApi
566
566
 
567
567
  const firstProject = projects.values().next().value as TypeScript7Project | undefined
568
568
  const semantic =
package/src/mcp-http.ts CHANGED
@@ -30,7 +30,7 @@ export { docsTools } from "./mcp-docs-tools.ts"
30
30
  export type { TypeEntry } from "./types-search.ts"
31
31
 
32
32
  // Kept in lockstep with packages/cli/package.json by check:publish's version-consistency gate.
33
- const VERSION = "5.13.0"
33
+ const VERSION = "5.15.0"
34
34
  const SERVER_INFO = { name: "nifra-docs", version: VERSION }
35
35
  // Derive the GET/health tool list from the tools actually served, so the line can never drift from them.
36
36
  const docsHealth = (tools: McpTool[]): string =>
package/src/mcp-io.ts CHANGED
@@ -233,7 +233,11 @@ function decodeLine(chunks: readonly Uint8Array[], totalBytes: number): string {
233
233
  return new TextDecoder().decode(bytes)
234
234
  }
235
235
 
236
- /** Read newline-delimited input without retaining a line larger than the configured byte budget. */
236
+ /**
237
+ * Read newline-delimited input without retaining a line larger than the configured byte budget. A
238
+ * line over the budget is reported as `too-large` the moment it crosses it, not when it ends, so a
239
+ * peer that never sends a newline is noticed; the rest of that line is skipped.
240
+ */
237
241
  export async function* readBoundedLines(
238
242
  stream: ReadableStream<Uint8Array>,
239
243
  maxBytes = CHILD_INPUT_MAX_BYTES,
@@ -255,22 +259,21 @@ export async function* readBoundedLines(
255
259
  tooLarge = true
256
260
  chunks.length = 0
257
261
  totalBytes = 0
262
+ yield { kind: "too-large" }
258
263
  } else if (segment.byteLength > 0) {
259
264
  chunks.push(segment)
260
265
  totalBytes += segment.byteLength
261
266
  }
262
267
  }
263
268
  if (newline === -1) break
264
- if (tooLarge) yield { kind: "too-large" }
265
- else yield { kind: "line", text: decodeLine(chunks, totalBytes) }
269
+ if (!tooLarge) yield { kind: "line", text: decodeLine(chunks, totalBytes) }
266
270
  chunks.length = 0
267
271
  totalBytes = 0
268
272
  tooLarge = false
269
273
  start = newline + 1
270
274
  }
271
275
  }
272
- if (tooLarge) yield { kind: "too-large" }
273
- else if (totalBytes > 0) yield { kind: "line", text: decodeLine(chunks, totalBytes) }
276
+ if (!tooLarge && totalBytes > 0) yield { kind: "line", text: decodeLine(chunks, totalBytes) }
274
277
  }
275
278
 
276
279
  /** Serialize a JSON value only when its UTF-8 representation fits within the byte budget. */
package/src/mcp-relay.ts CHANGED
@@ -7,6 +7,7 @@
7
7
  */
8
8
 
9
9
  import type { StdioMessage } from "@nifrajs/mcp/stdio"
10
+ import { readBoundedLines } from "./mcp-io.ts"
10
11
  import {
11
12
  isJsonRpcRequest,
12
13
  isJsonRpcResponse,
@@ -20,6 +21,8 @@ type JsonRpcId = JsonRpcResponse["id"]
20
21
  const HANDSHAKE_ID = "nifra-relay-handshake"
21
22
  const HANDSHAKE_MS = 30_000
22
23
  const CLOSE_MS = 5_000
24
+ /** The largest line the child may send. A tool result is one line, so this bounds a result, not a session. */
25
+ export const RELAY_FRAME_MAX_BYTES = 16 * 1024 * 1024
23
26
 
24
27
  const spawnChild = (
25
28
  command: readonly string[],
@@ -54,6 +57,8 @@ export async function startRelay(options: {
54
57
  readonly send: (message: StdioMessage) => void
55
58
  /** Written to stderr once the child answers. */
56
59
  readonly announce: string
60
+ /** Largest line read from the child before it is ended. Default {@link RELAY_FRAME_MAX_BYTES}. */
61
+ readonly maxFrameBytes?: number
57
62
  }): Promise<McpRelay | undefined> {
58
63
  let child: ReturnType<typeof spawnChild>
59
64
  try {
@@ -90,15 +95,22 @@ export async function startRelay(options: {
90
95
  } else if (isJsonRpcRequest(parsed)) options.send(parsed)
91
96
  }
92
97
  const pumped = (async () => {
93
- const decoder = new TextDecoder()
94
- let buffered = ""
95
- for await (const chunk of child.stdout) {
96
- buffered += decoder.decode(chunk, { stream: true })
97
- for (let at = buffered.indexOf("\n"); at !== -1; at = buffered.indexOf("\n")) {
98
- const line = buffered.slice(0, at).trim()
99
- buffered = buffered.slice(at + 1)
98
+ for await (const item of readBoundedLines(
99
+ child.stdout,
100
+ options.maxFrameBytes ?? RELAY_FRAME_MAX_BYTES,
101
+ )) {
102
+ if (item.kind === "line") {
103
+ const line = item.text.trim()
100
104
  if (line !== "") route(line)
105
+ continue
101
106
  }
107
+ // The frame was dropped, so a response may be missing and the stream can no longer be trusted:
108
+ // end the child, and the requests waiting on it settle with an error.
109
+ process.stderr.write(
110
+ "nifra mcp: the project's nifra CLI sent an oversized message; ending it\n",
111
+ )
112
+ child.kill("SIGKILL")
113
+ return
102
114
  }
103
115
  })().catch(() => {})
104
116
  void child.exited.then(async () => {
package/src/mcp-render.ts CHANGED
@@ -57,7 +57,7 @@ async function buildWebApp(cwd: string): Promise<{ app: AppLike } | { error: str
57
57
  manifest: discoverRoutes(app.routesDir),
58
58
  clientEntry: "/_nifra-render-only.js", // placeholder; SSR HTML does not need the built client
59
59
  ...frameworkWebAppOptions(app.framework, app.backend),
60
- }) as unknown as AppLike
60
+ }) as AppLike
61
61
  return { app: webApp }
62
62
  } catch (err) {
63
63
  return { error: errString(err) }
@@ -251,11 +251,11 @@ export function withToolMeta(tool: McpTool): McpTool {
251
251
  const annotated = { ...tool, annotations: tool.annotations ?? meta.annotations }
252
252
  const fields = meta.fields
253
253
  const properties = tool.inputSchema.properties
254
- if (fields === undefined || !isRecord(properties)) return annotated
254
+ if (fields === undefined || !isNonNullObject(properties)) return annotated
255
255
  const described = Object.fromEntries(
256
256
  Object.entries(properties).map(([name, property]) => {
257
257
  const description = fields[name]
258
- return description === undefined || !isRecord(property) || "description" in property
258
+ return description === undefined || !isNonNullObject(property) || "description" in property
259
259
  ? [name, property]
260
260
  : [name, { ...property, description }]
261
261
  }),
@@ -263,5 +263,5 @@ export function withToolMeta(tool: McpTool): McpTool {
263
263
  return { ...annotated, inputSchema: { ...tool.inputSchema, properties: described } }
264
264
  }
265
265
 
266
- const isRecord = (value: unknown): value is Readonly<Record<string, unknown>> =>
266
+ const isNonNullObject = (value: unknown): value is Readonly<Record<string, unknown>> =>
267
267
  typeof value === "object" && value !== null
@@ -0,0 +1,34 @@
1
+ import type { UpgradeRecipe } from "./index.ts"
2
+
3
+ /**
4
+ * Upgrade recipe for Nifra 5.14.
5
+ *
6
+ * This release has no import or dependency moves. Its notes cover the new uWebSockets.js adapter,
7
+ * the server-component tuple that moves to Vite 8.3.8, the markdown renderer behind `entry.html`,
8
+ * and TRACE routing on Deno through a mounted app. A fifth covers `data:` URLs on a `<script>` in `@nifrajs/web-vanilla`.
9
+ */
10
+ export const recipe: UpgradeRecipe = {
11
+ version: "5.14.0",
12
+ pins: [
13
+ { match: "@nifrajs/", to: "5.14.0" },
14
+ { match: "create-nifra", to: "5.14.0" },
15
+ { match: "nifra", to: "5.14.0" },
16
+ ],
17
+ importMoves: [],
18
+ affects: [
19
+ "@nifrajs/content",
20
+ "@nifrajs/core",
21
+ "@nifrajs/node",
22
+ "@nifrajs/node-uws",
23
+ "@nifrajs/web",
24
+ "@nifrajs/web-react",
25
+ "@nifrajs/web-vanilla",
26
+ ],
27
+ notes: [
28
+ "`@nifrajs/node-uws` serves an app on uWebSockets.js from Node, through the same node-direct lane as `@nifrajs/node`: `serve(app, { port })` from the new package. It has no WebSocket or static-file support, and uWebSockets.js is installed from GitHub with its own prebuilt binaries, so keep `@nifrajs/node` where those matter. Nothing changes for an app that stays on `@nifrajs/node`.",
29
+ "The certified server-component tuple moves to Vite 8.3.8 and `@vitejs/plugin-rsc` 0.5.39. The pipeline's guard accepts only the certified Vite and the plugin peer is exact, so an app using server components must pin `vite@8.3.8` and `@vitejs/plugin-rsc@0.5.39` together. Apps that do not opt in to server components are unaffected.",
30
+ "`entry.html` in `@nifrajs/content` is rendered by marked 18 (was 15): a code span that wraps across lines inside a list item stays one span, a single `~` before a number is text instead of strikethrough, and HTML blocks and tables no longer carry the blank lines that followed them in the source. Re-bake collections and review any snapshot of `entry.html`.",
31
+ "On Deno with `normalizeTarget`, an app reached through `mount()` or `mountFetch()` routes a TRACE or TRACK request on the target its parent resolved, so `TRACE /x/../pages/form` answers the page's 405 with its `Allow` as on every other runtime.",
32
+ "`@nifrajs/web-vanilla` writes an interpolated `data:` URL that begins a `<script>`'s `src` or `href` as `about:invalid`, as it already did for `javascript:`. A page that loads a script from an interpolated `data:` URL must serve it from a real URL; `data:` URLs on images, links, frames, objects and stylesheets are unchanged.",
33
+ ],
34
+ }
@@ -0,0 +1,40 @@
1
+ import type { UpgradeRecipe } from "./index.ts"
2
+
3
+ /**
4
+ * Upgrade recipe for Nifra 5.15.
5
+ *
6
+ * This release has no import moves. A Solid app moves to Solid 2.0, which changes its dependencies and
7
+ * its build plugin. The notes cover that move, copied job and shared-state payloads, serving an app on
8
+ * `@nifrajs/node-uws` (which now seals it and answers fixed routes natively), the response body hook's
9
+ * render fast path, `c.json()` on Bun and Deno under a body hook, and where `compression()` gzips on
10
+ * Bun for Linux.
11
+ */
12
+ export const recipe: UpgradeRecipe = {
13
+ version: "5.15.0",
14
+ pins: [
15
+ { match: "@nifrajs/", to: "5.15.0" },
16
+ { match: "create-nifra", to: "5.15.0" },
17
+ { match: "nifra", to: "5.15.0" },
18
+ ],
19
+ importMoves: [],
20
+ affects: [
21
+ "@nifrajs/agent",
22
+ "@nifrajs/core",
23
+ "@nifrajs/jobs",
24
+ "@nifrajs/middleware",
25
+ "@nifrajs/node-uws",
26
+ "@nifrajs/proxy",
27
+ "@nifrajs/web-solid",
28
+ ],
29
+ notes: [
30
+ '`@nifrajs/web-solid` targets Solid 2.0 and Solid 1.x is no longer supported. Depend on `solid-js` and `@solidjs/web` ^2.0.0, use `@solidjs/vite-plugin` ^3.0.1 under Vite (replacing `vite-plugin-solid`), set `jsxImportSource` to `@solidjs/web`, and drop the `"solid"` resolve condition from `conditions`. `babel-preset-solid`, `solid-refresh` and Babel are no longer dependencies of the adapter. Components using `createResource`, `Suspense`, `ErrorBoundary`, `onMount`, `Dynamic` or `Context.Provider` move to `createMemo` under `Loading`, `Errored`, `onSettled`, `dynamic()` and the context component; `splitProps` and `mergeProps` become `omit` and `merge`. `RouteSlotHooks` takes the Solid 2 `createEffect(compute, effect)` shape and no longer has `onCleanup`. In production a server render error reaches the client as a bare error with no server path.',
31
+ "`MemoryJobStore` copies a job's payload when it is enqueued and again when it is leased, and refuses with a `TypeError` a payload a structured clone would change: a function, a class instance or null-prototype object, an accessor, an `Error`, or a `SharedArrayBuffer`. Pass such values as an identifier and rebuild them in the handler.",
32
+ "Shared-state patch values and subscriber batches are copied, so each observer receives its own batch and a caller cannot change live state without a new patch. A value that cannot be cloned faithfully, including shared memory and custom prototypes, is rejected before the batch commits.",
33
+ "`@nifrajs/proxy` requires a patched Undici as its peer: `^7.30.2 || >=8.12.4`. Update `undici` if your lockfile pins an older 7.x. `nifra check` now honors promoted diagnostic errors in its exit verdict, so a diagnostic you promoted to an error fails the run.",
34
+ "`@nifrajs/node-uws` answers `staticResponse()` GET routes inside uWebSockets.js, without a call into JavaScript, and fixed POST routes without building a Web `Request`, whenever nothing in the app can observe the request (no request or response hook, deadline, capacity gate, Host policy, schema, auth or other route-level stage). A POST carrying an `Origin` header still goes through the cross-site form check. New `echoParam(path)` answers a GET route with its final path parameter as text, exactly as sent.",
35
+ "Serving an app on `@nifrajs/node-uws` now seals it, as `listen()` does, so a hook or route added after `serve()` throws `SERVER_SEALED` instead of being skipped on the native paths. Register everything before serving.",
36
+ "A response-observer bundle can offer `renderBody`, a synchronous fast path for its `onResponseBody` hook that builds one `Response` from a handler's returned value. The body hook is not run again over a response it rendered with new bytes, so a custom body hook that is also used as a renderer must be idempotent on its own output. `compression()` uses it; nothing changes for an app that does not write its own response-observer bundle.",
37
+ "On Bun and Deno, `c.json()` keeps the JSON text it wrote when the app has a response body hook, as `c.text()` already did, so a gzipped `c.json()` reply goes out with a `Content-Length` instead of chunked. An app with no body hook builds its reply as before.",
38
+ "`compression()` on Bun for Linux gzips a buffered body up to 64 KiB inline on the event loop, where bodies over 4 KiB went to the thread pool. Bun on macOS keeps the 4 KiB cut.",
39
+ ],
40
+ }
@@ -25,6 +25,8 @@ import { recipe as v5_10_0 } from "./5.10.0.ts"
25
25
  import { recipe as v5_11_0 } from "./5.11.0.ts"
26
26
  import { recipe as v5_12_0 } from "./5.12.0.ts"
27
27
  import { recipe as v5_13_0 } from "./5.13.0.ts"
28
+ import { recipe as v5_14_0 } from "./5.14.0.ts"
29
+ import { recipe as v5_15_0 } from "./5.15.0.ts"
28
30
 
29
31
  /** A pin rule: every dependency whose name starts with `match` is set to version `to`. */
30
32
  export interface PinRule {
@@ -109,6 +111,8 @@ const RECIPES: Record<string, UpgradeRecipe> = {
109
111
  [v5_11_0.version]: v5_11_0,
110
112
  [v5_12_0.version]: v5_12_0,
111
113
  [v5_13_0.version]: v5_13_0,
114
+ [v5_14_0.version]: v5_14_0,
115
+ [v5_15_0.version]: v5_15_0,
112
116
  }
113
117
 
114
118
  export function getRecipe(version: string): UpgradeRecipe | undefined {