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)
39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"codegen": "graphql-codegen -w",
|
|
"dev": "yarn graphql-codegen && next",
|
|
"build": "yarn graphql-codegen && next build",
|
|
"test": "yarn graphql-codegen && jest",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@apollo/client": "^3.5.10",
|
|
"graphql-tag": "^2.12.6",
|
|
"@graphql-tools/load-files": "6.0.18",
|
|
"graphql-yoga": "three",
|
|
"@graphql-tools/merge": "6.0.18",
|
|
"@graphql-tools/schema": "6.0.18",
|
|
"graphql": "15.6.0",
|
|
"next": "^12.1.5",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@graphql-codegen/typed-document-node": "^2.2.8",
|
|
"@graphql-codegen/cli": "2.13.7",
|
|
"@graphql-codegen/client-preset": "1.1.0",
|
|
"@graphql-codegen/typescript-resolvers": "^2.6.1",
|
|
"@types/jest": "^27.0.2",
|
|
"@types/mocha": "^9.0.0",
|
|
"@types/react": "^16.9.46",
|
|
"@types/react-dom": "^16.9.8",
|
|
"@types/react-test-renderer": "^17.0.1",
|
|
"babel-jest": "27.2.5",
|
|
"jest": "^27.2.5",
|
|
"react-test-renderer": "^17.0.1",
|
|
"typescript": "^4.6.3",
|
|
"yaml-loader": "0.6.0",
|
|
"ts-node": "10.8.0"
|
|
}
|
|
}
|