react-native/react-native.config.js
Michał Pierzchała 7dceb9b63c 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: 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
2022-04-12 04:17:20 -07:00

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',
},
},
};