Skip to content

Commit bde1ad6

Browse files
authored
feat: add Vite 6 to peerDependencies range (#390)
1 parent 45a727c commit bde1ad6

File tree

6 files changed

+503
-20
lines changed

6 files changed

+503
-20
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"simple-git-hooks": "^2.11.1",
5454
"tsx": "^4.19.2",
5555
"typescript": "^5.7.2",
56-
"vite": "^5.4.11",
56+
"vite": "^6.0.0",
5757
"vitest": "^2.1.5"
5858
},
5959
"simple-git-hooks": {

packages/plugin-react/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## Unreleased
44

5+
### Add Vite 6 to peerDependencies range
6+
7+
Vite 6 is highly backward compatible, not much to add!
8+
9+
### Force Babel to output spec compliant import attributes [#386](https://github.com/vitejs/vite-plugin-react/pull/386)
10+
11+
The default was an old spec (`with type: "json"`). We now enforce spec compliant (`with { type: "json" }`)
12+
513
## 4.3.3 (2024-10-19)
614

715
### React Compiler runtimeModule option removed

packages/plugin-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"react-refresh": "^0.14.2"
4646
},
4747
"peerDependencies": {
48-
"vite": "^4.2.0 || ^5.0.0"
48+
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
4949
},
5050
"devDependencies": {
5151
"unbuild": "^2.0.0"

playground/compiler-react-18/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
"@types/react-dom": "^18.3.1",
1919
"@vitejs/plugin-react": "workspace:*",
2020
"babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121",
21-
"typescript": "^5.7.2",
22-
"vite": "^5.4.11"
21+
"typescript": "^5.7.2"
2322
}
2423
}

playground/compiler/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"@types/react-dom": "^18.3.1",
1818
"@vitejs/plugin-react": "workspace:*",
1919
"babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121",
20-
"typescript": "^5.7.2",
21-
"vite": "^5.4.11"
20+
"typescript": "^5.7.2"
2221
}
2322
}

0 commit comments

Comments
 (0)