Skip to content

Commit

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

## 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: c8db22bbbc8b3158cdf89e88114bee7aed188c12
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Jun 20, 2023
1 parent c16e993 commit 7b7e153
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 7b7e153

Please sign in to comment.