Skip to content

Commit 5686a66

Browse files
authored
add codebases for all 2nd gen node samples (#1084)
1 parent d996f13 commit 5686a66

File tree

20 files changed

+45
-8
lines changed

20 files changed

+45
-8
lines changed

Node/alerts-to-discord/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "alerts-to-discord",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
]

Node/app-distribution-feedback-to-jira/firebase.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"functions": [
33
{
44
"source": "functions",
5-
"codebase": "default",
5+
"codebase": "app-distribution-feedback-to-jira",
66
"ignore": [
77
"node_modules",
88
".git",
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"functions": {
3+
"codebase": "delete-unused-accounts-cron"
4+
}
5+
}

Node/instrument-with-opentelemetry/firebase.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"functions": {
3-
"source": "functions"
3+
"source": "functions",
4+
"codebase": "instrument-with-opentelemetry"
45
},
56
"emulators": {
67
"functions": {

Node/quickstarts/auth-blocking-functions/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "auth-blocking-functions",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
]

Node/quickstarts/callable-functions/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "callable-functions",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
]

Node/quickstarts/custom-events/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "custom-events",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
]

Node/quickstarts/https-time-server/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "https-time-server",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
]

Node/quickstarts/monitor-cloud-logging/firebase.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"functions": [
33
{
44
"source": "functions",
5-
"codebase": "default",
5+
"codebase": "monitor-cloud-logging",
66
"ignore": [
77
"node_modules",
88
".git",

Node/quickstarts/pubsub-helloworld/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "pubsub-helloworld",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
]
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"functions": {
3+
"codebase": "testlab-matrix-completed"
4+
}
5+
}

Node/quickstarts/thumbnails/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "thumbnails",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
]

Node/quickstarts/uppercase-firestore/firebase.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"functions": {
3+
"codebase": "uppercase-firestore"
4+
},
25
"firestore": {
36
"rules": "firestore.rules",
47
"indexes": "firestore.indexes.json"

Node/quickstarts/uppercase-rtdb/firebase.json

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"functions": {
3+
"codebase": "uppercase-rtdb"
4+
},
25
"rulesFile": "database.rules.json",
36
"emulators": {
47
"functions": {

Node/remote-config-diff/firebase.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"functions": {
3+
"codebase": "remote-config-diff"
4+
}
5+
}
+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"functions": {
3+
"codebase": "taskqueues-backup-images"
4+
}
5+
}

Node/test-functions-jest-ts/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "test-functions-jest-ts",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint",
56
"npm --prefix \"$RESOURCE_DIR\" run build"

Node/test-functions-jest/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "test-functions-jest",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
],

Node/test-functions-mocha/firebase.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"functions": {
3+
"codebase": "test-functions-mocha",
34
"predeploy": [
45
"npm --prefix \"$RESOURCE_DIR\" run lint"
56
],

Node/testlab-to-slack/firebase.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
{}
1+
{
2+
"functions": {
3+
"codebase": "testlab-to-slack"
4+
}
5+
}

0 commit comments

Comments
 (0)