sourcegraph/client/storybook
Quinn Slack 1fe876e89c
finish removing chromatic (#63966)
We removed Chromatic in
https://github.com/sourcegraph/sourcegraph/pull/62228, but there were
still some remnants.

## Test plan

CI
2024-07-21 18:37:02 -07:00
..
assets/img web: update branding colors and Sourcegraph logo images (#23751) 2021-08-13 18:58:09 +08:00
src finish removing chromatic (#63966) 2024-07-21 18:37:02 -07:00
.eslintignore web: moved Storybook config into a new package (#19569) 2021-04-08 17:16:26 +08:00
BUILD.bazel finish removing chromatic (#63966) 2024-07-21 18:37:02 -07:00
globals.d.ts Rely on MonacoWebpackPlugin for worker config (#25886) 2021-10-12 14:01:36 +02:00
package.json finish removing chromatic (#63966) 2024-07-21 18:37:02 -07:00
README.md fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
tsconfig.json simplify tsconfig.json files (#57913) 2023-10-26 03:03:11 -07:00

Storybook configuration

Check out the Storybook section in the Developing the Sourcegraph web app docs.

Usage

Storybook configuration is set up as a pnpm workspace symlink.

Important commands are exposed via root package.json:

pnpm storybook
pnpm storybook:build

Environment variables

# Load only a subset of stories to boost build performance.
STORIES_GLOB='client/web/src/**/*.story.tsx' pnpm start