mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
0815f811df
Summary: PR https://github.com/facebook/react-native/pull/24843 broke Android tests because of a regression we introduced in terms of passing `reporter` argument to Metro config. This was fixed in latest `alpha.20` release of CLI ## Changelog [General] [Fix] - update CLI to alpha.20 to fix Android tests Pull Request resolved: https://github.com/facebook/react-native/pull/24869 Reviewed By: rickhanlonii Differential Revision: D15355144 Pulled By: cpojer fbshipit-source-id: faafd8098c708845264b7164557076bce45ea332
41 lines
980 B
JavaScript
41 lines
980 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its 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: {
|
|
linkConfig: ios.linkConfig,
|
|
projectConfig: ios.projectConfig,
|
|
dependencyConfig: ios.dependencyConfig,
|
|
},
|
|
android: {
|
|
linkConfig: android.linkConfig,
|
|
projectConfig: android.projectConfig,
|
|
dependencyConfig: android.dependencyConfig,
|
|
},
|
|
},
|
|
/**
|
|
* Used when running RNTester (with React Native from source)
|
|
*/
|
|
reactNativePath: '.',
|
|
project: {
|
|
ios: {
|
|
project: './RNTester/RNTester.xcodeproj',
|
|
},
|
|
android: {
|
|
sourceDir: './RNTester',
|
|
},
|
|
},
|
|
};
|