Skip to content

Commit

Permalink
Update node/npm versions
Browse files Browse the repository at this point in the history
Signed-off-by: James Taylor <jamest@uk.ibm.com>
  • Loading branch information
jt-nti committed Nov 11, 2020
1 parent 1cdb585 commit 07b4bc0
Show file tree
Hide file tree
Showing 21 changed files with 24 additions and 22 deletions.
4 changes: 2 additions & 2 deletions TUTORIAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ The dependencies of `fabric-contract-api` and `fabric-shim` will be required.
"name": "chaincode",
"description": "My first exciting chaincode implemented in node.js",
"engines": {
"node": "^12.13.0",
"npm": "^6.13.4"
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
"test":"mocha.....
Expand Down
2 changes: 1 addition & 1 deletion apis/fabric-contract-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"Fabric Shim"
],
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion apis/fabric-shim-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"Fabric Shim"
],
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1",
"eslint": "^6.6.0"
},
Expand Down
4 changes: 3 additions & 1 deletion ci/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ variables:
- name: pipeline
value: ci
- name: node_version_spec
value: '12.16.1'
- name: rewire_node_version_spec # see https://github.com/jhnns/rewire/issues/178
value: '12.15.0'
- name: FABRIC_VERSION
value: 2.2
Expand All @@ -66,7 +68,7 @@ stages:
steps:
- task: NodeTool@0
inputs:
versionSpec: $(node_version_spec)
versionSpec: $(rewire_node_version_spec)
- script: |
set -ev
node common/scripts/install-run-rush.js install
Expand Down
2 changes: 1 addition & 1 deletion docs/_jsdoc/tutorials/using-chaincodeinterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Finally, update the "start" script in package.json to "node mychaincode.js":
"version": "1.0.0",
"description": "My first exciting chaincode implemented in node.js",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": { "start" : "node mychaincode.js" },
Expand Down
2 changes: 1 addition & 1 deletion docs/_jsdoc/tutorials/using-contractinterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The dependencies of `fabric-contract-api` and `fabric-shim` will be required.
"name": "chaincode",
"description": "My first exciting chaincode implemented in node.js",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion libraries/fabric-ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"Fabric Ledger"
],
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion libraries/fabric-shim-crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"Fabric Shim"
],
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion libraries/fabric-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"Fabric Shim"
],
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"types": "./types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ts_chaincode",
"description": "Chaincode testing typescript functionality and annotations",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/clientidentity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing ClientIdentity functionality",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/crosschaincode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing cross chaincode functionality",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/crosschaincode2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing cross chaincode functionality",
"engines": {
"node":"^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing crud functionality",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/encryption/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing encryption functionality",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing events functionality",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing ledger functionality",
"engines": {
"node": ">=8.4.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing query functionality",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/scenario/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "My first exciting chaincode implemented in node.js",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode server",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion test/fv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"testFabricThirdParty": "0.4.15",
"docsLatestVersion": "release-1.4",
"engines": {
"node": "^12.13.0",
"node": "^12.16.1",
"npm": "^6.4.1"
},
"engineStrict": true,
Expand Down

0 comments on commit 07b4bc0

Please sign in to comment.