Reorganize repo structure and standards references

This commit is contained in:
david committed 2026-06-29 05:03:42 +02:00
1 parent 3cb93a81be
commit be2054274d
5885 files changed
+2588 -195

No files matched your search

@@ -0,0 +1,35 @@
# `@toolctrl/storybook`
Aggregated Storybook for the boilerplate UI packages (`@toolctrl/ui`,
`@toolctrl/ui-app`, `@toolctrl/ui-subframe`, `@toolctrl/ui-mock`).
## Run locally
```bash
pnpm install
pnpm --filter @toolctrl/storybook storybook
# -> http://localhost:6006
```
## Build static site
```bash
pnpm --filter @toolctrl/storybook build-storybook
# -> apps/storybook/storybook-static
```
## Where do stories live?
Stories are **co-located** in each UI package:
```
packages/ui/src/stories/*.stories.tsx
packages/ui-app/src/stories/*.stories.tsx
packages/ui-subframe/src/stories/*.stories.tsx
packages/ui-mock/src/stories/*.stories.tsx
```
`apps/storybook/.storybook/main.ts` aggregates them via globs — adding a new
story file is enough, no manual registration.
See `docs/architecture/storybook.md` for the full guide.