firebase-tools 10.6.0 → 10.7.2
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 +4 -4
- package/lib/commands/deploy.js +1 -1
- package/lib/commands/emulators-start.js +7 -2
- package/lib/commands/ext-configure.js +15 -5
- package/lib/commands/ext-export.js +6 -5
- package/lib/commands/ext-install.js +28 -44
- package/lib/commands/ext-update.js +9 -1
- package/lib/commands/functions-delete.js +7 -3
- package/lib/commands/hosting-channel-deploy.js +2 -2
- package/lib/deploy/database/deploy.js +4 -0
- package/lib/deploy/database/index.js +1 -0
- package/lib/deploy/extensions/deploy.js +4 -4
- package/lib/deploy/extensions/deploymentSummary.js +8 -5
- package/lib/deploy/extensions/planner.js +36 -9
- package/lib/deploy/extensions/prepare.js +1 -1
- package/lib/deploy/extensions/secrets.js +2 -2
- package/lib/deploy/extensions/tasks.js +60 -21
- package/lib/deploy/functions/backend.js +37 -2
- package/lib/deploy/functions/build.js +173 -0
- package/lib/deploy/functions/checkIam.js +11 -14
- package/lib/deploy/functions/containerCleaner.js +8 -7
- package/lib/deploy/functions/deploy.js +49 -28
- package/lib/deploy/functions/ensure.js +4 -4
- package/lib/deploy/functions/functionsDeployHelper.js +99 -24
- package/lib/deploy/functions/prepare.js +129 -71
- package/lib/deploy/functions/prepareFunctionsUpload.js +16 -21
- package/lib/deploy/functions/pricing.js +6 -3
- package/lib/deploy/functions/prompts.js +1 -7
- package/lib/deploy/functions/release/executor.js +1 -1
- package/lib/deploy/functions/release/fabricator.js +69 -25
- package/lib/deploy/functions/release/index.js +20 -6
- package/lib/deploy/functions/release/planner.js +18 -10
- package/lib/deploy/functions/release/reporter.js +14 -11
- package/lib/deploy/functions/runtimes/discovery/parsing.js +12 -6
- package/lib/deploy/functions/runtimes/discovery/v1alpha1.js +50 -3
- package/lib/deploy/functions/runtimes/golang/index.js +3 -0
- package/lib/deploy/functions/runtimes/node/index.js +7 -0
- package/lib/deploy/functions/runtimes/node/parseRuntimeAndValidateSDK.js +3 -3
- package/lib/deploy/functions/runtimes/node/parseTriggers.js +132 -6
- package/lib/deploy/functions/runtimes/node/versioning.js +2 -2
- package/lib/deploy/functions/services/auth.js +95 -0
- package/lib/deploy/functions/services/index.js +41 -21
- package/lib/deploy/functions/validate.js +33 -7
- package/lib/deploy/hosting/args.js +2 -0
- package/lib/deploy/hosting/convertConfig.js +39 -8
- package/lib/deploy/hosting/deploy.js +3 -3
- package/lib/deploy/hosting/prepare.js +2 -2
- package/lib/deploy/hosting/release.js +6 -2
- package/lib/deploy/index.js +82 -93
- package/lib/deploy/remoteconfig/deploy.js +4 -0
- package/lib/deploy/remoteconfig/index.js +3 -1
- package/lib/emulator/auth/cloudFunctions.js +6 -2
- package/lib/emulator/auth/operations.js +5 -1
- package/lib/emulator/auth/server.js +8 -1
- package/lib/emulator/auth/state.js +27 -24
- package/lib/emulator/auth/utils.js +3 -25
- package/lib/emulator/controller.js +17 -14
- package/lib/emulator/databaseEmulator.js +36 -3
- package/lib/emulator/downloadableEmulators.js +39 -23
- package/lib/emulator/extensions/validation.js +2 -2
- package/lib/emulator/extensionsEmulator.js +85 -21
- package/lib/emulator/functionsEmulator.js +89 -15
- package/lib/emulator/functionsEmulatorRuntime.js +1 -1
- package/lib/emulator/functionsEmulatorShared.js +25 -2
- package/lib/emulator/functionsEmulatorShell.js +2 -3
- package/lib/emulator/functionsEmulatorUtils.js +5 -1
- package/lib/emulator/pubsubEmulator.js +13 -9
- package/lib/emulator/registry.js +34 -12
- package/lib/emulator/storage/apis/firebase.js +33 -6
- package/lib/emulator/storage/apis/gcloud.js +6 -3
- package/lib/emulator/storage/files.js +9 -1
- package/lib/ensureApiEnabled.js +8 -4
- package/lib/extensions/changelog.js +1 -1
- package/lib/extensions/emulator/optionsHelper.js +4 -3
- package/lib/extensions/emulator/specHelper.js +7 -1
- package/lib/extensions/extensionsHelper.js +30 -24
- package/lib/extensions/manifest.js +27 -7
- package/lib/extensions/paramHelper.js +7 -5
- package/lib/extensions/provisioningHelper.js +2 -2
- package/lib/extensions/warnings.js +11 -4
- package/lib/functions/events/index.js +7 -0
- package/lib/functions/events/v1.js +6 -0
- package/lib/functions/projectConfig.js +32 -6
- package/lib/functionsShellCommandAction.js +1 -1
- package/lib/gcp/cloudfunctions.js +38 -5
- package/lib/gcp/cloudfunctionsv2.js +46 -7
- package/lib/gcp/identityPlatform.js +44 -0
- package/lib/gcp/secretManager.js +1 -1
- package/lib/metaprogramming.js +2 -0
- package/lib/previews.js +1 -1
- package/lib/serve/functions.js +16 -19
- package/lib/serve/hosting.js +25 -12
- package/lib/serve/index.js +6 -0
- package/lib/track.js +15 -21
- package/npm-shrinkwrap.json +256 -527
- package/package.json +6 -3
- package/schema/firebase-config.json +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-tools",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.7.2",
|
|
4
4
|
"description": "Command-Line Interface for Firebase",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"test:emulator": "./scripts/emulator-tests/run.sh",
|
|
29
29
|
"test:extensions-deploy": "./scripts/extensions-deploy-tests/run.sh",
|
|
30
30
|
"test:extensions-emulator": "./scripts/extensions-emulator-tests/run.sh",
|
|
31
|
+
"test:ext-dev-emulator": "./scripts/ext-dev-emulators-tests/run.sh",
|
|
31
32
|
"test:hosting": "./scripts/hosting-tests/run.sh",
|
|
32
33
|
"test:triggers-end-to-end": "./scripts/triggers-end-to-end-tests/run.sh",
|
|
33
34
|
"test:storage-deploy": "./scripts/storage-deploy-tests/run.sh",
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
"body-parser": "^1.19.0",
|
|
93
94
|
"chokidar": "^3.0.2",
|
|
94
95
|
"cjson": "^0.3.1",
|
|
95
|
-
"cli-color": "^
|
|
96
|
+
"cli-color": "^2.0.2",
|
|
96
97
|
"cli-table": "0.3.11",
|
|
97
98
|
"commander": "^4.0.1",
|
|
98
99
|
"configstore": "^5.0.1",
|
|
@@ -106,6 +107,7 @@
|
|
|
106
107
|
"exit-code": "^1.0.2",
|
|
107
108
|
"express": "^4.16.4",
|
|
108
109
|
"filesize": "^6.1.0",
|
|
110
|
+
"firebase-frameworks": "^0.3.0",
|
|
109
111
|
"fs-extra": "^5.0.0",
|
|
110
112
|
"glob": "^7.1.2",
|
|
111
113
|
"google-auth-library": "^7.11.0",
|
|
@@ -131,7 +133,7 @@
|
|
|
131
133
|
"semver": "^5.7.1",
|
|
132
134
|
"stream-chain": "^2.2.4",
|
|
133
135
|
"stream-json": "^1.7.3",
|
|
134
|
-
"superstatic": "^
|
|
136
|
+
"superstatic": "^8.0.0",
|
|
135
137
|
"tar": "^6.1.11",
|
|
136
138
|
"tcp-port-used": "^1.0.1",
|
|
137
139
|
"tmp": "0.0.33",
|
|
@@ -187,6 +189,7 @@
|
|
|
187
189
|
"@types/tcp-port-used": "^1.0.0",
|
|
188
190
|
"@types/tmp": "^0.1.0",
|
|
189
191
|
"@types/triple-beam": "^1.3.0",
|
|
192
|
+
"@types/universal-analytics": "^0.4.5",
|
|
190
193
|
"@types/unzipper": "^0.10.0",
|
|
191
194
|
"@types/uuid": "^8.3.1",
|
|
192
195
|
"@types/ws": "^7.2.3",
|
|
@@ -330,6 +330,9 @@
|
|
|
330
330
|
{
|
|
331
331
|
"additionalProperties": false,
|
|
332
332
|
"properties": {
|
|
333
|
+
"codebase": {
|
|
334
|
+
"type": "string"
|
|
335
|
+
},
|
|
333
336
|
"ignore": {
|
|
334
337
|
"items": {
|
|
335
338
|
"type": "string"
|
|
@@ -381,6 +384,9 @@
|
|
|
381
384
|
"items": {
|
|
382
385
|
"additionalProperties": false,
|
|
383
386
|
"properties": {
|
|
387
|
+
"codebase": {
|
|
388
|
+
"type": "string"
|
|
389
|
+
},
|
|
384
390
|
"ignore": {
|
|
385
391
|
"items": {
|
|
386
392
|
"type": "string"
|