firebase-tools 13.27.0 → 13.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/lib/appdistribution/client.js +2 -1
  2. package/lib/appdistribution/options-parser-util.js +5 -5
  3. package/lib/auth.js +13 -3
  4. package/lib/bin/firebase.js +4 -3
  5. package/lib/commands/appdistribution-distribute.js +55 -31
  6. package/lib/commands/firestore-indexes-list.js +4 -2
  7. package/lib/commands/index.js +2 -2
  8. package/lib/dataconnect/fileUtils.js +3 -0
  9. package/lib/dataconnect/schemaMigration.js +8 -15
  10. package/lib/dataconnect/types.js +1 -1
  11. package/lib/deploy/extensions/tasks.js +2 -2
  12. package/lib/deploy/functions/backend.js +1 -3
  13. package/lib/deploy/functions/build.js +3 -1
  14. package/lib/deploy/functions/release/planner.js +4 -4
  15. package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +4 -0
  16. package/lib/deploy/functions/runtimes/supported/types.js +1 -1
  17. package/lib/emulator/apphosting/developmentServer.js +1 -1
  18. package/lib/emulator/apphosting/index.js +1 -1
  19. package/lib/emulator/auth/operations.js +8 -5
  20. package/lib/emulator/controller.js +19 -1
  21. package/lib/emulator/dataconnect/pgliteServer.js +34 -7
  22. package/lib/emulator/dataconnectEmulator.js +20 -1
  23. package/lib/emulator/downloadableEmulators.js +22 -10
  24. package/lib/emulator/eventarcEmulator.js +1 -0
  25. package/lib/emulator/initEmulators.js +17 -2
  26. package/lib/error.js +11 -1
  27. package/lib/experiments.js +0 -6
  28. package/lib/extensions/localHelper.js +2 -2
  29. package/lib/extensions/runtimes/node.js +16 -15
  30. package/lib/extensions/types.js +6 -9
  31. package/lib/functions/events/v2.js +7 -3
  32. package/lib/gcp/cloudfunctionsv2.js +6 -0
  33. package/lib/init/features/dataconnect/index.js +8 -5
  34. package/lib/init/features/emulators.js +1 -1
  35. package/lib/init/features/genkit/index.js +13 -5
  36. package/lib/init/spawn.js +38 -7
  37. package/lib/management/projects.js +23 -1
  38. package/lib/requireAuth.js +2 -1
  39. package/package.json +3 -2
  40. package/schema/firebase-config.json +3 -0
  41. package/templates/init/dataconnect/dataconnect.yaml +1 -0
  42. package/templates/init/functions/javascript/package.lint.json +1 -1
  43. package/templates/init/functions/javascript/package.nolint.json +1 -1
  44. package/templates/init/functions/typescript/package.lint.json +1 -1
  45. package/templates/init/functions/typescript/package.nolint.json +1 -1
  46. package/templates/init/functions/typescript/tsconfig.json +3 -1
  47. package/templates/init/dataconnect/dataconnect-fdccompatiblemode.yaml +0 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "13.27.0",
3
+ "version": "13.29.0",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -91,6 +91,7 @@
91
91
  "google-auth-library": "^9.11.0",
92
92
  "inquirer": "^8.2.6",
93
93
  "inquirer-autocomplete-prompt": "^2.0.1",
94
+ "js-yaml": "^3.14.1",
94
95
  "jsonwebtoken": "^9.0.0",
95
96
  "leven": "^3.1.0",
96
97
  "libsodium-wrappers": "^0.7.10",
@@ -114,7 +115,7 @@
114
115
  "sql-formatter": "^15.3.0",
115
116
  "stream-chain": "^2.2.4",
116
117
  "stream-json": "^1.7.3",
117
- "superstatic": "^9.0.3",
118
+ "superstatic": "^9.1.0",
118
119
  "tar": "^6.1.11",
119
120
  "tcp-port-used": "^1.0.2",
120
121
  "tmp": "^0.2.3",
@@ -369,6 +369,9 @@
369
369
  "rootDirectory": {
370
370
  "type": "string"
371
371
  },
372
+ "startCommand": {
373
+ "type": "string"
374
+ },
372
375
  "startCommandOverride": {
373
376
  "type": "string"
374
377
  }
@@ -8,4 +8,5 @@ schema:
8
8
  database: __cloudSqlDatabase__
9
9
  cloudSql:
10
10
  instanceId: __cloudSqlInstanceId__
11
+ # schemaValidation: "COMPATIBLE"
11
12
  connectorDirs: __connectorDirs__
@@ -10,7 +10,7 @@
10
10
  "logs": "firebase functions:log"
11
11
  },
12
12
  "engines": {
13
- "node": "18"
13
+ "node": "22"
14
14
  },
15
15
  "main": "index.js",
16
16
  "dependencies": {
@@ -9,7 +9,7 @@
9
9
  "logs": "firebase functions:log"
10
10
  },
11
11
  "engines": {
12
- "node": "18"
12
+ "node": "22"
13
13
  },
14
14
  "main": "index.js",
15
15
  "dependencies": {
@@ -11,7 +11,7 @@
11
11
  "logs": "firebase functions:log"
12
12
  },
13
13
  "engines": {
14
- "node": "18"
14
+ "node": "22"
15
15
  },
16
16
  "main": "lib/index.js",
17
17
  "dependencies": {
@@ -10,7 +10,7 @@
10
10
  "logs": "firebase functions:log"
11
11
  },
12
12
  "engines": {
13
- "node": "18"
13
+ "node": "22"
14
14
  },
15
15
  "main": "lib/index.js",
16
16
  "dependencies": {
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "module": "commonjs",
3
+ "module": "NodeNext",
4
+ "esModuleInterop": true,
5
+ "moduleResolution": "nodenext",
4
6
  "noImplicitReturns": true,
5
7
  "noUnusedLocals": true,
6
8
  "outDir": "lib",
@@ -1,12 +0,0 @@
1
- specVersion: "v1beta"
2
- serviceId: __serviceId__
3
- location: __location__
4
- schema:
5
- source: "./schema"
6
- datasource:
7
- postgresql:
8
- database: __cloudSqlDatabase__
9
- cloudSql:
10
- instanceId: __cloudSqlInstanceId__
11
- # schemaValidation: "COMPATIBLE"
12
- connectorDirs: __connectorDirs__