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
Update storybook 6 #696
Update storybook 6 #696
Conversation
… so default props show up
PS if you want to take Storybook 6 for a spin without running it locally you can view it here: https://deploy-preview-696--ts-ui-storybook.netlify.app/?path=/docs/button--default |
Awesome 💯 . How does the CI look with these 2 lines uncommented? https://github.com/teamsnap/teamsnap-ui/blob/master/.github/workflows/main.yml#L42 . Based on what you mentioned, that should be good to enable? |
Oh yeah, good call... we'll see! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! did you end running any migrations scripts, or do it all by hand?
I ended up doing it by hand. The migration script for transferring from storiesOf to CSF still required a lot manual parsing after the fact, so I abandoned that for another day. And then there were so many weird errors juggling between |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm all onboard! But, I know little of storybook so deferring to the experts on that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Pulled locally and ran the Storybook commands and looked through the components in the UI.
* Merge pull request #696 from teamsnap/update-storybook-6 Update storybook 6 * add netlify toml Co-authored-by: Sara Lohr <sara.lohr@teamsnap.com>
The goal of this PR was to remove vulnerabilities in the TS-UI repo, and Storybook 5 was the source of some of those so this includes an update to Storybook 6.
What was done:
resolutions
section in package.json withnpm-force-resolutions
. It is running as a pre-install script and seems to be doing the job. Happy to hear other suggestions on handling this if this is not the preferred method.storiesOf
format to CSF or MDX stories.