Skip to content

Commit

Permalink
remove node-red-contrib-gpio, include forked version node-red-contrib…
Browse files Browse the repository at this point in the history
…-johnny-five instead (#181)
  • Loading branch information
hobbyquaker committed May 12, 2019
1 parent 1c0c066 commit bb06707
Show file tree
Hide file tree
Showing 3,474 changed files with 202,938 additions and 206 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion addon_files/redmatic/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"node-red-contrib-mysensors": "3.3.0",
"node-red-contrib-rfxcom": "2.8.1",
"node-red-contrib-zigbee": "0.7.1",
"node-red-contrib-gpio": "0.14.0",
"node-red-contrib-johnny-five": "0.15.0",
"node-red-contrib-enocean": "0.4.14",
"redmatic-homekit": "2.3.3"
}
Expand Down
2 changes: 1 addition & 1 deletion bundle-pkgs.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const extraFiles = {
'redmatic-homekit': [
'bin/ffmpeg'
],
'node-red-contrib-gpio': [
'node-red-contrib-johnny-five': [
'bin/pig2vcd',
'bin/pigpiod',
'bin/pigs',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redmatic",
"version": "4.4.3",
"version": "4.5.0",
"description": "Node-RED packaged as Homematic CCU addon",
"repository": "github:rdmtc/redmatic",
"private": true,
Expand Down Expand Up @@ -32,7 +32,7 @@
"node-red-contrib-mysensors": "0.0.0 - 3.3.0",
"node-red-contrib-rfxcom": "0.0.0 - 2.8.1",
"node-red-contrib-zigbee": "0.0.0 - 0.7.1",
"node-red-contrib-gpio": "0.0.0 - 0.14.0",
"node-red-contrib-johnny-five": "0.0.0 - 0.15.0",
"node-red-contrib-enocean": "0.0.0 - 0.4.14"
},
"author": "Sebastian Raff <hobbyquaker@gmail.com>",
Expand Down
7 changes: 3 additions & 4 deletions prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cat addon_files/redmatic/lib/package.json | jq 'del(.dependencies.npm,.dependenc
scp $DEST/package.json $REMOTE:$REMOTE_PATH

ssh -t $REMOTE "cd $REMOTE_PATH ; npm install --global-style --unsafe-perm"
ssh -t $REMOTE "cd $REMOTE_PATH/node_modules/node-red-contrib-gpio ; npm install --save --unsafe-perm --global-style raspi-io"
ssh -t $REMOTE "cd $REMOTE_PATH/node_modules/node-red-contrib-johnny-five ; npm install --save --unsafe-perm --global-style --production raspi-io"

rm -r ${DEST}/lib/node_modules

Expand All @@ -29,9 +29,8 @@ while read -r binary; do
scp -q ${from} ${dest} && echo "${binary}"
done <<< "$files"

scp -r $REMOTE:$REMOTE_PATH/node_modules/node-red-contrib-gpio/node_modules/raspi-io $DEST/lib/node_modules/node-red-contrib-gpio/node_modules/

scp -r $REMOTE:$REMOTE_PATH/node_modules/node-red-contrib-johnny-five/node_modules $DEST/lib/node_modules/node-red-contrib-johnny-five

cp -R $DEST/lib/node_modules/node-red-contrib-zigbee/node_modules/cc-znp/node_modules/@serialport $DEST/lib/node_modules/node-red-contrib-zigbee/node_modules/

git add $DEST/lib
git add $DEST/lib
Binary file not shown.
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit bb06707

Please sign in to comment.