react-native/local-cli
David Aurelio edf1774945 Resolve path at callsite rather than in `Config.loadFile`
Summary:
Resolve path at callsite rather than in `Config.loadFile`

`Config.loadFile` should not expose unexpected behavior as joining paths together. This moves that responsibility to the call site. `path.resolve` returns the second argument if it is an absolute path.

Reviewed By: bestander

Differential Revision: D4986130

fbshipit-source-id: c80a588ffa86011bcd5a2c393ad5d6eedc6c61ae
2017-05-03 06:51:47 -07:00
..
__mocks__ Fix lint in local-cli 2016-11-14 11:13:42 -08:00
bundle Stronger config types 2017-05-03 06:51:47 -07:00
core Resolve path at callsite rather than in `Config.loadFile` 2017-05-03 06:51:47 -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 Stronger config types 2017-05-03 06:51:47 -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 Add additional post process of SourceMap after the minification of JS 2017-05-03 03:45:41 -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 Resolve path at callsite rather than in `Config.loadFile` 2017-05-03 06:51:47 -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 Stronger config types 2017-05-03 06:51:47 -07: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