Skip to content

Commit

Permalink
fix: update vitejs/plugin-react to prevent peer dependency warning (#561
Browse files Browse the repository at this point in the history
)

* fix: update vitejs/plugin-react to prevent peer dependency warning

* change file
  • Loading branch information
cmgriffing authored Dec 28, 2023
1 parent 743babf commit 6171792
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changes/vite-plugin-react.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"create-tauri-app": patch
"create-tauri-app-js": patch
---

Upgrade `@vitejs/plugin-react` to `4.2.1` to fix peer depenency for react templates.
2 changes: 1 addition & 1 deletion packages/cli/fragments/fragment-react-ts/package.json.lts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"devDependencies": {
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react": "^4.0.3",
"@vitejs/plugin-react": "^4.2.1",
"typescript": "^5.0.2",
"vite": "^5.0.0",
"@tauri-apps/cli": "^{% if alpha %}2.0.0-alpha.20{% else %}1.5.8{% endif %}"{% if mobile %},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/fragments/fragment-react/package.json.lts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@tauri-apps/plugin-shell": "^2.0.0-alpha.3"{% endif %}
},
"devDependencies": {
"@vitejs/plugin-react": "^4.0.3",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.0.0",
"@tauri-apps/cli": "^{% if alpha %}2.0.0-alpha.20{% else %}1.5.8{% endif %}"{% if mobile %},
"internal-ip": "^7.0.0"{% endif %}
Expand Down

0 comments on commit 6171792

Please sign in to comment.