diff --git a/examples/react/router-monorepo-simple/package.json b/examples/react/router-monorepo-simple/package.json index 6338ff617f..bfa2ecf48d 100644 --- a/examples/react/router-monorepo-simple/package.json +++ b/examples/react/router-monorepo-simple/package.json @@ -19,9 +19,9 @@ "@types/node": "^22.7.4", "@types/react": "^18.2.47", "@types/react-dom": "^18.2.18", + "@vitejs/plugin-react": "^4.3.4", "typescript": "^5.7.2", "vite": "^5.4.11", - "@tanstack/router-devtools": "^1.85.2", "vite-plugin-dts": "^4.3.0" }, "keywords": [], diff --git a/packages/react-router/package.json b/packages/react-router/package.json index 7ea1ba1119..efa474edc0 100644 --- a/packages/react-router/package.json +++ b/packages/react-router/package.json @@ -27,12 +27,12 @@ "clean": "rimraf ./dist && rimraf ./coverage", "test:eslint": "eslint", "test:types": "pnpm run \"/^test:types:ts[0-9]{2}$/\"", - "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js", - "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js", - "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js", - "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js", - "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js", - "test:types:ts57": "tsc", + "test:types:ts52": "node ../../node_modules/typescript52/lib/tsc.js -p tsconfig.legacy.json", + "test:types:ts53": "node ../../node_modules/typescript53/lib/tsc.js -p tsconfig.legacy.json", + "test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js -p tsconfig.legacy.json", + "test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js -p tsconfig.legacy.json", + "test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js -p tsconfig.legacy.json", + "test:types:ts57": "tsc -p tsconfig.legacy.json", "test:unit": "vitest", "test:unit:dev": "pnpm run test:unit --watch --hideSkippedTests", "test:perf": "vitest bench", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f8e8978071..d08d07043a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -2131,6 +2131,9 @@ importers: '@types/react-dom': specifier: ^18.2.18 version: 18.3.1 + '@vitejs/plugin-react': + specifier: ^4.3.4 + version: 4.3.4(vite@5.4.11(@types/node@22.9.3)(terser@5.36.0)) typescript: specifier: ^5.7.2 version: 5.7.2