Skip to content

Commit

Permalink
feat: add Vite 6 to peerDependencies range (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudBarre authored Nov 26, 2024
1 parent 45a727c commit bde1ad6
Show file tree
Hide file tree
Showing 6 changed files with 503 additions and 20 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"simple-git-hooks": "^2.11.1",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite": "^6.0.0",
"vitest": "^2.1.5"
},
"simple-git-hooks": {
Expand Down
8 changes: 8 additions & 0 deletions packages/plugin-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Unreleased

### Add Vite 6 to peerDependencies range

Vite 6 is highly backward compatible, not much to add!

### Force Babel to output spec compliant import attributes [#386](https://github.com/vitejs/vite-plugin-react/pull/386)

The default was an old spec (`with type: "json"`). We now enforce spec compliant (`with { type: "json" }`)

## 4.3.3 (2024-10-19)

### React Compiler runtimeModule option removed
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"react-refresh": "^0.14.2"
},
"peerDependencies": {
"vite": "^4.2.0 || ^5.0.0"
"vite": "^4.2.0 || ^5.0.0 || ^6.0.0"
},
"devDependencies": {
"unbuild": "^2.0.0"
Expand Down
3 changes: 1 addition & 2 deletions playground/compiler-react-18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "workspace:*",
"babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121",
"typescript": "^5.7.2",
"vite": "^5.4.11"
"typescript": "^5.7.2"
}
}
3 changes: 1 addition & 2 deletions playground/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "workspace:*",
"babel-plugin-react-compiler": "0.0.0-experimental-dc8bd44-20241121",
"typescript": "^5.7.2",
"vite": "^5.4.11"
"typescript": "^5.7.2"
}
}
Loading

0 comments on commit bde1ad6

Please sign in to comment.