Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Indicate Node.js supported versions #6180

Merged
merged 3 commits into from
Sep 7, 2023
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
6 changes: 3 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .nvmrc
- run: npm install -g yarn
- run: yarn install --ignore-scripts --ignore-engines
- run: test -z "$(git diff)" || (echo 'Please run yarn and commit all changes to yarn.lock'; false)
Expand All @@ -47,9 +47,9 @@ jobs:

- run: yarn install
- run: test -z "$(git diff)" || (echo 'Did you check in a generated file to source control? Please remove it if so'; false)

- run: yarn depcheck

- run: ${{ matrix.env }} yarn ci
env:
CI: true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/*
3 changes: 3 additions & 0 deletions packages/abi-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/artifactor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/blockchain-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/box/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/code-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/codec-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,8 @@
}
]
}
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/codec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/compile-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@
"mocha": "10.1.0",
"ts-node": "10.7.0",
"typescript": "^4.9.5"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/compile-solidity-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"presets": [
"env"
]
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/compile-solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@
"presets": [
"env"
]
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/compile-vyper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/contract-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/contract-sources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/contract-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@
"sinon": "^9.0.2",
"web3": "1.10.0",
"web3-core-promievent": "1.10.0"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
5 changes: 4 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,8 @@
"url": "https://github.com/tcoulter"
}
],
"namespace": "consensys"
"namespace": "consensys",
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
5 changes: 4 additions & 1 deletion packages/dashboard-hardhat-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@
"publishConfig": {
"access": "public"
},
"gitHead": "a75816b8744eb4bb390866b45b4b7843c630abe3"
"gitHead": "a75816b8744eb4bb390866b45b4b7843c630abe3",
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/dashboard-message-bus-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@
"@types/debug": "^4.1.5",
"@types/node": "~12.12.0",
"typescript": "^4.9.5"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/dashboard-message-bus-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@
"devDependencies": {
"@types/node": "~12.12.0",
"typescript": "^4.9.5"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/dashboard-message-bus-e2e-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
"ganache": "7.9.1",
"jest": "29.1.2",
"ts-jest": "29.0.3"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/dashboard-message-bus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,8 @@
"isomorphic-ws": "^4.0.1",
"promise.any": "^2.0.2",
"ws": "^7.2.0"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/db-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/db-loader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,8 @@
},
"devDependencies": {
"typescript": "^4.9.5"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,5 +124,8 @@
"<rootDir>/src/**/test/*\\.(spec|test)\\.(ts|js)",
"<rootDir>/test/**/test/*\\.(spec|test)\\.(ts|js)"
]
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/debug-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/debugger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/decoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/deployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/encoder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/error/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
},
"devDependencies": {
"typescript": "^4.9.5"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@
"debug": "^4.3.1",
"emittery": "^0.4.1",
"web3-utils": "1.10.0"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/expect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/external-compile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/fetch-and-compile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/from-hardhat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/hdwallet-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/hdwallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@
],
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
3 changes: 3 additions & 0 deletions packages/interface-adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": "^16.20 || ^18.16 || >=20"
}
}
Loading