Skip to content

Commit

Permalink
Missing step in storybook migration (#5913)
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Piercy <[email protected]>
  • Loading branch information
sneridagh and stevepiercy authored Mar 25, 2024
1 parent 49d8e0b commit c136691
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/upgrade-guide/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions packages/volto/news/5913.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add missing step in Storybook 6 to 8 migration. @sneridagh

0 comments on commit c136691

Please sign in to comment.