rsbuild-svelte5-storybook Svelte Themes

Rsbuild Svelte5 Storybook

Storybook framework for Svelte 5 powered by Rsbuild / Rspack. Supports both .stories.ts (CSF) and .stories.svelte (native) formats with runes, HMR, and injected CSS.

rsbuild-svelte5-storybook

Monorepo for storybook-svelte-rsbuild — a Storybook framework that runs Svelte 5 components on top of Rsbuild / Rspack.

Layout

  • packages/storybook-svelte-rsbuild — the framework package (published to npm).
  • examples/basic — a working Storybook with both .stories.ts and .stories.svelte.

Develop

bun install
bun run build              # build the framework package
bun run storybook          # start the example on http://localhost:6006
bun run build-storybook    # produce static Storybook

Release

Changesets + GitHub Actions publish to npm and create a GitHub Release on every merged version-bump PR.

bunx changeset                   # describe the change (writes .changeset/*.md)
git add . && git commit -m "feat: ..."
git push                         # → workflow opens a "chore: version packages" PR

Merge that PR → next Release workflow run publishes to npm via the automation token and creates a GitHub Release with autogenerated notes.

One-time setup: create an npm Automation Token, add as NPM_TOKEN secret, and enable Read and write permissions + Allow GitHub Actions to create and approve pull requests under Settings → Actions → General.

Top categories

Loading Svelte Themes