mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 02:11:07 +08:00
- involves changes in csf-tools to define a flag that tells us there is (or not) a default export - involves changes in affected packages now that loadMainConfig is async
Storybook CSF Tools
An experimental library to read, analyze, transform, and write CSF programmatically.
- Read - Parse a CSF file with Babel
- Analyze - Extract its metadata & stories based on the Babel AST
- Write - Write the AST back to a file
It can can parse MDX into CSF.
Coming soon:
- Transform - Update the AST to add/remove/modify stories & metadata (TODO)