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

Differential Revision: D46462639

fbshipit-source-id: e1150bf9da85de04da353c99321457e0023cbbd1
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Jun 7, 2023
1 parent 4002a25 commit 57a00a7
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 57a00a7

Please sign in to comment.