firebase-tools-with-isolate 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.publish.tsbuildinfo +1 -1
- package/lib/utils.js +0 -15
- package/package.json +11 -10
- 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-with-isolate",
|
|
3
|
-
"version": "15.
|
|
3
|
+
"version": "15.33.0",
|
|
4
4
|
"description": "Command-Line Interface for Firebase with monorepo support",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"mcpName": "io.github.firebase/firebase-mcp",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"stream-chain": "^4.2.5",
|
|
166
166
|
"stream-json": "^3.6.0",
|
|
167
167
|
"superstatic": "^10.0.0",
|
|
168
|
-
"tar": "^7.5.
|
|
168
|
+
"tar": "^7.5.21",
|
|
169
169
|
"tcp-port-used": "^1.0.2",
|
|
170
170
|
"tmp": "^0.2.3",
|
|
171
171
|
"triple-beam": "^1.3.0",
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"googleapis": "^105.0.0",
|
|
243
243
|
"mocha": "^11.7.1",
|
|
244
244
|
"mock-fs": "5.2.0",
|
|
245
|
-
"next": "
|
|
245
|
+
"next": "15.5.24",
|
|
246
246
|
"nock": "^13.0.5",
|
|
247
247
|
"node-mocks-http": "^1.11.0",
|
|
248
248
|
"nyc": "^15.1.0",
|
|
@@ -268,20 +268,21 @@
|
|
|
268
268
|
"ajv-formats": "3.0.1",
|
|
269
269
|
"ajv": "^8.17.1"
|
|
270
270
|
},
|
|
271
|
-
"hono": "^4.
|
|
271
|
+
"hono": "^4.13.5",
|
|
272
272
|
"@tootallnate/once": "^3.0.1",
|
|
273
|
-
"protobufjs": "^7.
|
|
273
|
+
"protobufjs": "^7.6.5",
|
|
274
274
|
"serialize-javascript": "^7.0.5",
|
|
275
275
|
"diff": "^8.0.4",
|
|
276
276
|
"underscore": "^1.13.8",
|
|
277
|
-
"brace-expansion": "^1.1.
|
|
278
|
-
"@grpc/grpc-js": "^1.14.
|
|
277
|
+
"brace-expansion": "^1.1.18",
|
|
278
|
+
"@grpc/grpc-js": "^1.14.4",
|
|
279
279
|
"rollup": "^3.30.0",
|
|
280
280
|
"picomatch": "^2.3.2",
|
|
281
|
-
"qs": "^6.
|
|
282
|
-
"tar": "^7.5.
|
|
281
|
+
"qs": "^6.16.0",
|
|
282
|
+
"tar": "^7.5.21",
|
|
283
283
|
"@opentelemetry/core": "^2.8.0",
|
|
284
|
-
"basic-ftp": "^5.
|
|
284
|
+
"basic-ftp": "^5.3.1",
|
|
285
|
+
"re2": "1.24.0",
|
|
285
286
|
"@babel/traverse": "^7.23.2",
|
|
286
287
|
"universal-analytics": {
|
|
287
288
|
"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
|
{
|