- Add @google-cloud/functions-framework and ts-node deps to match deployed - Add .env.bak ignore patterns to firebase.json - Fix adminService.ts: inline axios client (was importing non-existent module) - Clean .env to exclude GCP Secret Manager secrets (prevents deploy overlap error) - Verified: both frontend and backend build and deploy successfully Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
698 B
JSON
43 lines
698 B
JSON
{
|
|
"functions": {
|
|
"source": ".",
|
|
"runtime": "nodejs20",
|
|
"ignore": [
|
|
"node_modules",
|
|
"src",
|
|
"logs",
|
|
"uploads",
|
|
"*.test.ts",
|
|
"*.test.js",
|
|
"jest.config.js",
|
|
"tsconfig.json",
|
|
".eslintrc.js",
|
|
"Dockerfile",
|
|
"cloud-run.yaml",
|
|
".env",
|
|
".env.*",
|
|
"*.env",
|
|
".env.bak",
|
|
".env.bak*",
|
|
"*.env.bak",
|
|
"*.env.bak*",
|
|
"pnpm-lock.yaml"
|
|
],
|
|
"predeploy": [
|
|
"npm run build"
|
|
],
|
|
"codebase": "backend"
|
|
},
|
|
"emulators": {
|
|
"functions": {
|
|
"port": 5001
|
|
},
|
|
"hosting": {
|
|
"port": 5000
|
|
},
|
|
"ui": {
|
|
"enabled": true,
|
|
"port": 4000
|
|
}
|
|
}
|
|
} |