feat: support npx install from git URL
All checks were successful
CI / build (push) Successful in 59s
Endpoint Sync Check / check-drift (push) Successful in 23s

Add prepare script so TypeScript compiles automatically when installed
via git. Update README and MCP client config examples to use
git+https://git.ezscale.cloud/EZSCALE/virtfusion-mcp.git URLs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-15 23:41:24 -04:00
parent 3d0eed4f17
commit 1d790aad46
2 changed files with 23 additions and 5 deletions

View File

@@ -7,8 +7,14 @@
"bin": {
"virtfusion-mcp": "dist/index.js"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"prepare": "npm run build",
"start": "node dist/index.js",
"dev": "tsx src/index.ts",
"extract-endpoints": "tsx scripts/extract-endpoints.ts",