Migrate from Vercel to Cloudflare Pages, fix distill command symbol

Replace Vercel serverless functions with Cloudflare Pages static
rewrites and lightweight download functions. Pre-generate all API
JSON data at build time for zero-invocation static serving. Also
fix stale simplify→distill rename in framework-viz periodic table.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Paul Bakaus
2026-03-08 18:34:14 -07:00
co-authored by Claude Opus 4.6
parent 98d16686dc
commit 7d2d42da96
17 changed files with 366 additions and 4203 deletions
+7 -3
View File
@@ -19,13 +19,17 @@
"license": "SEE LICENSE FILE",
"scripts": {
"build": "bun run scripts/build.js",
"clean": "rm -rf dist",
"clean": "rm -rf dist build",
"rebuild": "bun run clean && bun run build",
"dev": "bun run server/index.js",
"start": "bun --production run server/index.js",
"preview": "bun run build && wrangler pages dev",
"deploy": "bun run build && wrangler pages deploy build/",
"test": "bun test",
"screenshot": "bun run scripts/screenshot-antipatterns.js",
"og-image": "bun run scripts/generate-og-image.js"
},
"type": "module"
"type": "module",
"devDependencies": {
"wrangler": "^4.71.0"
}
}