firebase-tools 11.5.0 → 11.8.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.
- package/lib/command.js +33 -7
- package/lib/commands/crashlytics-mappingfile-generateid.js +26 -0
- package/lib/commands/crashlytics-mappingfile-upload.js +46 -0
- package/lib/commands/crashlytics-symbols-upload.js +18 -87
- package/lib/commands/emulators-exec.js +4 -1
- package/lib/commands/emulators-export.js +5 -2
- package/lib/commands/emulators-start.js +23 -17
- package/lib/commands/ext-dev-publish.js +3 -0
- package/lib/commands/functions-delete.js +2 -0
- package/lib/commands/functions-secrets-get.js +2 -0
- package/lib/commands/index.js +3 -0
- package/lib/commands/login.js +2 -2
- package/lib/crashlytics/buildToolsJarHelper.js +51 -0
- package/lib/deploy/functions/backend.js +4 -4
- package/lib/deploy/functions/build.js +76 -9
- package/lib/deploy/functions/checkIam.js +6 -5
- package/lib/deploy/functions/params.js +22 -16
- package/lib/deploy/functions/prepare.js +1 -1
- package/lib/deploy/functions/release/fabricator.js +22 -5
- package/lib/deploy/functions/release/index.js +2 -0
- package/lib/deploy/functions/runtimes/discovery/index.js +1 -16
- package/lib/deploy/functions/runtimes/discovery/parsing.js +16 -0
- package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +59 -131
- package/lib/deploy/functions/runtimes/node/parseTriggers.js +1 -1
- package/lib/emulator/auth/index.js +7 -2
- package/lib/emulator/auth/operations.js +10 -10
- package/lib/emulator/commandUtils.js +32 -15
- package/lib/emulator/constants.js +14 -6
- package/lib/emulator/controller.js +49 -17
- package/lib/emulator/downloadableEmulators.js +7 -7
- package/lib/emulator/eventarcEmulator.js +148 -0
- package/lib/emulator/extensionsEmulator.js +3 -1
- package/lib/emulator/functionsEmulator.js +44 -4
- package/lib/emulator/functionsEmulatorRuntime.js +12 -23
- package/lib/emulator/functionsEmulatorShared.js +6 -1
- package/lib/emulator/hub.js +7 -3
- package/lib/emulator/hubClient.js +2 -2
- package/lib/emulator/hubExport.js +22 -2
- package/lib/emulator/registry.js +1 -0
- package/lib/emulator/storage/apis/firebase.js +145 -129
- package/lib/emulator/storage/apis/gcloud.js +102 -42
- package/lib/emulator/storage/files.js +39 -17
- package/lib/emulator/storage/metadata.js +76 -55
- package/lib/emulator/storage/multipart.js +2 -2
- package/lib/emulator/storage/rules/runtime.js +12 -4
- package/lib/emulator/storage/server.js +2 -1
- package/lib/emulator/storage/upload.js +46 -9
- package/lib/emulator/types.js +3 -0
- package/lib/emulator/ui.js +7 -2
- package/lib/extensions/extensionsApi.js +2 -1
- package/lib/extensions/extensionsHelper.js +29 -1
- package/lib/functions/constants.js +14 -0
- package/lib/functions/env.js +9 -9
- package/lib/gcp/cloudfunctions.js +15 -18
- package/lib/gcp/cloudfunctionsv2.js +15 -18
- package/lib/gcp/cloudscheduler.js +32 -14
- package/lib/serve/index.js +15 -0
- package/lib/track.js +122 -3
- package/lib/utils.js +14 -1
- package/npm-shrinkwrap.json +542 -9
- package/package.json +5 -4
- package/schema/firebase-config.json +12 -0
- package/templates/extensions/CHANGELOG.md +1 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-tools",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.8.0",
|
|
4
4
|
"description": "Command-Line Interface for Firebase",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,8 +21,6 @@
|
|
|
21
21
|
"lint:quiet": "npm run lint:ts -- --quiet && npm run lint:other",
|
|
22
22
|
"lint:ts": "eslint --config .eslintrc.js --ext .ts,.js .",
|
|
23
23
|
"mocha": "nyc mocha 'src/test/**/*.{ts,js}'",
|
|
24
|
-
"mocha:storage-spec": "mocha 'src/test/emulators/storage/*.spec.ts'",
|
|
25
|
-
"mocha:storage-emulator-integration": "mocha 'scripts/storage-emulator-integration/tests.ts'",
|
|
26
24
|
"prepare": "npm run clean && npm run build -- --build tsconfig.publish.json",
|
|
27
25
|
"test": "npm run lint:quiet && npm run test:compile && npm run mocha",
|
|
28
26
|
"test:client-integration": "bash ./scripts/client-integration-tests/run.sh",
|
|
@@ -94,6 +92,7 @@
|
|
|
94
92
|
"abort-controller": "^3.0.0",
|
|
95
93
|
"ajv": "^6.12.6",
|
|
96
94
|
"archiver": "^5.0.0",
|
|
95
|
+
"async-lock": "1.3.2",
|
|
97
96
|
"body-parser": "^1.19.0",
|
|
98
97
|
"chokidar": "^3.0.2",
|
|
99
98
|
"cjson": "^0.3.1",
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
"configstore": "^5.0.1",
|
|
104
103
|
"cors": "^2.8.5",
|
|
105
104
|
"cross-env": "^5.1.3",
|
|
106
|
-
"cross-spawn": "^7.0.
|
|
105
|
+
"cross-spawn": "^7.0.3",
|
|
107
106
|
"csv-parse": "^5.0.4",
|
|
108
107
|
"exegesis": "^4.1.0",
|
|
109
108
|
"exegesis-express": "^4.0.0",
|
|
@@ -114,6 +113,7 @@
|
|
|
114
113
|
"fs-extra": "^10.1.0",
|
|
115
114
|
"glob": "^7.1.2",
|
|
116
115
|
"google-auth-library": "^7.11.0",
|
|
116
|
+
"googleapis": "^105.0.0",
|
|
117
117
|
"inquirer": "^8.2.0",
|
|
118
118
|
"js-yaml": "^3.13.1",
|
|
119
119
|
"jsonwebtoken": "^8.5.1",
|
|
@@ -155,6 +155,7 @@
|
|
|
155
155
|
"@google/events": "^5.1.1",
|
|
156
156
|
"@manifoldco/swagger-to-ts": "^2.0.0",
|
|
157
157
|
"@types/archiver": "^5.1.0",
|
|
158
|
+
"@types/async-lock": "^1.1.5",
|
|
158
159
|
"@types/body-parser": "^1.17.0",
|
|
159
160
|
"@types/chai": "^4.3.0",
|
|
160
161
|
"@types/chai-as-promised": "^7.1.4",
|
|
@@ -174,6 +174,18 @@
|
|
|
174
174
|
},
|
|
175
175
|
"type": "object"
|
|
176
176
|
},
|
|
177
|
+
"eventarc": {
|
|
178
|
+
"additionalProperties": false,
|
|
179
|
+
"properties": {
|
|
180
|
+
"host": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"port": {
|
|
184
|
+
"type": "number"
|
|
185
|
+
}
|
|
186
|
+
},
|
|
187
|
+
"type": "object"
|
|
188
|
+
},
|
|
177
189
|
"extensions": {
|
|
178
190
|
"properties": {
|
|
179
191
|
},
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
When you release a new version, add a new header and release notes for that version.
|
|
3
|
-
When users update their instance, they will see the release notes for all versions
|
|
4
|
-
between the one they were on and the one they are updating to.
|
|
5
|
-
|
|
6
|
-
## Version 0.0.1
|
|
7
|
-
First version
|
|
1
|
+
- Added support for publishing pre-release Extension versions. (#4804)
|