Skip to content

Commit 6ed7999

Browse files
authored
chore: Bump dependencies to RN 0.79 (#346)
## Description This PR bumps example apps to their latest dependencies (all except expo are bumped to RN 0.79) ## Current state || Fabric (iOS) | Fabric (Android) | Paper (iOS) | Paper (Android) | Expo (iOS) | Expo (Android) | Web | |-|-|-|-|-|-|-|-| | Builds | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | Runs | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
1 parent 7a84ce3 commit 6ed7999

25 files changed

Lines changed: 2161 additions & 1146 deletions

File tree

.yarn/patches/@shopify-flash-list-npm-1.7.3-7375409ff4.patch renamed to .yarn/patches/@shopify-flash-list-npm-1.8.0-54e02d8f74.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/package.json b/package.json
2-
index 0ca6e73a4ff68b4a36431ff81c92f3a2556b622b..7969dd1d42881e7e91a20b6248cdb7a6ae9455e8 100644
2+
index 8b58f544c6b3af49d3d21e7eb961f05e54a5d473..de27d901486465b3b9a877f63f507193dffe7e49 100644
33
--- a/package.json
44
+++ b/package.json
55
@@ -26,6 +26,7 @@
@@ -11,7 +11,7 @@ index 0ca6e73a4ff68b4a36431ff81c92f3a2556b622b..7969dd1d42881e7e91a20b6248cdb7a6
1111
"scripts": {
1212
"up": "bundle install && yarn fixture:rn:up && yarn e2e:up && yarn build",
1313
diff --git a/src/FlashList.tsx b/src/FlashList.tsx
14-
index 0e9f071a53d113e85f3099ccf239d1f3d06361b6..0d8da0f444a5cc291621732369e71e0b693b4ff3 100644
14+
index 05cf1af2809c289807efe4386f4a28b9b04c517c..6a5904793207f8ae5df659c2c59b2f5b60d95cfc 100644
1515
--- a/src/FlashList.tsx
1616
+++ b/src/FlashList.tsx
1717
@@ -4,6 +4,7 @@ import {

.yarn/patches/react-native-reanimated-npm-3.17.1-c34570df61.patch renamed to .yarn/patches/react-native-reanimated-npm-3.17.3-81013de197.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
diff --git a/lib/module/layoutReanimation/web/componentUtils.js b/lib/module/layoutReanimation/web/componentUtils.js
2-
index c3623f90862b4413ce6d77bb04496ad2fecb3125..fc64b7906cefb041de25e859f3071f4413054d59 100644
2+
index c3623f90862b4413ce6d77bb04496ad2fecb3125..1ebfd2a5579b6bbfd19b343e0484a6ca935652d5 100644
33
--- a/lib/module/layoutReanimation/web/componentUtils.js
44
+++ b/lib/module/layoutReanimation/web/componentUtils.js
55
@@ -109,6 +109,7 @@ export function setElementAnimation(element, animationConfig, shouldSavePosition
66
element.style.animationDuration = `${duration}s`;
77
element.style.animationDelay = `${delay}s`;
88
element.style.animationTimingFunction = easing;
9-
+ element.style.animationFillMode = 'backwards';
9+
+ element.style.animationFillMode = "backwards";
1010
};
1111
if (animationConfig.animationType === LayoutAnimationType.ENTERING) {
1212
// On chrome sometimes entering animations flicker. This is most likely caused by animation being interrupted
1313
diff --git a/src/layoutReanimation/web/componentUtils.ts b/src/layoutReanimation/web/componentUtils.ts
14-
index 53bfae44e3dfee63f2fbc86566f99d1f586396d1..55de122b3c4dbb4208c5c3101d63a1444fe31734 100644
14+
index 53bfae44e3dfee63f2fbc86566f99d1f586396d1..99ebb1b9bdad6299cc75a848fb2e1f525213dee9 100644
1515
--- a/src/layoutReanimation/web/componentUtils.ts
1616
+++ b/src/layoutReanimation/web/componentUtils.ts
1717
@@ -163,6 +163,7 @@ export function setElementAnimation(
1818
element.style.animationDuration = `${duration}s`;
1919
element.style.animationDelay = `${delay}s`;
2020
element.style.animationTimingFunction = easing;
21-
+ element.style.animationFillMode = 'backwards';
21+
+ element.style.animationFillMode = "backwards";
2222
};
2323

2424
if (animationConfig.animationType === LayoutAnimationType.ENTERING) {

example/app/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
"@react-native-async-storage/async-storage": "^1.24.0",
88
"@react-navigation/native": "7.0.14",
99
"@react-navigation/native-stack": "7.2.0",
10-
"@shopify/flash-list": "patch:@shopify/flash-list@npm%3A1.7.3#~/.yarn/patches/@shopify-flash-list-npm-1.7.3-7375409ff4.patch",
10+
"@shopify/flash-list": "patch:@shopify/flash-list@npm%3A1.8.0#~/.yarn/patches/@shopify-flash-list-npm-1.8.0-54e02d8f74.patch",
1111
"react": "19.0.0",
12-
"react-native": "0.78.0",
13-
"react-native-gesture-handler": "2.24.0",
12+
"react-native": "0.79.0",
13+
"react-native-gesture-handler": "2.25.0",
1414
"react-native-haptic-feedback": "^2.3.3",
15-
"react-native-reanimated": "patch:react-native-reanimated@npm%3A3.17.1#~/.yarn/patches/react-native-reanimated-npm-3.17.1-c34570df61.patch",
15+
"react-native-reanimated": "patch:react-native-reanimated@npm%3A3.17.3#~/.yarn/patches/react-native-reanimated-npm-3.17.3-81013de197.patch",
1616
"react-native-safe-area-context": "5.3.0",
17-
"react-native-screens": "4.9.1",
17+
"react-native-screens": "4.10.0",
1818
"react-native-sortables": "workspace:*",
1919
"react-native-svg": "15.11.2"
2020
},
@@ -23,11 +23,11 @@
2323
"@babel/preset-env": "^7.25.3",
2424
"@babel/runtime": "^7.25.0",
2525
"@gorhom/portal": "^1.0.14",
26-
"@react-native-community/cli": "15.0.1",
27-
"@react-native-community/cli-platform-android": "17.0.0",
28-
"@react-native-community/cli-platform-ios": "15.0.1",
29-
"@react-native/babel-preset": "0.78.0",
30-
"@react-native/metro-config": "0.78.0",
26+
"@react-native-community/cli": "18.0.0",
27+
"@react-native-community/cli-platform-android": "18.0.0",
28+
"@react-native-community/cli-platform-ios": "18.0.0",
29+
"@react-native/babel-preset": "0.79.0",
30+
"@react-native/metro-config": "0.79.0",
3131
"@testing-library/react-hooks": "^8.0.1",
3232
"@testing-library/react-native": "^12.5.1",
3333
"@types/react": "^19.0.0",

example/app/src/components/misc/SettingsList.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import Animated, { FadeOut } from 'react-native-reanimated';
44

55
import { spacing, text } from '@/theme';
66

7-
import type { SwitchOptions } from '../inputs';
8-
import { CheckBox, Switch } from '../inputs';
7+
import CheckBox from '../inputs/CheckBox';
8+
import type { SwitchOptions } from '../inputs/Switch';
9+
import Switch from '../inputs/Switch';
910

1011
type AnySettings = Record<string, SwitchOptions>;
1112

example/expo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "example-expo",
33
"version": "1.0.0",
44
"dependencies": {
5-
"expo": "~52.0.36",
5+
"expo": "~52.0.42",
66
"expo-status-bar": "~2.0.1",
77
"react": "18.3.1",
8-
"react-native": "0.76.7",
8+
"react-native": "0.76.9",
99
"react-native-gesture-handler": "~2.20.2",
1010
"react-native-reanimated": "~3.16.1"
1111
},

example/fabric/Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
88
gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
99
gem 'xcodeproj', '< 1.26.0'
1010
gem 'concurrent-ruby', '< 1.3.4'
11+
12+
# Ruby 3.4.0 has removed some libraries from the standard library.
13+
gem 'bigdecimal'
14+
gem 'logger'
15+
gem 'benchmark'
16+
gem 'mutex_m'

example/fabric/Gemfile.lock

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ GEM
1414
httpclient (~> 2.8, >= 2.8.3)
1515
json (>= 1.5.1)
1616
atomos (0.1.3)
17+
benchmark (0.4.0)
18+
bigdecimal (3.1.9)
1719
claide (1.1.0)
1820
cocoapods (1.14.3)
1921
addressable (~> 2.8)
@@ -65,8 +67,10 @@ GEM
6567
i18n (1.14.1)
6668
concurrent-ruby (~> 1.0)
6769
json (2.7.1)
70+
logger (1.7.0)
6871
minitest (5.20.0)
6972
molinillo (0.8.0)
73+
mutex_m (0.3.0)
7074
nanaimo (0.3.0)
7175
nap (1.1.0)
7276
netrc (0.11.0)
@@ -90,8 +94,12 @@ PLATFORMS
9094

9195
DEPENDENCIES
9296
activesupport (>= 6.1.7.5, != 7.1.0)
97+
benchmark
98+
bigdecimal
9399
cocoapods (>= 1.13, != 1.15.1, != 1.15.0)
94100
concurrent-ruby (< 1.3.4)
101+
logger
102+
mutex_m
95103
xcodeproj (< 1.26.0)
96104

97105
RUBY VERSION
122 Bytes
Binary file not shown.

example/fabric/android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

example/fabric/android/gradlew

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)