Port to TypeScript/Elysia

This commit is contained in:
sepia 2025-07-28 13:39:01 -05:00
parent 29739d243f
commit 513335c485
17 changed files with 413 additions and 2603 deletions

25
justfile Normal file
View file

@ -0,0 +1,25 @@
install:
bun install
dev:
bun run --watch src/index.tsx
build:
bun build --compile --minify --target bun --outfile ./target/sepiatones_xyz ./src/index.tsx
deploy: build
rsync -avz target/sepiatones_xyz sepiatonesxyz:~/sepiatones_xyz/sepiatones_xyz
rsync -avz --delete public/ sepiatonesxyz:~/sepiatones_xyz/public
test:
bun test
check:
bunx tsc --noEmit --skipLibCheck
clean:
rm -rf node_modules
rm -rf dist
format:
bun run prettier . --write