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)
30 lines
819 B
JSON
30 lines
819 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"storybook": "start-storybook -p 6006 -s public",
|
|
"build-storybook": "build-storybook -s public",
|
|
"serve-storybook": "serve storybook-static"
|
|
},
|
|
"dependencies": {
|
|
"next": "latest",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"sass": "^1.49.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.7",
|
|
"@storybook/addon-actions": "^6.4.9",
|
|
"@storybook/addon-essentials": "^6.4.9",
|
|
"@storybook/addon-links": "^6.4.9",
|
|
"@storybook/builder-webpack5": "^6.4.9",
|
|
"@storybook/manager-webpack5": "^6.4.9",
|
|
"@storybook/react": "^6.4.9",
|
|
"babel-loader": "^8.2.3",
|
|
"serve": "13.0.2",
|
|
"storybook-addon-next": "1.3.1",
|
|
"typescript": "4.5.5"
|
|
}
|
|
}
|