11 Commits

Author SHA1 Message Date
d5448d9a94 feat!: upgrade to SvelteKit 3 and adapter-bun
Some checks failed
Test and deploy staging / staging (push) Failing after 14s
- run sv migrate sveltekit-3: config moves into vite.config.ts, $lib becomes
  #lib, $env/dynamic becomes $app/env/private via src/env.ts, $app/environment
  becomes $app/env, hook types move to @sveltejs/kit/hooks
- env vars stay optional (the migrator defaulted them to ''), and BANCHO_MODE,
  which it missed, is declared and passed to simulatorEnabled
- handleError only logs and masks unknown errors; Kit 3 now routes 404s and
  error(...) through it too
- json()/text() become Response.json()/new Response(); goto keepFocus/noScroll
  becomes reset: false; invalidateAll becomes refreshAll; page.url is copied
  before mutating
- replace adapter-node with @sveltejs/adapter-bun; prod-server.ts wraps
  Bun.serve to add native WebSockets (bunSockets) for /ws paths, since the
  generated server has no websocket option
- drop the Kit readdir patch: Kit 3 sorts route entries itself
- match view and broadcast pages use the live score modules

BREAKING CHANGE: requires SvelteKit 3, TypeScript 6 and Bun 1.4; the build
output is build/index.js from adapter-bun, started through prod-server.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:02:53 +00:00
9b9aafefc1 feat: redesign match play and add broadcast tooling 2026-09-29 02:52:56 +00:00
cb8ffb346d fix(runtime): bundle all deps to avoid bun CJS loader crash 2026-03-14 22:13:37 +01:00
7cafa0ed2f fix(build): stub import-in-the-middle for bun compatibility 2026-03-14 21:36:55 +01:00
dc2707fd59 fix(build): externalize sentry from vite bundle for bun compat 2026-03-14 21:20:21 +01:00
081e65044e fix(build): externalize pino from vite server bundle 2026-03-13 22:52:25 +01:00
9fa365ba9e feat: monitoring + logging with sentry and pino 2026-03-13 22:34:14 +01:00
cf1519acc6 use vite v8 for faster builds 2026-03-13 14:07:23 +01:00
cf802d37a9 mark bun as external rollup option 2026-03-09 20:59:58 +01:00
0efe77d5ba cloudflare r2 for images 2026-03-01 17:15:09 +01:00
844fd590e1 blank sveltekit project 2026-02-27 16:23:27 +01:00