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

Upgrade Storybook to v8 #501

Merged
merged 6 commits into from
Jun 17, 2024
Merged

Upgrade Storybook to v8 #501

merged 6 commits into from
Jun 17, 2024

Conversation

tjmw
Copy link
Member

@tjmw tjmw commented Jun 14, 2024

What does this change?

Upgrade Storybook to v8. This major version bump removes the other path which was bringing in the vulnerable ip package (the first use was removed in #500).

I ran:
$ npx storybook@latest upgrade

And fixed a few remaining issues following:
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-7x-to-800.

Note: the base is #500.

How to test

How can we measure success?

Have we considered potential risks?

Images

Accessibility

Copy link

changeset-bot bot commented Jun 14, 2024

⚠️ No Changeset found

Latest commit: 0f8b3cb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Base automatically changed from tw/upgrade-rollup-plugin-filesize to main June 14, 2024 09:36
I ran:
$ npx storybook@latest upgrade

And fixed a few remaining issues following:
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#from-version-7x-to-800.
Copy link
Contributor

@rBangay rBangay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 nice one

tjmw added 3 commits June 14, 2024 11:08
I'm seeing an error when attempting to use the Grid add on:
"render: `key` is not a prop. Trying to access it will result in
`undefined` being returned. If you need to access the same value within
the child component, you should pass it as a different prop"
tjmw added 2 commits June 14, 2024 15:15
Will this fix this error, which I don't see locally but do see in code:
"Storybook preview hooks can only be called inside decorators and story
functions."
@tjmw tjmw merged commit cdb6944 into main Jun 17, 2024
7 checks passed
@tjmw tjmw deleted the tw/upgrade-storybook-v8 branch June 17, 2024 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants