react-native/local-cli
Miguel Jimenez Esun 6dd9d16833 Move Array<string> to $ReadOnlyArray<string>. Separate polyfill list into a file.
Summary: Move the returned type of `getPolyfills` from a standard `Array` to a read-only one, so that we make sure the array is not modified once created. Also, refactor the list of polyfills included by default to a generic, central file, then require it both from the CLI utils as well as the development server.

Reviewed By: jeanlauliac

Differential Revision: D5406553

fbshipit-source-id: ab980288bb1c625338de469da77dd6fc70bcedbc
2017-07-13 03:38:23 -07:00
..
__mocks__ Fix lint in local-cli 2016-11-14 11:13:42 -08:00
bundle Packager postprocessing hook 2017-06-26 10:31:57 -07:00
core react-native link support for native Android modules developed in Kotlin 2017-06-29 01:15:36 -07:00
dependencies Add --maxWorkers flag and allow transformers to run in-band. 2017-06-13 09:16:03 -07: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 new-library to copy to current project 2017-05-29 12:46:08 -07:00
link Support additional dependency declaration format 2017-07-11 11:18:56 -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 Move packager launcher scripts outside of `packager/` 2017-05-23 16:17:09 -07:00
runIOS Run eslint on all js files 2017-07-12 14:09:53 -07:00
server Move Array<string> to $ReadOnlyArray<string>. Separate polyfill list into a file. 2017-07-13 03:38:23 -07:00
templates @allow-large-files Flow v0.49 2017-06-28 21:32:48 -07:00
upgrade New upgrading process, relying on Git 2016-11-28 08:28:35 -08:00
util Move Array<string> to $ReadOnlyArray<string>. Separate polyfill list into a file. 2017-07-13 03:38:23 -07:00
.eslintrc disable `no-alert` eslint rule for node code 2017-05-03 06:51:47 -07:00
cli.js packager: centralize babelRegisterOnly callsites 2017-01-06 06:13:54 -08:00
cliEntry.js Stronger config types 2017-05-03 06:51:47 -07:00
commands.js packager: server.js: @flow 2017-05-17 05:03:41 -07:00
setup_env.bat Fix comments on .bat file 2015-10-28 21:36:07 -04:00
setup_env.sh CLI: Adding shebang to setup_env.sh script 2017-05-31 02:46:23 -07:00
wrong-react-native.js Run eslint on all js files 2017-07-12 14:09:53 -07:00