- Add .env.bak* patterns to .gitignore - Explicitly exclude .env.bak* files from Firebase deployment - Prevents accidental exposure of backup files containing secrets
42 lines
674 B
JSON
42 lines
674 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*"
|
|
],
|
|
"predeploy": [
|
|
"npm run build"
|
|
],
|
|
"codebase": "backend"
|
|
},
|
|
"emulators": {
|
|
"functions": {
|
|
"port": 5001
|
|
},
|
|
"hosting": {
|
|
"port": 5000
|
|
},
|
|
"ui": {
|
|
"enabled": true,
|
|
"port": 4000
|
|
}
|
|
}
|
|
} |