github storybookjs/react-native v9.1.1

latest releases: v9.1.2-alpha.0, v10.0.0-beta.0
16 days ago

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);
image

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

Don't miss a new react-native release

NewReleases is sending notifications on new releases.