Skip to content

Commit 78cdece

Browse files
committed
Fix paper CI (#3677)
Recently we've bumped our example apps to react-native 0.81. However, updating expo also bumped versions of **Reanimated** and **Slider** to ones that support only new arch, thus paper CI started to fail. This PR downgrades those libraries. Tested on expo-example app
1 parent bbf184d commit 78cdece

File tree

4 files changed

+18
-20
lines changed

4 files changed

+18
-20
lines changed

apps/common-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@react-native-community/cli": "18.0.0",
3535
"@react-native-community/cli-platform-android": "18.0.0",
3636
"@react-native-community/cli-platform-ios": "18.0.0",
37-
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A5.0.0#~/.yarn/patches/@react-native-community-slider-npm-5.0.0-32e63cc751.patch",
37+
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A4.5.7#~/.yarn/patches/@react-native-community-slider-npm-4.5.7-658e0e58c9.patch",
3838
"@react-native-community/viewpager": "5.0.11",
3939
"@react-native/babel-preset": "0.79.0",
4040
"@react-native/eslint-config": "0.79.0",

apps/expo-example/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"dependencies": {
1414
"@expo/metro-runtime": "~6.0.2",
1515
"@react-native-async-storage/async-storage": "2.2.0",
16-
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A5.0.0#~/.yarn/patches/@react-native-community-slider-npm-5.0.0-32e63cc751.patch",
16+
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A4.5.7#~/.yarn/patches/@react-native-community-slider-npm-4.5.7-658e0e58c9.patch",
1717
"@react-native-community/viewpager": "5.0.11",
1818
"@react-navigation/elements": "^2.3.8",
1919
"@react-navigation/native": "^7.1.6",
@@ -27,12 +27,11 @@
2727
"react-dom": "19.1.0",
2828
"react-native": "0.81.0",
2929
"react-native-gesture-handler": "workspace:*",
30-
"react-native-reanimated": "~4.0.2",
30+
"react-native-reanimated": "^3.19.1",
3131
"react-native-safe-area-context": "~5.6.0",
3232
"react-native-screens": "~4.14.0",
3333
"react-native-svg": "15.12.1",
34-
"react-native-web": "^0.21.0",
35-
"react-native-worklets": "~0.4.1"
34+
"react-native-web": "^0.21.0"
3635
},
3736
"devDependencies": {
3837
"@babel/core": "^7.25.2",

yarn.lock

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3463,17 +3463,17 @@ __metadata:
34633463
languageName: node
34643464
linkType: hard
34653465

3466-
"@react-native-community/slider@npm:5.0.0":
3467-
version: 5.0.0
3468-
resolution: "@react-native-community/slider@npm:5.0.0"
3469-
checksum: 10c0/8f59c6eea37f0b28cb671aa611521c5156349b8de7ff481d17ef13a5a459308db730151a7790df6974231c59667b94373df986c5e2691a648dc6e5b1553e1dd9
3466+
"@react-native-community/slider@npm:4.5.7":
3467+
version: 4.5.7
3468+
resolution: "@react-native-community/slider@npm:4.5.7"
3469+
checksum: 10c0/9154c88972eb97ecb53190ff215148b41ec195619991e51061f543dc67c8b2463d1d195dd9c166755b8db1cc4d5a1ae8a152c3ecd5d3285cc4a14c35fddb3716
34703470
languageName: node
34713471
linkType: hard
34723472

3473-
"@react-native-community/slider@patch:@react-native-community/slider@npm%3A5.0.0#~/.yarn/patches/@react-native-community-slider-npm-5.0.0-32e63cc751.patch":
3474-
version: 5.0.0
3475-
resolution: "@react-native-community/slider@patch:@react-native-community/slider@npm%3A5.0.0#~/.yarn/patches/@react-native-community-slider-npm-5.0.0-32e63cc751.patch::version=5.0.0&hash=190821"
3476-
checksum: 10c0/2162689f7ff01cc53f0038f6f826f8b36811cccddeb7838aef43dbbd07ee7149a29e66f3524e364c92d723e2e06ec19ead179a7ac6ffa8493309c155f2a91266
3473+
"@react-native-community/slider@patch:@react-native-community/slider@npm%3A4.5.7#~/.yarn/patches/@react-native-community-slider-npm-4.5.7-658e0e58c9.patch":
3474+
version: 4.5.7
3475+
resolution: "@react-native-community/slider@patch:@react-native-community/slider@npm%3A4.5.7#~/.yarn/patches/@react-native-community-slider-npm-4.5.7-658e0e58c9.patch::version=4.5.7&hash=190821"
3476+
checksum: 10c0/80be851a46ef064df27c239a79f1ab9223b9762ce86ec6ccccc89e2095123110d8381f24ae36912d4a2e9e828ca0e3ca5c56f3ebbb551a3156c9a93a1da26398
34773477
languageName: node
34783478
linkType: hard
34793479

@@ -6502,7 +6502,7 @@ __metadata:
65026502
"@react-native-community/cli": "npm:18.0.0"
65036503
"@react-native-community/cli-platform-android": "npm:18.0.0"
65046504
"@react-native-community/cli-platform-ios": "npm:18.0.0"
6505-
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A5.0.0#~/.yarn/patches/@react-native-community-slider-npm-5.0.0-32e63cc751.patch"
6505+
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A4.5.7#~/.yarn/patches/@react-native-community-slider-npm-4.5.7-658e0e58c9.patch"
65066506
"@react-native-community/viewpager": "npm:5.0.11"
65076507
"@react-native/babel-preset": "npm:0.79.0"
65086508
"@react-native/eslint-config": "npm:0.79.0"
@@ -8375,7 +8375,7 @@ __metadata:
83758375
"@babel/core": "npm:^7.25.2"
83768376
"@expo/metro-runtime": "npm:~6.0.2"
83778377
"@react-native-async-storage/async-storage": "npm:2.2.0"
8378-
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A5.0.0#~/.yarn/patches/@react-native-community-slider-npm-5.0.0-32e63cc751.patch"
8378+
"@react-native-community/slider": "patch:@react-native-community/slider@npm%3A4.5.7#~/.yarn/patches/@react-native-community-slider-npm-4.5.7-658e0e58c9.patch"
83798379
"@react-native-community/viewpager": "npm:5.0.11"
83808380
"@react-navigation/elements": "npm:^2.3.8"
83818381
"@react-navigation/native": "npm:^7.1.6"
@@ -8392,12 +8392,11 @@ __metadata:
83928392
react-dom: "npm:19.1.0"
83938393
react-native: "npm:0.81.0"
83948394
react-native-gesture-handler: "workspace:*"
8395-
react-native-reanimated: "npm:~4.0.2"
8395+
react-native-reanimated: "npm:^3.19.1"
83968396
react-native-safe-area-context: "npm:~5.6.0"
83978397
react-native-screens: "npm:~4.14.0"
83988398
react-native-svg: "npm:15.12.1"
83998399
react-native-web: "npm:^0.21.0"
8400-
react-native-worklets: "npm:~0.4.1"
84018400
typescript: "npm:~5.9.2"
84028401
languageName: unknown
84038402
linkType: soft
@@ -14298,7 +14297,7 @@ __metadata:
1429814297
languageName: node
1429914298
linkType: hard
1430014299

14301-
"react-native-reanimated@npm:^3.18.0":
14300+
"react-native-reanimated@npm:^3.18.0, react-native-reanimated@npm:^3.19.1":
1430214301
version: 3.19.1
1430314302
resolution: "react-native-reanimated@npm:3.19.1"
1430414303
dependencies:
@@ -14322,7 +14321,7 @@ __metadata:
1432214321
languageName: node
1432314322
linkType: hard
1432414323

14325-
"react-native-reanimated@npm:^4.0.2, react-native-reanimated@npm:~4.0.2":
14324+
"react-native-reanimated@npm:^4.0.2":
1432614325
version: 4.0.2
1432714326
resolution: "react-native-reanimated@npm:4.0.2"
1432814327
dependencies:
@@ -14432,7 +14431,7 @@ __metadata:
1443214431
languageName: node
1443314432
linkType: hard
1443414433

14435-
"react-native-worklets@npm:^0.4.0, react-native-worklets@npm:~0.4.1":
14434+
"react-native-worklets@npm:^0.4.0":
1443614435
version: 0.4.1
1443714436
resolution: "react-native-worklets@npm:0.4.1"
1443814437
dependencies:

0 commit comments

Comments
 (0)