eletrotupi / tcc/ commit / 31b145b

frontend: add react date picker

Pedro Lucas Porcellis porcellis@eletrotupi.com · 5 months ago 31b145b10d34d813fa4f90a3c21363b724017344 Browse files
Parents f217e8c
Changed files
3
Additions
+53
Deletions
-3
frontend/app.json modified+2 -1
frontend/app.json
1 1
{
2 2
  "expo": {
3 3
    "name": "orbit",
4 4
    "slug": "orbit",
5 5
    "version": "1.0.0",
69 69
            }
70 70
          ]
71 71
        }
72 72
      ],
73 73
      "expo-secure-store",
74 -
      "expo-web-browser"
74 +
      "expo-web-browser",
75 +
      "@react-native-community/datetimepicker"
75 76
    ],
76 77
    "experiments": {
77 78
      "typedRoutes": true,
78 79
      "reactCompiler": true
79 80
    },
84 85
      }
85 86
    },
86 87
    "owner": "eletrotupi"
87 88
  }
88 89
}
frontend/package-lock.json
1 1
{
2 2
  "name": "orbit",
3 3
  "version": "0.0.0",
4 4
  "lockfileVersion": 3,
5 5
  "requires": true,
9 9
      "version": "0.0.0",
10 10
      "dependencies": {
11 11
        "@expo-google-fonts/inter": "^0.4.2",
12 12
        "@expo/vector-icons": "^15.0.3",
13 13
        "@react-native-async-storage/async-storage": "2.2.0",
14 +
        "@react-native-community/datetimepicker": "8.4.4",
14 15
        "@react-native-community/slider": "5.0.1",
15 16
        "@react-navigation/bottom-tabs": "^7.4.0",
16 17
        "@react-navigation/elements": "^2.6.3",
17 18
        "@react-navigation/native": "^7.1.8",
18 19
        "expo": "~54.0.34",
19 20
        "expo-constants": "~18.0.13",
20 21
        "expo-dev-client": "~6.0.21",
21 22
        "expo-font": "~14.0.11",
22 23
        "expo-haptics": "~15.0.8",
23 24
        "expo-image": "~3.0.11",
25 +
        "expo-image-picker": "~17.0.11",
24 26
        "expo-linking": "~8.0.12",
25 27
        "expo-router": "~6.0.23",
26 28
        "expo-secure-store": "~15.0.8",
27 29
        "expo-splash-screen": "~31.0.13",
28 30
        "expo-status-bar": "~3.0.9",
2763 2765
      "dependencies": {
2764 2766
        "merge-options": "^3.0.4"
2765 2767
      },
2766 2768
      "peerDependencies": {
2767 2769
        "react-native": "^0.0.0-0 || >=0.65 <1.0"
2770 +
      }
2771 +
    },
2772 +
    "node_modules/@react-native-community/datetimepicker": {
2773 +
      "version": "8.4.4",
2774 +
      "resolved": "https://registry.npmjs.org/@react-native-community/datetimepicker/-/datetimepicker-8.4.4.tgz",
2775 +
      "integrity": "sha512-bc4ZixEHxZC9/qf5gbdYvIJiLZ5CLmEsC3j+Yhe1D1KC/3QhaIfGDVdUcid0PdlSoGOSEq4VlB93AWyetEyBSQ==",
2776 +
      "license": "MIT",
2777 +
      "dependencies": {
2778 +
        "invariant": "^2.2.4"
2779 +
      },
2780 +
      "peerDependencies": {
2781 +
        "expo": ">=52.0.0",
2782 +
        "react": "*",
2783 +
        "react-native": "*",
2784 +
        "react-native-windows": "*"
2785 +
      },
2786 +
      "peerDependenciesMeta": {
2787 +
        "expo": {
2788 +
          "optional": true
2789 +
        },
2790 +
        "react-native-windows": {
2791 +
          "optional": true
2792 +
        }
2768 2793
      }
2769 2794
    },
2770 2795
    "node_modules/@react-native-community/slider": {
2771 2796
      "version": "5.0.1",
2772 2797
      "resolved": "https://registry.npmjs.org/@react-native-community/slider/-/slider-5.0.1.tgz",
6238 6263
      },
6239 6264
      "peerDependenciesMeta": {
6240 6265
        "react-native-web": {
6241 6266
          "optional": true
6242 6267
        }
6268 +
      }
6269 +
    },
6270 +
    "node_modules/expo-image-loader": {
6271 +
      "version": "6.0.0",
6272 +
      "resolved": "https://registry.npmjs.org/expo-image-loader/-/expo-image-loader-6.0.0.tgz",
6273 +
      "integrity": "sha512-nKs/xnOGw6ACb4g26xceBD57FKLFkSwEUTDXEDF3Gtcu3MqF3ZIYd3YM+sSb1/z9AKV1dYT7rMSGVNgsveXLIQ==",
6274 +
      "license": "MIT",
6275 +
      "peerDependencies": {
6276 +
        "expo": "*"
6277 +
      }
6278 +
    },
6279 +
    "node_modules/expo-image-picker": {
6280 +
      "version": "17.0.11",
6281 +
      "resolved": "https://registry.npmjs.org/expo-image-picker/-/expo-image-picker-17.0.11.tgz",
6282 +
      "integrity": "sha512-/apkoyukDvsCHHb9fzP+F34A1uQqSzUtYH/2P/xJACNEwq+mwEXjXvVU8bzlJq6ih0Qo1+tpVivIa7B9kYSwOQ==",
6283 +
      "license": "MIT",
6284 +
      "dependencies": {
6285 +
        "expo-image-loader": "~6.0.0"
6286 +
      },
6287 +
      "peerDependencies": {
6288 +
        "expo": "*"
6243 6289
      }
6244 6290
    },
6245 6291
    "node_modules/expo-json-utils": {
6246 6292
      "version": "0.15.0",
6247 6293
      "resolved": "https://registry.npmjs.org/expo-json-utils/-/expo-json-utils-0.15.0.tgz",
13033 13079
        "url": "https://github.com/sponsors/sindresorhus"
13034 13080
      }
13035 13081
    }
13036 13082
  }
13037 13083
}
frontend/package.json modified+5 -2
frontend/package.json
1 1
{
2 2
  "name": "orbit",
3 3
  "main": "expo-router/entry",
4 4
  "version": "0.0.0",
5 5
  "scripts": {
6 6
    "start": "expo start",
7 7
    "reset-project": "node ./scripts/reset-project.js",
8 -
    "android": "expo start --android",
9 -
    "lint": "expo lint"
8 +
    "android": "expo run:android",
9 +
    "lint": "expo lint",
10 +
    "ios": "expo run:ios"
10 11
  },
11 12
  "dependencies": {
12 13
    "@expo-google-fonts/inter": "^0.4.2",
13 14
    "@expo/vector-icons": "^15.0.3",
14 15
    "@react-native-async-storage/async-storage": "2.2.0",
16 +
    "@react-native-community/datetimepicker": "8.4.4",
15 17
    "@react-native-community/slider": "5.0.1",
16 18
    "@react-navigation/bottom-tabs": "^7.4.0",
17 19
    "@react-navigation/elements": "^2.6.3",
18 20
    "@react-navigation/native": "^7.1.8",
19 21
    "expo": "~54.0.34",
20 22
    "expo-constants": "~18.0.13",
21 23
    "expo-dev-client": "~6.0.21",
22 24
    "expo-font": "~14.0.11",
23 25
    "expo-haptics": "~15.0.8",
24 26
    "expo-image": "~3.0.11",
27 +
    "expo-image-picker": "~17.0.11",
25 28
    "expo-linking": "~8.0.12",
26 29
    "expo-router": "~6.0.23",
27 30
    "expo-secure-store": "~15.0.8",
28 31
    "expo-splash-screen": "~31.0.13",
29 32
    "expo-status-bar": "~3.0.9",
47 50
    "eslint-config-expo": "~10.0.0",
48 51
    "typescript": "~5.9.2"
49 52
  },
50 53
  "private": true
51 54
}