Skip to content

Update storybook#58

Open
obartra wants to merge 1 commit intomasterfrom
update-picturebook
Open

Update storybook#58
obartra wants to merge 1 commit intomasterfrom
update-picturebook

Conversation

@obartra
Copy link
Collaborator

@obartra obartra commented Apr 10, 2019

These changes include

  • Updates browser list
  • Migrate storybook from 4.x to 5.x
  • Fix storybook plugin deprecation notices
  • Add support for JSX and TS TSX files in stories
  • Publish these changes as version 3.0.0-alpha.2 (install with yarn add picturebook@alpha) so they can be tested before releasing a stable version 3.0

These changes do not include:

  • Updating sauceconnect
  • Updating nightwatch
  • Update chrome browser used for screenshots

Both of these update proved problematic so punting on them for now

For a PR demoing this migration, check gymnastjs/gymnast#408

obartra added a commit to gymnastjs/gymnast that referenced this pull request Apr 10, 2019
Testing updating Storybook 5 with Picturebook 3

- Picturebook 3 supports TS files natively so no need for custom filters, they've been removed
- Updated addon usage to remove deprecations following gymnastjs/picturebook#58
- Images changed due to browser images updates but are still correct. The mobile ones now use the appropriate mobile resolution which results in a screenshot more likely to reflect a real use case
@obartra
Copy link
Collaborator Author

obartra commented Apr 10, 2019

@arahansen FYI, this should allow for an easy update to storybook 5 without messing with nightwatch or chrome screenshots

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.

1 participant