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