17 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
25d2d1af4a feat: add tournaments and validation and security 2026-03-26 15:36:22 +01:00
cd050f9974 chore: downgrade typescript for svelte-check compatibility 2026-03-26 01:38:03 +01:00
fec1e7c2f9 chore: update all dependencies 2026-03-26 01:33:57 +01:00
7cafa0ed2f fix(build): stub import-in-the-middle for bun compatibility 2026-03-14 21:36:55 +01:00
9fa365ba9e feat: monitoring + logging with sentry and pino 2026-03-13 22:34:14 +01:00
a9b076a5ec chore: add husky git hooks and commitlint 2026-03-13 19:26:17 +01:00
240b9305eb update bun lockfile 2026-03-13 18:23:22 +01:00
cf1519acc6 use vite v8 for faster builds 2026-03-13 14:07:23 +01:00
be19e26d1b use bun sql instead of postgres.js 2026-03-13 14:07:23 +01:00
0efe77d5ba cloudflare r2 for images 2026-03-01 17:15:09 +01:00
5d25a84172 add discord integration 2026-03-01 15:53:33 +01:00
e147ba4432 osu match playing 2026-02-28 04:35:21 +01:00
844fd590e1 blank sveltekit project 2026-02-27 16:23:27 +01:00
034f9df139 bunch of shit from claude code 2026-01-31 03:06:22 +01:00
748ee830f7 blank bun project 2025-12-23 11:33:04 +01:00