Skip to content

Commit

Permalink
Merge pull request #4036 from BitGo/upgrade-to-node-20
Browse files Browse the repository at this point in the history
Upgrade to node 20
  • Loading branch information
ericcrosson-bitgo authored Nov 2, 2023
2 parents 20e4cf4 + 1daf891 commit 2beeffe
Show file tree
Hide file tree
Showing 61 changed files with 74 additions and 61 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [16.x, 18.x, 20.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
path: |
node_modules
modules/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('package.json') }}
key: ${{ runner.os }}-node${{matrix.node-version}}-${{ hashFiles('yarn.lock') }}-${{ hashFiles('tsconfig.packages.json') }}-${{ hashFiles('package.json') }}

- name: Install Packages
if: steps.lerna-cache.outputs.cache-hit != 'true' || contains( github.event.pull_request.labels.*.name, 'SKIP_CACHE')
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
20
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ BitGoJS currently provides support for the following Node versions per package.j

```
"engines": {
"node": ">=16 <19",
"node": ">=16 <21",
"npm": ">=3.10.10"
}
```
Expand All @@ -63,6 +63,7 @@ As each Node LTS version reaches its end-of-life we will exclude that version fr

- `16`
- `18`
- `20`

JavaScript package managers should allow you to install this package with any version of Node, with, at most, a warning if your version of Node does not fall within the range specified by our node engines property. If you encounter issues installing this package on a supported version of Node, please report the issue to us.

Expand Down
2 changes: 1 addition & 1 deletion modules/abstract-cosmos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/abstract-eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/abstract-utxo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/account-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "ISC",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"dependencies": {
"@bitgo/sdk-coin-algo": "^1.7.0",
Expand Down
2 changes: 1 addition & 1 deletion modules/bitgo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"license": "Apache-2.0",
"engines": {
"node": ">=16 <19",
"node": ">=16 <21",
"npm": ">=3.10.10"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-ada/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-algo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-arbeth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-atom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-avaxc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-avaxp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"lint-staged": {
"*.{js,ts}": [
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-bch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-bcha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-bera/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-bld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-bsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-bsv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-btc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-btg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-celo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-coreum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-cspr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-dash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-doge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-dot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-eos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-etc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-eth2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-ethw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-hash/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-hbar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-injective/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-islm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-ltc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-near/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-opeth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-osmo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-polygon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-rbtc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"author": "BitGo SDK Team <[email protected]>",
"license": "MIT",
"engines": {
"node": ">=16 <19"
"node": ">=16 <21"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 2beeffe

Please sign in to comment.