Skip to content

Commit 093968e

Browse files
committed
Merge commit '0c4c6ca319fa9dfb23d047e0c7d2a81281d1d8a3' into realize-last-focused
2 parents 75cc358 + 0c4c6ca commit 093968e

File tree

461 files changed

+28727
-20945
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

461 files changed

+28727
-20945
lines changed

.circleci/config.yml

Lines changed: 206 additions & 161 deletions
Large diffs are not rendered by default.

.flowconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ untyped-import
7171
untyped-type-import
7272

7373
[version]
74-
^0.174.1
74+
^0.176.3

.flowconfig.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ untyped-import
7171
untyped-type-import
7272

7373
[version]
74-
^0.174.1
74+
^0.176.3

.github/workflows/needs-attention.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Apply Needs Attention Label
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Apply Needs Attention Label
1414
uses: hramos/needs-attention@v1
1515
with:

.github/workflows/on-issue-labeled.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
name: Respond to Issue Based on Label
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v3
1313
- name: Respond to Issue Based on Label
1414
uses: hramos/respond-to-issue-based-on-label@v2
1515
with:

.github/workflows/stale-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
issues: write
1010
pull-requests: write
1111
steps:
12-
- uses: actions/stale@v4
12+
- uses: actions/stale@v5
1313
with:
1414
repo-token: ${{ secrets.GITHUB_TOKEN }}
1515
days-before-stale: 180

.github/workflows/test-docker-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Test Docker
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Free up space by removing unnecessary folders
1818
run: |
1919
sudo rm -rf /usr/share/dotnet

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ DerivedData
2020
*.ipa
2121
*.xcuserstate
2222
project.xcworkspace
23+
**/.xcode.env.local
2324

2425
# Gradle
2526
/build/

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.7.4
1+
2.7.5

BUCK

Lines changed: 53 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ fb_native.genrule(
5858
) + [
5959
react_native_root_target("packages/rn-tester:nativecomponent-srcs"),
6060
],
61+
labels = ["uses_hg"],
6162
cmd = "$(exe {}) $OUT $SRCS".format(react_native_root_target("packages/react-native-codegen:write_to_json")),
6263
out = "schema-rncore.json",
6364
)
@@ -97,6 +98,7 @@ rn_xplat_cxx_library2(
9798
# it's linked in your app, transparently use it".
9899
labels = [
99100
"depslint_never_remove",
101+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
100102
"supermodule:xplat/default/public.react_native.infra",
101103
],
102104
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode() + [
@@ -153,7 +155,10 @@ rn_xplat_cxx_library2(
153155
frameworks = [
154156
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
155157
],
156-
labels = ["supermodule:xplat/default/public.react_native.infra"],
158+
labels = [
159+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
160+
"supermodule:xplat/default/public.react_native.infra",
161+
],
157162
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode() + ["-DWITH_FBSYSTRACE=1"],
158163
visibility = ["PUBLIC"],
159164
deps = [
@@ -190,7 +195,10 @@ rn_xplat_cxx_library2(
190195
frameworks = [
191196
"$SDKROOT/System/Library/Frameworks/Foundation.framework",
192197
],
193-
labels = ["supermodule:xplat/default/public.react_native.infra"],
198+
labels = [
199+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
200+
"supermodule:xplat/default/public.react_native.infra",
201+
],
194202
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
195203
visibility = ["PUBLIC"],
196204
deps = [
@@ -215,7 +223,10 @@ rn_xplat_cxx_library2(
215223
),
216224
contacts = ["[email protected]"],
217225
fbobjc_enable_exceptions = True,
218-
labels = ["supermodule:xplat/default/public.react_native.infra"],
226+
labels = [
227+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
228+
"supermodule:xplat/default/public.react_native.infra",
229+
],
219230
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
220231
visibility = ["PUBLIC"],
221232
deps = [
@@ -418,6 +429,7 @@ rn_xplat_cxx_library2(
418429
labels = [
419430
"depslint_never_add",
420431
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
432+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
421433
"supermodule:xplat/default/public.react_native.infra",
422434
],
423435
platform_preprocessor_flags = [(
@@ -508,6 +520,7 @@ rn_xplat_cxx_library2(
508520
header_path_prefix = "React",
509521
labels = [
510522
"disable_plugins_only_validation",
523+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
511524
"supermodule:xplat/default/public.react_native.infra",
512525
],
513526
plugins = [
@@ -590,7 +603,10 @@ rn_apple_library(
590603
"$PLATFORM_DIR/Developer/Library/Frameworks/Foundation.framework",
591604
],
592605
inherited_buck_flags = get_static_library_ios_flags(),
593-
labels = ["supermodule:xplat/default/public.react_native.infra"],
606+
labels = [
607+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
608+
"supermodule:xplat/default/public.react_native.infra",
609+
],
594610
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
595611
reexport_all_header_dependencies = True,
596612
deps = [
@@ -660,6 +676,7 @@ rn_apple_library(
660676
contacts = ["[email protected]"],
661677
labels = [
662678
"disable_plugins_only_validation",
679+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
663680
"supermodule:xplat/default/public.react_native.infra",
664681
],
665682
plugins = [react_fabric_component_plugin_provider("Image", "RCTImageCls")],
@@ -690,7 +707,10 @@ rn_xplat_cxx_library2(
690707
},
691708
compiler_flags = ["-Wall"],
692709
contacts = ["[email protected]"],
693-
labels = ["supermodule:xplat/default/public.react_native.infra"],
710+
labels = [
711+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
712+
"supermodule:xplat/default/public.react_native.infra",
713+
],
694714
visibility = ["PUBLIC"],
695715
deps = [
696716
"//xplat/js/react-native-github:RCTImage",
@@ -719,14 +739,18 @@ rn_library(
719739
"Libraries/Components/Switch/SwitchSchema.js",
720740
],
721741
),
722-
labels = ["supermodule:xplat/default/public.react_native.core"],
742+
labels = [
743+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
744+
"supermodule:xplat/default/public.react_native.core",
745+
],
723746
visibility = ["PUBLIC"],
724747
deps = [
725748
"//xplat/js:node_modules__abort_19controller",
726749
"//xplat/js:node_modules__anser",
727750
"//xplat/js:node_modules__base64_19js",
728751
"//xplat/js:node_modules__event_19target_19shim",
729752
"//xplat/js:node_modules__invariant",
753+
"//xplat/js:node_modules__memoize_19one",
730754
"//xplat/js:node_modules__nullthrows",
731755
"//xplat/js:node_modules__pretty_19format",
732756
"//xplat/js:node_modules__promise",
@@ -755,7 +779,10 @@ rn_codegen(
755779
android_package_name = "com.facebook.fbreact.specs",
756780
codegen_modules = True,
757781
ios_assume_nonnull = False,
758-
library_labels = ["supermodule:xplat/default/public.react_native.infra"],
782+
library_labels = [
783+
"supermodule:xplat/default/public.react_native.infra",
784+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
785+
],
759786
native_module_spec_name = "FBReactNativeSpec",
760787
src_prefix = "Libraries/",
761788
)
@@ -765,7 +792,10 @@ rn_codegen(
765792
name = "FBReactNativeComponentSpec",
766793
codegen_components = True,
767794
ios_assume_nonnull = False,
768-
library_labels = ["supermodule:xplat/default/public.react_native.infra"],
795+
library_labels = [
796+
"supermodule:xplat/default/public.react_native.infra",
797+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
798+
],
769799
src_prefix = "Libraries/",
770800
)
771801

@@ -799,6 +829,7 @@ rn_apple_library(
799829
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
800830
"disable_plugins_only_validation",
801831
"extension_api_allow_unsafe_unavailable_usages",
832+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
802833
"supermodule:xplat/default/public.react_native.infra",
803834
],
804835
plugins =
@@ -848,6 +879,7 @@ rn_apple_library(
848879
labels = [
849880
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
850881
"disable_plugins_only_validation",
882+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
851883
"supermodule:xplat/default/public.react_native.infra",
852884
],
853885
plugins =
@@ -906,6 +938,7 @@ rn_apple_library(
906938
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
907939
"disable_plugins_only_validation",
908940
"extension_api_allow_unsafe_unavailable_usages",
941+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
909942
"supermodule:xplat/default/public.react_native.infra",
910943
],
911944
plugins =
@@ -953,6 +986,7 @@ rn_apple_library(
953986
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
954987
"disable_plugins_only_validation",
955988
"extension_api_allow_unsafe_unavailable_usages",
989+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
956990
"supermodule:xplat/default/public.react_native.infra",
957991
],
958992
plugins =
@@ -1004,6 +1038,7 @@ rn_apple_library(
10041038
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
10051039
"disable_plugins_only_validation",
10061040
"extension_api_allow_unsafe_unavailable_usages",
1041+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
10071042
"supermodule:xplat/default/public.react_native.infra",
10081043
],
10091044
plugins =
@@ -1084,6 +1119,7 @@ rn_apple_library(
10841119
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
10851120
"disable_plugins_only_validation",
10861121
"extension_api_allow_unsafe_unavailable_usages",
1122+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
10871123
"supermodule:xplat/default/public.react_native.infra",
10881124
],
10891125
plugins =
@@ -1217,6 +1253,7 @@ rn_xplat_cxx_library2(
12171253
],
12181254
labels = [
12191255
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
1256+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
12201257
"supermodule:xplat/default/public.react_native.infra",
12211258
],
12221259
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
@@ -1249,6 +1286,7 @@ rn_apple_library(
12491286
labels = [
12501287
"depslint_never_remove",
12511288
"disable_plugins_only_validation",
1289+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
12521290
"supermodule:xplat/default/public.react_native.infra",
12531291
],
12541292
plugins = react_module_plugin_providers(
@@ -1289,6 +1327,7 @@ rn_xplat_cxx_library2(
12891327
],
12901328
labels = [
12911329
"depslint_never_remove", # Some old NativeModule still relies on +load unfortunately.
1330+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
12921331
"supermodule:xplat/default/public.react_native.infra",
12931332
],
12941333
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
@@ -1321,6 +1360,7 @@ rn_xplat_cxx_library2(
13211360
],
13221361
labels = [
13231362
"depslint_never_remove",
1363+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
13241364
"supermodule:xplat/default/public.react_native.infra",
13251365
],
13261366
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
@@ -1355,12 +1395,14 @@ rn_xplat_cxx_library2(
13551395
],
13561396
labels = [
13571397
"depslint_never_remove",
1398+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
13581399
"supermodule:xplat/default/public.react_native.infra",
13591400
],
13601401
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
13611402
visibility = ["PUBLIC"],
13621403
deps = [
13631404
"//fbobjc/Libraries/MobileUI/ComponentKit:ComponentKit",
1405+
"//xplat/js/react-native-github:RCTFabric",
13641406
"//xplat/js/react-native-github:RCTLinking",
13651407
"//xplat/js/react-native-github:RCTPushNotification",
13661408
"//xplat/js/react-native-github:ReactInternal",
@@ -1389,13 +1431,15 @@ rn_xplat_cxx_library2(
13891431
],
13901432
labels = [
13911433
"depslint_never_remove",
1434+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
13921435
"supermodule:xplat/default/public.react_native.infra",
13931436
],
13941437
preprocessor_flags = get_objc_arc_preprocessor_flags() + get_preprocessor_flags_for_build_mode(),
13951438
visibility = ["PUBLIC"],
13961439
deps = [
13971440
":RCTSurfaceHostingComponent",
13981441
"//fbobjc/Libraries/MobileUI/ComponentKit:ComponentKit",
1442+
"//xplat/js/react-native-github:RCTFabric",
13991443
"//xplat/js/react-native-github:RCTLinking",
14001444
"//xplat/js/react-native-github:RCTPushNotification",
14011445
"//xplat/js/react-native-github:ReactInternal",
@@ -1409,6 +1453,7 @@ rn_xplat_cxx_library2(
14091453
"React/RCTConvert+CoreLocation.h": RCTVIEWS_PATH + "RCTConvert+CoreLocation.h",
14101454
},
14111455
labels = [
1456+
"pfh:ReactNative_CommonInfrastructurePlaceholder",
14121457
"supermodule:xplat/default/public.react_native.infra",
14131458
],
14141459
visibility = [

0 commit comments

Comments
 (0)