Commit 73bd6ab
committed
Upgrade Storybook 8 to 10
Run via the official upgrade CLI one major at a time with automigrations.
Drop unused addons: essentials and interactions are core in Storybook 9+;
links, docs and Chromatic were unused (no linkTo, MDX, autodocs, or
Chromatic CI). This leaves storybook, @storybook/react-vite and
eslint-plugin-storybook as the only Storybook dev dependencies.
Exclude stories from the CJS build: Storybook 10 types don't resolve
under node10 module resolution. The ESM build still typechecks them.
Ignore generated docs/build in eslint: a new eslint-plugin-storybook
rule flagged stale typedoc output there.
Disable the onboarding checklist and what's new notifications.
The lockfile is regenerated as npm could not resolve the major bumps
in place.1 parent 7e94b46 commit 73bd6ab
10 files changed
Lines changed: 4362 additions & 8295 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments