Skip to content
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

Upgrade Storybook & fix stories bugs #46

Merged
merged 2 commits into from
Aug 6, 2021
Merged

Conversation

goplayoutside3
Copy link
Contributor

I upgraded storybook from version 5 to version 6. I also refactored the stories.js files to use the latest storybook syntax, and I filled in any missing props needed to render MapDetail, Plot, and Subjects components as stories.

When I upgraded storybook to version 6, using react-scripts commands throws a warning because the latest version of react-scripts uses babel-loader 8.1.0 while storybook prefers babel-loader 8.2.0. The error is documented in an issue for @storybook/preset-create-react-app here: storybookjs/presets#206.

I added SKIP_PREFLIGHT_CHECK=true to the project's .env file as a solution, and will keep an eye on this compatibility issue.

@goplayoutside3 goplayoutside3 requested a review from srallen August 1, 2021 15:35
Copy link
Contributor

@srallen srallen left a comment

Choose a reason for hiding this comment

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

Looks good!

@goplayoutside3 goplayoutside3 merged commit 266c957 into master Aug 6, 2021
@goplayoutside3 goplayoutside3 deleted the refactor-stories branch April 19, 2022 19:59
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.

2 participants