Skip to content

Commit

Permalink
Clean-up npm engine specs (#394)
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite authored Mar 3, 2023
1 parent 5d72d90 commit 220ac53
Show file tree
Hide file tree
Showing 16 changed files with 25 additions and 37 deletions.
3 changes: 1 addition & 2 deletions apis/fabric-contract-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"Fabric Shim"
],
"engines": {
"node": "^16.4.0",
"npm": "^8.0.0"
"node": "^18.0.0"
},
"license": "Apache-2.0",
"types": "./types/index.d.ts",
Expand Down
3 changes: 1 addition & 2 deletions apis/fabric-shim-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
"Fabric Shim"
],
"engines": {
"node": "^16.4.0",
"npm": "^8.0.0",
"node": "^18.0.0",
"eslint": "^6.6.0"
},
"types": "./types/index.d.ts",
Expand Down
17 changes: 9 additions & 8 deletions common/config/rush/pnpm-lock.yaml

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

3 changes: 1 addition & 2 deletions libraries/fabric-ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
"Fabric Ledger"
],
"engines": {
"node": "^16.4.0",
"npm": "^8.0.0"
"node": "^18.0.0"
},
"license": "Apache-2.0",
"nyc": {
Expand Down
4 changes: 2 additions & 2 deletions libraries/fabric-shim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@
"Fabric Shim"
],
"engines": {
"node": "^16.4.0",
"npm": "^8.0.0"
"node": "^18.0.0"
},
"types": "./types/index.d.ts",
"license": "Apache-2.0",
Expand Down Expand Up @@ -62,6 +61,7 @@
"ajv": "^6.12.2",
"fabric-contract-api": "2.5.3-unstable",
"fabric-shim-api": "2.5.3-unstable",
"fast-safe-stringify": "^2.1.1",
"fs-extra": "^10.0.1",
"reflect-metadata": "^0.1.13",
"winston": "^3.7.2",
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/annotations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "ts_chaincode",
"description": "Chaincode testing typescript functionality and annotations",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"build": "tsc",
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/clientidentity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing ClientIdentity functionality",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "fabric-chaincode-node start"
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/crosschaincode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing cross chaincode functionality",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "set -x && CORE_CHAINCODE_LOGGING_LEVEL=debug fabric-chaincode-node start"
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/crosschaincode2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing cross chaincode functionality",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "fabric-chaincode-node start"
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/crud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing crud functionality",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "set -x && CORE_CHAINCODE_LOGGING_LEVEL=debug fabric-chaincode-node start"
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing events functionality",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "set -x && CORE_CHAINCODE_LOGGING_LEVEL=debug fabric-chaincode-node start"
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/ledger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing ledger functionality",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "fabric-chaincode-node start"
Expand Down
2 changes: 1 addition & 1 deletion test/chaincodes/privateData/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing private data functionality",
"engines": {
"node": "^12.16.1",
"node": "^18.0.0",
"npm": ">=5.3.0"
},
"scripts": {
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "Chaincode testing query functionality",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "fabric-chaincode-node start"
Expand Down
3 changes: 1 addition & 2 deletions test/chaincodes/scenario/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "chaincode",
"description": "My first exciting chaincode implemented in node.js",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"scripts": {
"start": "fabric-chaincode-node start"
Expand Down
3 changes: 1 addition & 2 deletions test/fv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
"testFabricThirdParty": "0.4.15",
"docsLatestVersion": "release-1.4",
"engines": {
"node": "^12.16.1",
"npm": "^6.4.1"
"node": "^18.0.0"
},
"engineStrict": true,
"license": "Apache-2.0",
Expand Down

0 comments on commit 220ac53

Please sign in to comment.