Skip to content

Commit

Permalink
docs: update tags when upgrading from 13 to 14 (#73071)
Browse files Browse the repository at this point in the history
## Why?

The `latest` tag currently points to v15, so we need to update the tag to `next-14`.
  • Loading branch information
samcx authored and wyattjoh committed Nov 28, 2024
1 parent 4aeff10 commit 5701cd2
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ description: Upgrade your Next.js Application from Version 13 to 14.
To update to Next.js version 14, run the following command using your preferred package manager:

```bash filename="Terminal"
npm i next@latest react@latest react-dom@latest eslint-config-next@latest
npm i next@next-14 react@latest react-dom@latest && npm i eslint-config-next@next-14 -D
```

```bash filename="Terminal"
yarn add next@latest react@latest react-dom@latest eslint-config-next@latest
yarn add next@next-14 react@latest react-dom@latest && yarn add eslint-config-next@next-14 -D
```

```bash filename="Terminal"
pnpm up next react react-dom eslint-config-next --latest
pnpm i next@next-14 react@latest react-dom@latest && pnpm i eslint-config-next@next-14 -D
```

```bash filename="Terminal"
bun add next@latest react@latest react-dom@latest eslint-config-next@latest
bun add next@next-14 react@latest react-dom@latest && bun add eslint-config-next@next-14 -D
```

> **Good to know:** If you are using TypeScript, ensure you also upgrade `@types/react` and `@types/react-dom` to their latest versions.
Expand Down

0 comments on commit 5701cd2

Please sign in to comment.