Skip to content

chore: add a launch configuration for Storybook - #17

Merged
NoNamer777 merged 1 commit into
mainfrom
chore/storybook-launch-config
Oct 2, 2026
Merged

NoNamer777 merged 1 commit into
mainfrom
chore/storybook-launch-config

Conversation

@NoNamer777

Copy link
Copy Markdown
Member

Why

The Claude desktop app can start a dev server and preview it in its browser pane, but only for servers listed in .claude/launch.json. Without the file, every session that wants to check a component in Storybook has to write a temporary entry and remove it afterwards.

What

.claude/launch.json gets one storybook configuration, which runs pnpm run storybook on port 6006.

The file has no entry for pnpm run test. Its Vitest UI only opens with a token that changes on every run, and a launch configuration can't pass one. The preview would always land on the token prompt.

Test plan

  • pnpm exec prettier -c .claude/launch.json
  • In the Claude desktop app, start the storybook preview and check that Storybook opens on port 6006

The Claude desktop app reads `.claude/launch.json` to start a dev server
and preview it in its browser pane. The `storybook` configuration runs
the Storybook dev server on port 6006.
@NoNamer777
NoNamer777 requested a review from a team as a code owner October 1, 2026 22:07
@NoNamer777
NoNamer777 enabled auto-merge October 1, 2026 22:07
@NoNamer777
NoNamer777 temporarily deployed to storybook-preview October 1, 2026 22:07 — with GitHub Actions Inactive
@NoNamer777
NoNamer777 merged commit c64f32b into main Oct 2, 2026
6 checks passed
@NoNamer777
NoNamer777 deleted the chore/storybook-launch-config branch October 2, 2026 09:59

This branch was previously deployed

1 inactive deployment
storybook-preview — 886f0b75 Deployed Oct 1, 2026 by NoNamer777 via Deploy Storybook preview #33
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.

2 participants