Commit d24539b
committed
[standards] Convert "Libraries" from Haste to standard path-based requires
This is the next step in moving RN towards standard path-based requires. All the requires in `Libraries` have been rewritten to use relative requirs. This commit uses relative requires instead of `react-native/...` so that if Facebook were to stop syncing out certain folders and therefore remove code from the react-native package, internal code at Facebook would not need to change.
Test plan: Prettier/Lint, Jest tests, loaded RNTester1 parent ff9f8f3 commit d24539b
File tree
374 files changed
+1564
-1492
lines changed- Libraries
- ART
- ActionSheetIOS
- Alert
- Animated/src
- __tests__
- animations
- components
- nodes
- AppState
- BatchedBridge
- __tests__
- Blob
- __tests__
- BugReporting
- CameraRoll
- Components
- AccessibilityInfo
- ActivityIndicator
- __tests__
- AppleTV
- CheckBox
- Clipboard
- DatePickerAndroid
- DatePicker
- __tests__
- DrawerAndroid
- __tests__
- Keyboard
- __tests__
- MaskedView
- __tests__
- Picker
- __tests__
- ProgressBarAndroid
- __tests__
- ProgressViewIOS
- __tests__
- RefreshControl
- __mocks__
- SafeAreaView
- __tests__
- ScrollView
- __mocks__
- SegmentedControlIOS
- Slider
- StatusBar
- Switch
- TextInput
- __tests__
- TimePickerAndroid
- ToastAndroid
- ToolbarAndroid
- Touchable
- __tests__
- UnimplementedViews
- ViewPager
- View
- Core
- Devtools
- __tests__
- SegmentFetcher
- Timers
- __tests__
- DeprecatedPropTypes
- EventEmitter
- __mocks__
- Experimental
- Image
- __tests__
- Inspector
- Interaction
- __tests__
- JSInspector
- LayoutAnimation
- Linking
- Lists
- __flowtests__
- __tests__
- Modal
- __tests__
- Network
- __tests__
- Performance
- PermissionsAndroid
- PushNotificationIOS
- ReactNative
- Renderer/shims
- Sample
- Settings
- Storage
- StyleSheet
- __flowtests__
- __tests__
- Text
- TurboModule
- samples
- Utilities
- __mocks__
- __tests__
- differ/__tests__
- Vibration
- WebSocket
- __tests__
- YellowBox
- Data
- __tests__
- UI
- __tests__
- react-native
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
374 files changed
+1564
-1492
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
0 commit comments