-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
chore: upgrade storybook to v10 #11334
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
- Replaced deprecated `@storybook/addon-styling` with `@storybook/addon-themes` - Removed deprecated `@storybook/addon-essentials` and `@storybook/addon-interactions` - Upgraded `chromatic`, although it's seemingly unused anywhere - Upgraded `@types/node` to match the ones in the guide and website
26f8e58 to
f041c12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR upgrades Storybook from v8.6.14 to v10.1.4, along with related dependencies and configuration updates. The upgrade involves replacing deprecated addons, updating package versions, and adjusting configuration files to align with Storybook v10's requirements.
Key Changes:
- Replaced deprecated
@storybook/addon-stylingwith@storybook/addon-themes - Removed deprecated
@storybook/addon-essentialsand@storybook/addon-interactions - Upgraded all Storybook packages from v8.6.14 to v10.1.4
- Updated
@types/nodefrom v22.19.1 to v24.10.1 - Upgraded
chromaticfrom v11.29.0 to v13.3.4 - Removed
docs.autodocsconfiguration from main.ts
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pnpm-lock.yaml | Updated lockfile with Storybook v10 dependencies and removed deprecated packages |
| packages/ui/package.json | Updated Storybook addon dependencies to v10 compatible versions |
| packages/ui/.storybook/preview.ts | Changed import from @storybook/addon-styling to @storybook/addon-themes |
| packages/ui/.storybook/main.ts | Simplified addons array and removed docs.autodocs configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
@storybook/addon-stylingwith@storybook/addon-themes@storybook/addon-essentialsand@storybook/addon-interactionschromatic, although it's seemingly unused anywhere@types/nodeto match the ones in the guide and website