Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Libraries/Animated/release/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/lib/
/dist/
/node_modules/
2 changes: 1 addition & 1 deletion lib/README → Libraries/ReactPrivate/README
Original file line number Diff line number Diff line change
@@ -1 +1 @@
JS modules in this folder are forwarding modules to allow React to require React Native internals as node dependencies.
JS modules in this folder are forwarding modules to allow React to require React Native internals.
6 changes: 1 addition & 5 deletions lib/View.js → ...ivate/ReactNativePrivateInitializeCore.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@
* @flow strict-local
*/

'use strict';

// This is a forwarding module to allow React to require React Native internals
// as node dependency
module.exports = require('View');
import '../Core/InitializeCore';
43 changes: 43 additions & 0 deletions Libraries/ReactPrivate/ReactNativePrivateInterface.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @flow strict-local
*/

// flowlint unsafe-getters-setters:off
module.exports = {
get BatchedBridge() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../BatchedBridge/BatchedBridge.js');
},
get ExceptionsManager() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../Core/ExceptionsManager');
},
get Platform() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../Utilities/Platform');
},
get RCTEventEmitter() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../EventEmitter/RCTEventEmitter');
},
get ReactNativeViewConfigRegistry() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../Renderer/shims/ReactNativeViewConfigRegistry');
},
get TextInputState() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../Components/TextInput/TextInputState');
},
get UIManager() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../ReactNative/UIManager');
},
get deepDiffer() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../Utilities/differ/deepDiffer');
},
get deepFreezeAndThrowOnMutationInDev() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../Utilities/deepFreezeAndThrowOnMutationInDev');
},
get flattenStyle() {
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
Comment thread
ide marked this conversation as resolved.
return require('../StyleSheet/flattenStyle');
},
};
15 changes: 0 additions & 15 deletions lib/InitializeJavaScriptAppEngine.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/RCTEventEmitter.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/TextInputState.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/UIManager.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/UIManagerStatTracker.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/deepDiffer.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/deepFreezeAndThrowOnMutationInDev.js

This file was deleted.

15 changes: 0 additions & 15 deletions lib/flattenStyle.js

This file was deleted.