react-native/Libraries/Utilities
Rubén Norte d5e9e55fa3 Remove @providesModule from all modules
Summary:
This PR removes the need for having the `providesModule` tags in all the modules in the repository.

It configures Flow, Jest and Metro to get the module names from the filenames (`Libraries/Animated/src/nodes/AnimatedInterpolation.js` => `AnimatedInterpolation`)

* Checked the Flow configuration by running flow on the project root (no errors):

```
yarn flow
```

* Checked the Jest configuration by running the tests with a clean cache:

```
yarn jest --clearCache && yarn test
```

* Checked the Metro configuration by starting the server with a clean cache and requesting some bundles:

```
yarn run start --reset-cache
curl 'localhost:8081/IntegrationTests/AccessibilityManagerTest.bundle?platform=android'
curl 'localhost:8081/Libraries/Alert/Alert.bundle?platform=ios'
```

[INTERNAL] [FEATURE] [All] - Removed providesModule from all modules and configured tools.
Closes https://github.com/facebook/react-native/pull/18995

Reviewed By: mjesun

Differential Revision: D7729509

Pulled By: rubennorte

fbshipit-source-id: 892f760a05ce1fddb088ff0cd2e97e521fb8e825
2018-04-25 07:37:10 -07:00
..
__mocks__ Update additional license headers 2018-03-08 12:10:14 -08:00
__tests__ Update license headers for MIT license 2018-02-16 18:31:53 -08:00
differ Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
BackAndroid.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
BackHandler.android.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
BackHandler.ios.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
DeviceInfo.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Dimensions.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
HMRClient.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
HMRLoadingView.android.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
HMRLoadingView.ios.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
HeapCapture.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
JSDevSupportModule.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
MatrixMath.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
PerformanceLogger.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
PixelRatio.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Platform.android.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
Platform.ios.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
PlatformOS.android.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
PlatformOS.ios.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
PolyfillFunctions.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
RCTLog.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
SceneTracker.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
binaryToBase64.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
buildStyleInterpolator.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
clamp.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
createStrictShapeTypeChecker.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
deepFreezeAndThrowOnMutationInDev.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
defineLazyObjectProperty.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
deprecatedPropType.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
dismissKeyboard.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
groupByEveryN.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
infoLog.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
logError.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
mapWithSeparator.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
mergeFast.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
mergeIntoFast.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
stringifySafe.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
truncate.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00