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

[DNM] [Issue 2507] upgrade storybook to version 8 #2508

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

doug-s-nava
Copy link
Collaborator

@doug-s-nava doug-s-nava commented Oct 17, 2024

This PR is largely needed in order to work around a security issue with esbuild that is present in storybook until 8.4 which has not yet been release. Hold on this PR until we can upgrade to 8.4 without alphas

Summary

Fixes #2507

Time to review: 20 mins on basic functionality, longer to review security posture

Changes proposed

Upgrade to the latest version of Storybook.

Note that to get this working I ran the suggested upgrade script mentioned below, which eventually worked, but then had to fix the reference to our next config, which was not being found for some reason, in order to get storybook to load

https://storybook.js.org/docs/migration-guide

Context for reviewers

TBD

Additional information

Screenshots, GIF demos, code examples or output to help show the changes working as expected.

Notes

it looks like Go 1.23 support in esbuild only came along last month in version 0.24 https://github.com/evanw/esbuild/releases/tag/v0.24.0

version 0.24 of esbuild is only supported in storybook core as of v8.4.0-alpha.4 storybookjs/storybook@c40aba2

so assuming we don't want to mess around with alphas I think we need to wait until storybook 8.4.0 is official.
In the meantime I have a PR up for the upgrade that we can work off of at that time. #2508

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade Storybook to v8
1 participant