mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08:00
Summary: Updates React Native to use latest CLI. Changes: - No more `--reactNativePath`, define it once in the configuration file. This reverts the previous PR that added this flag - Add `platforms` and `commands` - React Native now defines platform like any other package. There's no longer concept of "out-of-tree" platform. All are treated equally. If React Native works, any other platform will work too. - Updates `jest/hasteImpl.js` to use public CLI interface (`loadConfig`) instead of `findPlugins` and removes a weird conditional that checks for CI presence. [INTERNAL] - Update React Native CLI Pull Request resolved: https://github.com/facebook/react-native/pull/24517 Differential Revision: D15044762 Pulled By: cpojer fbshipit-source-id: 379b61e842e619312c542173219a7d326663cf24
12 lines
294 B
Batchfile
12 lines
294 B
Batchfile
:: 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.
|
|
|
|
@echo off
|
|
title Metro Bundler
|
|
call .packager.bat
|
|
node "%~dp0..\cli.js" --projectRoot ../../../ start
|
|
pause
|
|
exit
|