feat: add debug script for inspecting raw API data per park+date
All checks were successful
Build and Deploy / Build & Push (push) Successful in 4m23s

npm run debug -- --park greatadventure --date 2026-07-04

Prints the raw API response for that day alongside the parsed result
so mismatched or missing hours can be traced to their source.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-04 10:39:37 -04:00
parent 5bef17aa41
commit 8a68251beb
3 changed files with 126 additions and 1 deletions

View File

@@ -9,7 +9,8 @@
"lint": "next lint",
"scrape": "tsx scripts/scrape.ts",
"scrape:force": "tsx scripts/scrape.ts --rescrape",
"discover": "tsx scripts/discover.ts"
"discover": "tsx scripts/discover.ts",
"debug": "tsx scripts/debug.ts"
},
"dependencies": {
"better-sqlite3": "^12.8.0",