-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use @storybook/addon-docs instead of deprecated @storybook/addon-info #119
Comments
From @sojeri on Slack: "one thing of note is that you can get around the worst of this change by upgrading sb to v6." Also in SB6 (in beta as of January 2020) TypeScript is zero-config and should work with SB Docs out of the box - https://github.com/storybookjs/storybook/tree/next/addons/docs#typescript-configuration |
I’ve been looking into storybook 5.3.0 in prep for storybook 6, the switch to When we switch from 5.3.0 introduces new ways of configuring things that I believe 6.0 will require. Finally, 6.0 has new typescript config bits that I think simplify our config.
|
* addon-docs needs the component to be explicitly configured for property docs to be generated references #119
* addon-docs needs the component to be explicitly configured for property docs to be generated references #119
* feat(storybook): upgrade to 5.3.0, prepare for addon-docs * addon-docs needs the component to be explicitly configured for property docs to be generated references #119 * Configure happo in preview.js * Re-add storybook custom-styles
* feat(storybook): Upgrade babel,jest, remove deprecated types package * feat(storybook): switch to addon-docs fixes #119
Deprecated @storybook/addon-info is pulling in a bad marked dependency via marsky. Although this is already fixed in marked, it is unlikely to be fixed any time soon for marksy: storybookjs/marksy#78. (There were breaking changes which marksy maintainers have yet to resolve; it is a non-trivial fix.)
Since @storybook/addon-info is deprecated, even without the security vulnerability we should be switching to @storybook/addon-docs.
yarn audit output
references
marked
creates npm audit issue storybookjs/marksy#78The text was updated successfully, but these errors were encountered: