Skip to content

Commit

Permalink
feat: add watermelondb
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorJorgeFGA committed Aug 24, 2024
1 parent 82b22cf commit 71c6dbf
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 2 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = function (api) {
api.cache(true);
return {
presets: ["babel-preset-expo"],
plugins: [],
plugins: [["@babel/plugin-proposal-decorators", { "legacy": true }]],
};
};
61 changes: 61 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@expo/metro-config": "^0.18.11",
"@expo/vector-icons": "^14.0.2",
"@nozbe/watermelondb": "^0.27.1",
"@react-native-async-storage/async-storage": "1.23.1",
"@shopify/flash-list": "1.6.4",
"@testing-library/jest-native": "^5.4.3",
Expand Down Expand Up @@ -61,6 +62,7 @@
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@testing-library/react-native": "^12.3.1",
"@types/jest": "^29.5.6",
"@types/react": "~18.2.79",
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/ModalMetrica.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { EMetricas, IMetrica } from "../interfaces/metricas.interface";
import Icon from "react-native-vector-icons/MaterialCommunityIcons";
import { MaterialCommunityIcons } from "@expo/vector-icons";
import { FontAwesome, Entypo } from "@expo/vector-icons";
import { TextInput } from "react-native-gesture-handler";
import { TextInput } from "react-native";
import ErrorMessage from "./ErrorMessage";
interface IProps {
visible: boolean;
Expand Down

0 comments on commit 71c6dbf

Please sign in to comment.