Files
GMW/package.json
T
asepharyana 5e01ec0806
Deploy to VPS / deploy (push) Failing after 42s
feat: migrate Leptos frontend to Next.js 16 (React 19)
Complete migration from services/frontend.old/ (Leptos 0.7 WASM + Rust)
to services/frontend/ (Next.js 16 static export + TypeScript + Tailwind v4).

Summary:
- Port all shared types (message, guild, voice, media, dashboard, recording, ui)
- Build fetch-based API client covering all 30+ backend endpoints
- WebSocket client with auto-reconnect (exponential backoff, 20 attempts)
- React context provider for WS with typed event subscription (22 event types)
- Login page with localStorage auth + auto-redirect
- Dashboard layout with sidebar, header (WS status + theme toggle)
- Messages: feed, search, images tab, review tab, channel filter, detail modal
- Live: voice connection, music player, recordings, mic transmit, active speakers
- Dashboard: stats, user list, channel list, detail views
- Mascot chatbot with history + clear
- uiStateApi persistence for selected tab
- Add static export config, update deploy scripts and CI
2026-07-26 11:27:21 +07:00

32 lines
1.2 KiB
JSON

{
"name": "discord-voice-recorder",
"version": "1.0.0",
"description": "Discord bot that joins a voice channel and records audio",
"type": "module",
"packageManager": "pnpm@11.1.3",
"scripts": {
"dev:backend": "pnpm --filter './services/backend' run dev",
"dev:discord-gateway": "pnpm --filter './services/discord-gateway' run dev",
"dev:web": "pnpm --filter './services/frontend' run dev",
"build:web": "pnpm --filter './services/frontend' run build",
"typecheck:web": "cd services/frontend && bun run build",
"build:backend": "pnpm --filter './services/backend' run build",
"build:discord-gateway": "pnpm --filter './services/discord-gateway' run build",
"typecheck": "pnpm -r run typecheck",
"lint": "biome check --diagnostic-level=error .",
"format": "biome format --write .",
"test": "pnpm -r run test",
"db:generate": "drizzle-kit generate",
"db:migrate": "drizzle-kit migrate",
"db:studio": "drizzle-kit studio",
"db:truncate": "psql \"$DATABASE_URL\" -f scripts/truncate-all.sql",
"install:yt-dlp": "sh scripts/install-yt-dlp.sh"
},
"devDependencies": {
"@biomejs/biome": "latest",
"drizzle-kit": "^0.31.10",
"tsx": "^4.22.2",
"typescript": "^5.9.3"
}
}