From c1366916cd81b2e7fa406988c732d0418cb89ba3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Fern=C3=A1ndez=20de=20Alba?= Date: Mon, 25 Mar 2024 09:17:45 +0100 Subject: [PATCH] Missing step in storybook migration (#5913) Co-authored-by: Steve Piercy --- docs/source/upgrade-guide/index.md | 8 ++++++++ packages/volto/news/5913.documentation | 1 + 2 files changed, 9 insertions(+) create mode 100644 packages/volto/news/5913.documentation diff --git a/docs/source/upgrade-guide/index.md b/docs/source/upgrade-guide/index.md index d8085abdbe..5b4b0c6313 100644 --- a/docs/source/upgrade-guide/index.md +++ b/docs/source/upgrade-guide/index.md @@ -196,6 +196,14 @@ Replace the `.storybook` folder in your project with this one: https://github.com/plone/volto/tree/5605131868689778bbdca0c3003a40cb9f153c1a/packages/generator-volto/generators/app/templates/.storybook +Finally, in your project's or add-on's {file}`package.json` file, update the `scripts` key with the key/value pairs, as shown in the following diff. + +```diff +- "storybook": "start-storybook -p 6006", +- "build-storybook": "build-storybook" ++ "storybook": "storybook dev -p 6006", ++ "build-storybook": "storybook build" +``` ```{seealso} [Migration guide from Storybook 6.x to 8.0](https://storybook.js.org/docs/migration-guide/from-older-version) diff --git a/packages/volto/news/5913.documentation b/packages/volto/news/5913.documentation new file mode 100644 index 0000000000..bb511245ac --- /dev/null +++ b/packages/volto/news/5913.documentation @@ -0,0 +1 @@ +Add missing step in Storybook 6 to 8 migration. @sneridagh