What's Changed
- feat: new withStorybookConfig metro wrapper to replace withStorybook in the future by @dannyhw in #776
- chore(deps): bump image-size from 1.1.1 to 1.2.1 by @dependabot[bot] in #782
- fix: markdown-it vuln by @dannyhw in #783
- fix: storyName for csf2 stories by @dannyhw in #784
various dependencies were updated to remove any security warnings - you should see not audit errors relating to storybook
I'm adding a new version of the withStorybook configuration wrapper that will properly give auto complete and show jsdoc comments
This version also has simplified configuration, the enabled
and onDisabledRemoveStorybook
options were confusing and didn't actually work the way you might have expected. In this new function we just have removeStorybook
for when you want to remove storybook packages from the bundle.
to try it use the following in your metro config
const { withStorybookConfig } = require('@storybook/react-native/metro/withStorybookConfig');
module.exports = withStorybookConfig(defaultConfig);

Full Changelog: v9.1.0...v9.1.1