Skip to main content

Generate Stories

What It Does

The command generate-stories allows you to automatically grab the most recent Gesso stories. You can find the generated stories in src/stories/gesso.

  • If you don't want some of the stories, just delete the associated files.

  • You can edit the files and still recieve upstream changes, as they are published exports, not copies.

  • Updates will happen automatically when you update your Gesso version, although if you wish to get new stories, you will need to run the command or manually create the missing files.

Usage

pnpm gesso generate-stories
note

Make sure you are in the design-system of your project. You will be unable to run these stories anywhere else.