- Register SITE_URL, NATIVE_APP_URL, CONVEX_SITE_URL, FLUE_DB_TOKEN in convex.config.ts so the generated server.js exposes a typed env object. - Rewrite auth.ts to consume @code/env/convex and tighten the getCurrentUser handler. - Refresh the backend README to describe the control-plane role and generated-file policy.
25 lines
588 B
JSON
25 lines
588 B
JSON
{
|
|
"name": "@code/backend",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"license": "ISC",
|
|
"author": "",
|
|
"scripts": {
|
|
"dev": "convex dev --env-file ../../.env",
|
|
"dev:setup": "convex dev --env-file ../../.env --configure --until-success"
|
|
},
|
|
"dependencies": {
|
|
"@better-auth/expo": "catalog:",
|
|
"@code/env": "workspace:*",
|
|
"@convex-dev/better-auth": "catalog:",
|
|
"better-auth": "catalog:",
|
|
"convex": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"devDependencies": {
|
|
"@code/config": "workspace:*",
|
|
"@types/node": "^24.3.0",
|
|
"typescript": "^6"
|
|
}
|
|
}
|