@pbvision/firestore-orm 0.0.15 → 0.0.16
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/environment.js +1 -1
- package/package.json +2 -1
- package/scripts/.firebaserc +5 -0
- package/scripts/firebase.json +12 -0
- package/scripts/start-local-db.sh +7 -6
package/environment.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
process.env.FIRESTORE_EMULATOR_HOST = '
|
|
1
|
+
process.env.FIRESTORE_EMULATOR_HOST = '127.0.0.1:9091'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pbvision/firestore-orm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "Firestore ORM Library",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"eslint-plugin-node": "^11.1.0",
|
|
60
60
|
"eslint-plugin-promise": "^6.0.0",
|
|
61
61
|
"eslint-plugin-standard": "^4.0.1",
|
|
62
|
+
"firebase-tools": "^13.5.2",
|
|
62
63
|
"jest": "^29",
|
|
63
64
|
"jsdoc": "3.6.4",
|
|
64
65
|
"nodemon": "^2.0.20",
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
set -o errexit
|
|
3
3
|
set -o nounset
|
|
4
|
+
cd "`dirname \"$0\"`"
|
|
4
5
|
|
|
5
|
-
firestorePort=
|
|
6
|
-
pid=`
|
|
7
|
-
if [ "$pid" != "
|
|
8
|
-
echo "local
|
|
6
|
+
firestorePort=9091
|
|
7
|
+
pid=`ps ax | grep 'firebase emulators:start' | grep -v grep | cut -d' ' -f1`
|
|
8
|
+
if [ "$pid" != "" ]; then
|
|
9
|
+
echo "local emulator already running; replacing PID $pid"
|
|
9
10
|
kill $pid
|
|
10
11
|
fi
|
|
11
|
-
|
|
12
|
-
echo "
|
|
12
|
+
firebase emulators:start --only firestore > /dev/null 2> /dev/null &
|
|
13
|
+
echo "firebase emulators are now running in the background as PID $!"
|