change v9docs start to use docs mode to replicate public view#23736
Conversation
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 21d18ae:
|
| "just": "just-scripts", | ||
| "lint": "just-scripts lint", | ||
| "start": "just-scripts dev:storybook", | ||
| "start": "yarn storybook:docs", |
There was a problem hiding this comment.
If I want to run the previous version of the start script how do I do that now?
There was a problem hiding this comment.
running yarn storybook from the package root would do it
There was a problem hiding this comment.
there just isn't much reason to do so. the chromatic command will publish the --docs version
📊 Bundle size report🤖 This report was generated against 60ac3d4ddab13dcc66b64cc837ffb39646fabfbd |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 60ac3d4ddab13dcc66b64cc837ffb39646fabfbd (build) |
Running start from the root runs the v9 docs in the non-docs mode, which is not what we publish to chromatic. This change will make it so you don't have to run storybook:dev from the v9 docs folder to get the correct options.