Skip to content

feat: add npm/npx installation support#6

Merged
AngeloGiacco merged 1 commit into
mainfrom
claude/add-npx-support-RcnKY
Jan 5, 2026
Merged

feat: add npm/npx installation support#6
AngeloGiacco merged 1 commit into
mainfrom
claude/add-npx-support-RcnKY

Conversation

@AngeloGiacco

Copy link
Copy Markdown
Owner

Add npm package wrapper to allow installation via npx:

  • package.json with bin entries for 'apc' and 'agent-precommit'
  • postinstall.js to download platform-specific prebuilt binaries
  • run.js wrapper to execute the binary with proper fallbacks
  • Updated .gitignore to exclude npm artifacts and downloaded binaries

Users can now install via: npx agent-precommit
Or globally: npm install -g agent-precommit

Add npm package wrapper to allow installation via npx:
- package.json with bin entries for 'apc' and 'agent-precommit'
- postinstall.js to download platform-specific prebuilt binaries
- run.js wrapper to execute the binary with proper fallbacks
- Updated .gitignore to exclude npm artifacts and downloaded binaries

Users can now install via: npx agent-precommit
Or globally: npm install -g agent-precommit
@AngeloGiacco AngeloGiacco merged commit 70ad029 into main Jan 5, 2026
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