Skip to content

Commit

Permalink
externalize admin config
Browse files Browse the repository at this point in the history
  • Loading branch information
namgk committed May 24, 2021
1 parent 20e3425 commit 3faa72d
Show file tree
Hide file tree
Showing 10 changed files with 1,393 additions and 323 deletions.
1,532 changes: 1,377 additions & 155 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-contrib-firebase-realtime-database",
"version": "0.2.0",
"version": "1.0.0",
"description": "Communicate with google firebase realtime database. These nodes use the new firebase-admin API and service account json is used for authentication.",
"scripts": {
"test": "mocha"
Expand All @@ -21,6 +21,9 @@
},
"homepage": "https://github.com/namgk/node-red-contrib-firebase-realtime-database#readme",
"dependencies": {
"node-red-contrib-firebase-admin-config": "^1.0.2"
},
"peerDependencies": {
"firebase-admin": "^9.8.0"
},
"node-red": {
Expand All @@ -31,7 +34,7 @@
}
},
"devDependencies": {
"mocha": "^5.0.4",
"chai": "^3.5.0"
"chai": "^3.5.0",
"mocha": "^5.0.4"
}
}
36 changes: 0 additions & 36 deletions src/firebaseAdmin.html

This file was deleted.

30 changes: 0 additions & 30 deletions src/firebaseAdmin.js

This file was deleted.

32 changes: 0 additions & 32 deletions src/firebaseAdminNode.js

This file was deleted.

64 changes: 0 additions & 64 deletions test/FirebaseAdminNode_Spec.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/FirebaseE2E_Spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const FirebaseAdminNode = require('../src/firebaseAdminNode');
const FirebaseAdminNode = require('node-red-contrib-firebase-admin-config');
const assert = require('assert');

const FirebaseInNode = require('../src/firebaseInNode');
Expand Down
2 changes: 1 addition & 1 deletion test/FirebaseInNode_Spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const FirebaseAdminNode = require('../src/firebaseAdminNode');
const FirebaseAdminNode = require('node-red-contrib-firebase-admin-config');
const assert = require('assert');

const FirebaseInNode = require('../src/firebaseInNode');
Expand Down
2 changes: 1 addition & 1 deletion test/FirebaseOutNode_Spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const FirebaseAdminNode = require('../src/firebaseAdminNode');
const FirebaseAdminNode = require('node-red-contrib-firebase-admin-config');
const assert = require('assert');

const FirebaseOutNode = require('../src/firebaseOutNode');
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,13 @@ node-forge@^0.10.0:
resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3"
integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==

node-red-contrib-firebase-admin-config@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/node-red-contrib-firebase-admin-config/-/node-red-contrib-firebase-admin-config-1.0.2.tgz#2a14457770d345beeafc83edb8e7b5f8136d25f0"
integrity sha512-xW72sofgLNcrOxPOoCu7+j6zmfa0yaQZ+lsiWS8ngukgrYl0aPH50Yd6oo/Ti4LLXm+rzQ8S5Y9cdo20DC4UcQ==
dependencies:
firebase-admin "^9.8.0"

object-hash@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.1.1.tgz#9447d0279b4fcf80cff3259bf66a1dc73afabe09"
Expand Down

0 comments on commit 3faa72d

Please sign in to comment.