57426a2849
This PR updates the minimum version of React used by examples from 17.0.2 to 18.2.0. Fixes #41975 ## Bug - [x] Related issues linked using `fixes #41975` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
26 lines
643 B
JSON
26 lines
643 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"studio:dev": "npm --prefix studio run start",
|
|
"studio:deploy": "npx vercel env pull && npm --prefix studio run deploy"
|
|
},
|
|
"dependencies": {
|
|
"@portabletext/react": "^1.0.6",
|
|
"@sanity/image-url": "^1.0.1",
|
|
"@sanity/webhook": "^2.0.0",
|
|
"classnames": "^2.3.1",
|
|
"date-fns": "^2.29.1",
|
|
"next": "latest",
|
|
"next-sanity": "^0.6.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.8",
|
|
"postcss": "^8.4.14",
|
|
"tailwindcss": "^3.1.7"
|
|
}
|
|
}
|