Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 9933c9c

Browse files
committed
refactor: remove unused tab screens and layout components; add home screen
1 parent dce3d74 commit 9933c9c

File tree

9 files changed

+20
-220
lines changed

9 files changed

+20
-220
lines changed

app/(tabs)/_layout.tsx

Lines changed: 0 additions & 53 deletions
This file was deleted.

app/(tabs)/index.tsx

Lines changed: 0 additions & 26 deletions
This file was deleted.

app/(tabs)/two.tsx

Lines changed: 0 additions & 27 deletions
This file was deleted.

app/+not-found.tsx

Lines changed: 0 additions & 39 deletions
This file was deleted.

app/_layout.tsx

Lines changed: 0 additions & 47 deletions
This file was deleted.

bun.lock

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,11 @@
55
"name": "gift-idea-tracker",
66
"dependencies": {
77
"@expo/vector-icons": "14.1.0",
8-
"@react-navigation/native": "7.0.14",
98
"expo": "52.0.46",
10-
"expo-font": "13.0.4",
119
"expo-linking": "7.0.5",
1210
"expo-router": "4.0.20",
1311
"expo-splash-screen": "0.29.24",
1412
"expo-status-bar": "2.0.1",
15-
"expo-system-ui": "4.0.9",
1613
"react": "18.3.1",
1714
"react-dom": "18.3.1",
1815
"react-native": "0.76.9",
@@ -406,7 +403,7 @@
406403

407404
"@react-native/metro-babel-transformer": ["@react-native/[email protected]", "", { "dependencies": { "@babel/core": "^7.25.2", "@react-native/babel-preset": "0.76.9", "hermes-parser": "0.23.1", "nullthrows": "^1.1.1" } }, "sha512-HGq11347UHNiO/NvVbAO35hQCmH8YZRs7in7nVq7SL99pnpZK4WXwLdAXmSuwz5uYqOuwnKYDlpadz8fkE94Mg=="],
408405

409-
"@react-native/normalize-colors": ["@react-native/[email protected].8", "", {}, "sha512-FRjRvs7RgsXjkbGSOjYSxhX5V70c0IzA/jy3HXeYpATMwD9fOR1DbveLW497QGsVdCa0vThbJUtR8rIzAfpHQA=="],
406+
"@react-native/normalize-colors": ["@react-native/[email protected].9", "", {}, "sha512-TUdMG2JGk72M9d8DYbubdOlrzTYjw+YMe/xOnLU4viDgWRHsCbtRS9x0IAxRjs3amj/7zmK3Atm8jUPvdAc8qw=="],
410407

411408
"@react-native/virtualized-lists": ["@react-native/[email protected]", "", { "dependencies": { "invariant": "^2.2.4", "nullthrows": "^1.1.1" }, "peerDependencies": { "@types/react": "^18.2.6", "react": "*", "react-native": "*" }, "optionalPeers": ["@types/react"] }, "sha512-2neUfZKuqMK2LzfS8NyOWOyWUJOWgDym5fUph6fN9qF+LNPjAvnc4Zr9+o+59qjNu/yXwQgVMWNU4+8WJuPVWw=="],
412409

@@ -750,8 +747,6 @@
750747

751748
"expo-status-bar": ["[email protected]", "", { "peerDependencies": { "react": "*", "react-native": "*" } }, "sha512-AkIPX7jWHRPp83UBZ1iXtVvyr0g+DgBVvIXTtlmPtmUsm8Vq9Bb5IGj86PW8osuFlgoTVAg7HI/+Ok7yEYwiRg=="],
752749

753-
"expo-system-ui": ["[email protected]", "", { "dependencies": { "@react-native/normalize-colors": "0.76.8", "debug": "^4.3.2" }, "peerDependencies": { "expo": "*", "react-native": "*", "react-native-web": "*" }, "optionalPeers": ["react-native-web"] }, "sha512-hqBc0EWeK/BTB8i4H84vqNjje8GgxhapYrcWdg5qriaRA/u+bNNxhmpZXdAjFuhonOP4SmAbF+gjoJJWsTrhUg=="],
754-
755750
"exponential-backoff": ["[email protected]", "", {}, "sha512-8QxYTVXUkuy7fIIoitQkPwGonB8F3Zj8eEO8Sqg9Zv/bkI7RJAzowee4gr81Hak/dUTpA2Z7VfQgoijjPNlUZA=="],
756751

757752
"fast-deep-equal": ["[email protected]", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
@@ -1534,8 +1529,6 @@
15341529

15351530
"@expo/metro-config/glob": ["[email protected]", "", { "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" } }, "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg=="],
15361531

1537-
"@expo/prebuild-config/@react-native/normalize-colors": ["@react-native/[email protected]", "", {}, "sha512-TUdMG2JGk72M9d8DYbubdOlrzTYjw+YMe/xOnLU4viDgWRHsCbtRS9x0IAxRjs3amj/7zmK3Atm8jUPvdAc8qw=="],
1538-
15391532
"@expo/prebuild-config/fs-extra": ["[email protected]", "", { "dependencies": { "at-least-node": "^1.0.0", "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", "universalify": "^2.0.0" } }, "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ=="],
15401533

15411534
"@expo/prebuild-config/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A=="],
@@ -1660,8 +1653,6 @@
16601653

16611654
"react-devtools-core/ws": ["[email protected]", "", { "peerDependencies": { "bufferutil": "^4.0.1", "utf-8-validate": "^5.0.2" }, "optionalPeers": ["bufferutil", "utf-8-validate"] }, "sha512-+dbF1tHwZpXcbOJdVOkzLDxZP1ailvSxM6ZweXTegylPny803bFhA+vqBYw4s31NSAk4S2Qz+AKXK9a4wkdjcQ=="],
16621655

1663-
"react-native/@react-native/normalize-colors": ["@react-native/[email protected]", "", {}, "sha512-TUdMG2JGk72M9d8DYbubdOlrzTYjw+YMe/xOnLU4viDgWRHsCbtRS9x0IAxRjs3amj/7zmK3Atm8jUPvdAc8qw=="],
1664-
16651656
"react-native/scheduler": ["[email protected]", "", { "dependencies": { "loose-envify": "^1.1.0" } }, "sha512-ABvovCDe/k9IluqSh4/ISoq8tIJnW8euVAWYt5j/bg6dRnqwQwiGO1F/V4AyK96NGF/FB04FhOUDuWj8IKfABA=="],
16661657

16671658
"react-native/semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A=="],

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@
99
},
1010
"dependencies": {
1111
"@expo/vector-icons": "14.1.0",
12-
"@react-navigation/native": "7.0.14",
1312
"expo": "52.0.46",
14-
"expo-font": "13.0.4",
1513
"expo-linking": "7.0.5",
1614
"expo-router": "4.0.20",
1715
"expo-splash-screen": "0.29.24",
1816
"expo-status-bar": "2.0.1",
19-
"expo-system-ui": "4.0.9",
2017
"react": "18.3.1",
2118
"react-dom": "18.3.1",
2219
"react-native": "0.76.9",

src/app/index.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Text, View } from 'react-native';
2+
3+
const HomeScreen = () => {
4+
return (
5+
<View>
6+
<Text>Home Screen</Text>
7+
</View>
8+
);
9+
};
10+
11+
export default HomeScreen;

tsconfig.json

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
{
2-
"extends": "expo/tsconfig.base",
3-
"compilerOptions": {
4-
"strict": true,
5-
"paths": {
6-
"@/*": [
7-
"./*"
8-
]
9-
}
10-
},
11-
"include": [
12-
"**/*.ts",
13-
"**/*.tsx",
14-
".expo/types/**/*.ts",
15-
"expo-env.d.ts"
16-
]
2+
"extends": "expo/tsconfig.base",
3+
"compilerOptions": {
4+
"strict": true,
5+
"paths": {
6+
"@/*": ["./src/*"]
7+
}
8+
},
9+
"include": ["**/*.ts", "**/*.tsx", ".expo/types/**/*.ts", "expo-env.d.ts"]
1710
}

0 commit comments

Comments
 (0)