Skip to content

Commit 377821d

Browse files
authored
feat: adding _emulator folder
* feat: added `_emulator` folder * chore: new lines
1 parent 3358d79 commit 377821d

File tree

6 files changed

+113
-0
lines changed

6 files changed

+113
-0
lines changed

_emulator/.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "demo-project"
4+
}
5+
}

_emulator/.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
firebase-debug.log*
8+
firebase-debug.*.log*
9+
10+
# Firebase cache
11+
.firebase/
12+
13+
# Firebase config
14+
15+
# Uncomment this if you'd like others to create their own Firebase project.
16+
# For a team working on the same Firebase project(s), it is recommended to leave
17+
# it commented so all members can deploy to the same project(s) in .firebaserc.
18+
# .firebaserc
19+
20+
# Runtime data
21+
pids
22+
*.pid
23+
*.seed
24+
*.pid.lock
25+
26+
# Directory for instrumented libs generated by jscoverage/JSCover
27+
lib-cov
28+
29+
# Coverage directory used by tools like istanbul
30+
coverage
31+
32+
# nyc test coverage
33+
.nyc_output
34+
35+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
36+
.grunt
37+
38+
# Bower dependency directory (https://bower.io/)
39+
bower_components
40+
41+
# node-waf configuration
42+
.lock-wscript
43+
44+
# Compiled binary addons (http://nodejs.org/api/addons.html)
45+
build/Release
46+
47+
# Dependency directories
48+
node_modules/
49+
50+
# Optional npm cache directory
51+
.npm
52+
53+
# Optional eslint cache
54+
.eslintcache
55+
56+
# Optional REPL history
57+
.node_repl_history
58+
59+
# Output of 'npm pack'
60+
*.tgz
61+
62+
# Yarn Integrity file
63+
.yarn-integrity
64+
65+
# dotenv environment variables file
66+
.env
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
ALLOWED_EVENT_TYPES=firebase.extensions.export-user-data.v1.firestore
2+
CLOUD_STORAGE_EXPORT_BUCKET=extensions-testing.appspot.com
3+
CLOUD_STORAGE_EXPORT_DIRECTORY=user-data
4+
ENABLE_ZIP=yes
5+
EVENTARC_CHANNEL=projects/${param:PROJECT_ID}/locations/us-central1/channels/firebase
6+
FIRESTORE_EXPORTS_COLLECTION=exports
7+
LOCATION=us-central1
8+
SELECTED_DATABASE_LOCATION=us-central1
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ACKNOWLEDGMENTS_COLLECTION=acknowledgments
2+
LOCATION=us-central1
3+
NOTICES_COLLECTION=notices
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
CLOUD_STORAGE_BUCKET=extensions-testing.appspot.com
2+
CORS_ORIGIN_ALLOW_LIST=*
3+
LOCATION=us-central1

_emulator/firebase.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"emulators": {
3+
"functions": {
4+
"port": 5001
5+
},
6+
"firestore": {
7+
"port": 8080
8+
},
9+
"pubsub": {
10+
"port": 8085
11+
},
12+
"storage": {
13+
"port": 9199
14+
},
15+
"eventarc": {
16+
"port": 9299
17+
},
18+
"ui": {
19+
"enabled": true
20+
},
21+
"singleProjectMode": true
22+
},
23+
"extensions": {
24+
"export-user-data": "../extensions/export-user-data",
25+
"firestore-record-acknowledgments": "../extensions/firestore-record-acknowledgments",
26+
"image-processing-api": "../extensions/image-processing-api"
27+
}
28+
}

0 commit comments

Comments
 (0)