[change] Organize unimplemented modules in directories

Creates a {path}/index.js for each module that has no web
implementation. This enables the babel preset to rewrite all paths and
prevent apps from bundling unused modules.

Fix #1281
Close #1282
This commit is contained in:
Evan Bacon
2019-03-11 20:48:25 -07:00
committed by Nicolas Gallagher
parent 5e9449e893
commit 2a418bed0c
32 changed files with 107 additions and 33 deletions
@@ -1,55 +1,82 @@
// THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.
module.exports = {
AccessibilityInfo: true,
ActionSheetIOS: true,
ActivityIndicator: true,
Alert: true,
AlertIOS: true,
Animated: true,
AppRegistry: true,
AppState: true,
AsyncStorage: true,
BackHandler: true,
Button: true,
CameraRoll: true,
CheckBox: true,
Clipboard: true,
ColorPropType: true,
DatePickerAndroid: true,
DatePickerIOS: true,
DeviceInfo: true,
Dimensions: true,
DrawerLayoutAndroid: true,
Easing: true,
EdgeInsetsPropType: true,
FlatList: true,
I18nManager: true,
Image: true,
ImageBackground: true,
ImageEditor: true,
ImagePickerIOS: true,
ImageStore: true,
InputAccessoryView: true,
InteractionManager: true,
Keyboard: true,
KeyboardAvoidingView: true,
LayoutAnimation: true,
Linking: true,
ListView: true,
MaskedViewIOS: true,
Modal: true,
NativeEventEmitter: true,
NativeModules: true,
NavigatorIOS: true,
NetInfo: true,
PanResponder: true,
PermissionsAndroid: true,
Picker: true,
PickerIOS: true,
PixelRatio: true,
Platform: true,
PointPropType: true,
ProgressBar: true,
ProgressBarAndroid: true,
ProgressViewIOS: true,
PushNotificationIOS: true,
RefreshControl: true,
SafeAreaView: true,
ScrollView: true,
SectionList: true,
SegmentedControlIOS: true,
Settings: true,
Share: true,
Slider: true,
SnapshotViewIOS: true,
StatusBar: true,
StatusBarIOS: true,
StyleSheet: true,
SwipeableFlatList: true,
SwipeableListView: true,
Switch: true,
Systrace: true,
TVEventHandler: true,
TabBarIOS: true,
Text: true,
TextInput: true,
TextPropTypes: true,
TimePickerAndroid: true,
ToastAndroid: true,
ToolbarAndroid: true,
Touchable: true,
TouchableHighlight: true,
TouchableNativeFeedback: true,
@@ -57,9 +84,12 @@ module.exports = {
TouchableWithoutFeedback: true,
UIManager: true,
Vibration: true,
VibrationIOS: true,
View: true,
ViewPagerAndroid: true,
ViewPropTypes: true,
VirtualizedList: true,
WebView: true,
YellowBox: true,
createElement: true,
findNodeHandle: true,