react-native/local-cli/core
Bhuwan Khattar 234f4f538d Introduce HasteImpl
Summary:
Similar to https://github.com/facebook/jest/pull/2877, this introduces an optional config `HasteImpl` of type `{getHasteName(filePath: string): (string|void)}` that returns the haste name for a module at filePath if it is a haste module or undefined otherwise.

This allows us to inject a custom implementation of haste's module id resolution rather than only relying on `providesModule` annotations

Reviewed By: davidaurelio

Differential Revision: D4589372

fbshipit-source-id: 4d1983dfbf09c9d67faf725e86ae86ab42433b7d
2017-02-27 14:04:58 -08:00
..
__fixtures__ Update React Native minimum OS version to iOS8 2016-09-01 19:43:47 -07:00
__tests__ Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
android Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
ios Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
windows Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
default.config.js Add symlinks under node_modules as part of projectRoots 2017-01-31 03:43:39 -08:00
findAssets.js Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00
findPlugins.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
index.js Introduce HasteImpl 2017-02-27 14:04:58 -08:00
makeCommand.js Fix lint in local-cli 2016-11-14 11:13:42 -08:00
wrapCommands.js Merge `rnpm config` with the `cli config`, step 1 2017-01-09 07:58:33 -08:00