Skip to content

chore(Storybook): Upgrade Storybook from 8.3.4 to 10.4.6 - #4061

Merged
m7kvqbe1 merged 5 commits into
masterfrom
feat/storybook-10
Jun 29, 2026
Merged

chore(Storybook): Upgrade Storybook from 8.3.4 to 10.4.6#4061
m7kvqbe1 merged 5 commits into
masterfrom
feat/storybook-10

Conversation

@m7kvqbe1

@m7kvqbe1 m7kvqbe1 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Related issue

N/A

Overview

Upgrades Storybook from 8.3.4 to the latest 10.4.6 (two majors). Performed with the official storybook upgrade + automigrate codemods, then manual cleanup. Addons consolidated into core, deprecated standalone packages removed, and all story/mdx imports migrated. The static Storybook build passes locally on Node 24.

Reason

Storybook 8 is two majors behind; moving to 10 keeps us on a supported line and unblocks current addon/tooling versions.

Work carried out

  • Bumped all @storybook/* + storybook + eslint-plugin-storybook to ^10.4.6; @storybook/test-runner to ^0.24.4; addon-webpack5-compiler-babel to ^4
  • Removed packages now built into core: addon-actions, addon-essentials, addon-interactions, blocks, manager-api, theming, test; added @storybook/addon-docs
  • Migrated imports across 68 story/mdx files: @storybook/react@storybook/react-webpack5, @storybook/blocks@storybook/addon-docs/blocks, @storybook/addon-actionsstorybook/actions, @storybook/teststorybook/test
  • .storybook config: addon list trimmed, manager.js imports → storybook/manager-api + storybook/theming, docs.autodocstags: ['autodocs'] in preview.js
  • Verified storybook:static build succeeds locally

Developer notes

  • The static build emits the same pre-existing bundle-size warnings as before (non-fatal).
  • Local pre-commit lint-staged flags .storybook/*.js with "File ignored by default" (eslint ignores dot-dirs); this is a pre-existing quirk and CI lint (eslint src e2e) is unaffected.
  • Stacks on top of the Node 24 runtime bump (already merged).

@m7kvqbe1 m7kvqbe1 self-assigned this Jun 29, 2026
@m7kvqbe1 m7kvqbe1 added the Type: Devops DevOps/automation related label Jun 29, 2026
@m7kvqbe1
m7kvqbe1 force-pushed the feat/storybook-10 branch from 64a9db9 to d35c1be Compare June 29, 2026 10:47
@m7kvqbe1
m7kvqbe1 force-pushed the feat/storybook-10 branch from d35c1be to 4a1bdee Compare June 29, 2026 10:59
Comment thread packages/react-component-library/src/intro/developer-guide.mdx
Comment thread packages/react-component-library/src/tokens/spacing.mdx
@m7kvqbe1
m7kvqbe1 force-pushed the feat/storybook-10 branch from 4a1bdee to eeb1c44 Compare June 29, 2026 11:40
@m7kvqbe1
m7kvqbe1 merged commit a15e6a6 into master Jun 29, 2026
14 of 15 checks passed
@m7kvqbe1
m7kvqbe1 deleted the feat/storybook-10 branch June 29, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Devops DevOps/automation related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants