mirror of
https://github.com/facebook/react-native.git
synced 2024-11-22 06:29:46 +00:00
7dceb9b63c
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: https://github.com/facebook/react-native/pull/33610 Test Plan: CI green. Reviewed By: rubennorte Differential Revision: D35547624 Pulled By: cortinico fbshipit-source-id: 4de9f280f9d1949c94057c32568b3fdfa4ee6a73
40 lines
914 B
JavaScript
40 lines
914 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @format
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
const ios = require('@react-native-community/cli-platform-ios');
|
|
const android = require('@react-native-community/cli-platform-android');
|
|
|
|
module.exports = {
|
|
commands: [...ios.commands, ...android.commands],
|
|
platforms: {
|
|
ios: {
|
|
projectConfig: ios.projectConfig,
|
|
dependencyConfig: ios.dependencyConfig,
|
|
},
|
|
android: {
|
|
projectConfig: android.projectConfig,
|
|
dependencyConfig: android.dependencyConfig,
|
|
},
|
|
},
|
|
/**
|
|
* Used when running RNTester (with React Native from source)
|
|
*/
|
|
reactNativePath: '.',
|
|
project: {
|
|
ios: {
|
|
sourceDir: './packages/rn-tester',
|
|
},
|
|
android: {
|
|
sourceDir: './packages/rn-tester',
|
|
},
|
|
},
|
|
};
|