Skip to content

feat: add binary run scripts to package page#209

Merged
danielroe merged 21 commits intonpmx-dev:mainfrom
vinnymac:vt/commands
Jan 28, 2026
Merged

feat: add binary run scripts to package page#209
danielroe merged 21 commits intonpmx-dev:mainfrom
vinnymac:vt/commands

Conversation

@vinnymac
Copy link
Copy Markdown
Contributor

Fixed issues with #96 and moved to a new pr after messing up my git history. Rather than fixing it and force pushing, just cherry picked the work I liked out of it.

You can see some examples of much of the changes here:

General use

Express with install, types, and create

image

Exec locally (degit)

image

Create command only (create-turbo)

image

But turbo itself has install, exec, and create

image

Bun run only

image

Create Command Validations

  1. /vite - should show create command (same maintainers)
image
  1. /next - should show create command (shared maintainer, same repo)
image
  1. /nuxt - should show create command (same maintainer, same org)
image
  1. /color - should NOT show create command (different maintainers, different org)
image
  1. /lodash - should NOT show create command (no create-lodash exists)
image

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 28, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Jan 28, 2026 5:00pm
npmx-lunaria Ready Ready Preview, Comment Jan 28, 2026 5:00pm
npmx.dev Ready Ready Preview, Comment Jan 28, 2026 5:00pm

Request Review

@vinnymac vinnymac changed the title Add binary run scripts to package page feat: add binary run scripts to package page Jan 28, 2026
Copy link
Copy Markdown
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is phenomenal! 😍

I've unified the two sections under a 'get started' heading which I hope is good 🙏

I've also made a few other tweaks.

Comment thread app/utils/run-command.ts
@danielroe
Copy link
Copy Markdown
Member

I'll try to merge in main and address the failing browser test unless you manage to do it first

apart from that it's ready to go imo

@vinnymac
Copy link
Copy Markdown
Contributor Author

@danielroe thanks for pushing up these improvements I'll take a look at that test 🫡

Resolve conflict in app/pages/[...package].vue by combining:
- Branch features: interactive copy button with group/installcmd hover state
- Upstream improvements: overflow-x-auto, min-w-0, shrink-0 for responsive behavior
auto-merge was automatically disabled January 28, 2026 16:25

Head branch was pushed to by a user without write access

- Resolved conflict in app/pages/[...package].vue
- Kept binary-only package logic from vt/commands branch
- Added id and scroll-mt-20 attributes from main branch to install section
- Updated package manager tabs with new overflow-x-auto styling from main
- Integrated i18n translations and anchor links from main
@danielroe
Copy link
Copy Markdown
Member

cc: @yanthomasdev - getting this from the 'generate lunario overview' action:

Error: fatal: bad revision '04e5fa92a9218ed8d0f14757cc659555d223f537^...'

Copy link
Copy Markdown
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful work! ❤️

@danielroe danielroe added this pull request to the merge queue Jan 28, 2026
Merged via the queue into npmx-dev:main with commit 3c026bc Jan 28, 2026
11 of 12 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.

3 participants