Skip to content

Commit

Permalink
docs: add a section about external puppeteer in MIGRATION.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanmaisse committed Jan 18, 2020
1 parent 51d526f commit 321ecb9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions MIGRATION.md
Expand Up @@ -9,6 +9,7 @@
- [Deprecate displayName parameter](#deprecate-displayname-parameter)
- [Unified docs preset](#unified-docs-preset)
- [Simplified hierarchy separators](#simplified-hierarchy-separators)
- [Addon StoryShots Puppeteer uses external puppeteer](#addon-storyshots-puppeteer-uses-external-puppeteer)
- [From version 5.1.x to 5.2.x](#from-version-51x-to-52x)
- [Source-loader](#source-loader)
- [Default viewports](#default-viewports)
Expand Down Expand Up @@ -220,6 +221,17 @@ addParameters({

NOTE: it is no longer possible to have some stories with roots and others without. If you want to keep the old behavior, simply add a root called "Others" to all your previously unrooted stories.

### Addon StoryShots Puppeteer uses external puppeteer

To give you more control on the Chrome version used when running StoryShots Puppeteer, `puppeteer` is no more included in the addon dependencies. So you can now pick the version of `puppeteer` you want and set it in your project.

If you want the latest version available just run:
```sh
yarn add puppeteer --dev
OR
npm install puppeteer --save-dev
```

## From version 5.1.x to 5.2.x

### Source-loader
Expand Down

0 comments on commit 321ecb9

Please sign in to comment.