V16: Upgrade Storybook from V8 to V9#19640
Merged
madsrasmussen merged 8 commits intomainfrom Jul 1, 2025
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the Storybook setup from version 8 to version 9, switching to the Vite-based web-components framework and updating related tooling and configurations.
- Migrated all story imports from
@storybook/web-componentsto@storybook/web-components-vite - Updated MDX block imports to use
@storybook/addon-docs/blocks - Bumped Storybook dependencies in
package.jsonand refined ESLint to include the Storybook plugin - Adjusted
.storybookconfig files to reference the new framework and addons
Reviewed Changes
Copilot reviewed 153 out of 154 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
package.json |
Upgraded Storybook packages to v9.0.14 |
eslint.config.js |
Added eslint-plugin-storybook and included its config |
.storybook/main.ts |
Switched framework to @storybook/web-components-vite |
.storybook/preview.js |
Updated setCustomElements import path |
.storybook/manager.ts |
Changed the addons import path |
Files not reviewed (1)
- src/Umbraco.Web.UI.Client/package-lock.json: Language not supported
Comments suppressed due to low confidence (1)
src/Umbraco.Web.UI.Client/.storybook/manager.ts:1
- The import path for the manager API looks incorrect. It should remain under the
@storybooknamespace, e.g.import { addons } from '@storybook/manager-api';.
import { addons } from 'storybook/manager-api';
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sea-0c7411a03-19640.westeurope.6.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://orange-sea-0c7411a03-19640.westeurope.6.azurestaticapps.net |
madsrasmussen
approved these changes
Jul 1, 2025
This was referenced Jul 28, 2025
This was referenced Aug 26, 2025
This was referenced Aug 26, 2025
This was referenced Sep 8, 2025
This was referenced Oct 20, 2025
This was referenced Oct 27, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the Storybook configuration and dependencies for the Umbraco Web UI Client, transitioning to
@storybook/web-components-viteand upgrading Storybook-related packages. Additionally, it refines ESLint configuration and adjusts imports across multiple files to align with the updated Storybook framework.Changes