Skip to content

Commit 2629a17

Browse files
committed
chore(dependencies): adds react-native-reanimated in dependencies
1 parent 079c5b2 commit 2629a17

File tree

5 files changed

+50
-21
lines changed

5 files changed

+50
-21
lines changed

babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
22
presets: ['module:@react-native/babel-preset'],
3+
plugins: ['react-native-reanimated/plugin'],
34
}

example/babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
module.exports = {
22
presets: ['module:@react-native/babel-preset'],
3+
plugins: ['react-native-reanimated/plugin'],
34
}

example/metro.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const path = require('path')
22
const escape = require('escape-string-regexp')
33
const { getDefaultConfig } = require('@react-native/metro-config')
44
const exclusionList = require('metro-config/src/defaults/exclusionList')
5+
const { wrapWithReanimatedMetroConfig } = require('react-native-reanimated/metro-config')
56
const pak = require('../package.json')
67

78
const root = path.resolve(__dirname, '..')
@@ -38,4 +39,4 @@ const config = {
3839
},
3940
}
4041

41-
module.exports = config
42+
module.exports = wrapWithReanimatedMetroConfig(config)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
},
5151
"dependencies": {
5252
"lodash.debounce": "^4.0.8",
53-
"react-native-animatable": "^1.4.0",
5453
"react-native-feather": "^1.1.2",
54+
"react-native-reanimated": "^3.17.5",
5555
"react-native-size-matters": "^0.4.2"
5656
},
5757
"devDependencies": {

yarn.lock

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ __metadata:
610610
languageName: node
611611
linkType: hard
612612

613-
"@babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.27.1":
613+
"@babel/plugin-transform-arrow-functions@npm:^7.0.0-0, @babel/plugin-transform-arrow-functions@npm:^7.24.7, @babel/plugin-transform-arrow-functions@npm:^7.27.1":
614614
version: 7.27.1
615615
resolution: "@babel/plugin-transform-arrow-functions@npm:7.27.1"
616616
dependencies:
@@ -669,7 +669,7 @@ __metadata:
669669
languageName: node
670670
linkType: hard
671671

672-
"@babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.27.1":
672+
"@babel/plugin-transform-class-properties@npm:^7.0.0-0, @babel/plugin-transform-class-properties@npm:^7.25.4, @babel/plugin-transform-class-properties@npm:^7.27.1":
673673
version: 7.27.1
674674
resolution: "@babel/plugin-transform-class-properties@npm:7.27.1"
675675
dependencies:
@@ -693,7 +693,7 @@ __metadata:
693693
languageName: node
694694
linkType: hard
695695

696-
"@babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.27.1":
696+
"@babel/plugin-transform-classes@npm:^7.0.0-0, @babel/plugin-transform-classes@npm:^7.25.4, @babel/plugin-transform-classes@npm:^7.27.1":
697697
version: 7.27.1
698698
resolution: "@babel/plugin-transform-classes@npm:7.27.1"
699699
dependencies:
@@ -954,7 +954,7 @@ __metadata:
954954
languageName: node
955955
linkType: hard
956956

957-
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.27.1":
957+
"@babel/plugin-transform-nullish-coalescing-operator@npm:^7.0.0-0, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.24.7, @babel/plugin-transform-nullish-coalescing-operator@npm:^7.27.1":
958958
version: 7.27.1
959959
resolution: "@babel/plugin-transform-nullish-coalescing-operator@npm:7.27.1"
960960
dependencies:
@@ -1012,7 +1012,7 @@ __metadata:
10121012
languageName: node
10131013
linkType: hard
10141014

1015-
"@babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.27.1":
1015+
"@babel/plugin-transform-optional-chaining@npm:^7.0.0-0, @babel/plugin-transform-optional-chaining@npm:^7.24.8, @babel/plugin-transform-optional-chaining@npm:^7.27.1":
10161016
version: 7.27.1
10171017
resolution: "@babel/plugin-transform-optional-chaining@npm:7.27.1"
10181018
dependencies:
@@ -1192,7 +1192,7 @@ __metadata:
11921192
languageName: node
11931193
linkType: hard
11941194

1195-
"@babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.27.1":
1195+
"@babel/plugin-transform-shorthand-properties@npm:^7.0.0-0, @babel/plugin-transform-shorthand-properties@npm:^7.24.7, @babel/plugin-transform-shorthand-properties@npm:^7.27.1":
11961196
version: 7.27.1
11971197
resolution: "@babel/plugin-transform-shorthand-properties@npm:7.27.1"
11981198
dependencies:
@@ -1237,7 +1237,7 @@ __metadata:
12371237
languageName: node
12381238
linkType: hard
12391239

1240-
"@babel/plugin-transform-template-literals@npm:^7.27.1":
1240+
"@babel/plugin-transform-template-literals@npm:^7.0.0-0, @babel/plugin-transform-template-literals@npm:^7.27.1":
12411241
version: 7.27.1
12421242
resolution: "@babel/plugin-transform-template-literals@npm:7.27.1"
12431243
dependencies:
@@ -1297,7 +1297,7 @@ __metadata:
12971297
languageName: node
12981298
linkType: hard
12991299

1300-
"@babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.27.1":
1300+
"@babel/plugin-transform-unicode-regex@npm:^7.0.0-0, @babel/plugin-transform-unicode-regex@npm:^7.24.7, @babel/plugin-transform-unicode-regex@npm:^7.27.1":
13011301
version: 7.27.1
13021302
resolution: "@babel/plugin-transform-unicode-regex@npm:7.27.1"
13031303
dependencies:
@@ -1442,7 +1442,7 @@ __metadata:
14421442
languageName: node
14431443
linkType: hard
14441444

1445-
"@babel/preset-typescript@npm:^7.24.7":
1445+
"@babel/preset-typescript@npm:^7.16.7, @babel/preset-typescript@npm:^7.24.7":
14461446
version: 7.27.1
14471447
resolution: "@babel/preset-typescript@npm:7.27.1"
14481448
dependencies:
@@ -10878,15 +10878,6 @@ __metadata:
1087810878
languageName: node
1087910879
linkType: hard
1088010880

10881-
"react-native-animatable@npm:^1.4.0":
10882-
version: 1.4.0
10883-
resolution: "react-native-animatable@npm:1.4.0"
10884-
dependencies:
10885-
prop-types: ^15.8.1
10886-
checksum: a1b211aff745b97351d78643d641fa298f7d71524eaf22fee8a69257ce52e85d6b3caf8e7fd26a521af34984fba7402b7c632c35ea69d618769387d1dcb6b32a
10887-
languageName: node
10888-
linkType: hard
10889-
1089010881
"react-native-autocomplete-dropdown-playground@workspace:example":
1089110882
version: 0.0.0-use.local
1089210883
resolution: "react-native-autocomplete-dropdown-playground@workspace:example"
@@ -10909,6 +10900,7 @@ __metadata:
1090910900
react: 19.0.0
1091010901
react-native: 0.79.2
1091110902
react-native-feather: ^1.1.2
10903+
react-native-reanimated: ^3.17.5
1091210904
react-native-svg: ^15.1.0
1091310905
react-test-renderer: 19.0.0
1091410906
typescript: 5.0.4
@@ -10948,9 +10940,9 @@ __metadata:
1094810940
prettier: ^3.0.0
1094910941
react: 19.0.0
1095010942
react-native: 0.79.2
10951-
react-native-animatable: ^1.4.0
1095210943
react-native-builder-bob: ^0.30.2
1095310944
react-native-feather: ^1.1.2
10945+
react-native-reanimated: ^3.17.5
1095410946
react-native-size-matters: ^0.4.2
1095510947
react-native-svg: ^15.1.0
1095610948
react-test-renderer: 19.0.0
@@ -11005,6 +10997,40 @@ __metadata:
1100510997
languageName: node
1100610998
linkType: hard
1100710999

11000+
"react-native-is-edge-to-edge@npm:1.1.7":
11001+
version: 1.1.7
11002+
resolution: "react-native-is-edge-to-edge@npm:1.1.7"
11003+
peerDependencies:
11004+
react: "*"
11005+
react-native: "*"
11006+
checksum: 4cdf2b2fb5b131f2015c26d2cb7688b4a0c5f3c8474b1bf0ddfa9eabb0263df440c87262ae8f812a6ecab0d5310df0373bddad4b51f53dabb2ffee01e9ef0f44
11007+
languageName: node
11008+
linkType: hard
11009+
11010+
"react-native-reanimated@npm:^3.17.5":
11011+
version: 3.17.5
11012+
resolution: "react-native-reanimated@npm:3.17.5"
11013+
dependencies:
11014+
"@babel/plugin-transform-arrow-functions": ^7.0.0-0
11015+
"@babel/plugin-transform-class-properties": ^7.0.0-0
11016+
"@babel/plugin-transform-classes": ^7.0.0-0
11017+
"@babel/plugin-transform-nullish-coalescing-operator": ^7.0.0-0
11018+
"@babel/plugin-transform-optional-chaining": ^7.0.0-0
11019+
"@babel/plugin-transform-shorthand-properties": ^7.0.0-0
11020+
"@babel/plugin-transform-template-literals": ^7.0.0-0
11021+
"@babel/plugin-transform-unicode-regex": ^7.0.0-0
11022+
"@babel/preset-typescript": ^7.16.7
11023+
convert-source-map: ^2.0.0
11024+
invariant: ^2.2.4
11025+
react-native-is-edge-to-edge: 1.1.7
11026+
peerDependencies:
11027+
"@babel/core": ^7.0.0-0
11028+
react: "*"
11029+
react-native: "*"
11030+
checksum: fe667e4764f691b2e752eaedb7527fd8ac251637ae9e7dd9ab124abae85627839b5daea064befc5e09ca710ef673d5501ed11286eb39dfcb04f5d57b2d47e49c
11031+
languageName: node
11032+
linkType: hard
11033+
1100811034
"react-native-size-matters@npm:^0.4.2":
1100911035
version: 0.4.2
1101011036
resolution: "react-native-size-matters@npm:0.4.2"

0 commit comments

Comments
 (0)