Skip to content

Commit

Permalink
chore: update supported Next.js version range
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF committed Jan 10, 2025
1 parent 685b786 commit 72c3273
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/fragments/lib-v1/start/getting-started/next/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ To set up the project, you will need to create a new Next.js app with the [`crea
Run the following command and following the instructions to create a Next.js app.

```shellscript
npx create-next-app@">=13.5.0 <15.0.0" next-amplified
npx create-next-app@">=13.5.0 <16.0.0" next-amplified
```

Then run the following command to enter the root of your Next.js app.
Expand Down
2 changes: 1 addition & 1 deletion src/fragments/lib/ssr/nextjs/version-range-callout.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Callout warning>

**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <15.0.0`.
**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <16.0.0`.
Ensure you have the correct version to integrate with Amplify.

</Callout>
2 changes: 1 addition & 1 deletion src/fragments/start/getting-started/next/setup.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To set up the project, you'll first create a new Next.js app with [Create Next A
From your projects directory, run the following commands:

```bash
npx create-next-app@">=13.5.0 <15.0.0" next-amplified --no-app
npx create-next-app@">=13.5.0 <16.0.0" next-amplified --no-app
cd next-amplified
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This guide walks through how to use Amplify Auth, GraphQL API, REST API, and Sto

<Callout warning>

**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <15.0.0`.
**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <16.0.0`.
Ensure you have the correct version to integrate with Amplify.

</Callout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ cd amplify-app

This tutorial is built using the [Next.js App Router](https://nextjs.org/docs/app/building-your-application/routing).

**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <15.0.0`.
**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <16.0.0`.
Ensure you have the correct version to integrate with Amplify.

</Callout>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import reactnative_getting_started from '/src/fragments/start/getting-started/re

<Callout warning>

**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <15.0.0`.
**NOTE:** Amplify JS v6 supports Next.js with the version range: `>=13.5.0 <16.0.0`.
Ensure you have the correct version to integrate with Amplify.

</Callout>
Expand All @@ -59,7 +59,7 @@ To set up the project, you will need to create a new Next.js app with the [`crea
Run the following command and following the instructions to create a Next.js app.

```shellscript
npx create-next-app@">=13.5.0 <15.0.0" next-amplified
npx create-next-app@">=13.5.0 <16.0.0" next-amplified
```

Then run the following command to enter the root of your Next.js app.
Expand Down

0 comments on commit 72c3273

Please sign in to comment.