mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Update Node.js to v18 in all RN packages (#37791)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/37791 ## 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: cortinico, NickGerleman Differential Revision: D46583997 fbshipit-source-id: 1f31e2f205ac8b09494c2a7d3b73b9f36eff221b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
43a6ea9831
commit
2eb25cbdbe
@@ -12,6 +12,6 @@
|
||||
"keywords": ["assets", "registry", "react-native", "support"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"keywords": ["babel", "plugin", "codegen", "react-native", "native-modules", "view-manager"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"keywords": ["eslint", "rules", "eslint-config", "react-native"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"main": "index.js"
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"keywords": ["eslint", "rules", "react-native", "native-modules", "components", "specs"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"msggen": "./bin/index.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"flow": "flow",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"keywords": ["metro", "config", "react-native"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"exports": "./index.js",
|
||||
"dependencies": {
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
"keywords": ["color", "normalization", "normalize-colors", "react-native"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,6 @@
|
||||
"keywords": ["polyfill", "polyfills", "js", "js-polyfills", "react-native"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-bots#readme",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@rnx-kit/rn-changelog-generator": "^0.4.0",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-typescript-test",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn clean && node scripts/build.js --verbose && tsc",
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "yarn clean && node scripts/build.js --verbose",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"keywords": ["gradle", "plugin", "react-native"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "./gradlew build",
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"directory": "packages/rn-tester"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-native start",
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"keywords": ["lists", "virtualized-lists", "section-lists", "react-native"],
|
||||
"bugs": "https://github.com/facebook/react-native/issues",
|
||||
"engines": {
|
||||
"node": ">=16"
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"invariant": "^2.2.4",
|
||||
|
||||
Reference in New Issue
Block a user