Skip to main content

Dependency Upgrade Guide

Overview

Your project has several outdated dependencies that need updating. Below is a summary of what needs to be updated and how to do it.

Check Outdated packages

yarn outdated

Dependencies to Update

PackageCurrentWantedLatestTypeUpdate Command
@eslint/js9.25.19.26.09.26.0devDependenciesyarn add -D @eslint/[email protected]
@tanstack/react-router1.119.01.120.21.120.2dependenciesyarn add @tanstack/[email protected]
@tanstack/react-router-devtools1.119.11.120.21.120.2dependenciesyarn add @tanstack/[email protected]
@tanstack/router-plugin1.119.01.120.21.120.2devDependenciesyarn add -D @tanstack/[email protected]
@types/react19.1.219.1.319.1.3devDependenciesyarn add -D @types/[email protected]
eslint9.25.19.26.09.26.0devDependenciesyarn add -D [email protected]
globals16.0.016.1.016.1.0devDependenciesyarn add -D [email protected]
typescript5.7.35.7.35.8.3devDependenciesyarn add -D [email protected]

Update Commands

Update All Dependencies at Once

yarn upgrade-interactive --latest

This will open an interactive interface where you can select which packages to upgrade. Or PRESS A to select all dependencies and click ENTER.

Update Specific Package Groups

Update All TanStack Router Packages

yarn add @tanstack/react-router@latest @tanstack/react-router-devtools@latest
yarn add -D @tanstack/router-plugin@latest

Update TypeScript

yarn add -D [email protected]

Update ESLint Packages

yarn add -D @eslint/js@latest eslint@latest

Update React Types

yarn add -D @types/react@latest

Update Globals

yarn add -D globals@latest

After Updating

After updating your dependencies, make sure to:

  1. Run your tests to ensure everything still works:

    yarn test
  2. Start your development server to verify the application runs correctly:

    yarn dev
  3. Check for any breaking changes in the updated packages, especially for TypeScript 5.8.3 which is a minor version change.

Notes on Updates

  • Most updates are green (patch updates) or yellow (minor updates) which should be backward compatible
  • The TypeScript update from 5.7.3 to 5.8.3 is a minor version change that might introduce some new features or improvements
  • All TanStack Router packages should be updated together to maintain compatibility