@pbvision/cloud-run-service 0.0.27 → 0.0.29

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.
@@ -21,14 +21,13 @@ jobs:
21
21
  shell: bash
22
22
  - name: 'Setup Firestore Emulator'
23
23
  run: |
24
- echo '{ "projects": { "default": "localhost-emulator" } }' > ./.firebaserc
25
- echo '{ "firestore": {} }' > ./firebase.json
26
- npm install -g firebase-tools
27
- firebase setup:emulators:firestore
24
+ dir=./node_modules/@pbvision/firestore-orm/scripts/
25
+ cp $dir/.firebaserc $dir/firebase.json .
26
+ yarn run firebase setup:emulators:firestore
28
27
  shell: bash
29
28
  - name: 'Run unit tests'
30
29
  run: |
31
30
  echo 'yarn test-without-starting-db' > ./test.sh
32
31
  chmod u+x ./test.sh
33
- FIRESTORE_EMULATOR_HOST=localhost:8080 firebase emulators:exec --only firestore ./test.sh
32
+ yarn run firebase emulators:exec --only firestore ./test.sh
34
33
  shell: bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pbvision/cloud-run-service",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
4
4
  "description": "fastify-firestore-service Web Framework on Cloud Run",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@google-cloud/tasks": "^4.0.1",
31
- "@pbvision/fastify-firestore-service": "^0.0.36",
31
+ "@pbvision/fastify-firestore-service": "^0.0.38",
32
32
  "google-auth-library": "^9.4.2"
33
33
  },
34
34
  "devDependencies": {
@@ -44,6 +44,7 @@
44
44
  "eslint-plugin-n": "^16.6.2",
45
45
  "eslint-plugin-node": "^11.1.0",
46
46
  "eslint-plugin-promise": "^6.0.0",
47
+ "firebase-tools": "^13.5.2",
47
48
  "jest": "^29.7.0",
48
49
  "standard": "^17.1.0",
49
50
  "superagent": "^8",