From bacc5633579c147c06ed12ebe2bc3eb01fce20c3 Mon Sep 17 00:00:00 2001 From: Mathieu Acthernoene Date: Tue, 26 Dec 2023 00:05:14 +0100 Subject: [PATCH] Don't update lottie files names --- .prettierignore | 7 +++++-- .../Lottie/{animation.lottie.json => animation.json} | 0 FabricExample/src/screens/Examples/Lottie/index.tsx | 2 +- .../Lottie/{animation.lottie.json => animation.json} | 0 example/src/screens/Examples/Lottie/index.tsx | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) rename FabricExample/src/screens/Examples/Lottie/{animation.lottie.json => animation.json} (100%) rename example/src/screens/Examples/Lottie/{animation.lottie.json => animation.json} (100%) diff --git a/.prettierignore b/.prettierignore index 050bbb64a..e51c4662e 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,11 +1,14 @@ -*.lottie.json - Pods/ docs/.docusaurus/ lib/ node_modules/ +*.lottie.json + example/android/app/build/ example/ios/build/ +example/src/**/Lottie/*.json + FabricExample/android/app/build/ FabricExample/ios/build/ +FabricExample/src/**/Lottie/*.json diff --git a/FabricExample/src/screens/Examples/Lottie/animation.lottie.json b/FabricExample/src/screens/Examples/Lottie/animation.json similarity index 100% rename from FabricExample/src/screens/Examples/Lottie/animation.lottie.json rename to FabricExample/src/screens/Examples/Lottie/animation.json diff --git a/FabricExample/src/screens/Examples/Lottie/index.tsx b/FabricExample/src/screens/Examples/Lottie/index.tsx index 6a2468781..5b884af73 100644 --- a/FabricExample/src/screens/Examples/Lottie/index.tsx +++ b/FabricExample/src/screens/Examples/Lottie/index.tsx @@ -9,7 +9,7 @@ import Reanimated, { } from 'react-native-reanimated'; // animation is taken from lottie public animations: https://lottiefiles.com/46216-lock-debit-card-morph -import LockDebitCardMorph from './animation.lottie.json'; +import LockDebitCardMorph from './animation.json'; const styles = StyleSheet.create({ container: { diff --git a/example/src/screens/Examples/Lottie/animation.lottie.json b/example/src/screens/Examples/Lottie/animation.json similarity index 100% rename from example/src/screens/Examples/Lottie/animation.lottie.json rename to example/src/screens/Examples/Lottie/animation.json diff --git a/example/src/screens/Examples/Lottie/index.tsx b/example/src/screens/Examples/Lottie/index.tsx index 39044c95c..1e08482ae 100644 --- a/example/src/screens/Examples/Lottie/index.tsx +++ b/example/src/screens/Examples/Lottie/index.tsx @@ -9,7 +9,7 @@ import Reanimated, { } from 'react-native-reanimated'; // animation is taken from lottie public animations: https://lottiefiles.com/46216-lock-debit-card-morph -import LockDebitCardMorph from './animation.lottie.json'; +import LockDebitCardMorph from './animation.json'; const styles = StyleSheet.create({ container: {