Skip to content

Commit

Permalink
chore: update nodejs to v20 (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
nedsalk authored Dec 22, 2023
1 parent d3335de commit c988199
Show file tree
Hide file tree
Showing 31 changed files with 32 additions and 30 deletions.
2 changes: 2 additions & 0 deletions .changeset/real-owls-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion .github/actions/ci-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "CI Setup"
inputs:
node-version:
description: "Node version"
default: 18.18.2
default: 20.10.0
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/test-setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Test Setup"
inputs:
node-version:
description: "Node version"
default: 18.18.2
default: 20.10.0
pnpm-version:
description: "PNPM version"
default: 8.9.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
fail-fast: false
matrix:
env: [node]
version: [18.18.2]
version: [18.18.2, 20]
timeout-minutes: 25
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.2
20.10.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"author": "Fuel Labs <[email protected]> (https://fuel.network/)",
"private": true,
"engines": {
"node": "^18.18.2",
"node": "^18.18.2 || ^20.0.0",
"pnpm": "^8.9.0"
},
"packageManager": "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-coder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-typegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/address/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/create-fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"templates"
],
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"license": "Apache-2.0",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"browser": {
"./dist/index.mjs": "./dist/index.browser.mjs"
Expand Down
2 changes: 1 addition & 1 deletion packages/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/fuels/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hasher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hdwallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/interfaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/math/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/merkle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/mnemonic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/predicate/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/program/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/providers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/signer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/transactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/versions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion packages/wordlists/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": "^18.18.2"
"node": "^18.18.2 || ^20.0.0"
},
"exports": {
".": {
Expand Down

0 comments on commit c988199

Please sign in to comment.