Skip to content

Commit b01c4d5

Browse files
committed
Merge branch 'main' into fix-text-selectable-in-flatlist
2 parents fb974ce + 402eec8 commit b01c4d5

File tree

1,338 files changed

+92222
-58631
lines changed

Some content is hidden

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

1,338 files changed

+92222
-58631
lines changed

.buckconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11

22
[android]
3-
target = android-29
3+
target = android-30
44

55
[download]
66
max_number_of_retries = 3
77

88
[maven_repositories]
99
central = https://repo1.maven.org/maven2
1010
google = https://maven.google.com/
11-
jcenter = https://jcenter.bintray.com/
1211

1312
[alias]
1413
rntester = //packages/rn-tester/android/app:app

.circleci/Dockerfiles/Dockerfile.android

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# and build a Android application that can be used to run the
1515
# tests specified in the scripts/ directory.
1616
#
17-
FROM reactnativecommunity/react-native-android:2.1
17+
FROM reactnativecommunity/react-native-android:4.0
1818

1919
LABEL Description="React Native Android Test Image"
2020
LABEL maintainer="Héctor Ramos <[email protected]>"

.circleci/config.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ executors:
2727
nodelts:
2828
<<: *defaults
2929
docker:
30+
# Note: Version set separately for Windows builds, see below.
3031
- image: circleci/node:14
3132
nodeprevlts:
3233
<<: *defaults
@@ -35,7 +36,7 @@ executors:
3536
reactnativeandroid:
3637
<<: *defaults
3738
docker:
38-
- image: reactnativecommunity/react-native-android:2.1
39+
- image: reactnativecommunity/react-native-android:4.0
3940
resource_class: "large"
4041
environment:
4142
- TERM: "dumb"
@@ -51,7 +52,7 @@ executors:
5152
reactnativeios:
5253
<<: *defaults
5354
macos:
54-
xcode: &_XCODE_VERSION "12.1.0"
55+
xcode: &_XCODE_VERSION "12.5.0"
5556

5657
# -------------------------
5758
# COMMANDS
@@ -503,14 +504,6 @@ jobs:
503504
command: source scripts/android-setup.sh && launchAVD
504505
background: true
505506

506-
# Keep configuring Android dependencies while AVD boots up
507-
# Note: The yarn gpg key needs to be refreshed to work around https://github.com/yarnpkg/yarn/issues/7866
508-
- run:
509-
name: Install rsync, zip
510-
command: |
511-
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
512-
apt-get update -y && apt-get install rsync zip -y
513-
514507
# Install Buck
515508
- install_buck_tooling
516509

@@ -617,13 +610,20 @@ jobs:
617610
environment:
618611
- ANDROID_HOME: "C:\\Android\\android-sdk"
619612
- ANDROID_NDK: "C:\\Android\\android-sdk\\ndk\\20.1.5948944"
620-
- ANDROID_BUILD_VERSION: 28
621-
- ANDROID_TOOLS_VERSION: 29.0.3
613+
- ANDROID_BUILD_VERSION: 30
614+
- ANDROID_TOOLS_VERSION: 30.0.2
622615
- GRADLE_OPTS: -Dorg.gradle.daemon=false
623-
- NDK_VERSION: 20.1.5948944
616+
- NDK_VERSION: 21.4.7075529
624617
steps:
625618
- checkout
626619

620+
- run:
621+
name: Install Node
622+
# Note: Version set separately for non-Windows builds, see above.
623+
command: |
624+
nvm install 14.17.0
625+
nvm use 14.17.0
626+
627627
# Setup Dependencies
628628
- run:
629629
name: Install Yarn
@@ -900,7 +900,7 @@ workflows:
900900
filters:
901901
branches:
902902
only:
903-
- master
903+
- main
904904
jobs:
905905
- nightly_job
906906

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,12 @@ indent_size = 2
1313
[*.gradle]
1414
indent_size = 4
1515

16+
[*.kts]
17+
indent_size = 4
18+
1619
[BUCK]
1720
indent_size = 4
21+
22+
# Windows files
23+
[*.bat]
24+
end_of_line = crlf

.eslintrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@
2121
"@react-native/codegen/react-native-modules": 2
2222
}
2323
},
24+
{
25+
"files": [
26+
"flow-typed/**/*.js",
27+
],
28+
"rules": {
29+
quotes: 0
30+
}
31+
},
2432
{
2533
"files": [
2634
"**/__fixtures__/**/*.js",

.flowconfig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ flow/
3030
emoji=true
3131

3232
exact_by_default=true
33+
indexed_access=false
34+
35+
format.bracket_spacing=false
3336

3437
module.file_ext=.js
3538
module.file_ext=.json
@@ -47,15 +50,13 @@ suppress_type=$FlowFixMeProps
4750
suppress_type=$FlowFixMeState
4851
suppress_type=$FlowFixMeEmpty
4952

50-
experimental.abstract_locations=true
51-
5253
[lints]
5354
sketchy-null-number=warn
5455
sketchy-null-mixed=warn
5556
sketchy-number=warn
5657
untyped-type-import=warn
5758
nonstrict-import=warn
58-
deprecated-type=warn
59+
deprecated-type=error
5960
unsafe-getters-setters=warn
6061
unnecessary-invariant=warn
6162
signature-verification-failure=warn
@@ -70,4 +71,4 @@ untyped-import
7071
untyped-type-import
7172

7273
[version]
73-
^0.145.0
74+
^0.156.0

.flowconfig.android

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ flow/
3030
emoji=true
3131

3232
exact_by_default=true
33+
indexed_access=false
34+
35+
format.bracket_spacing=false
3336

3437
module.file_ext=.js
3538
module.file_ext=.json
@@ -47,15 +50,13 @@ suppress_type=$FlowFixMeProps
4750
suppress_type=$FlowFixMeState
4851
suppress_type=$FlowFixMeEmpty
4952

50-
experimental.abstract_locations=true
51-
5253
[lints]
5354
sketchy-null-number=warn
5455
sketchy-null-mixed=warn
5556
sketchy-number=warn
5657
untyped-type-import=warn
5758
nonstrict-import=warn
58-
deprecated-type=warn
59+
deprecated-type=error
5960
unsafe-getters-setters=warn
6061
unnecessary-invariant=warn
6162
signature-verification-failure=warn
@@ -70,4 +71,4 @@ untyped-import
7071
untyped-type-import
7172

7273
[version]
73-
^0.145.0
74+
^0.156.0

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Windows files should use crlf line endings
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
*.bat text eol=crlf

.github/label-actions.yml renamed to .github/respond-to-issue-based-on-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Configuration for Label Actions - https://github.com/marketplace/actions/label-actions
1+
# Configuration for Respond To Issue Based on Label https://github.com/marketplace/actions/respond-to-issue-based-on-label
22

33
"Type: Invalid":
44
close: true
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: Label Actions
1+
name: On Issue Labeled
22
# This workflow is triggered when a label is added to an issue.
33
on:
44
issues:
55
types: labeled
66

77
jobs:
8-
processLabelAction:
9-
name: Process Label Action
8+
respondToIssueBasedOnLabel:
9+
name: Respond to Issue Based on Label
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Process Label Action
14-
uses: hramos/label-actions@v1
13+
- name: Respond to Issue Based on Label
14+
uses: hramos/respond-to-issue-based-on-label@v2
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)