Skip to content

Commit

Permalink
[FAB-6870] Update node modules versions
Browse files Browse the repository at this point in the history
fabcar uses 1.0.2 node modules changing it to unstable so that
latest node modules can be used on master branch

Change-Id: Ia9dc866931763760dd3cd7dbc5c7fd9a5de099be
Signed-off-by: ratnakar <asara.ratnakar@gmail.com>
  • Loading branch information
asararatnakar committed Nov 2, 2017
1 parent 733ce9f commit 1961835
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ chaincode-docker-devmode/chaincode/chaincode_example02/chaincode_example02
# fabric sdk node modules
fabcar/node_modules/
fabcar/package-lock.json
fabcar/hfc-key-store/

# balance transfer sample
balance-transfer/.DS_Store
balance-transfer/node_modules/*
balance-transfer/package-lock.json
balance-transfer/fabric-client-kv-org*
4 changes: 3 additions & 1 deletion chaincode/fabcar/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"node": ">=8.4.0",
"npm": ">=5.3.0"
},
"scripts": { "start" : "node fabcar.js" },
"scripts": {
"start": "node fabcar.js"
},
"engine-strict": true,
"license": "Apache-2.0",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions fabcar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"fabric-ca-client": "^1.0.2",
"fabric-client": "^1.0.2",
"fabric-ca-client": "unstable",
"fabric-client": "unstable",
"grpc": "^1.6.0"
},
"author": "Anthony O'Dowd",
Expand Down
3 changes: 3 additions & 0 deletions fabcar/startFabric.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ if [ "$LANGUAGE" = "node" -o "$LANGUAGE" = "NODE" ]; then
CC_SRC_PATH=/opt/gopath/src/github.com/fabcar/node
fi

# clean the keystore
rm -rf ./hfc-key-store

# launch network; create channel and join peer to channel
cd ../basic-network
./start.sh
Expand Down

0 comments on commit 1961835

Please sign in to comment.