Skip to content

Commit 7dceb9b

Browse files
thymikeefacebook-github-bot
authored andcommitted
Upgrade RN CLI to v8 alpha (#33610)
Summary: Upgrades the React Native CLI to v8 alpha. This version removes manual linking configuration and a few other things, hence changes to the project configuration. cc kelset fortmarek ## Changelog [General] [Changed] - Upgrade RN CLI to v8 alpha Pull Request resolved: #33610 Test Plan: CI green. Reviewed By: rubennorte Differential Revision: D35547624 Pulled By: cortinico fbshipit-source-id: 4de9f280f9d1949c94057c32568b3fdfa4ee6a73
1 parent de09bd3 commit 7dceb9b

File tree

3 files changed

+95
-243
lines changed

3 files changed

+95
-243
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@
9494
},
9595
"dependencies": {
9696
"@jest/create-cache-key-function": "^27.0.1",
97-
"@react-native-community/cli": "^7.0.3",
98-
"@react-native-community/cli-platform-android": "^7.0.1",
99-
"@react-native-community/cli-platform-ios": "^7.0.1",
97+
"@react-native-community/cli": "^8.0.0-alpha.0",
98+
"@react-native-community/cli-platform-android": "^8.0.0-alpha.0",
99+
"@react-native-community/cli-platform-ios": "^8.0.0-alpha.0",
100100
"@react-native/assets": "1.0.0",
101101
"@react-native/normalize-color": "2.0.0",
102102
"@react-native/polyfills": "2.0.0",

react-native.config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,10 @@ module.exports = {
1616
commands: [...ios.commands, ...android.commands],
1717
platforms: {
1818
ios: {
19-
linkConfig: ios.linkConfig,
2019
projectConfig: ios.projectConfig,
2120
dependencyConfig: ios.dependencyConfig,
2221
},
2322
android: {
24-
linkConfig: android.linkConfig,
2523
projectConfig: android.projectConfig,
2624
dependencyConfig: android.dependencyConfig,
2725
},
@@ -32,7 +30,7 @@ module.exports = {
3230
reactNativePath: '.',
3331
project: {
3432
ios: {
35-
project: './packages/rn-tester/RNTesterPods.xcworkspace',
33+
sourceDir: './packages/rn-tester',
3634
},
3735
android: {
3836
sourceDir: './packages/rn-tester',

0 commit comments

Comments
 (0)