react-native/local-cli
Jean Lauliac e135bacb48 packager: Server: remove last declareOpts usage and replace by Flow types
Summary:
`declareOpts` prevents strong Flow typing, and promotes default values, that may be different from a function to another (my goal is to remove defaults from the whole codebase except perhaps the public API). This changeset replaces it by Flow types and fixes callsites to be explicit on values.

This is the last callsite of `declareOpts` so I'll remove it, in a separate diff.

Reviewed By: cpojer

Differential Revision: D4970650

fbshipit-source-id: e5ea2e06febde892d28c9dc59dc2920d4033bb01
2017-05-03 03:31:30 -07:00
..
__mocks__ Fix lint in local-cli 2016-11-14 11:13:42 -08:00
bundle Unify source map types 2017-04-28 12:35:23 -07:00
core Replace `Config.get` with three individual methods 2017-05-03 03:00:56 -07:00
dependencies Introduce HasteImpl 2017-02-27 14:04:58 -08:00
eject Eject CLI command to re-create native folders 2017-02-03 12:58:46 -08:00
generator CLI: Add support for templates fetched from npm 2017-02-27 14:04:57 -08:00
init CLI: Add support for project templates 2017-02-06 12:31:25 -08:00
install Use Yarn for Install/Uninstall CLI if available 2017-02-02 05:13:33 -08:00
library Fix lint in local-cli 2016-11-21 10:28:34 -08:00
link match plist indentation with xcode format 2017-03-31 03:03:10 -07:00
logAndroid Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
logIOS Use native Promise in local-cli 2016-11-21 10:28:34 -08:00
runAndroid Allow configuring the app source folder for android 2017-04-11 12:25:39 -07:00
runIOS Fix run-ios when specifying a scheme as cli arg 2017-04-19 11:30:36 -07:00
server packager: Server: remove last declareOpts usage and replace by Flow types 2017-05-03 03:31:30 -07:00
templates Deploy v0.45.0 2017-04-27 17:20:46 -07:00
upgrade New upgrading process, relying on Git 2016-11-28 08:28:35 -08:00
util Replace `Config.get` with three individual methods 2017-05-03 03:00:56 -07:00
.eslintrc Support copy to clipboard on Windows 2017-01-19 16:28:39 -08:00
cli.js packager: centralize babelRegisterOnly callsites 2017-01-06 06:13:54 -08:00
cliEntry.js Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
commands.js Eject CLI command to re-create native folders 2017-02-03 12:58:46 -08:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh Change ulimit to 2048 for non root Mac users 2016-02-06 11:45:37 -08:00
wrong-react-native.js Fix usage of react-native cli inside package.json scripts 2016-04-26 15:42:35 -07:00