From 12c584db114984e652e297c3005f874a9fce9a0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sat, 18 Jan 2020 08:29:32 +0100 Subject: [PATCH] docs: add a section about external puppeteer in MIGRATION.md --- MIGRATION.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MIGRATION.md b/MIGRATION.md index 96df607e4b3a..7b9bfd4bef86 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -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) @@ -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 using StoryShots Puppeteer Addon, `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