Skip to content

Commit

Permalink
feat(root): add node 18 to engines and CI
Browse files Browse the repository at this point in the history
TICKET: WP-338
  • Loading branch information
zahin-mohammad committed Jul 24, 2023
1 parent 2a3931e commit 32bee57
Show file tree
Hide file tree
Showing 55 changed files with 58 additions and 59 deletions.
2 changes: 1 addition & 1 deletion .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]
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v3
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]
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.18.0
16.12.0
4 changes: 2 additions & 2 deletions DEVELOPERS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Requirements

- yarn version 1 (classic)
- node version >=14.18.0 and <17
- node version >=16 and <19

# Installing

Expand Down Expand Up @@ -180,7 +180,7 @@ Engines should be set to the following:
```json
{
"engines": {
"node": ">=14.18.0 <17",
"node": ">=16 <19",
"npm": ">=3.10.10"
}
}
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,16 @@ BitGoJS currently provides support for the following Node versions per package.j

```
"engines": {
"node": ">=14.18.0 <17",
"node": ">=16 <19",
"npm": ">=3.10.10"
}
```

We specifically limit our support to these versions of Node, not because this package won't work on other versions, but because these versions tend to be the most widely used in practice. It's possible the packages in this repository will work correctly on newer or older versions of Node, but we typically don't run automated tests against non-specified versions of Node (including odd versions), with the possible exception of the latest odd numbered version for advanced awareness of upcoming breaks in version support.

As each Node LTS version reaches its end-of-life we will exclude that version from the node engines property of our package's package.json file. Removing a Node version is considered a breaking change and will entail the publishing of a new major version of this package. We will not accept any requests to support an end-of-life version of Node, and any pull requests or issues regarding support for an end-of-life version of Node will be closed. We will accept code that allows this package to run on newer, non-LTS, versions of Node. Furthermore, we will attempt to ensure our own changes work on the latest version of Node. To help in that commitment, our continuous integration setup runs the full test suite on the latest release of the following versions of node:

- `>=14.18.0`
- `16`
- `>=16`
- `19`

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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"dependencies": {
"@bitgo/sdk-coin-algo": "^1.3.27",
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": ">=14 <17",
"node": ">=16 <19",
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"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": ">=14 <17"
"node": ">=16 <19"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-sei/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": ">=14 <17"
"node": ">=16 <19"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion modules/sdk-coin-sol/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": ">=14 <17"
"node": ">=16 <19"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 32bee57

Please sign in to comment.