-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Move react-docgen dependency to docs addon preset. #9533
Conversation
This pull request is being automatically deployed with ZEIT Now (learn more). 🔍 Inspect: https://zeit.co/storybook/monorepo/rgd37jn4w |
Hey @shilman any idea why it doesn't work? I get the following for every components, PropType or TS: I am using cra-ts-kitchen-sink to test. |
@shilman nvm |
@patricklafrance how do i reproduce this problem? i updated from |
@shilman it's working now, seems like the problem might have been fixed in next? |
@shilman As part of this PR I am also moving |
Hmm I think both are used by |
@shilman ok I thought deprecating What does |
@patricklafrance Deprecating does not mean deleting. It's still used 3x as much as After a little thought, here's my
|
Ok I see @shilman i’ll close this PR then since we can’t move react-docgen! |
@patricklafrance you missed my point. we can move it. we just need to document how to manually install the babel plugins for for |
@shilman ahh got it! :) |
I can put this on my todo-list:
|
Would be great @ndelangen, thank you! |
@tmeasday I'm not sure if I should be assigned to this. I proposed I'd handle the extraction of addon-notes & addon-info from the monorepo. This PR itself deals with a different issue (which I do not have a lot of context on)? |
@patricklafrance Is this PR completely blocked until addon-notes & addon-info are extracted? |
I'll take this one @ndelangen @tmeasday But it won't happen until after I get back from vacation this weekend. Thanks for your patience @patricklafrance |
Won't fix. Took a different approach in #8444 Users still take the dependency hit, but it's an easy to change to decide which docgen you want |
Issue: #9273
What I did
babel-plugin-react-docgen
andbabel-plugin-add-react-displayname
fromapp/react
to docs addon.How to test
If your answer is yes to any of these, please make sure to include it in your PR.