Skip to content

Commit 77fa524

Browse files
authored
Merge Gesture Handler 3 working branch to main (#3954)
## Description Merges the `next` branch, where the Gesture Handler 3 was developed into `main`.
2 parents 25b88db + f2b71fd commit 77fa524

File tree

604 files changed

+23320
-10626
lines changed

Some content is hidden

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

604 files changed

+23320
-10626
lines changed

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
"@eslint-react/no-array-index-key": "warn",
7272
"@eslint-react/hooks-extra/no-direct-set-state-in-use-effect": "warn",
7373
"@eslint-react/hooks-extra/prefer-use-state-lazy-initialization": "warn",
74+
"@eslint-react/hooks-extra/ensure-custom-hooks-using-other-hooks": "warn",
7475
"no-redeclare": "off",
7576
"@typescript-eslint/no-redeclare": "error",
7677
"no-use-before-define": "off",

.github/workflows/android-build-paper.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/check-archs-consistency.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/docs-check.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
uses: actions/setup-node@v6
2626
with:
2727
node-version: 24
28-
cache: yarn
2928

3029
- name: Install node dependencies
3130
working-directory: ${{ env.WORKING_DIRECTORY }}

.github/workflows/ios-build-paper.yml

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/rngh-api-v3.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Test Gesture Handler 3 API
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- packages/react-native-gesture-handler/src/v3/**
7+
- packages/react-native-gesture-handler/src/__tests__/RelationsTraversal.test.tsx
8+
- packages/react-native-gesture-handler/src/__tests__/API_V3.test.tsx
9+
push:
10+
branches:
11+
- main
12+
workflow_dispatch:
13+
14+
jobs:
15+
check:
16+
if: github.repository == 'software-mansion/react-native-gesture-handler'
17+
18+
runs-on: ubuntu-latest
19+
concurrency:
20+
group: rngh-api-v3-${{ github.ref }}
21+
cancel-in-progress: true
22+
23+
steps:
24+
- name: checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Use Node.js 24
28+
uses: actions/setup-node@v6
29+
with:
30+
node-version: 24
31+
cache: yarn
32+
33+
- name: Install node dependencies
34+
run: yarn --immutable
35+
36+
- name: Run tests
37+
working-directory: packages/react-native-gesture-handler
38+
run: yarn test RelationsTraversal API_V3

.github/workflows/yarn-validation.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ jobs:
4545
**/package.json
4646
**/yarn.lock
4747
files_ignore: |
48-
packages/react-native-gesture-handler/DrawerLayout/package.json
4948
packages/react-native-gesture-handler/ReanimatedDrawerLayout/package.json
50-
packages/react-native-gesture-handler/Swipeable/package.json
5149
packages/react-native-gesture-handler/ReanimatedSwipeable/package.json
5250
packages/react-native-gesture-handler/jest-utils/package.json
5351

.lintstagedrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
"yarn format:android"
77
],
88
"packages/react-native-gesture-handler/apple/**/*.{h,m,mm,cpp}": "yarn format:apple",
9-
"packages/react-native-gesture-handler/src/specs/*.ts": "yarn workspace react-native-gesture-handler sync-architectures"
9+
"packages/react-native-gesture-handler/{shared,android/src}/**/*.{h,cpp}": "yarn format:cpp"
1010
}

.yarn/patches/@react-native-community-slider-npm-4.5.7-658e0e58c9.patch

Lines changed: 0 additions & 42 deletions
This file was deleted.

apps/basic-example/Gemfile.lock

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,27 +5,28 @@ GEM
55
base64
66
nkf
77
rexml
8-
activesupport (7.2.2.1)
8+
activesupport (7.1.5.1)
99
base64
1010
benchmark (>= 0.3)
1111
bigdecimal
12-
concurrent-ruby (~> 1.0, >= 1.3.1)
12+
concurrent-ruby (~> 1.0, >= 1.0.2)
1313
connection_pool (>= 2.2.5)
1414
drb
1515
i18n (>= 1.6, < 2)
1616
logger (>= 1.4.2)
1717
minitest (>= 5.1)
18+
mutex_m
1819
securerandom (>= 0.3)
19-
tzinfo (~> 2.0, >= 2.0.5)
20+
tzinfo (~> 2.0)
2021
addressable (2.8.7)
2122
public_suffix (>= 2.0.2, < 7.0)
2223
algoliasearch (1.27.5)
2324
httpclient (~> 2.8, >= 2.8.3)
2425
json (>= 1.5.1)
2526
atomos (0.1.3)
26-
base64 (0.2.0)
27-
benchmark (0.4.0)
28-
bigdecimal (3.1.9)
27+
base64 (0.3.0)
28+
benchmark (0.4.1)
29+
bigdecimal (3.2.2)
2930
claide (1.1.0)
3031
cocoapods (1.15.2)
3132
addressable (~> 2.8)
@@ -66,8 +67,8 @@ GEM
6667
cocoapods-try (1.2.0)
6768
colored2 (3.1.2)
6869
concurrent-ruby (1.3.3)
69-
connection_pool (2.5.1)
70-
drb (2.2.1)
70+
connection_pool (2.5.3)
71+
drb (2.2.3)
7172
escape (0.0.4)
7273
ethon (0.16.0)
7374
ffi (>= 1.15.0)
@@ -79,7 +80,7 @@ GEM
7980
mutex_m
8081
i18n (1.14.7)
8182
concurrent-ruby (~> 1.0)
82-
json (2.10.2)
83+
json (2.12.2)
8384
logger (1.7.0)
8485
minitest (5.25.5)
8586
molinillo (0.8.0)
@@ -91,7 +92,7 @@ GEM
9192
public_suffix (4.0.7)
9293
rexml (3.4.1)
9394
ruby-macho (2.5.1)
94-
securerandom (0.4.1)
95+
securerandom (0.3.2)
9596
typhoeus (1.4.1)
9697
ethon (>= 0.9.0)
9798
tzinfo (2.0.6)
@@ -121,4 +122,4 @@ RUBY VERSION
121122
ruby 3.3.5p100
122123

123124
BUNDLED WITH
124-
2.5.23
125+
2.4.7

0 commit comments

Comments
 (0)