Skip to content

Conversation

Copy link

Copilot AI commented Jan 27, 2026

Upgrades Storybook to v10.2.1 using the official migration CLI, which applied 5 automigrations for breaking changes between v8 and v10.

Package Changes

  • Upgraded: @storybook/react, @storybook/react-vite, @storybook/builder-vite, @storybook/addon-links to ^10.2.1
  • Added: storybook (now required), @storybook/addon-docs, eslint-plugin-storybook
  • Removed: @storybook/addon-actions, @storybook/addon-essentials, @storybook/addon-interactions

Configuration

  • .storybook/main.js: Added getAbsolutePath wrapper for addon paths (required in v10)
  • .eslintrc.js: Added plugin:storybook/recommended to extends
  • Story files: Updated imports from @storybook/react@storybook/react-vite and @storybook/addon-actionsstorybook/actions

Example Import Changes

- import { StoryFn, Meta } from '@storybook/react';
- import { action } from '@storybook/addon-actions';
+ import { StoryFn, Meta } from '@storybook/react-vite';
+ import { action } from 'storybook/actions';

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • storybook.js.org
    • Triggering command: /usr/local/bin/node node /home/REDACTED/.npm/_npx/6cfc44e5de629fa1/node_modules/.bin/cli upgrade --yes (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/formik-mui/formik-mui/node_modules/.bin/storybook dev -p 6006 --yes @storybook/cli@10.2.1 mik-mui/node_modules/.bin/npm (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/formik-mui/formik-mui/node_modules/.bin/storybook build groups (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Upgrade and perform any migrations if needed for storybook


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits January 27, 2026 22:13
Co-authored-by: cliedeman <3578740+cliedeman@users.noreply.github.com>
Co-authored-by: cliedeman <3578740+cliedeman@users.noreply.github.com>
Copilot AI changed the title [WIP] Upgrade storybook and perform necessary migrations Upgrade Storybook from v8.2.9 to v10.2.1 Jan 27, 2026
Copilot AI requested a review from cliedeman January 27, 2026 22:19
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