Skip to content

Commit

Permalink
feat(root): deprecate node 16
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Node 16 is no longer supported in bitgojs.
TICKET: WP-1100
  • Loading branch information
zahin-mohammad committed Dec 4, 2023
1 parent 1cd9404 commit 6be3e15
Show file tree
Hide file tree
Showing 60 changed files with 62 additions and 62 deletions.
6 changes: 3 additions & 3 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, 20.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,10 +98,10 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup node 16
- name: Setup node 18
uses: actions/setup-node@v3
with:
node-version: 16 # this just needs to pass our lock file requirement for compilation
node-version: 18 # this just needs to pass our lock file requirement for compilation

- name: Build Info
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Install BitGoJS
run: yarn install --with-frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_package_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

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

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ Engines should be set to the following:
```json
{
"engines": {
"node": ">=16 <19",
"node": ">=18 <21",
"npm": ">=3.10.10"
}
}
Expand Down
2 changes: 1 addition & 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 <21",
"node": ">=18 <21",
"npm": ">=3.10.10"
}
```
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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <21"
},
"dependencies": {
"@bitgo/sdk-coin-algo": "^1.13.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 <21",
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <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 <21"
"node": ">=18 <21"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 6be3e15

Please sign in to comment.