mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
cf7e008c59
- 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>
57 lines
1.0 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|