Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Vite 6 to peerDependencies range #390

Merged
merged 1 commit into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading