RocketCommunicationsInc / astro

Astro UXDS is a collection of guidelines, patterns and components for designing space-based user interface applications.
https://astrouxds.com
Other
108 stars 25 forks source link

Upgrade Storybook to 8.0 prerelease #1294

Open valentinpalkovic opened 7 months ago

valentinpalkovic commented 7 months ago

Brief Description

As one of the core maintainers of Storybook, I have randomly picked your Storybook to upgrade from Storybook 6 to 8 (prerelease). We do this regularly to test different projects and ensure the upgrade and migration experience is smooth and painless. Your project has a lot of stories.mdx files; therefore, I have mainly concentrated on migrating them to the new CSF + MDX approach and adjusting our mdx-to-csf codemod to accommodate more cases.

You can adjust this PR, merge, or close it.

Storybook starts, and the stories and MDX pages are accessible. I don't guarantee that every Story is working as expected, though. Further QA may be necessary. Please reach out if you have any questions!

The whole 8.0 migration notes can be found here. The official 8.0 migration guide is here.

Upgrade steps

Just to let you know, MDX was upgraded from v1 to v3. The major version bump from v1 to v2 was pretty significant and therefore some MDX pages might look misaligned. Please take a look at the MDX 1 to 2 migration guide here (Storybook 6 to 7 migration guide) and here for more information. The migration from MDX v2 to v3 was smooth in comparison.

JIRA Link

Related Issue

General Notes

Motivation and Context

Issues and Limitations

Types of changes

Checklist

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 42246423a5262d372357625daf7fff66014a26d3

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

netlify[bot] commented 7 months ago

Deploy Preview for astro-preview failed.

Name Link
Latest commit 42246423a5262d372357625daf7fff66014a26d3
Latest deploy log https://app.netlify.com/sites/astro-preview/deploys/65d85af8fd15740008e24e29
netlify[bot] commented 7 months ago

Deploy Preview for astro-stencil failed.

Name Link
Latest commit 42246423a5262d372357625daf7fff66014a26d3
Latest deploy log https://app.netlify.com/sites/astro-stencil/deploys/65d85af83ab3b4000897702d