- Followers/following lists (paginated), 'follows you', remove a follower - Blocking severs follows both ways and hides each user from the other (profile 404s, search, follows); the blocker sees activity hidden - Reports for moderation (App Store guideline 1.2) - First account on a server becomes admin; admins see the report queue, resolve reports, and suspend accounts (signs out, blocks login, hides the profile, stops sharing). set-role script to promote/demote - users.onboardedAt drives first-run onboarding; existing accounts are backfilled as already onboarded. Empty PATCH /me no longer 500s - Remove Spotify account sign-in and polling: Spotify caps new apps at 5 accounts, so Spotify arrives via its Last.fm/ListenBrainz link or the Android reader. App-level catalog search stays for exact links - Shared: QR code generation and profile-link parsing (verified with jsQR) - Integration test timeout raised; password hashing is slow by design Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MzFywujuH9TiuXbr9vjoX8
48 lines
1.3 KiB
JSON
48 lines
1.3 KiB
JSON
{
|
|
"name": "@musicshare/api",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "concurrently -n api,worker -c blue,magenta \"tsx watch src/server.ts\" \"tsx watch src/worker.ts\"",
|
|
"build": "tsup",
|
|
"start": "node dist/server.js",
|
|
"start:worker": "node dist/worker.js",
|
|
"typecheck": "tsc -p .",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "tsx src/db/migrate.ts",
|
|
"test": "vitest run",
|
|
"test:unit": "vitest run --project unit",
|
|
"test:watch": "vitest",
|
|
"start:migrate": "node dist/db/migrate.js",
|
|
"admin:promote": "tsx src/scripts/set-role.ts admin",
|
|
"admin:demote": "tsx src/scripts/set-role.ts user"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/cookie": "^11.1.2",
|
|
"@fastify/cors": "^11.3.0",
|
|
"@fastify/rate-limit": "^11.2.0",
|
|
"@fastify/websocket": "^11.3.2",
|
|
"@musicshare/shared": "*",
|
|
"@node-rs/argon2": "^2.2.1",
|
|
"bullmq": "^6.3.11",
|
|
"dotenv": "^18.0.5",
|
|
"drizzle-orm": "^0.45.3",
|
|
"fastify": "^5.12.5",
|
|
"ioredis": "^6.0.0",
|
|
"postgres": "^3.4.9",
|
|
"undici": "^6.29.0",
|
|
"zod": "^4.6.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^26.6.4",
|
|
"@types/ws": "^8.18.2",
|
|
"concurrently": "^10.0.5",
|
|
"drizzle-kit": "^0.31.11",
|
|
"tsup": "^8.5.1",
|
|
"tsx": "^4.23.15",
|
|
"typescript": "~6.0.3",
|
|
"vitest": "^5.0.3"
|
|
}
|
|
}
|