Upgrade react peer depenendency
stephenliang opened this issue · comments
The package currently only declares a peer dependency React 16 and 17 so when installing for React 18 repos, I get this following error. Can a peer for React 18 be added? Thank you!
npm ERR! While resolving: XXXXXXXX
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! dev react@"^18.2.0" from XXXXXXXX
npm ERR! packages/XXXXXXXX
npm ERR! XXXXXXXX
npm ERR! node_modules/XXXXXXXX
npm ERR! workspace packages/XXXXXXXX from the root project
npm ERR! 1 more (XXXXXXXX)
npm ERR! peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @storybook/addons@6.5.15
npm ERR! node_modules/@storybook/addons
npm ERR! peer @storybook/addons@"^6.3.6" from @kickstartds/storybook-addon-jsonschema@1.0.6
npm ERR! node_modules/@kickstartds/storybook-addon-jsonschema
npm ERR! dev @kickstartds/storybook-addon-jsonschema@"^1.0.6" from XXXXXXXX@0.1.0
npm ERR! XXXXXXXX
npm ERR! XXXXXXXX@0.1.0
npm ERR! XXXXXXXX
npm ERR! 4 more (react-dom, @storybook/api, @storybook/components, @storybook/theming)
npm ERR!
Hey, we'll get to this soon. We're currently upgrading everything to Storybook 7, which entails also cleaning up house here. This also includes upping the peer dependency on React to 18! Will comment again when the release is ready!
You can also track the progress here: