Skip to content

feat: scaffold Storybook for react substrate package + CONTRIBUTING#2

Merged
ivanbanov merged 2 commits into
mainfrom
storybook
Jul 15, 2026
Merged

feat: scaffold Storybook for react substrate package + CONTRIBUTING#2
ivanbanov merged 2 commits into
mainfrom
storybook

Conversation

@ivanbanov

Copy link
Copy Markdown
Member

Why/What

Adds @dunky-dev/react with its own Storybook (react-vite framework) so UI packages can preview components per-substrate.

Changes

  • packages/react — new package with .storybook/main.ts and .storybook/manager.ts.
  • scripts/sb.js — root pnpm dev / pnpm build-storybook delegate via pnpm --filter into the substrate package (react by default), keeping Storybook deps out of the workspace root.
  • .gitignore — ignore storybook-static.
  • .oxlintrc.json — allow default exports in *.stories.ts(x).
  • pnpm-workspace.yamlallowBuilds.esbuild, hoist *storybook* binaries.

Stacked on top of #1 (contributing-docs) — this branch was cut before that one, so its diff includes the same docs commit for now. Once #1 merges, this PR's diff will narrow to just the Storybook scaffold.

Issues

None

Adds @dunky-dev/react with its own Storybook (react-vite framework) so
UI packages can preview components per-substrate. Root pnpm dev /
build-storybook delegate via scripts/sb.js --filter into the substrate
package, keeping Storybook deps out of the workspace root.
Mirrors dunky-dev/state-machine#47, adapted to this repo's actual
commands (no test:ci/build scripts here) and Storybook-per-substrate
setup instead of sandbox/*. Discussions is disabled on dunky-dev/ui,
so config.yml skips the contact link that repo has.
@ivanbanov ivanbanov changed the title feat: scaffold Storybook for react substrate package feat: scaffold Storybook for react substrate package + CONTRIBUTING Jul 15, 2026
@ivanbanov ivanbanov merged commit 240275c into main Jul 15, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant