Skip to content

Custom Storybook version feature won't work for v8 #156

@wojciechczerniak

Description

@wojciechczerniak

Defining custom Storybook version done in #107 is capped at Storybook v8 due to breaking change in Storybook CLI.

It's mentioned in the PR, but I've done some digging and here's where it failed. Might not be the only blocker

Code:

"storybook": "concurrently --i -c \"red,blue,yellow\" -n storybook,watch-components,watch-data \"storybook dev --quiet -c $STORYBOOK_CONFIG_PATH -s $STORYBOOK_STATIC_PATH -p $STORYBOOK_PORT\" \"npm run watch-components\" \"npm run watch-data\"",

Issue:

- -s $STORYBOOK_STATIC_PATH

Reference:

With the release of Storybook 8, the -s CLI flag was removed. We recommend using the static directory instead if you need to serve static files.

Source:

https://storybook.js.org/docs/8/api/cli-options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions