feat: add npx support for zero-install trial run#45
Merged
snipcodeit merged 3 commits intomainfrom Feb 27, 2026
Merged
Conversation
Add homepage and bugs fields, expand keywords array with npm discoverability terms (claude-code, project-management, developer-tools, ai). Verified existing repository, author, engines, bin, and files fields are correct. npm pack --dry-run confirms clean 22-file output. Closes #20 Co-Authored-By: Claude Opus 4.6 <[email protected]>
Exclude development and internal files (.mgw/, .planning/, .worktrees/, .test/, .github/, .claude/, source lib/ and bin/) from npm package. Verified with npm pack: 22 files, 58.6 kB — includes only dist/, commands/, templates/, package.json, README.md, and LICENSE. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Verify shebang in bin/mgw.cjs (already present), confirm npx . --help and npx . --version work, and document npx usage in README with a Quick Start section and an npx-vs-full-install comparison table showing which commands work without Claude Code installed. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This was referenced Feb 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
bin/mgw.cjshas correct#!/usr/bin/env nodeshebang (already present, preserved in built output by pkgroll)npx . --helpandnpx . --versionwork correctly from repo rootnpx mgwexamples for zero-install trialCloses #22
Milestone Context
Changes
README.md— Added Quick Start section with npx examples; added "npx vs full install" subsection under Installation with two-tier command table and requirement detailsTest Plan
npx . --helpprints full command listing from repo rootnpx . --versionprints0.1.0npx . helpprints bundled help textnpx . syncruns without error (non-AI command)bin/mgw.cjssource has#!/usr/bin/env nodeshebang on line 1dist/bin/mgw.cjsbuilt output preserves shebang