Node.js 20 is being decommissioned 2026-10-30. This upgrades the runtime to Node.js 22 (LTS), bumps firebase-functions from v6 to v7, removes the deprecated functions.config() fallback, and aligns the TS target to ES2022. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
43 lines
698 B
JSON
43 lines
698 B
JSON
{
|
|
"functions": {
|
|
"source": ".",
|
|
"runtime": "nodejs22",
|
|
"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
|
|
}
|
|
}
|
|
} |