Skip to content

Commit 88e432b

Browse files
committed
refactor(dep): change to TS and yarn 2
1 parent afa96b4 commit 88e432b

9 files changed

+9142
-12893
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,12 @@ yarn-error.*
3333

3434
# typescript
3535
*.tsbuildinfo
36+
37+
# yarn
38+
.yarn/*
39+
!.yarn/cache
40+
!.yarn/patches
41+
!.yarn/plugins
42+
!.yarn/releases
43+
!.yarn/sdks
44+
!.yarn/versions

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

App.js

-20
This file was deleted.

App.tsx

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import { StatusBar } from "expo-status-bar";
2+
import { StyleSheet, Text, View } from "react-native";
3+
4+
export default function App() {
5+
return (
6+
<View style={styles.container}>
7+
<Text>Open up App.tsx to start working on your app!</Text>
8+
<StatusBar style="auto" />
9+
</View>
10+
);
11+
}
12+
13+
const styles = StyleSheet.create({
14+
container: {
15+
flex: 1,
16+
backgroundColor: "#fff",
17+
alignItems: "center",
18+
justifyContent: "center",
19+
},
20+
});

app.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"expo": {
3-
"name": "swsh-demo-carousel",
4-
"slug": "swsh-demo-carousel",
3+
"name": "s",
4+
"slug": "s",
55
"version": "1.0.0",
66
"orientation": "portrait",
77
"icon": "./assets/icon.png",

0 commit comments

Comments
 (0)