Skip to content

feat(registry): add the package command component - #51

Merged
moshiur01 merged 3 commits into
mainfrom
feat/package-command
Nov 15, 2026
Merged

moshiur01 merged 3 commits into
mainfrom
feat/package-command

Conversation

@moshiur01

Copy link
Copy Markdown
Contributor

Adds the Package Command component: an install command for npm, pnpm, yarn and bun in a small terminal card, with a sliding pill, split-flap character flips, copy feedback, and a remembered manager choice shared across blocks. Includes the docs page, demo, preview media, registry entries and tests.

moshiur01 and others added 3 commits November 8, 2026 16:14
An install command for npm, pnpm, yarn and bun in a small terminal card.
The pill's edges tween separately so it stretches toward the new tab and
closes up. Only the characters that differ between managers flip, like a
split-flap board, and the package names slide as the command resizes.
Copying draws a check and sweeps a selection across the line. The choice
is saved to localStorage and shared by every instance on the page.
Supports an execute kind (npx, pnpm dlx, yarn dlx, bunx), dev installs
and a subset of managers.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
@moshiur01
moshiur01 merged commit 4a8983a into main Nov 15, 2026
1 check 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