react-native/local-cli
Jeremy Wyld af149b3a11 Correctly reference cwd instead of __dirname
Summary:
This is for issue #7670.  I consider this a typo, but maybe you don't.

In order to see the problem, you need to have the packager search for the configuration in a place that doesn't have one and the default configuration can't be provided.  It's likely that no one is doing this and also why this probably wasn't seen.
Closes https://github.com/facebook/react-native/pull/7671

Differential Revision: D3350412

fbshipit-source-id: 5f9b520f7d5cbc749e2b898e7bbf2cd84d81ace0
2016-05-25 17:43:22 -07:00
..
__mocks__ Fix more tests 2015-09-16 13:05:30 -07:00
__tests__ Temporarily disable cli tests 2015-11-12 07:05:01 -08:00
bundle Terminate startup code with a null byte, too (indexed file random access bundles) 2016-05-17 09:58:44 -07:00
dependencies Upgrade to node-haste@2.10.0 and allow to specify extra node modules 2016-04-28 06:33:27 -07:00
generate Revert "Add folders to attempt to unblock sync" 2015-10-26 22:48:10 +00:00
generator Add .iml to ignore target. 2016-05-23 04:58:24 -07:00
generator-android use RN version from node_modules instead of jcenter 2016-05-25 07:58:23 -07:00
generator-ios Make the root view background color explicit 2016-05-14 22:43:20 -07:00
library Remove 'react-native link' 2016-04-29 05:27:28 -07:00
rnpm Merge rnpm into react-native 2016-05-20 04:58:26 -07:00
runAndroid Setting current working directory for dev server. 2016-05-04 02:45:29 -07:00
runIOS Make iOS project path configurable by parameter in run-ios cli command 2016-04-01 08:03:20 -07:00
server Add index page for packager 2016-05-24 11:58:23 -07:00
upgrade Update upgrade command with 0.26 breaking changes 2016-05-18 07:28:52 -07:00
util Correctly reference cwd instead of __dirname 2016-05-25 17:43:22 -07:00
version Add `--version` to `local-cli/cli.js` 2016-04-29 09:25:32 -07:00
cli.js Use a separate babel config for the local-cli and the packager 2016-05-21 06:58:26 -07:00
cliEntry.js Use a separate babel config for the local-cli and the packager 2016-05-21 06:58:26 -07:00
default.config.js react app root path can be override by env var 'react_native_app_root' 2016-04-07 07:39:22 -07:00
generate-android.js Add license headers to local-cli 2015-10-20 09:55:21 -07:00
generator-utils.js flowconfig adds flow/ folder 2016-03-21 06:26:34 -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