@edgedev/firebase 1.9.4 → 1.9.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edgedev/firebase",
3
- "version": "1.9.4",
3
+ "version": "1.9.6",
4
4
  "description": "Vue 3 / Nuxt 3 Plugin or Nuxt 3 plugin for firebase authentication and firestore.",
5
5
  "main": "index.ts",
6
6
  "scripts": {
@@ -24,9 +24,9 @@ awk '/\/\/ #EDGE FIREBASE RULES START/,/\/\/ #EDGE FIREBASE RULES END/' ./src/fi
24
24
 
25
25
  if [ ! -f "$project_root/functions/index.js" ]; then
26
26
  mkdir -p "$project_root/functions"
27
- echo "const functions = require('firebase-functions');" > ./functions/index.js;
28
- echo "const admin = require('firebase-admin');" >> ./functions/index.js;
29
- echo "admin.initializeApp();" >> ./functions/index.js;
27
+ echo "const functions = require('firebase-functions');" > "$project_root/functions/index.js";
28
+ echo "const admin = require('firebase-admin');" >> "$project_root/functions/index.js";
29
+ echo "admin.initializeApp();" >> "$project_root/functions/index.js";
30
30
  echo "const db = admin.firestore();" >> "$project_root/functions/index.js";
31
31
  fi
32
32