chore(examples): update reproduction template (#66301)

## Why?

We get this error when we use `npx` to download the
reproduction-template.

![CleanShot 2024-05-28 at 17 25
40@2x](https://github.com/vercel/next.js/assets/28912696/a2f3c3ce-1a2c-4629-9914-9e88bb9c9632)

Updating the template should fix this error.
This commit is contained in:
Sam Ko 2024-05-28 18:11:47 -07:00 committed by GitHub
parent c4f6645041
commit 06ede796f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 11 deletions

View file

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -1,6 +0,0 @@
/** @type {import("next").NextConfig} */
const nextConfig = {
reactStrictMode: true,
};
module.exports = nextConfig;

View file

@ -0,0 +1,8 @@
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
reactStrictMode: true,
};
export default nextConfig;

View file

@ -7,12 +7,13 @@
}, },
"dependencies": { "dependencies": {
"next": "canary", "next": "canary",
"react": "19.0.0-beta-04b058868c-20240508", "react": "19.0.0-rc-6f23540c7d-20240528",
"react-dom": "19.0.0-beta-04b058868c-20240508" "react-dom": "19.0.0-rc-6f23540c7d-20240528"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "20.4.5", "@types/node": "20.12.12",
"@types/react": "18.2.18", "@types/react": "18.3.3",
"typescript": "5.1.3" "@types/react-dom": "18.3.0",
"typescript": "5.3.3"
} }
} }