Skip to content
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

Update storybook #5265

Open
3 tasks
sanmont3drepo opened this issue Nov 22, 2024 · 0 comments
Open
3 tasks

Update storybook #5265

sanmont3drepo opened this issue Nov 22, 2024 · 0 comments

Comments

@sanmont3drepo
Copy link
Contributor

sanmont3drepo commented Nov 22, 2024

Description

For being up to date we need to update storybook so we dont get security warnings and we can access the latests features.

The current version of storybook depends on a package called ip which has a vulnerability. There are no versions of ip without this problem; newer versions of storybook use a different package.

If you start getting this error [Bug]: SB_BUILDER-WEBPACK5_0003 (WebpackCompilationError)
Install babel bits here: storybookjs/storybook#26439 (comment)
Then if you get an issue with loaders: Module parse failed: Unexpected token (51:1) File was processed with these loaders: * ./node_modules/@storybook/preset-react-webpack/dist/loaders/react-docgen-loader.js You may need an additional loader to handle the result of these loaders.
add babel loader (here storybookjs/storybook#1493 (comment))

Goal

  • Have the latest storybook version without warnings

Tasks

  • Update storybook
  • Update storybook stories to match the version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants