Skip to content

Commit

Permalink
Breaking - Bump minimum Node version from 16 to 18
Browse files Browse the repository at this point in the history
Summary:
## Bump minimum Node JS version to 18 via `react-native/package.json#engines`

In facebook#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: 736e17012306ca8638e45e1ca72eb3fdf2ded23e
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Jun 9, 2023
1 parent 5cc8cee commit b3382a4
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 b3382a4

Please sign in to comment.