Skip to content

Commit e0089d6

Browse files
authored
Add firebase ext:sdk:install command (#7581)
* Add firebase ext:sdk:install command
1 parent 3ac053f commit e0089d6

File tree

45 files changed

+4349
-2651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+4349
-2651
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
- Updated Firebase Data Connect local toolkit version to v1.3.8, which adds support for `Any` scalar values in the Android SDK, strongly-typed variables in `@auth` expressions, and a minor internal fix for the Dart SDK code generation. (#7696)
2+
- Added new command `firebase ext:sdk:install` to allow you to configure extensions in a functions codebase. See https://firebase.google.com/docs/extensions/install-extensions?interface=sdk for details.(#7581)

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,16 @@ Detailed doc is [here](https://firebase.google.com/docs/cli/auth).
117117

118118
### Extensions Commands
119119

120-
| Command | Description |
121-
| ----------------- | ------------------------------------------------------------------------------------------- |
122-
| **ext** | Display information on how to use ext commands and extensions installed to your project. |
123-
| **ext:configure** | Configure an existing extension instance. |
124-
| **ext:info** | Display information about an extension by name ([email protected] for a specific version) |
125-
| **ext:install** | Install an extension. |
126-
| **ext:list** | List all the extensions that are installed in your Firebase project. |
127-
| **ext:uninstall** | Uninstall an extension that is installed in your Firebase project by Instance ID. |
128-
| **ext:update** | Update an existing extension instance to the latest version. |
120+
| Command | Description |
121+
| ------------------- | ------------------------------------------------------------------------------------------- |
122+
| **ext** | Display information on how to use ext commands and extensions installed to your project. |
123+
| **ext:configure** | Configure an existing extension instance. |
124+
| **ext:info** | Display information about an extension by name ([email protected] for a specific version) |
125+
| **ext:install** | Install an extension. |
126+
| **ext:sdk:install** | Install and SDK for an extension so you can define the extension in a functions codebase. |
127+
| **ext:list** | List all the extensions that are installed in your Firebase project. |
128+
| **ext:uninstall** | Uninstall an extension that is installed in your Firebase project by Instance ID. |
129+
| **ext:update** | Update an existing extension instance to the latest version. |
129130

130131
### Cloud Firestore Commands
131132

scripts/emulator-tests/functions/package-lock.json

Lines changed: 675 additions & 580 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/emulator-tests/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dependencies": {
77
"express": "^4.18.1",
88
"firebase-admin": "^11.5.0",
9-
"firebase-functions": "^4.0.0"
9+
"firebase-functions": "^5.1.0"
1010
},
1111
"engines": {
1212
"node": "20"

scripts/extensions-emulator-tests/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"dependencies": {
99
"firebase-admin": "^12.1.0",
10-
"firebase-functions": "^5.0.0",
10+
"firebase-functions": "^5.1.0",
1111
"fs-extra": "^5.0.0",
1212
"rimraf": "^3.0.0"
1313
},

scripts/functions-discover-tests/fixtures/bundled/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dist",
33
"version": "0.0.1",
44
"dependencies": {
5-
"firebase-functions": "^4.1.1"
5+
"firebase-functions": "^5.1.0"
66
},
77
"engines": {
88
"node": "20"

scripts/functions-discover-tests/fixtures/codebases/v1/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codebase-v1",
33
"dependencies": {
4-
"firebase-functions": "^4.0.0"
4+
"firebase-functions": "^5.1.0"
55
},
66
"engines": {
77
"node": "20"

scripts/functions-discover-tests/fixtures/codebases/v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "codebase-v2",
33
"type": "module",
44
"dependencies": {
5-
"firebase-functions": "^4.0.0"
5+
"firebase-functions": "^5.1.0"
66
},
77
"engines": {
88
"node": "20"

scripts/functions-discover-tests/fixtures/esm/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "esm",
33
"type": "module",
44
"dependencies": {
5-
"firebase-functions": "^4.0.0"
5+
"firebase-functions": "^5.1.0"
66
},
77
"engines": {
88
"node": "20"

scripts/functions-discover-tests/fixtures/pnpm/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "pnpm",
33
"dependencies": {
4-
"firebase-functions": "^4.0.0"
4+
"firebase-functions": "^5.1.0"
55
},
66
"engines": {
77
"node": "20"

0 commit comments

Comments
 (0)