You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the recent State of JS surveys, users complained about using Storybook. That's why we invested so much into automigrations for major releases.
Unfortunately, we've observed lots of problems in upgrading real-world monorepos. Automigrations fail explicitly, because they detect multiple projects and the automigrations know that they're not equipped to handle this properly. This is better than if they upgrade the wrong packages and/or stories, leaving the project in a broken or inconsistent state, but it still sucks.
This is a pretty big problem: 30% of Storybook projects are in monorepos, 35% of “viable” projects with 20+ stories, and 40% of “ideal” projects with 200+ stories. So our “best” users are getting the worst upgrade experience!
More broadly, Storybook’s monorepo support sucks in general: a community RFC begging for a well-supported monorepo setup is by far the most upvoted RFC despite no solution in sight yet. Fixing automigrations for monorepos does not solve the general problem, but it is a step in the right direction. And giving space for this work might help unlock a more general solution.
Milestones
Milestone: Finalize possible upgrade flows in monorepos
Uh oh!
There was an error while loading. Please reload this page.
Problem statement
In the recent State of JS surveys, users complained about using Storybook. That's why we invested so much into automigrations for major releases.
Unfortunately, we've observed lots of problems in upgrading real-world monorepos. Automigrations fail explicitly, because they detect multiple projects and the automigrations know that they're not equipped to handle this properly. This is better than if they upgrade the wrong packages and/or stories, leaving the project in a broken or inconsistent state, but it still sucks.
This is a pretty big problem: 30% of Storybook projects are in monorepos, 35% of “viable” projects with 20+ stories, and 40% of “ideal” projects with 200+ stories. So our “best” users are getting the worst upgrade experience!
More broadly, Storybook’s monorepo support sucks in general: a community RFC begging for a well-supported monorepo setup is by far the most upvoted RFC despite no solution in sight yet. Fixing automigrations for monorepos does not solve the general problem, but it is a step in the right direction. And giving space for this work might help unlock a more general solution.
Milestones
Milestone: Finalize possible upgrade flows in monorepos
Owner: @yannbf
Complete By: 21. May 2025
Milestone: Enhancing Storybook utils to be mono-repo aware
Owner: @valentinpalkovic, @yannbf
Complete By: 23. May 2025
storybook add/remove
(fault-tolerant)storybook upgrade --config-dir
flag to support multiple config dirsJsPackageManager
class and related utils likegetStorybookData
--skip-install
tostorybook add/remove
to skip installationsMilestone: Adjust
upgrade
andautomigrations
Owner: @valentinpalkovic, @yannbf
Complete By: 29. May 2025
upgrade
to detect multiple projects and prompt the user what we are about to change--config-dir
optionMilestone: QA Top-5 monorepo setups
Owner: @yannbf
Complete By: 30. May 2025
init
experience should not be affected by any of the made changesMilestone: Telemetry updates
Owner: @shilman
Complete By: 28. May 2025
Milestone: Documentation updates
Owner: @valentinpalkovic
Complete By: 29. May 2025
Milestone: Create/modify node-logger class
Owner: @valentinpalkovic
Complete By: 29. May 2025
========= Everything below this line is strictly nice-to-have =========
Milestone: Exchange current logging utils by modern ones
Owner: @valentinpalkovic
Complete By: 30. May 2025
prompt
library and other logging related utils by a modern alternativeMilestone: RFC for recommended mono-repo support
Owner: @yannbf
Complete By: 2. June 2025
The text was updated successfully, but these errors were encountered: