forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate "Libraries" from Haste to standard path-based requires (sans …
…vendor & renderers) (facebook#24749) Summary: This is the next step in moving RN towards standard path-based requires. All the requires in `Libraries` have been rewritten to use relative requires with a few exceptions, namely, `vendor` and `Renderer/oss` since those need to be changed upstream. 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. See the umbrella issue at facebook#24316 for more detail. [General] [Changed] - Migrate "Libraries" from Haste to standard path-based requires Pull Request resolved: facebook#24749 Differential Revision: D15258017 Pulled By: cpojer fbshipit-source-id: a1f480ea36c05c659b6f37c8f02f6f9216d5a323 # Conflicts: # Libraries/AppState/AppState.js # Libraries/Blob/__tests__/URL-test.js # Libraries/Components/CheckBox/CheckBox.android.js # Libraries/Components/DatePicker/__tests__/DatePickerIOS-test.js # Libraries/Components/DrawerAndroid/DrawerLayoutAndroid.android.js # Libraries/Components/DrawerAndroid/__tests__/DrawerAndroid-test.js # Libraries/Components/MaskedView/__tests__/MaskedViewIOS-test.js # Libraries/Components/Picker/__tests__/Picker-test.js # Libraries/Components/ProgressBarAndroid/__tests__/ProgressBarAndroid-test.js # Libraries/Components/ProgressViewIOS/__tests__/ProgressViewIOS-test.js # Libraries/Components/SafeAreaView/SafeAreaView.js # Libraries/Components/SafeAreaView/__tests__/SafeAreaView-test.js # Libraries/Components/ScrollView/ScrollView.js # Libraries/Components/Slider/RCTSliderNativeComponent.js # Libraries/Components/TextInput/__tests__/InputAccessoryView-test.js # Libraries/Components/Touchable/TouchableWithoutFeedback.js # Libraries/Components/UnimplementedViews/UnimplementedNativeView.js # Libraries/Components/View/View.js # Libraries/Components/View/ViewPropTypes.js # Libraries/Core/Devtools/setupDevtools.js # Libraries/Core/InitializeCore.js # Libraries/Core/SegmentFetcher/NativeSegmentFetcher.js # Libraries/Core/setUpBatchedBridge.js # Libraries/Core/setUpSegmentFetcher.js # Libraries/Core/setUpXHR.js # Libraries/Image/__tests__/Image-test.js # Libraries/Inspector/PerformanceOverlay.js # Libraries/Interaction/JSEventLoopWatchdog.js # Libraries/Linking/Linking.js # Libraries/Lists/SectionList.js # Libraries/Lists/__tests__/VirtualizedSectionList-test.js # Libraries/Modal/__tests__/Modal-test.js # Libraries/Network/RCTNetworking.android.js # Libraries/Network/RCTNetworking.ios.js # Libraries/ReactNative/AppRegistry.js # Libraries/ReactNative/FabricUIManager.js # Libraries/ReactNative/renderApplication.js # Libraries/Text/TextProps.js # Libraries/TurboModule/samples/NativeSampleTurboModule.js # Libraries/Utilities/GlobalPerformanceLogger.js # Libraries/Utilities/PerformanceLoggerContext.js # Libraries/Utilities/__tests__/DeviceInfo-test.js # Libraries/Utilities/__tests__/Dimensions-test.js # Libraries/Utilities/__tests__/PerformanceLogger-test.js # Libraries/Utilities/__tests__/PixelRatio-test.js # Libraries/Utilities/__tests__/binaryToBase64-test.js # Libraries/Utilities/__tests__/clamp-test.js # Libraries/Utilities/__tests__/infoLog-test.js # Libraries/Utilities/__tests__/logError-test.js # Libraries/Utilities/__tests__/mergeIntoFast-test.js # Libraries/Utilities/__tests__/stringifySafe-test.js # Libraries/Utilities/__tests__/warnOnce-test.js # Libraries/Utilities/createPerformanceLogger.js # Libraries/YellowBox/YellowBox.js # Libraries/promiseRejectionIsError.js # packages/react-native-codegen/src/Helpers.js
- Loading branch information
Showing
347 changed files
with
1,401 additions
and
1,333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.