Skip to content

Commit 6a4348a

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

File tree

5 files changed

+49
-10
lines changed

5 files changed

+49
-10
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"lodash.debounce": "^4.0.8",
5353
"react-native-animatable": "^1.4.0",
5454
"react-native-feather": "^1.1.2",
55+
"react-native-reanimated": "^3.17.5",
5556
"react-native-size-matters": "^0.4.2"
5657
},
5758
"devDependencies": {

yarn.lock

Lines changed: 44 additions & 9 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:
@@ -10951,6 +10951,7 @@ __metadata:
1095110951
react-native-animatable: ^1.4.0
1095210952
react-native-builder-bob: ^0.30.2
1095310953
react-native-feather: ^1.1.2
10954+
react-native-reanimated: ^3.17.5
1095410955
react-native-size-matters: ^0.4.2
1095510956
react-native-svg: ^15.1.0
1095610957
react-test-renderer: 19.0.0
@@ -11005,6 +11006,40 @@ __metadata:
1100511006
languageName: node
1100611007
linkType: hard
1100711008

11009+
"react-native-is-edge-to-edge@npm:1.1.7":
11010+
version: 1.1.7
11011+
resolution: "react-native-is-edge-to-edge@npm:1.1.7"
11012+
peerDependencies:
11013+
react: "*"
11014+
react-native: "*"
11015+
checksum: 4cdf2b2fb5b131f2015c26d2cb7688b4a0c5f3c8474b1bf0ddfa9eabb0263df440c87262ae8f812a6ecab0d5310df0373bddad4b51f53dabb2ffee01e9ef0f44
11016+
languageName: node
11017+
linkType: hard
11018+
11019+
"react-native-reanimated@npm:^3.17.5":
11020+
version: 3.17.5
11021+
resolution: "react-native-reanimated@npm:3.17.5"
11022+
dependencies:
11023+
"@babel/plugin-transform-arrow-functions": ^7.0.0-0
11024+
"@babel/plugin-transform-class-properties": ^7.0.0-0
11025+
"@babel/plugin-transform-classes": ^7.0.0-0
11026+
"@babel/plugin-transform-nullish-coalescing-operator": ^7.0.0-0
11027+
"@babel/plugin-transform-optional-chaining": ^7.0.0-0
11028+
"@babel/plugin-transform-shorthand-properties": ^7.0.0-0
11029+
"@babel/plugin-transform-template-literals": ^7.0.0-0
11030+
"@babel/plugin-transform-unicode-regex": ^7.0.0-0
11031+
"@babel/preset-typescript": ^7.16.7
11032+
convert-source-map: ^2.0.0
11033+
invariant: ^2.2.4
11034+
react-native-is-edge-to-edge: 1.1.7
11035+
peerDependencies:
11036+
"@babel/core": ^7.0.0-0
11037+
react: "*"
11038+
react-native: "*"
11039+
checksum: fe667e4764f691b2e752eaedb7527fd8ac251637ae9e7dd9ab124abae85627839b5daea064befc5e09ca710ef673d5501ed11286eb39dfcb04f5d57b2d47e49c
11040+
languageName: node
11041+
linkType: hard
11042+
1100811043
"react-native-size-matters@npm:^0.4.2":
1100911044
version: 0.4.2
1101011045
resolution: "react-native-size-matters@npm:0.4.2"

0 commit comments

Comments
 (0)