From 95d65c32b25fb58385159a89a7f9d3f01345cddf Mon Sep 17 00:00:00 2001 From: Shinya Fujino Date: Tue, 17 Nov 2026 18:31:55 +0900 Subject: [PATCH] fix(playground): generate React Router route types during the build `vp check` now typechecks playground/react-router, whose routes import `./+types/*`. Only the dev server and `react-router typegen` write those files, so a fresh checkout had none after `vp run build:all` and the check failed in CI. Co-Authored-By: Claude Fable 5.2 Claude-Session: https://claude.ai/code/session_01J8F8mZkyRDommrR2VQzcuN --- playground/react-router/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playground/react-router/package.json b/playground/react-router/package.json index 26df899f6..03be98ec4 100644 --- a/playground/react-router/package.json +++ b/playground/react-router/package.json @@ -3,7 +3,7 @@ "private": true, "type": "module", "scripts": { - "build": "vp build", + "build": "react-router typegen && vp build", "dev": "vp dev" }, "dependencies": {