Skip to content

Commit becd7c9

Browse files
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>
1 parent aae92e4 commit becd7c9

4 files changed

Lines changed: 13 additions & 10 deletions

File tree

‎.changeset/vite-node-dependency-rr8-vite8.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎packages/react-router-devtools/CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# react-router-devtools
22

3+
## 6.2.2
4+
5+
### Patch Changes
6+
7+
- aae92e4: Fix `Cannot find package 'vite-node'` (#261) and support React Router 8 / Vite 8.
8+
9+
`vite-node` is imported at runtime by the Vite plugin but was only declared as a `devDependency`, so consumers relied on it being a phantom dependency of `@react-router/dev@7`. React Router 8 dropped `vite-node` from its dependencies, which broke resolution for any project on RR8. `vite-node` is now a real `dependency` (`^5.0.0 || ^6.0.0`, covering both Vite 7 and Vite 8), and the `vite` peer range was tidied to `>=5.0.0` so it explicitly admits Vite 8 alongside React Router's existing `>=7.0.0` peer range (which already admits v8).
10+
311
## 6.2.1
412

513
### Patch Changes

‎packages/react-router-devtools/package.json‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-router-devtools",
33
"description": "Devtools for React Router - debug, trace, find hydration errors, catch bugs and inspect server/client data with react-router-devtools",
44
"author": "Alem Tuzlak",
5-
"version": "6.2.1",
5+
"version": "6.2.2",
66
"license": "MIT",
77
"keywords": [
88
"react-router",
@@ -55,7 +55,9 @@
5555
"default": "./dist/server.js"
5656
}
5757
},
58-
"files": ["dist"],
58+
"files": [
59+
"dist"
60+
],
5961
"repository": {
6062
"type": "git",
6163
"url": "git+https://github.com/code-forge-io/react-router-devtools.git"

‎test-apps/react-router-vite/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@types/react": "^19.2.2",
2424
"@types/react-dom": "^19.2.2",
2525
"eslint": "^9.19.0",
26-
"react-router-devtools": "^6.2.1",
26+
"react-router-devtools": "^6.2.2",
2727
"typescript": "^5.9.3",
2828
"vite": "^7.2.2",
2929
"vite-plugin-inspect": "^10.1.0",

0 commit comments

Comments
 (0)