Skip to content

Commit

Permalink
Merge pull request #1 from renaudcerrato/main
Browse files Browse the repository at this point in the history
pubsub function in project fails to trigger beforeSignin
  • Loading branch information
aalej authored Nov 8, 2023
2 parents 1c08007 + 5a16cb8 commit 3271f44
Show file tree
Hide file tree
Showing 8 changed files with 8,665 additions and 1 deletion.
16 changes: 15 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,27 @@
"functions": [
{
"source": "functions",
"codebase": "default",
"codebase": "a",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
]
},
{
"source": "pubsub",
"codebase": "b",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log"
],
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint",
"npm --prefix \"$RESOURCE_DIR\" run build"
]
}
]
}
33 changes: 33 additions & 0 deletions pubsub/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
module.exports = {
root: true,
env: {
es6: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"google",
"plugin:@typescript-eslint/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: {
project: ["tsconfig.json", "tsconfig.dev.json"],
sourceType: "module",
},
ignorePatterns: [
"/lib/**/*", // Ignore built files.
],
plugins: [
"@typescript-eslint",
"import",
],
rules: {
"quotes": ["error", "double"],
"import/no-unresolved": 0,
"indent": ["error", 2],
"semi": ["error", "never"],
},
}
9 changes: 9 additions & 0 deletions pubsub/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Compiled JavaScript files
lib/**/*.js
lib/**/*.js.map

# TypeScript v1 declaration files
typings/

# Node.js dependency directory
node_modules/
Loading

0 comments on commit 3271f44

Please sign in to comment.