| Files | Last commit | Last update |
|---|---|---|
fix: declare vite-node as a dependency and support React Router 8 / Vite 8 (#261) (#262) The Vite plugin imports `vite-node` at runtime (it is marked `external` in tsup, so it stays a bare import in the published `dist`), but `vite-node` was only a devDependency. It resolved on React Router 7 purely as a phantom dependency of `@react-router/dev@7`, which declared `vite-node` itself. React Router 8 dropped `vite-node` from its dependencies, so resolution broke with `Cannot find package 'vite-node'`. - Move `vite-node` to `dependencies` (`^5.0.0 || ^6.0.0`, covering Vite 7 and 8). - Tidy the `vite` peer range to `>=5.0.0` (the `react-router` `>=7.0.0` peer already admits v8). - Add a minimal React Router 8 + Vite 8 example (`test-apps/react-router-v8-vite`) that wires the devtools plugin in by package name to exercise real consumer resolution. Verified: dev server boots cleanly, build and typecheck pass. - Align react/react-dom across the examples and docs to ^19.2.7 (RR8 floor) and pin react/react-dom via root pnpm.overrides so the shared, workspace-linked devtools package resolves a single React version (avoids an invalid-hook-call from a react/react-dom mismatch). - Ignore the intentionally-divergent v8 example in the sherif dependency check. | 4 months ago | |
fix: declare vite-node as a dependency and support React Router 8 / Vite 8 (#261) (#262) The Vite plugin imports `vite-node` at runtime (it is marked `external` in tsup, so it stays a bare import in the published `dist`), but `vite-node` was only a devDependency. It resolved on React Router 7 purely as a phantom dependency of `@react-router/dev@7`, which declared `vite-node` itself. React Router 8 dropped `vite-node` from its dependencies, so resolution broke with `Cannot find package 'vite-node'`. - Move `vite-node` to `dependencies` (`^5.0.0 || ^6.0.0`, covering Vite 7 and 8). - Tidy the `vite` peer range to `>=5.0.0` (the `react-router` `>=7.0.0` peer already admits v8). - Add a minimal React Router 8 + Vite 8 example (`test-apps/react-router-v8-vite`) that wires the devtools plugin in by package name to exercise real consumer resolution. Verified: dev server boots cleanly, build and typecheck pass. - Align react/react-dom across the examples and docs to ^19.2.7 (RR8 floor) and pin react/react-dom via root pnpm.overrides so the shared, workspace-linked devtools package resolves a single React version (avoids an invalid-hook-call from a react/react-dom mismatch). - Ignore the intentionally-divergent v8 example in the sherif dependency check. | 4 months ago | |
RELEASING: Releasing 1 package(s) (#263) Releases: react-router-devtools@6.2.2 [skip ci] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 4 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 4 months ago | ||
| 4 months ago | ||
| 4 months ago |