firebase-tools 11.15.0 → 11.16.1

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 (38) hide show
  1. package/lib/commands/database-push.js +5 -0
  2. package/lib/commands/database-remove.js +2 -1
  3. package/lib/commands/database-set.js +5 -0
  4. package/lib/commands/database-update.js +5 -0
  5. package/lib/database/remove.js +2 -2
  6. package/lib/database/removeRemote.js +7 -2
  7. package/lib/deploy/functions/build.js +3 -0
  8. package/lib/deploy/functions/prepare.js +21 -8
  9. package/lib/deploy/functions/release/fabricator.js +2 -2
  10. package/lib/deploy/functions/release/sourceTokenScraper.js +34 -7
  11. package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +2 -1
  12. package/lib/deploy/hosting/convertConfig.js +21 -7
  13. package/lib/deploy/hosting/prepare.js +16 -5
  14. package/lib/deploy/hosting/release.js +2 -2
  15. package/lib/dynamicImport.js +7 -10
  16. package/lib/emulator/auth/server.js +2 -3
  17. package/lib/emulator/download.js +2 -1
  18. package/lib/emulator/downloadableEmulators.js +65 -50
  19. package/lib/emulator/extensionsEmulator.js +1 -1
  20. package/lib/emulator/functionsEmulator.js +2 -1
  21. package/lib/emulator/functionsEmulatorShared.js +12 -1
  22. package/lib/emulator/functionsRuntimeWorker.js +9 -2
  23. package/lib/emulator/storage/apis/firebase.js +7 -27
  24. package/lib/emulator/storage/apis/gcloud.js +9 -33
  25. package/lib/emulator/storage/apis/shared.js +43 -0
  26. package/lib/emulator/storage/rules/config.js +9 -0
  27. package/lib/emulator/storage/upload.js +2 -2
  28. package/lib/experiments.js +1 -3
  29. package/lib/extensions/provisioningHelper.js +10 -4
  30. package/lib/frameworks/index.js +9 -4
  31. package/lib/frameworks/next/index.js +57 -17
  32. package/lib/serve/hosting.js +4 -4
  33. package/npm-shrinkwrap.json +600 -50
  34. package/package.json +2 -2
  35. package/templates/emulators/default_storage.rules +8 -0
  36. package/templates/init/functions/golang/functions.go +1 -1
  37. package/templates/init/functions/javascript/index.js +2 -2
  38. package/templates/init/functions/typescript/index.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firebase-tools",
3
- "version": "11.15.0",
3
+ "version": "11.16.1",
4
4
  "description": "Command-Line Interface for Firebase",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -106,7 +106,7 @@
106
106
  "stream-chain": "^2.2.4",
107
107
  "stream-json": "^1.7.3",
108
108
  "strip-ansi": "^6.0.1",
109
- "superstatic": "^9.0.0",
109
+ "superstatic": "^8.0.0",
110
110
  "tar": "^6.1.11",
111
111
  "tcp-port-used": "^1.0.2",
112
112
  "tmp": "^0.2.1",
@@ -0,0 +1,8 @@
1
+ rules_version = '2';
2
+ service firebase.storage {
3
+ match /b/{bucket}/o {
4
+ match /{allPaths=**} {
5
+ allow read, write;
6
+ }
7
+ }
8
+ }
@@ -1,7 +1,7 @@
1
1
  package PACKAGE
2
2
 
3
3
  // Welcome to Cloud Functions for Firebase for Golang!
4
- // To get started, simply uncomment the below code or create your own.
4
+ // To get started, uncomment the below code or create your own.
5
5
  // Deploy with `firebase deploy`
6
6
 
7
7
  /*
@@ -1,7 +1,7 @@
1
1
  const functions = require("firebase-functions");
2
2
 
3
- // // Create and Deploy Your First Cloud Functions
4
- // // https://firebase.google.com/docs/functions/write-firebase-functions
3
+ // // Create and deploy your first functions
4
+ // // https://firebase.google.com/docs/functions/get-started
5
5
  //
6
6
  // exports.helloWorld = functions.https.onRequest((request, response) => {
7
7
  // functions.logger.info("Hello logs!", {structuredData: true});
@@ -1,6 +1,6 @@
1
1
  import * as functions from "firebase-functions";
2
2
 
3
- // // Start writing Firebase Functions
3
+ // // Start writing functions
4
4
  // // https://firebase.google.com/docs/functions/typescript
5
5
  //
6
6
  // export const helloWorld = functions.https.onRequest((request, response) => {