-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply the following changes to perform the bulk of the migration: - `npx storybook@next upgrade --prerelease` This includes a number of automigrations which update core config to match the new v7 API - Disable `storyStoreV7` as a temporary workaround for an error loading stories. This will be re-enabled (v7 default) once the remaining issues are resolved - Disable auto docs generation for now, need to clean up stories to properly take advantage of CSF3 benefits etc. - Migrate to CSF3 story structure and syntax `npx storybook@next migrate csf-2-to-3 --glob="src/**/*.stories.js"` `npx storybook@next migrate csf-2-to-3 --glob="packages/**/*.stories.js"` This is only a partial migration and the remainder will need to be completed manually to take full advantage of the improvements and simplifications introduced in CSF3 - Remove the root prefix in each story (e.g. `Components/`) and move to a centralised config in `.storybook/main.js` via the `stories` entry. Experiemental components etc. will be identified differently after the CSF3 migration is completed fully
- Loading branch information
1 parent
53f3ba8
commit a0f17a1
Showing
46 changed files
with
22,015 additions
and
38,730 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.