-
-
Couldn't load subscription status.
- Fork 3.5k
chore(deps): update all non-major dependencies #9731
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -8,7 +8,7 @@ | |||||||||||||||
| "preview": "vite preview" | ||||||||||||||||
| }, | ||||||||||||||||
| "dependencies": { | ||||||||||||||||
| "@algolia/client-search": "5.2.1", | ||||||||||||||||
| "@algolia/client-search": "5.40.1", | ||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CRITICAL: @vitejs/plugin-react@^4.7.0 is incompatible with vite@^6.4.0. Same peer-dependency conflict as other React examples in this PR. Upgrade @vitejs/plugin-react to a Vite 6-compatible version. Separately, the @algolia/client-search version bump looks good. - "@vitejs/plugin-react": "^4.7.0",
+ "@vitejs/plugin-react": "^5.0.0",Also applies to: 21-21, 23-23 🤖 Prompt for AI Agents |
||||||||||||||||
| "@tanstack/react-query": "^5.90.5", | ||||||||||||||||
| "@tanstack/react-query-devtools": "^5.90.2", | ||||||||||||||||
| "react": "^19.0.0", | ||||||||||||||||
|
|
@@ -18,8 +18,8 @@ | |||||||||||||||
| "@tanstack/eslint-plugin-query": "^5.91.2", | ||||||||||||||||
| "@types/react": "^18.2.79", | ||||||||||||||||
| "@types/react-dom": "^18.2.25", | ||||||||||||||||
| "@vitejs/plugin-react": "^4.3.4", | ||||||||||||||||
| "@vitejs/plugin-react": "^4.7.0", | ||||||||||||||||
| "typescript": "5.8.3", | ||||||||||||||||
| "vite": "^6.3.6" | ||||||||||||||||
| "vite": "^6.4.0" | ||||||||||||||||
|
Comment on lines
+21
to
+23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolve Vite 6 peer range: upgrade @vitejs/plugin-react to v5. Prevents pnpm peer-dep failures. - "@vitejs/plugin-react": "^4.7.0",
+ "@vitejs/plugin-react": "^5.0.0",📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
| } | ||||||||||||||||
| } | ||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -10,13 +10,13 @@ | |||||||||
| "dependencies": { | ||||||||||
| "@tanstack/react-query": "^5.90.5", | ||||||||||
| "@tanstack/react-query-devtools": "^5.90.2", | ||||||||||
| "graphql": "^16.9.0", | ||||||||||
| "graphql-request": "^7.1.2", | ||||||||||
| "graphql": "^16.11.0", | ||||||||||
| "graphql-request": "^7.3.0", | ||||||||||
| "react": "^19.0.0", | ||||||||||
| "react-dom": "^19.0.0" | ||||||||||
| }, | ||||||||||
| "devDependencies": { | ||||||||||
| "@vitejs/plugin-react": "^4.3.4", | ||||||||||
| "vite": "^6.3.6" | ||||||||||
| "@vitejs/plugin-react": "^4.7.0", | ||||||||||
| "vite": "^6.4.0" | ||||||||||
|
Comment on lines
+19
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Align plugin with Vite 6. Upgrade @vitejs/plugin-react to v5. - "@vitejs/plugin-react": "^4.7.0",
+ "@vitejs/plugin-react": "^5.0.0",📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||
| } | ||||||||||
| } | ||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,9 +20,9 @@ | |
| "@tanstack/eslint-plugin-query": "^5.91.2", | ||
| "@types/react": "^18.2.79", | ||
| "@types/react-dom": "^18.2.25", | ||
| "@vitejs/plugin-react": "^4.3.4", | ||
| "@vitejs/plugin-react": "^4.7.0", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainAligns with Vite 6 Plugin bump matches Vite 6 here. Recommend scanning repo for any packages still on Vite 5 with plugin-react 4.x. Run this repo-wide check to spot mismatches and a couple of common pitfalls: 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Checking @vitejs/plugin-react 4.x paired with Vite 6.x..."
fd package.json | xargs -I{} bash -lc '
has_plugin=$(jq -r ".devDependencies[\"@vitejs/plugin-react\"] // empty" "{}")
if [[ -n "$has_plugin" && "$has_plugin" =~ ^\\^?4\\. ]]; then
vite_ver=$(jq -r ".devDependencies.vite // .dependencies.vite // empty" "{}")
if [[ -z "$vite_ver" || ! "$vite_ver" =~ ^\\^?6\\. ]]; then
echo "Mismatch: {} -> plugin-react=$has_plugin, vite=$vite_ver"
fi
fi
'
echo "Checking react-router vs react-router-dom versions..."
fd package.json | xargs -I{} bash -lc '
rr=$(jq -r ".dependencies[\"react-router\"] // empty" "{}")
rrd=$(jq -r ".dependencies[\"react-router-dom\"] // empty" "{}")
if [[ -n "$rr" && -n "$rrd" && "$rr" != "$rrd" ]]; then
echo "Router version skew: {} -> react-router=$rr, react-router-dom=$rrd"
fi
'Length of output: 18129 Use this adjusted script (drops the login shell to avoid sourcing 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Checking @vitejs/plugin-react 4.x paired with Vite 6.x..."
fd --type f --name package.json | while read -r file; do
has_plugin=$(jq -r '.devDependencies["@vitejs/plugin-react"] // empty' "$file")
if [[ -n "$has_plugin" && "$has_plugin" =~ ^\^?4\. ]]; then
vite_ver=$(jq -r '.devDependencies.vite // .dependencies.vite // empty' "$file")
if [[ -z "$vite_ver" || ! "$vite_ver" =~ ^\^?6\. ]]; then
echo "Mismatch: $file -> plugin-react=$has_plugin, vite=$vite_ver"
fi
fi
done
echo "Checking react-router vs react-router-dom versions..."
fd --type f --name package.json | while read -r file; do
rr=$(jq -r '.dependencies["react-router"] // empty' "$file")
rrd=$(jq -r '.dependencies["react-router-dom"] // empty' "$file")
if [[ -n "$rr" && -n "$rrd" && "$rr" != "$rrd" ]]; then
echo "Router version skew: $file -> react-router=$rr, react-router-dom=$rrd"
fi
doneLength of output: 308 Use this corrected script: 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
echo "Checking @vitejs/plugin-react 4.x paired with Vite 6.x..."
find . -type f -name package.json | while read -r file; do
has_plugin=$(jq -r '.devDependencies["@vitejs/plugin-react"] // empty' "$file")
if [[ -n "$has_plugin" && "$has_plugin" =~ ^\^?4\. ]]; then
vite_ver=$(jq -r '.devDependencies.vite // .dependencies.vite // empty' "$file")
if [[ -z "$vite_ver" || ! "$vite_ver" =~ ^\^?6\. ]]; then
echo "Mismatch: $file -> plugin-react=$has_plugin, vite=$vite_ver"
fi
fi
done
echo "Checking react-router vs react-router-dom versions..."
find . -type f -name package.json | while read -r file; do
rr=$(jq -r '.dependencies["react-router"] // empty' "$file")
rrd=$(jq -r '.dependencies["react-router-dom"] // empty' "$file")
if [[ -n "$rr" && -n "$rrd" && "$rr" != "$rrd" ]]; then
echo "Router version skew: $file -> react-router=$rr, react-router-dom=$rrd"
fi
doneLength of output: 557 Add Vite ^6.x to devDependencies where plugin-react ^4.x appears
🤖 Prompt for AI Agents |
||
| "typescript": "5.8.3", | ||
| "vite": "^6.3.6" | ||
| "vite": "^6.4.0" | ||
| }, | ||
| "nx": { | ||
| "targets": { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,10 +14,10 @@ | |
| "react-dom": "^19.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@tailwindcss/vite": "^4.0.14", | ||
| "@vitejs/plugin-react": "^4.3.4", | ||
| "tailwindcss": "^4.0.14", | ||
| "@tailwindcss/vite": "^4.1.14", | ||
| "@vitejs/plugin-react": "^4.7.0", | ||
| "tailwindcss": "^4.1.14", | ||
| "typescript": "5.8.3", | ||
| "vite": "^6.3.6" | ||
| "vite": "^6.4.0" | ||
|
Comment on lines
+17
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Raise This example now uses 🤖 Prompt for AI Agents |
||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify Angular 20’s TypeScript support (TS 5.8.3 may be out of range).
Angular often enforces a tight TS range via peer deps. Please confirm 20.3.x supports TS 5.8.3; otherwise builds may fail or warn.
🌐 Web query:
💡 Result:
Angular 20.3.x (framework and CLI) supports TypeScript >=5.9.0 and <6.0.0 (i.e. TypeScript 5.9.x). [1]
Sources
[1] Angular — Version compatibility (TypeScript requirement for v20.2.x / v20.3.x).
🌐 Web query:
💡 Result:
Angular 20 supports Node.js versions: ^20.19.0, ^22.12.0, and ^24.0.0. [1]
Sources:
[1] Angular version compatibility (Angular docs).
Update TypeScript to a supported range: Angular 20.3.x requires TS >=5.9.0 <6.0.0; bump “typescript” in examples/angular/simple/package.json (line 25) to ^5.9.x to avoid peer dependency issues.
🤖 Prompt for AI Agents