Commit 56dc946
committed
refactor(storybook): rebuild the unified host as a devframe hub
Replace the @devframes/storybook Storybook Composition shell with a
devframe hub (built on @devframes/hub): each plugin's Storybook is a
`type: 'launcher'` dock bound to a `ctx.commands` command that spawns
`storybook dev` through `ctx.terminals` on demand, streams boot output
to the launcher digest, and iframes the running instance in place. The
live terminals plugin docks alongside so the spawned processes are
watchable.
Drop the now-redundant examples/storybook-hub example (its hub code
lives in the storybook package now), and point `pnpm storybook` at the
host hub rather than fanning out every plugin's storybook in parallel.1 parent 35676b6 commit 56dc946
21 files changed
Lines changed: 134 additions & 389 deletions
File tree
- examples/storybook-hub
- storybook
- .storybook
- scripts
- src
- client
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
137 | | - | |
138 | 136 | | |
139 | 137 | | |
140 | 138 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments