mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Create src/fb_internal/ directory, initially migrate VirtualView (#50965)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50965 While D72228547 has recently disallowed all `./src/*` subpath imports from React Native (functionally, `./src/private/*`), we have a number of APIs that are imported from Meta product code legitimately — e.g. as part of validating under-development React Native features internally in real Meta apps. This diff defines a new, exported `./src/fb_internal/*` subpath via `package.json#exports`, which will allow us to expose select entry points for this purpose. Changelog: [Internal] Reviewed By: rubennorte Differential Revision: D73770609 fbshipit-source-id: 397019669e565b95a86302ef30f80b65a17dcc0d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d2556c3cbd
commit
0968707ef7
@@ -2,6 +2,9 @@
|
||||
; Ignore build cache folder
|
||||
<PROJECT_ROOT>/packages/react-native/sdks/.*
|
||||
|
||||
; Ignore fb_internal modules
|
||||
<PROJECT_ROOT>/packages/react-native/src/fb_internal/.*
|
||||
|
||||
; Ignore the codegen e2e tests
|
||||
<PROJECT_ROOT>/packages/react-native-codegen/e2e/__test_fixtures__/modules/NativeEnumTurboModule.js
|
||||
|
||||
|
||||
@@ -60,6 +60,7 @@
|
||||
"./ReactApple/*": null,
|
||||
"./ReactCommon/*": null,
|
||||
"./sdks/*": null,
|
||||
"./src/fb_internal/*": "./src/fb_internal/*",
|
||||
"./src/*": null,
|
||||
"./third-party-podspecs/*": null,
|
||||
"./types/*": null,
|
||||
|
||||
Reference in New Issue
Block a user