Skip to content

Commit 56dc946

Browse files
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

examples/storybook-hub/README.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

examples/storybook-hub/package.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

examples/storybook-hub/tsconfig.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

examples/storybook-hub/uno.config.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

pnpm-lock.yaml

Lines changed: 24 additions & 76 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ overrides:
4040
crossws: ^0.4.10
4141
semver: ^7.8.5
4242
shell-quote: ^1.10.0
43-
catalog:
4443

4544
catalogs:
4645
build:
@@ -134,7 +133,6 @@ catalogs:
134133
storybook:
135134
'@storybook/addon-a11y': ^10.5.3
136135
'@storybook/addon-docs': ^10.5.3
137-
'@storybook/html-vite': ^10.5.3
138136
'@storybook/react-vite': ^10.5.3
139137
'@storybook/svelte-vite': ^10.5.3
140138
'@storybook/vue3-vite': ^10.5.3

storybook/.storybook/main.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

storybook/.storybook/preview.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)