-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[Feature] Add Storybook to the "Supported Tooling Table" #592
Comments
I'd be very happy to solve the Storybook story - ironically, what I'm missing too is some direction 😄 Keep in mind I've literally never used it before, so I'd probably lose a lot of time just reading the Getting Started (the setup looked a bit complex last time I checked). For example, in order to add support for Vue (it was a very similar case - I've never used Vue, and even less its CLI), someone made the following very useful document. Thanks to it I was able to have a better overview of what I was supposed to do to create a project from scratch and the problem encountered, and spend my efforts to fixing them rather than learning how to actually use Vue. If someone could setup some kind of similar document I'd be happy to help figuring out the Storybook story! |
@arcanis , I will try to make such a document, thanks for the pointer. However the big difference (so far) is that unlike the document you link, I was unable to make storybook work with yarn v2 at all. I'll report back |
Here is the repo with the guide. Right now it only reproduces the problem, with a guide to get there. https://github.com/crubier/yarnv2-storybook I will try to apply the fixes I have in my toolbelt. |
I tried several possible solutions, to no avail. The full guide is the Readme here: |
@arcanis the guide is complete, along with a working solution! I tried to make it as simple as possible. Thanks to @larixer for his help! https://github.com/crubier/yarnv2-storybook I opened an issue in storybook there: I don't know if more work is needed on yarn's side. Support for packageExtensions was super useful! |
I also opened an MR there ndelangen/corejs-upgrade-webpack-plugin#4 |
I tried to add one there with the bare "ideal" process where you just install CRA and storybook with the factory settings... https://github.com/crubier/berry/blob/master/.github/workflows/e2e-cra-storybook-workflow.yml But it fails: |
Reported the problem there: storybookjs/storybook#9527 The storybook-yarn story is not the easiest one... I feel like I am the only storybook user who wants to use yarn v2, I don't get it ... |
@crubier you're definitely not the only one 😉 I will take a look at all your posts, issues & repo and try to make things better on Storybook side! |
Describe the user story
Storybook has 43k stars on Github, more than jest, twice the number of stars of mocha, three times husky, etc. It is a massively useful and used tool in the community.
This request is to add Storybook to the supported tooling table on the main Readme.md.
Sadly, the yarn berry / storybook story is really bad right now, I did not manage to make it work despite a lot of efforts (I managed to make storybook work with yarn v1 with pnp though).
This is a big blocker for me and others as shown here for example #484
Just this element means we cannot consider using yarn v2 despite all its advantages. Supporting such a massively used package should be more of an objective.
Describe the solution you'd like
Test Yarn berry with storybook, make it work and add it to the front page table.
Describe the drawbacks of your solution
I can't see much, appart from the development effort, which might actually not be that big (Making storybook work is probably just about creating a preset for storybook using the webpack plugin)
Describe alternatives you've considered
Trying myself to create a storybook preset.
Additional context
#484
The text was updated successfully, but these errors were encountered: