firebase-tools 15.15.0 → 15.16.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 (54) hide show
  1. package/lib/agentSkills.js +3 -2
  2. package/lib/apphosting/backend.js +7 -19
  3. package/lib/apphosting/localbuilds.js +32 -4
  4. package/lib/apphosting/prompts.js +32 -11
  5. package/lib/apphosting/secrets/index.js +43 -0
  6. package/lib/apphosting/yaml.js +2 -4
  7. package/lib/bin/firebase.js +10 -0
  8. package/lib/bin/mcp.js +12 -1
  9. package/lib/commands/apphosting-backends-create.js +4 -10
  10. package/lib/commands/dataconnect-sdk-generate.js +2 -2
  11. package/lib/commands/deploy.js +6 -1
  12. package/lib/config.js +1 -0
  13. package/lib/dataconnect/build.js +6 -0
  14. package/lib/dataconnect/names.js +1 -1
  15. package/lib/deploy/apphosting/prepare.js +5 -2
  16. package/lib/deploy/firestore/prepare.js +1 -1
  17. package/lib/deploy/functions/backend.js +22 -14
  18. package/lib/deploy/functions/prepare.js +8 -2
  19. package/lib/deploy/functions/release/fabricator.js +26 -14
  20. package/lib/deploy/functions/runtimes/python/index.js +3 -0
  21. package/lib/deploy/functions/runtimes/supported/types.js +6 -0
  22. package/lib/deploy/hosting/prepare.js +1 -0
  23. package/lib/emulator/adminSdkConfig.js +2 -1
  24. package/lib/emulator/apphosting/serve.js +2 -39
  25. package/lib/emulator/commandUtils.js +4 -1
  26. package/lib/emulator/controller.js +4 -3
  27. package/lib/emulator/dataconnectEmulator.js +7 -4
  28. package/lib/emulator/downloadableEmulatorInfo.json +30 -30
  29. package/lib/emulator/functionsEmulator.js +12 -6
  30. package/lib/emulator/functionsEmulatorRuntime.js +12 -5
  31. package/lib/emulator/functionsRuntimeWorker.js +6 -3
  32. package/lib/experiments.js +6 -1
  33. package/lib/frameworks/angular/index.js +6 -1
  34. package/lib/gcp/rules.js +8 -4
  35. package/lib/init/features/agentSkills.js +2 -2
  36. package/lib/init/features/apphosting.js +2 -8
  37. package/lib/init/features/dataconnect/index.js +26 -15
  38. package/lib/init/features/dataconnect/sdk.js +8 -3
  39. package/lib/init/features/firestore/rules.js +2 -1
  40. package/lib/init/features/functions/dart.js +2 -0
  41. package/lib/init/features/storage/rules.js +2 -1
  42. package/lib/mcp/apps/update_environment/mcp-app.js +138 -0
  43. package/lib/mcp/index.js +57 -2
  44. package/lib/mcp/resources/index.js +2 -0
  45. package/lib/mcp/resources/update_environment_ui.js +32 -0
  46. package/lib/mcp/tools/core/get_security_rules.js +2 -1
  47. package/lib/mcp/util.js +19 -0
  48. package/lib/rulesDeploy.js +35 -16
  49. package/lib/tsconfig.compile.tsbuildinfo +1 -1
  50. package/lib/tsconfig.publish.tsbuildinfo +1 -1
  51. package/package.json +1 -1
  52. package/schema/firebase-config.json +4 -2
  53. package/templates/init/functions/dart/analysis_options.yaml +30 -0
  54. package/templates/init/functions/dart/pubspec.yaml +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "15.15.0",
3
+ "version": "15.16.0",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "mcpName": "io.github.firebase/firebase-mcp",
@@ -12,7 +12,8 @@
12
12
  "python310",
13
13
  "python311",
14
14
  "python312",
15
- "python313"
15
+ "python313",
16
+ "python314"
16
17
  ],
17
18
  "type": "string"
18
19
  },
@@ -965,7 +966,8 @@
965
966
  "python310",
966
967
  "python311",
967
968
  "python312",
968
- "python313"
969
+ "python313",
970
+ "python314"
969
971
  ],
970
972
  "type": "string"
971
973
  },
@@ -0,0 +1,30 @@
1
+ # This file configures the static analysis results for your project (errors,
2
+ # warnings, and lints).
3
+ #
4
+ # This enables the 'recommended' set of lints from `package:lints`.
5
+ # This set helps identify many issues that may lead to problems when running
6
+ # or consuming Dart code, and enforces writing Dart using a single, idiomatic
7
+ # style and format.
8
+ #
9
+ # If you want a smaller set of lints you can change this to specify
10
+ # 'package:lints/core.yaml'. These are just the most critical lints
11
+ # (the recommended set includes the core lints).
12
+ # The core lints are also what is used by pub.dev for scoring packages.
13
+
14
+ include: package:lints/recommended.yaml
15
+
16
+ # Uncomment the following section to specify additional rules.
17
+
18
+ # linter:
19
+ # rules:
20
+ # - camel_case_types
21
+
22
+ # analyzer:
23
+ # exclude:
24
+ # - path/to/excluded/files/**
25
+
26
+ # For more information about the core and recommended set of lints, see
27
+ # https://dart.dev/go/core-lints
28
+
29
+ # For additional information about configuring this file, see
30
+ # https://dart.dev/guides/language/analysis-options
@@ -11,3 +11,4 @@ dependencies:
11
11
 
12
12
  dev_dependencies:
13
13
  build_runner: ^2.4.0
14
+ lints: ^6.0.0