firebase-tools 15.32.0 → 15.33.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/accountImporter.js +6 -3
- package/lib/api.js +3 -3
- package/lib/apphosting/secrets/index.js +7 -2
- package/lib/command.js +1 -1
- package/lib/commands/apps-create.js +34 -3
- package/lib/commands/functions-kits-uninstall.js +43 -21
- package/lib/commands/functions-lifecycle-list.js +5 -6
- package/lib/commands/hosting-channel-deploy.js +3 -3
- package/lib/commands/hosting-clone.js +60 -29
- package/lib/commands/hosting-disable.js +5 -1
- package/lib/config.js +1 -0
- package/lib/crashlytics/alerts.js +122 -0
- package/lib/crashlytics/onboarding.js +71 -3
- package/lib/crashlytics/sourcemap.js +46 -11
- package/lib/crashlytics/types.js +6 -1
- package/lib/deploy/functions/build.js +3 -0
- package/lib/deploy/functions/cel.js +89 -58
- package/lib/deploy/functions/functionsDeployHelper.js +10 -0
- package/lib/deploy/functions/params.js +4 -2
- package/lib/deploy/functions/prepare.js +25 -8
- package/lib/deploy/functions/release/fabricator.js +1 -5
- package/lib/deploy/functions/release/planner.js +3 -2
- package/lib/deploy/functions/validate.js +16 -0
- package/lib/deploy/hosting/prepare.js +1 -1
- package/lib/deploy/hosting/release.js +2 -2
- package/lib/emulator/auth/operations.js +8 -4
- package/lib/emulator/databaseEmulator.js +7 -3
- package/lib/emulator/downloadableEmulatorInfo.json +24 -24
- package/lib/emulator/emulatorLogger.js +2 -1
- package/lib/emulator/functionsEmulatorRuntime.js +2 -1
- package/lib/experiments.js +17 -0
- package/lib/extensions/warnings.js +48 -7
- package/lib/frameworks/next/constants.js +20 -12
- package/lib/frameworks/next/index.js +4 -23
- package/lib/frameworks/next/utils.js +28 -0
- package/lib/functions/env.js +4 -2
- package/lib/gcp/artifactregistry.js +20 -0
- package/lib/gcp/cloudmonitoring.js +80 -3
- package/lib/gcp/cloudtasks.js +15 -1
- package/lib/gcp/cloudtrace.js +38 -0
- package/lib/gcp/run.js +5 -0
- package/lib/gcp/runv2.js +32 -11
- package/lib/hosting/api.js +15 -15
- package/lib/hosting/runTags.js +1 -1
- package/lib/init/features/auth.js +46 -8
- package/lib/init/features/hosting/index.js +4 -2
- package/lib/management/apps.js +4 -2
- package/lib/mcp/tools/firestore/converter.js +2 -2
- package/lib/mcp/util.js +11 -10
- package/lib/profileReport.js +4 -4
- package/lib/scopes.js +1 -3
- package/lib/streamJson.js +1 -0
- package/lib/tsconfig.compile.tsbuildinfo +1 -1
- package/lib/tsconfig.publish.tsbuildinfo +1 -1
- package/lib/utils.js +0 -15
- package/package.json +10 -9
- package/schema/firebase-config.json +41 -0
package/lib/utils.js
CHANGED
|
@@ -56,7 +56,6 @@ exports.wrappedSafeLoad = wrappedSafeLoad;
|
|
|
56
56
|
exports.generateId = generateId;
|
|
57
57
|
exports.generatePassword = generatePassword;
|
|
58
58
|
exports.readSecretValue = readSecretValue;
|
|
59
|
-
exports.updateOrCreateGitignore = updateOrCreateGitignore;
|
|
60
59
|
exports.promptForDirectory = promptForDirectory;
|
|
61
60
|
exports.deepEqual = deepEqual;
|
|
62
61
|
exports.newUniqueId = newUniqueId;
|
|
@@ -616,20 +615,6 @@ function readSecretValue(prompt, dataFile) {
|
|
|
616
615
|
throw e;
|
|
617
616
|
}
|
|
618
617
|
}
|
|
619
|
-
function updateOrCreateGitignore(dirPath, entries) {
|
|
620
|
-
const gitignorePath = path.join(dirPath, ".gitignore");
|
|
621
|
-
if (!fs.existsSync(gitignorePath)) {
|
|
622
|
-
fs.writeFileSync(gitignorePath, entries.join("\n"));
|
|
623
|
-
return;
|
|
624
|
-
}
|
|
625
|
-
let content = fs.readFileSync(gitignorePath, "utf-8");
|
|
626
|
-
for (const entry of entries) {
|
|
627
|
-
if (!content.includes(entry)) {
|
|
628
|
-
content += `\n${entry}\n`;
|
|
629
|
-
}
|
|
630
|
-
}
|
|
631
|
-
fs.writeFileSync(gitignorePath, content);
|
|
632
|
-
}
|
|
633
618
|
async function promptForDirectory(args) {
|
|
634
619
|
let dir = "";
|
|
635
620
|
while (!dir) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "firebase-tools",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.33.0",
|
|
4
4
|
"description": "Command-Line Interface for Firebase",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"mcpName": "io.github.firebase/firebase-mcp",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"stream-chain": "^4.2.5",
|
|
122
122
|
"stream-json": "^3.6.0",
|
|
123
123
|
"superstatic": "^10.0.0",
|
|
124
|
-
"tar": "^7.5.
|
|
124
|
+
"tar": "^7.5.21",
|
|
125
125
|
"tcp-port-used": "^1.0.2",
|
|
126
126
|
"tmp": "^0.2.3",
|
|
127
127
|
"triple-beam": "^1.3.0",
|
|
@@ -139,20 +139,21 @@
|
|
|
139
139
|
"ajv-formats": "3.0.1",
|
|
140
140
|
"ajv": "^8.17.1"
|
|
141
141
|
},
|
|
142
|
-
"hono": "^4.
|
|
142
|
+
"hono": "^4.13.5",
|
|
143
143
|
"@tootallnate/once": "^3.0.1",
|
|
144
|
-
"protobufjs": "^7.
|
|
144
|
+
"protobufjs": "^7.6.5",
|
|
145
145
|
"serialize-javascript": "^7.0.5",
|
|
146
146
|
"diff": "^8.0.4",
|
|
147
147
|
"underscore": "^1.13.8",
|
|
148
|
-
"brace-expansion": "^1.1.
|
|
149
|
-
"@grpc/grpc-js": "^1.14.
|
|
148
|
+
"brace-expansion": "^1.1.18",
|
|
149
|
+
"@grpc/grpc-js": "^1.14.4",
|
|
150
150
|
"rollup": "^3.30.0",
|
|
151
151
|
"picomatch": "^2.3.2",
|
|
152
|
-
"qs": "^6.
|
|
153
|
-
"tar": "^7.5.
|
|
152
|
+
"qs": "^6.16.0",
|
|
153
|
+
"tar": "^7.5.21",
|
|
154
154
|
"@opentelemetry/core": "^2.8.0",
|
|
155
|
-
"basic-ftp": "^5.
|
|
155
|
+
"basic-ftp": "^5.3.1",
|
|
156
|
+
"re2": "1.24.0",
|
|
156
157
|
"@babel/traverse": "^7.23.2",
|
|
157
158
|
"universal-analytics": {
|
|
158
159
|
"uuid": "^11.1.1"
|
|
@@ -1221,6 +1221,34 @@
|
|
|
1221
1221
|
],
|
|
1222
1222
|
"type": "object"
|
|
1223
1223
|
},
|
|
1224
|
+
"RunSingle": {
|
|
1225
|
+
"additionalProperties": false,
|
|
1226
|
+
"properties": {
|
|
1227
|
+
"ignore": {
|
|
1228
|
+
"items": {
|
|
1229
|
+
"type": "string"
|
|
1230
|
+
},
|
|
1231
|
+
"type": "array"
|
|
1232
|
+
},
|
|
1233
|
+
"localBuild": {
|
|
1234
|
+
"type": "boolean"
|
|
1235
|
+
},
|
|
1236
|
+
"region": {
|
|
1237
|
+
"type": "string"
|
|
1238
|
+
},
|
|
1239
|
+
"rootDir": {
|
|
1240
|
+
"type": "string"
|
|
1241
|
+
},
|
|
1242
|
+
"serviceId": {
|
|
1243
|
+
"type": "string"
|
|
1244
|
+
}
|
|
1245
|
+
},
|
|
1246
|
+
"required": [
|
|
1247
|
+
"region",
|
|
1248
|
+
"serviceId"
|
|
1249
|
+
],
|
|
1250
|
+
"type": "object"
|
|
1251
|
+
},
|
|
1224
1252
|
"StorageSingle": {
|
|
1225
1253
|
"additionalProperties": false,
|
|
1226
1254
|
"properties": {
|
|
@@ -2008,6 +2036,19 @@
|
|
|
2008
2036
|
"remoteconfig": {
|
|
2009
2037
|
"$ref": "#/definitions/RemoteConfigConfig"
|
|
2010
2038
|
},
|
|
2039
|
+
"run": {
|
|
2040
|
+
"anyOf": [
|
|
2041
|
+
{
|
|
2042
|
+
"$ref": "#/definitions/RunSingle"
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
"items": {
|
|
2046
|
+
"$ref": "#/definitions/RunSingle"
|
|
2047
|
+
},
|
|
2048
|
+
"type": "array"
|
|
2049
|
+
}
|
|
2050
|
+
]
|
|
2051
|
+
},
|
|
2011
2052
|
"storage": {
|
|
2012
2053
|
"anyOf": [
|
|
2013
2054
|
{
|