Files
davila7__claude-code-templates/vercel.json
daniel cf7e008c59 feat: Add monitoring points P1-P5 (installation outcomes, website events, API health)
- Create 3 Neon tables: installation_outcomes, website_events, api_health_logs
- Add API endpoints: track-installation-outcome, track-website-events, health-check
- Track CLI installation success/failure with timing and error classification
- Add website event tracker (search, cart, component views) with batched sendBeacon
- Add health-check cron every 15min with Discord alerts on failure
- Integrate tracking in all 6 installIndividual* functions with batchId support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 22:08:34 -05:00

57 lines
1.0 KiB
JSON

{
"buildCommand": "npm run build",
"outputDirectory": "docs",
"crons": [
{
"path": "/api/claude-code-check",
"schedule": "*/30 * * * *"
},
{
"path": "/api/health-check",
"schedule": "*/15 * * * *"
}
],
"rewrites": [
{
"source": "/",
"destination": "/index.html"
},
{
"source": "/agents",
"destination": "/index.html"
},
{
"source": "/commands",
"destination": "/index.html"
},
{
"source": "/settings",
"destination": "/index.html"
},
{
"source": "/hooks",
"destination": "/index.html"
},
{
"source": "/mcps",
"destination": "/index.html"
},
{
"source": "/templates",
"destination": "/index.html"
},
{
"source": "/plugins",
"destination": "/index.html"
},
{
"source": "/plugin/:name",
"destination": "/plugin.html"
},
{
"source": "/component/:type/:name*",
"destination": "/component.html"
}
]
}