Skip to content

Commit dcac564

Browse files
authored
feat: install reanimated (#38)
* feat: install reanimated * feat: install gesture handler
1 parent 5d41409 commit dcac564

File tree

7 files changed

+2294
-2063
lines changed

7 files changed

+2294
-2063
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:metro-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
@@ -4,6 +4,7 @@ const pak = require('../package.json');
44
module.exports = {
55
presets: ['module:metro-react-native-babel-preset'],
66
plugins: [
7+
'react-native-reanimated/plugin',
78
[
89
'module-resolver',
910
{

example/ios/Podfile.lock

Lines changed: 41 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ PODS:
329329
- React-jsinspector (0.71.4)
330330
- React-logger (0.71.4):
331331
- glog
332-
- react-native-safe-area-context (4.5.0):
332+
- react-native-safe-area-context (4.5.3):
333333
- RCT-Folly
334334
- RCTRequired
335335
- RCTTypeSafety
@@ -423,10 +423,39 @@ PODS:
423423
- React-perflogger (= 0.71.4)
424424
- rn-base-component (0.0.2):
425425
- React-Core
426-
- RNCAsyncStorage (1.17.11):
426+
- RNCAsyncStorage (1.18.1):
427427
- React-Core
428428
- RNDateTimePicker (6.7.5):
429429
- React-Core
430+
- RNGestureHandler (2.10.1):
431+
- React-Core
432+
- RNReanimated (3.1.0):
433+
- DoubleConversion
434+
- FBLazyVector
435+
- FBReactNativeSpec
436+
- glog
437+
- RCT-Folly
438+
- RCTRequired
439+
- RCTTypeSafety
440+
- React-callinvoker
441+
- React-Core
442+
- React-Core/DevSupport
443+
- React-Core/RCTWebSocket
444+
- React-CoreModules
445+
- React-cxxreact
446+
- React-jsi
447+
- React-jsiexecutor
448+
- React-jsinspector
449+
- React-RCTActionSheet
450+
- React-RCTAnimation
451+
- React-RCTBlob
452+
- React-RCTImage
453+
- React-RCTLinking
454+
- React-RCTNetwork
455+
- React-RCTSettings
456+
- React-RCTText
457+
- ReactCommon/turbomodule/core
458+
- Yoga
430459
- SocketRocket (0.6.0)
431460
- Yoga (1.14.0)
432461
- YogaKit (1.18.1):
@@ -496,6 +525,8 @@ DEPENDENCIES:
496525
- rn-base-component (from `../..`)
497526
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
498527
- "RNDateTimePicker (from `../node_modules/@react-native-community/datetimepicker`)"
528+
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
529+
- RNReanimated (from `../node_modules/react-native-reanimated`)
499530
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
500531

501532
SPEC REPOS:
@@ -593,6 +624,10 @@ EXTERNAL SOURCES:
593624
:path: "../node_modules/@react-native-async-storage/async-storage"
594625
RNDateTimePicker:
595626
:path: "../node_modules/@react-native-community/datetimepicker"
627+
RNGestureHandler:
628+
:path: "../node_modules/react-native-gesture-handler"
629+
RNReanimated:
630+
:path: "../node_modules/react-native-reanimated"
596631
Yoga:
597632
:path: "../node_modules/react-native/ReactCommon/yoga"
598633

@@ -630,7 +665,7 @@ SPEC CHECKSUMS:
630665
React-jsiexecutor: d6b7fa9260aa3cb40afee0507e3bc1d17ecaa6f2
631666
React-jsinspector: 1f51e775819199d3fe9410e69ee8d4c4161c7b06
632667
React-logger: 0d58569ec51d30d1792c5e86a8e3b78d24b582c6
633-
react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc
668+
react-native-safe-area-context: b8979f5eda6ed5903d4dbc885be3846ea3daa753
634669
react-native-slider: 33b8d190b59d4f67a541061bb91775d53d617d9d
635670
React-perflogger: 0bb0522a12e058f6eb69d888bc16f40c16c4b907
636671
React-RCTActionSheet: bfd675a10f06a18728ea15d82082d48f228a213a
@@ -646,8 +681,10 @@ SPEC CHECKSUMS:
646681
React-runtimeexecutor: 8fa50b38df6b992c76537993a2b0553d3b088004
647682
ReactCommon: b49a4b00ca6d181ff74b17c12b2d59ac4add0bde
648683
rn-base-component: 0e4d0e35df39f193ccd2a51d1e49856cf7d2818d
649-
RNCAsyncStorage: 8616bd5a58af409453ea4e1b246521bb76578d60
684+
RNCAsyncStorage: b90b71f45b8b97be43bc4284e71a6af48ac9f547
650685
RNDateTimePicker: 65e1d202799460b286ff5e741d8baf54695e8abd
686+
RNGestureHandler: 42ec7c28dd02d540ed6c9159c57a98ff016492dc
687+
RNReanimated: b1220a0e5168745283ff5d53bfc7d2144b2cee1b
651688
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
652689
Yoga: 79dd7410de6f8ad73a77c868d3d368843f0c93e0
653690
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

example/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@
3838
"@babel/runtime": "^7.20.0",
3939
"metro-react-native-babel-preset": "0.73.8",
4040
"babel-plugin-module-resolver": "^4.1.0",
41-
"styled-components": "^5.3.6"
41+
"styled-components": "^5.3.9",
42+
"react-native-gesture-handler": "^2.9.0",
43+
"react-native-reanimated": "^3.0.2",
44+
"@types/styled-components-react-native": "^5.2.1"
4245
}
4346
}

0 commit comments

Comments
 (0)