Files
classroomio/packages/storybook

@cio/storybook

Storybook for ClassroomIO UI components.

Development

To start the Storybook development server:

pnpm dev

Build

To build the Storybook:

pnpm build

Build Storybook

To build the Storybook (alternative command):

pnpm build-storybook

Upload

To upload the built Storybook to Cloudflare R2:

pnpm upload:storybook

Note: This requires the build to be completed first. Make sure you have the following environment variables set:

  • CLOUDFLARE_ACCESS_KEY
  • CLOUDFLARE_SECRET_ACCESS_KEY
  • CLOUDFLARE_ACCOUNT_ID

Publish

To build and upload the Storybook in one command:

pnpm publish:storybook

This will build the Storybook and then upload it to R2.