From 14d05706bf43bc733dbb7b395dcfd0c4172e83ee Mon Sep 17 00:00:00 2001 From: Arushi Kesarwani Date: Wed, 21 Jun 2023 12:29:13 -0700 Subject: [PATCH] Breaking - Bump minimum Node version from 16 to 18 (#37709) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37709 ## Bump minimum Node JS version to 18 via `react-native/package.json#engines` In https://github.com/facebook/react-native/pull/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:** https://github.com/facebook/react-native-website/pull/3748 **Changelog:** [General][Breaking] Bump minimum Node JS version to 18 Reviewed By: yungsters Differential Revision: D46462639 fbshipit-source-id: 4d02982b86da00d3df8c627d41c5401444370663 --- packages/react-native/package.json | 2 +- packages/react-native/template/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/package.json b/packages/react-native/package.json index 67225d5695f41f..977fb917ae1147 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -21,7 +21,7 @@ ], "bugs": "https://github.com/facebook/react-native/issues", "engines": { - "node": ">=16" + "node": ">=18" }, "bin": "./cli.js", "types": "types", diff --git a/packages/react-native/template/package.json b/packages/react-native/template/package.json index d98247f43312de..9ddba360bca1fd 100644 --- a/packages/react-native/template/package.json +++ b/packages/react-native/template/package.json @@ -31,6 +31,6 @@ "typescript": "5.0.4" }, "engines": { - "node": ">=16" + "node": ">=18" } }