Skip to content

Commit

Permalink
enable support for node 14 - node engine >=14.19.0 (#1219)
Browse files Browse the repository at this point in the history
Signed-off-by: fraVlaca <ocsenarf@outlook.com>
  • Loading branch information
fraVlaca committed Feb 11, 2022
1 parent caad464 commit 4a1860e
Show file tree
Hide file tree
Showing 13 changed files with 34 additions and 30 deletions.
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Expand Up @@ -23,7 +23,7 @@ stages:
steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
versionSpec: "14.x"
displayName: "Install Node.js"
- script: |
./scripts/check-package-names.sh
Expand All @@ -50,7 +50,7 @@ stages:
steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
versionSpec: "14.x"
displayName: "Install Node.js"
- script: |
.build/benchmark-integration-test-direct.sh
Expand All @@ -61,7 +61,7 @@ stages:
steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
versionSpec: "14.x"
displayName: "Install Node.js"
- script: |
.build/benchmark-integration-test-direct.sh
Expand Down Expand Up @@ -109,7 +109,7 @@ stages:
steps:
- task: NodeTool@0
inputs:
versionSpec: "10.x"
versionSpec: "14.x"
displayName: "Install Node.js"
- script: .build/publish-caliper.sh
displayName: Publish Caliper
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -16,8 +16,8 @@
"force-clean": "./scripts/force-clean.sh"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-cli/lib/lib/config.yaml
Expand Up @@ -43,9 +43,9 @@ sut:
settings:
- *new-node-old-grpc
1.4.11:
packages: ['fabric-client@1.4.11', 'fabric-protos@2.0.0-snapshot.1', 'fabric-network@1.4.11','fs-extra@8.1.0']
packages: ['fabric-client@1.4.11', 'fabric-protos@2.1.0', 'fabric-network@1.4.11','fs-extra@8.1.0']
1.4.14: &fabric-v1-lts
packages: ['fabric-client@1.4.14', 'fabric-protos@2.0.0-snapshot.1', 'fabric-network@1.4.14','fs-extra@8.1.0']
packages: ['fabric-client@1.4.14', 'fabric-protos@2.1.0', 'fabric-network@1.4.14','fs-extra@8.1.0']
1.4: *fabric-v1-lts
2.1.0: &fabric-v2-2.1
packages: ['fabric-common@2.1.0', 'fabric-protos@2.1.0', 'fabric-network@2.1.0', 'fabric-ca-client@2.1.0']
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-cli/package.json
Expand Up @@ -22,8 +22,8 @@
"nyc": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"@hyperledger/caliper-core": "0.4.3-unstable",
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-core/package.json
Expand Up @@ -18,8 +18,8 @@
"nyc": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"color-scheme": "^1.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-ethereum/package.json
Expand Up @@ -18,8 +18,8 @@
"nyc": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"@hyperledger/caliper-core": "0.4.3-unstable",
Expand Down
12 changes: 6 additions & 6 deletions packages/caliper-fabric/package.json
Expand Up @@ -18,19 +18,19 @@
"nyc": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"@hapi/joi": "^15.1.1",
"@hyperledger/caliper-core": "0.4.3-unstable",
"semver": "7.1.1"
},
"devDependencies": {
"fabric-ca-client": "^1.4.7",
"fabric-client": "^1.4.7",
"fabric-network": "^1.4.7",
"fabric-protos": "2.0.0-snapshot.1",
"fabric-ca-client": "^1.4.19",
"fabric-client": "^1.4.19",
"fabric-network": "^1.4.19",
"fabric-protos": "2.1.0",
"chai": "^3.5.0",
"chai-as-promised": "^7.1.1",
"eslint": "^5.16.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-fisco-bcos/package.json
Expand Up @@ -18,8 +18,8 @@
"nyc": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"@hyperledger/caliper-core": "0.4.3-unstable",
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-gui-dashboard/package.json
Expand Up @@ -23,8 +23,8 @@
"map-sass": "node-sass src/assets/scss/paper-dashboard.scss src/assets/css/paper-dashboard.css --source-map true"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.27",
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-gui-server/package.json
Expand Up @@ -18,8 +18,8 @@
"start": "node app.js"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"@hyperledger/caliper-core": "0.4.3-unstable",
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-publish/package.json
Expand Up @@ -17,8 +17,8 @@
"nyc": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"dependencies": {
"yargs": "15.3.1"
Expand Down
4 changes: 4 additions & 0 deletions packages/caliper-tests-integration/package.json
Expand Up @@ -3,6 +3,10 @@
"version": "0.4.3-unstable",
"private": true,
"description": "Integration tests for Hyperledger Caliper",
"engines": {
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"scripts": {
"cleanup": "./scripts/cleanup.sh",
"start_verdaccio": "npm run cleanup && ./scripts/start-verdaccio.sh",
Expand Down
4 changes: 2 additions & 2 deletions packages/generator-caliper/package.json
Expand Up @@ -22,8 +22,8 @@
"nyc": "nyc mocha --recursive -t 10000"
},
"engines": {
"node": ">=10.22.0",
"npm": ">=6.14.0"
"node": ">=14.19.0",
"npm": ">=6.14.16"
},
"files": [
"generators"
Expand Down

0 comments on commit 4a1860e

Please sign in to comment.