gatsby-starter-typescript-deluxe
gatsby-starter-typescript-deluxe copied to clipboard
Several warnings in Storybook 6.0.13
Thanks again for creating this fantastic repo and for maintaining it.
With the new update of Storybook, there are some warnings:
storybook-addon-optionsis deprecated and will stop working soonconfigure()is deprecated and will be removed in Storybook 7.0. Please use thestoriesfield ofmain.jsto load stories.`withOptions is deprecated, use addParameters({ options: {} })react_devtools_backend.js:2273 The default hierarchy separators changed in Storybook 6.0. '|' and '.' will no longer create a hierarchy, but codemods are available. Read more about it in the migration guide: https://github.com/storybookjs/storybook/blob/master/MIGRATION.md
You can see the errors here: https://github.com/Alfrex92/animers/
(To run the project use yarn storybook)
Thanks again Justin
Thanks for reporting this and you are welcome 👍 I'll take a look at this and try to get the necessary updates made. Once I do, I'll update this issue so you can make the same changes in your repo. Thanks again!
Hi! I ran into troubles with this version as well, and Storybook would not load with the repository being what it is right now. What fixed it for me was to simply run npx sb@next upgrade, and the console warnings were gone and Storybook would once again load correctly. Not sure if this fixes all the warnings you mention, but thought I should post it here in case anyone else runs into this same problem.