Files
musicshare/apps/api/package.json
T
chrisandClaude Opus 5.5 a4dad724ad
CI / check (push) Canceled after 0s
Get the repo ready for F-Droid
- License: AGPL-3.0-or-later (LICENSE, every package.json, README).
- MUSICSHARE_FOSS=1 builds leave out the only closed-source code, Google's
  ML Kit / Play Services barcode scanner bundled by expo-camera; the scan
  screen then decodes small camera snapshots with jsQR instead.
- Expo modules build from source rather than from precompiled AARs, as
  F-Droid requires (that's also what makes the scanner switch take effect).
  Verified: a FOSS build contains no ML Kit or Play Services classes.
- Release builds default to the production server, and come out unsigned
  without our upload key (F-Droid signs with its own). versionCode 1.
- Store listing in fastlane/metadata/android, a draft fdroiddata recipe in
  fdroid/, and docs/FDROID.md with the submission steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MzFywujuH9TiuXbr9vjoX8
2026-10-06 15:26:59 -04:00

53 lines
1.5 KiB
JSON

{
"name": "@musicshare/api",
"version": "0.0.0",
"license": "AGPL-3.0-or-later",
"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/multipart": "^10.1.2",
"@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",
"nodemailer": "^10.0.15",
"postgres": "^3.4.9",
"sharp": "^0.35.5",
"undici": "^6.29.0",
"zod": "^4.6.5"
},
"devDependencies": {
"@types/node": "^26.6.4",
"@types/nodemailer": "^8.0.2",
"@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"
}
}