You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade TypeScript from 5.9 to 7. TypeScript 7 is the native compiler: on this repo, tsc takes 1.9 s instead of 6.6 s.
React Router 7 declares a peer range of TypeScript 5 or 6, but it does not import the typescript package: its CLI parses code with Babel, and the types it generates check cleanly under TypeScript 7. So this does not need React Router 8. Expect a pnpm peer warning on @react-router/dev.
A trial on main showed one required config change. TypeScript 7 removes baseUrl, which today also resolves the bare imports @ocobo/styled-system/* and preset. Declare both in paths, next to ~/*. With that change, TypeScript 7 reports no error.
Check that vite-tsconfig-paths still resolves the aliases without baseUrl (build and dev server), and that Panda codegen and the editor setup still work.
Acceptance criteria
typescript is on 7.x
tsconfig.json has no baseUrl, and paths covers ~/*, @ocobo/styled-system/* and preset
pnpm typecheck passes, React Router type generation included
pnpm build passes and the dev server resolves the aliases
CI is green
Blocked by
None, can start immediately. The earlier dependency on #285 (React Router 8) is dropped: React Router 7 does not load TypeScript.
Activity
wab commentedon Nov 5, 2026
Done in #308 (merged as a33b2d3).