Norbert de Langen d51b4d5126
Merge branch 'next' into future/move-code-into-directory
# Conflicts:
#	code/addons/a11y/package.json
#	code/examples/preact-kitchen-sink/package.json
#	code/lib/blocks/package.json
#	code/yarn.lock
#	package.json
2022-07-25 15:25:19 +02:00
..

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)