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: 3de095a9b64d3cd54baec70bdccea73a24dc848c
  • Loading branch information
arushikesarwani94 authored and facebook-github-bot committed Jun 9, 2023
1 parent 7bcff07 commit e5b6019
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 e5b6019

Please sign in to comment.