← Blog

Review a Storybook component, then install the artifact

August 8, 2026

Compify keeps Storybook upstream and makes distribution an explicit, reviewable step. Local inspection and export require no account or server.

1. Select and inspect

compify storybook inspect src/components/Button.stories.tsx --story Primary
compify storybook export src/components/Button.stories.tsx --story Primary   --output .compify/button.registry.json

The story module is parsed, never imported. Review every included file, dependency, diagnostic and provenance field. Static acceptance is not visual or behavioral equivalence.

2. Verify in a different application

Use a pinned shadcn version to view and install the JSON, then typecheck and production-build the untouched consumer. The repository currently proves one exact shadcn 4.16.2 and Next.js 15.5.23 fixture; see the compatibility matrix.

3. Publish only if distribution is needed

A self-hosted API can serve public, unlisted or owner-authenticated private items. Public source is irreversible disclosure; private publication still transfers confidential source to infrastructure you operate.

COMPIFY_API_URL=https://registry.example compify storybook publish   src/components/Button.stories.tsx --story Primary --visibility private

Compify does not yet promise general aliases, workspaces, binary assets, runtime fidelity or package-style updates. Those claims require dedicated fixtures and revision/receipt semantics.