Skip to content

Commit

Permalink
Breaking - Bump minimum Node version from 16 to 18 (#37709)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #37709

## Bump minimum Node JS version to 18 via `react-native/package.json#engines`

In #35443 we bumped up the node version from 16 to 18.

Node 16 [ends maintenance releases on 2023-09-11](https://nodejs.org/en/blog/announcements/nodejs16-eol/), and bumping this minimum will allow other associated Node JS tools (CLI, Metro, Jest) to reduce their support burden.

This follows up by formally making Node 18 the minimum supported version.

**Docs PR:**
facebook/react-native-website#3748

**Changelog:**
[General][Breaking] Bump minimum Node JS version to 18

Reviewed By: yungsters

Differential Revision: D46462639

fbshipit-source-id: d3b607788f596e8b5a9c4a6855d3b2f4bafe9a7a
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Jun 22, 2023
1 parent 4af80b7 commit 43a6ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"bugs": "https://github.com/facebook/react-native/issues",
"engines": {
"node": ">=16"
"node": ">=18"
},
"bin": "./cli.js",
"types": "types",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-native/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
"typescript": "5.0.4"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}

0 comments on commit 43a6ea9

Please sign in to comment.