8000 [Feature]Support storybook v9 by huuyafwww · Pull Request #1008 · reg-viz/storycap · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Feature]Support storybook v9 #1008

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

huuyafwww
Copy link
@huuyafwww huuyafwww commented Jun 11, 2025

close #1007

Hi, thank you for developing this great library called storycap.
I am currently using storycap and am in the process of updating Storybook to v9.
When I try to build Storybook, I get an error due to the following deprecated libraries that storycap depends on.

  • @storybook/manager-api
  • @storybook/preview-api

Each of the above has been incorporated into the core of Storybook in the latest version of Storybook, so they no longer need to be installed.

Accordingly, the existing code has been modified and an example for v9 has been added.

Also, this Storybook change destructively changes the contents of peerDependencies, so storycap will no longer work with v7 and v8.

Therefore, would you please consider incorporating this change as a major version update to storycap itself?
In addition, since the v7 and v8 examples will no longer be available, we would like to consider removing them.

"@storybook/manager-api": "^7.0.0 || ^8.0.0",
"@storybook/preview-api": "^7.0.0 || ^8.0.0"
"storybook": "^9.0.0"
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following changes are described in the official migration guide.

  • @storybook/manager-api
  • @storybook/preview-api

@huuyafwww
Copy link
Author

@Quramy @bokuweb
Hello, Could you please confirm this PR?

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.

[Storybook 9] Addon compatibility - Update needed
1 participant
0