Skip to content

Commit a978a06

Browse files
committed
Bump min Node version to 18.18; use LTS for dev
Now that both extension and mobile are using Node 18, we can follow suit.
1 parent 6523f99 commit a978a06

File tree

64 files changed

+98
-38
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+98
-38
lines changed

.github/workflows/lint-build-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node-version: [16.x, 18.x, 20.x]
12+
node-version: [18.x, 20.x]
1313
outputs:
1414
child-workspace-package-names: ${{ steps.workspace-package-names.outputs.child-workspace-package-names }}
1515
steps:
@@ -105,7 +105,7 @@ jobs:
105105
needs: prepare
106106
strategy:
107107
matrix:
108-
node-version: [16.x, 18.x, 20.x]
108+
node-version: [18.x, 20.x]
109109
package-name: ${{ fromJson(needs.prepare.outputs.child-workspace-package-names) }}
110110
steps:
111111
- uses: actions/checkout@v3

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v16
1+
lts/*

constraints.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@ gen_enforced_dependency(WorkspaceCwd, DependencyIdent, DependencyRange, 'peerDep
336336
DependencyIdent \= '@metamask/polling-controller',
337337
is_controller(DependencyIdent).
338338

339-
% All packages must specify a minimum Node version of 16.
340-
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=16.0.0').
339+
% All packages must specify a minimum Node version of 18.
340+
gen_enforced_field(WorkspaceCwd, 'engines.node', '>=18.18 || >=20').
341341

342342
% All published packages are public.
343343
gen_enforced_field(WorkspaceCwd, 'publishConfig.access', 'public') :-

docs/contributing.md

Lines changed: 2 additions & 2 deletions

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
},
7676
"packageManager": "yarn@3.3.0",
7777
"engines": {
78-
"node": ">=16.0.0"
78+
"node": ">=18.18 || >=20"
7979
},
8080
"lavamoat": {
8181
"allowScripts": {

packages/accounts-controller/CHANGELOG.md

Lines changed: 2 additions & 0 deletions

packages/accounts-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@metamask/keyring-controller": "^10.0.0"
5757
},
5858
"engines": {
59-
"node": ">=16.0.0"
59+
"node": ">=18.18 || >=20"
6060
},
6161
"publishConfig": {
6262
"access": "public",

packages/address-book-controller/CHANGELOG.md

Lines changed: 2 additions & 0 deletions

packages/address-book-controller/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"typescript": "~4.8.4"
4646
},
4747
"engines": {
48-
"node": ">=16.0.0"
48+
"node": ">=18.18 || >=20"
4949
},
5050
"publishConfig": {
5151
"access": "public",

packages/announcement-controller/CHANGELOG.md

Lines changed: 2 additions & 0 deletions

0 commit comments

Comments
 (0)