Skip to content
Open
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 examples/react/array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Verify all 17 React examples have `@types/react` bumped to ~19.2.0

# Search all React example package.json files for `@types/react` constraint
echo "Checking `@types/react` version across all React examples..."
fd -t f 'package\.json' examples/react --exec rg -H '`@types/react`.*19\.' {} \;

# Count how many files have the new constraint
echo ""
echo "Files with ~19.2.0:"
fd -t f 'package\.json' examples/react --exec grep -l '`@types/react`.*~19\.2\.0' {} \; | wc -l

echo "Files with old ~19.1.0 (should be 0):"
fd -t f 'package\.json' examples/react --exec grep -l '`@types/react`.*~19\.1\.0' {} \; | wc -l

Repository: TanStack/form

Length of output: 2648


🏁 Script executed:

#!/bin/bash
# Check if pnpm-lock.yaml has been updated to reflect the new constraint

echo "Checking pnpm-lock.yaml for `@types/react` 19.2.x resolution..."
if [ -f "pnpm-lock.yaml" ]; then
  # Look for resolved versions of `@types/react` that match 19.2.x
  rg '`@types/react`@' pnpm-lock.yaml -A 2 | head -20
  
  echo ""
  echo "Count of 19.2.x resolutions:"
  rg -o '`@types/react`.*?19\.2\.\d+' pnpm-lock.yaml | sort | uniq -c
else
  echo "pnpm-lock.yaml not found"
fi

Repository: TanStack/form

Length of output: 1171


🏁 Script executed:

#!/bin/bash
# More detailed check: search for `@types/react` version lines in pnpm-lock.yaml

echo "Searching for `@types/react` version resolutions..."
rg -A 1 "^\s*'`@types/react`':" pnpm-lock.yaml | head -30

echo ""
echo "Count of `@types/react`@19.1.17 (old version still in lock):"
rg -c '`@types/react`@19\.1\.17' pnpm-lock.yaml

echo ""
echo "Count of `@types/react`@19.2 (new version in lock):"
rg -c '`@types/react`@19\.2' pnpm-lock.yaml

Repository: TanStack/form

Length of output: 742


Regenerate pnpm-lock.yaml — it has not been updated to reflect the new constraint.

The 17 React examples have been correctly updated to @types/react: ~19.2.0 in their package.json files, but the pnpm-lock.yaml file has not been regenerated. It still contains the old specifier (~19.1.0) and resolved version (@types/react@19.1.17, appearing 310 times). Without regenerating the lock file, installations will continue to resolve to 19.1.17 despite the package.json declaring 19.2.0. Run pnpm install to update pnpm-lock.yaml before this can merge.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@examples/react/array/package.json` at line 19, The package.json file has been
updated to constrain `@types/react` to ~19.2.0, but the pnpm-lock.yaml file has
not been regenerated to reflect this new constraint and still contains the old
specifier and resolved versions. Run pnpm install to regenerate the
pnpm-lock.yaml file so that it properly reflects the updated `@types/react`
constraint and resolves to the correct version across all 17 React examples.

"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"react-dom": "19.1.0"
},
"devDependencies": {
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"babel-plugin-react-compiler": "19.1.0-rc.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/composition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/dynamic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"zod": "^3.25.76"
},
"devDependencies": {
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"eslint": "9.36.0",
"eslint-config-expo": "~10.0.0",
"typescript": "5.9.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/large-form/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/multi-step-wizard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/next-server-actions-zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@types/node": "^24.1.0",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"typescript": "5.9.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react/next-server-actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"devDependencies": {
"@types/node": "^24.1.0",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"typescript": "5.9.3"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/react/query-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"devDependencies": {
"@remix-run/dev": "^2.17.4",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"typescript": "5.9.3",
"vite": "^7.2.2",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/standard-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"vite": "^7.2.2"
Expand Down
2 changes: 1 addition & 1 deletion examples/react/tanstack-start/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/node": "^24.1.0",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"typescript": "5.9.3",
Expand Down
2 changes: 1 addition & 1 deletion examples/react/ui-libraries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"devDependencies": {
"@tanstack/react-devtools": "^0.9.7",
"@tanstack/react-form-devtools": "^0.2.29",
"@types/react": "~19.1.0",
"@types/react": "~19.2.0",
"@types/react-dom": "^19.0.3",
"@vitejs/plugin-react": "^5.1.1",
"@vitejs/plugin-react-swc": "^3.11.0",
Expand Down
Loading