Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable support for node 14 #1219

Merged
merged 1 commit into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ sut:
settings:
- *new-node-old-grpc
1.4.11:
packages: ['[email protected]', 'fabric-protos@2.0.0-snapshot.1', '[email protected]','[email protected]']
packages: ['[email protected]', 'fabric-protos@2.1.0', '[email protected]','[email protected]']
1.4.14: &fabric-v1-lts
packages: ['[email protected]', 'fabric-protos@2.0.0-snapshot.1', '[email protected]','[email protected]']
packages: ['[email protected]', 'fabric-protos@2.1.0', '[email protected]','[email protected]']
1.4: *fabric-v1-lts
2.1.0: &fabric-v2-2.1
packages: ['[email protected]', '[email protected]', '[email protected]', '[email protected]']
Expand Down
4 changes: 2 additions & 2 deletions packages/caliper-cli/package.json
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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