diff --git a/packages/assets/package.json b/packages/assets/package.json index 1d52c415a5b2bb..d0e755dc894c81 100644 --- a/packages/assets/package.json +++ b/packages/assets/package.json @@ -7,5 +7,8 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/assets" }, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=16" + } } diff --git a/packages/babel-plugin-codegen/package.json b/packages/babel-plugin-codegen/package.json index 5954d420159810..7054377c039b11 100644 --- a/packages/babel-plugin-codegen/package.json +++ b/packages/babel-plugin-codegen/package.json @@ -7,6 +7,9 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/babel-plugin-codegen" }, + "engines": { + "node": ">=16" + }, "files": [ "index.js" ], diff --git a/packages/eslint-config-react-native-community/package.json b/packages/eslint-config-react-native-community/package.json index bb97ff34d9af7f..91894a928469c9 100644 --- a/packages/eslint-config-react-native-community/package.json +++ b/packages/eslint-config-react-native-community/package.json @@ -10,6 +10,9 @@ "directory": "packages/eslint-config-react-native-community" }, "homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/eslint-config-react-native-community#readme", + "engines": { + "node": ">=16" + }, "dependencies": { "@babel/core": "^7.20.0", "@babel/eslint-parser": "^7.19.0", diff --git a/packages/eslint-plugin-react-native-community/package.json b/packages/eslint-plugin-react-native-community/package.json index f6b8de3cd41a8a..202a4dfb771ddc 100644 --- a/packages/eslint-plugin-react-native-community/package.json +++ b/packages/eslint-plugin-react-native-community/package.json @@ -8,5 +8,8 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/eslint-plugin-react-native-community" }, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=16" + } } diff --git a/packages/eslint-plugin-specs/package.json b/packages/eslint-plugin-specs/package.json index 4255aa43ac282c..76a91ea4b96cd8 100644 --- a/packages/eslint-plugin-specs/package.json +++ b/packages/eslint-plugin-specs/package.json @@ -8,6 +8,9 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/eslint-plugin-specs" }, + "engines": { + "node": ">=16" + }, "scripts": { "prepack": "node prepack.js", "postpack": "node postpack.js" diff --git a/packages/hermes-inspector-msggen/package.json b/packages/hermes-inspector-msggen/package.json index f39c077005dbfd..ea8978f7810fbd 100644 --- a/packages/hermes-inspector-msggen/package.json +++ b/packages/hermes-inspector-msggen/package.json @@ -6,6 +6,9 @@ "bin": { "msggen": "./bin/index.js" }, + "engines": { + "node": ">=16" + }, "scripts": { "flow": "flow", "build": "babel src --out-dir bin --source-maps", diff --git a/packages/metro-config/package.json b/packages/metro-config/package.json index c95528acb9289c..fdb735021273e5 100644 --- a/packages/metro-config/package.json +++ b/packages/metro-config/package.json @@ -8,6 +8,9 @@ "directory": "packages/metro-config" }, "license": "MIT", + "engines": { + "node": ">=16" + }, "exports": "./index.js", "dependencies": { "@react-native/js-polyfills": "^0.73.0", diff --git a/packages/normalize-color/package.json b/packages/normalize-color/package.json index 71c6740121a691..d3319212203e59 100644 --- a/packages/normalize-color/package.json +++ b/packages/normalize-color/package.json @@ -7,5 +7,8 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/normalize-color" }, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=16" + } } diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index 1694345b4b2b7e..79b644495b5a62 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -7,5 +7,8 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/polyfills" }, - "license": "MIT" + "license": "MIT", + "engines": { + "node": ">=16" + } } diff --git a/packages/react-native-bots/package.json b/packages/react-native-bots/package.json index ff5485e29f2aad..43bbff5cbc2bcd 100644 --- a/packages/react-native-bots/package.json +++ b/packages/react-native-bots/package.json @@ -2,6 +2,9 @@ "name": "@react-native/bots", "version": "0.0.0", "private": true, + "engines": { + "node": ">=16" + }, "devDependencies": { "@rnx-kit/rn-changelog-generator": "^0.4.0", "@seadub/danger-plugin-eslint": "^3.0.2", diff --git a/packages/react-native-codegen-typescript-test/package.json b/packages/react-native-codegen-typescript-test/package.json index 7966c5e443a761..d023ab9435cdfe 100644 --- a/packages/react-native-codegen-typescript-test/package.json +++ b/packages/react-native-codegen-typescript-test/package.json @@ -8,6 +8,9 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/react-native-codegen-typescript-test" }, + "engines": { + "node": ">=16" + }, "scripts": { "build": "yarn clean && node scripts/build.js --verbose && tsc", "clean": "rimraf lib && rimraf __generated__/*.ts", diff --git a/packages/react-native-codegen/package.json b/packages/react-native-codegen/package.json index d2eeade5d933ab..4afe3082e0af20 100644 --- a/packages/react-native-codegen/package.json +++ b/packages/react-native-codegen/package.json @@ -8,6 +8,9 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/react-native-codegen" }, + "engines": { + "node": ">=16" + }, "scripts": { "build": "yarn clean && node scripts/build.js --verbose", "clean": "rimraf lib", diff --git a/packages/react-native-gradle-plugin/package.json b/packages/react-native-gradle-plugin/package.json index 9bf18596fc6a43..f7fe5796df65c5 100644 --- a/packages/react-native-gradle-plugin/package.json +++ b/packages/react-native-gradle-plugin/package.json @@ -8,6 +8,9 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/react-native-gradle-plugin" }, + "engines": { + "node": ">=16" + }, "scripts": { "build": "./gradlew build", "clean": "./gradlew clean", diff --git a/packages/rn-tester/package.json b/packages/rn-tester/package.json index 36e39e0697a1aa..5ac1f9a39501d0 100644 --- a/packages/rn-tester/package.json +++ b/packages/rn-tester/package.json @@ -10,6 +10,9 @@ "url": "git@github.com:facebook/react-native.git", "directory": "packages/rn-tester" }, + "engines": { + "node": ">=16" + }, "scripts": { "start": "react-native start", "install-android-jsc": "../../gradlew :packages:rn-tester:android:app:installJscDebug", diff --git a/packages/virtualized-lists/package.json b/packages/virtualized-lists/package.json index b8315f86b5e560..021635f292d309 100644 --- a/packages/virtualized-lists/package.json +++ b/packages/virtualized-lists/package.json @@ -8,6 +8,9 @@ "directory": "packages/virtualized-lists" }, "license": "MIT", + "engines": { + "node": ">=16" + }, "dependencies": { "invariant": "^2.2.4", "nullthrows": "^1.1.1"