Skip to content

Commit

Permalink
Add react-native-reanimated library
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Jun 7, 2023
1 parent c5b486c commit f492a13
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .buildkite/publish-libraries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ react-native-webview
react-native-masked-view
react-native-clipboard
react-native-fast-image
react-native-reanimated
)

for project in "${PROJECTS[@]}"
Expand All @@ -21,6 +22,11 @@ do
./gradlew :$project:assertVersionIsNotAlreadyPublished || EXIT_CODE=$?
# If the project is not published already, publish it
if [ $EXIT_CODE -eq 0 ]; then
./gradlew :$project:publishS3PublicationToS3Repository
# Force using Hermes and adding the artifact when publishing Reanimated
if [ "${project}" == "react-native-reanimated" ]; then
CLIENT_SIDE_BUILD="True" JS_RUNTIME="hermes" ./gradlew :$project:publishS3PublicationToS3Repository
else
./gradlew :$project:publishS3PublicationToS3Repository
fi
fi
done
41 changes: 41 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@react-native-masked-view/masked-view": "0.2.6",
"@react-native-clipboard/clipboard": "1.9.0",
"react-native-fast-image": "8.5.11",
"react-native-reanimated": "2.17.0",
"react-native": "0.71.8"
},
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ include(":react-native-clipboard")
project(":react-native-clipboard").projectDir = File(rootProject.projectDir, "node_modules/@react-native-clipboard/clipboard/android")
include(":react-native-fast-image")
project(":react-native-fast-image").projectDir = File(rootProject.projectDir, "node_modules/react-native-fast-image/android")
include(":react-native-reanimated")
project(":react-native-reanimated").projectDir = File(rootProject.projectDir, "node_modules/react-native-reanimated/android")

0 comments on commit f492a13

Please sign in to comment.