-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial project setup with Expo and state management
- Loading branch information
0 parents
commit 6c2d40e
Showing
81 changed files
with
22,665 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Learn more https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files | ||
|
||
# dependencies | ||
node_modules/ | ||
|
||
# Expo | ||
.expo/ | ||
dist/ | ||
web-build/ | ||
expo-env.d.ts | ||
|
||
# Native | ||
*.orig.* | ||
*.jks | ||
*.p8 | ||
*.p12 | ||
*.key | ||
*.mobileprovision | ||
|
||
# Metro | ||
.metro-health-check* | ||
|
||
# debug | ||
npm-debug.* | ||
yarn-debug.* | ||
yarn-error.* | ||
|
||
# macOS | ||
.DS_Store | ||
*.pem | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
statefolio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"expo": { | ||
"name": "statefolio", | ||
"slug": "statefolio", | ||
"version": "1.0.0", | ||
"orientation": "portrait", | ||
"icon": "./assets/icon.png", | ||
"scheme": "template", | ||
"userInterfaceStyle": "light", | ||
"newArchEnabled": true, | ||
"splash": { | ||
"image": "./assets/splash-icon.png", | ||
"resizeMode": "contain", | ||
"backgroundColor": "#ffffff" | ||
}, | ||
"ios": { | ||
"supportsTablet": true | ||
}, | ||
"android": { | ||
"adaptiveIcon": { | ||
"foregroundImage": "./assets/adaptive-icon.png", | ||
"backgroundColor": "#ffffff" | ||
} | ||
}, | ||
"web": { | ||
"favicon": "./assets/favicon.png", | ||
"bundler": "metro" | ||
}, | ||
"plugins": ["expo-router", "expo-font"] | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = function (api) { | ||
api.cache(true); | ||
return { | ||
presets: [ | ||
["babel-preset-expo", { jsxImportSource: "nativewind" }], | ||
"nativewind/babel", | ||
], | ||
plugins: [ | ||
[ | ||
"module-resolver", | ||
{ | ||
root: ["./src"], | ||
alias: { | ||
"@": "./src", | ||
}, | ||
}, | ||
], | ||
], | ||
}; | ||
}; |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Below are the colors that are used in the app. The colors are defined in the light and dark mode. | ||
* There are many other ways to style your app. For example, [Nativewind](https://www.nativewind.dev/), [Tamagui](https://tamagui.dev/), [unistyles](https://reactnativeunistyles.vercel.app), etc. | ||
*/ | ||
|
||
const tintColorLight = "#0a7ea4"; | ||
const tintColorDark = "#fff"; | ||
|
||
export const Colors = { | ||
light: { | ||
text: "#11181C", | ||
background: "#fff", | ||
tint: tintColorLight, | ||
icon: "#687076", | ||
tabIconDefault: "#687076", | ||
tabIconSelected: tintColorLight, | ||
}, | ||
dark: { | ||
text: "#ECEDEE", | ||
background: "#151718", | ||
tint: tintColorDark, | ||
icon: "#9BA1A6", | ||
tabIconDefault: "#9BA1A6", | ||
tabIconSelected: tintColorDark, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,211 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<coverage generated="1733940571074" clover="3.2.0"> | ||
<project timestamp="1733940571074" name="All files"> | ||
<metrics statements="151" coveredstatements="0" conditionals="146" coveredconditionals="0" methods="82" coveredmethods="0" elements="379" coveredelements="0" complexity="0" loc="151" ncloc="151" packages="5" files="13" classes="13"/> | ||
<package name="app"> | ||
<metrics statements="126" coveredstatements="0" conditionals="127" coveredconditionals="0" methods="72" coveredmethods="0"/> | ||
<file name="_layout.tsx" path="/home/aghthar/backyard/new state/src/app/_layout.tsx"> | ||
<metrics statements="10" coveredstatements="0" conditionals="26" coveredconditionals="0" methods="4" coveredmethods="0"/> | ||
<line num="23" count="0" type="stmt"/> | ||
<line num="26" count="0" type="stmt"/> | ||
<line num="27" count="0" type="stmt"/> | ||
<line num="28" count="0" type="stmt"/> | ||
<line num="29" count="0" type="stmt"/> | ||
<line num="31" count="0" type="stmt"/> | ||
<line num="32" count="0" type="stmt"/> | ||
<line num="35" count="0" type="stmt"/> | ||
<line num="51" count="0" type="cond" truecount="0" falsecount="2"/> | ||
<line num="72" count="0" type="stmt"/> | ||
</file> | ||
<file name="context.tsx" path="/home/aghthar/backyard/new state/src/app/context.tsx"> | ||
<metrics statements="22" coveredstatements="0" conditionals="19" coveredconditionals="0" methods="8" coveredmethods="0"/> | ||
<line num="24" count="0" type="stmt"/> | ||
<line num="25" count="0" type="stmt"/> | ||
<line num="29" count="0" type="cond" truecount="0" falsecount="5"/> | ||
<line num="31" count="0" type="stmt"/> | ||
<line num="33" count="0" type="stmt"/> | ||
<line num="35" count="0" type="stmt"/> | ||
<line num="43" count="0" type="stmt"/> | ||
<line num="45" count="0" type="stmt"/> | ||
<line num="48" count="0" type="stmt"/> | ||
<line num="54" count="0" type="stmt"/> | ||
<line num="55" count="0" type="stmt"/> | ||
<line num="57" count="0" type="stmt"/> | ||
<line num="58" count="0" type="stmt"/> | ||
<line num="59" count="0" type="stmt"/> | ||
<line num="61" count="0" type="stmt"/> | ||
<line num="63" count="0" type="stmt"/> | ||
<line num="90" count="0" type="stmt"/> | ||
<line num="111" count="0" type="stmt"/> | ||
<line num="129" count="0" type="stmt"/> | ||
<line num="130" count="0" type="stmt"/> | ||
<line num="138" count="0" type="stmt"/> | ||
<line num="143" count="0" type="stmt"/> | ||
</file> | ||
<file name="index.tsx" path="/home/aghthar/backyard/new state/src/app/index.tsx"> | ||
<metrics statements="6" coveredstatements="0" conditionals="12" coveredconditionals="0" methods="2" coveredmethods="0"/> | ||
<line num="15" count="0" type="stmt"/> | ||
<line num="61" count="0" type="stmt"/> | ||
<line num="62" count="0" type="stmt"/> | ||
<line num="63" count="0" type="stmt"/> | ||
<line num="65" count="0" type="stmt"/> | ||
<line num="92" count="0" type="stmt"/> | ||
</file> | ||
<file name="jotai.tsx" path="/home/aghthar/backyard/new state/src/app/jotai.tsx"> | ||
<metrics statements="15" coveredstatements="0" conditionals="14" coveredconditionals="0" methods="10" coveredmethods="0"/> | ||
<line num="14" count="0" type="stmt"/> | ||
<line num="15" count="0" type="stmt"/> | ||
<line num="19" count="0" type="stmt"/> | ||
<line num="20" count="0" type="stmt"/> | ||
<line num="22" count="0" type="stmt"/> | ||
<line num="23" count="0" type="stmt"/> | ||
<line num="24" count="0" type="stmt"/> | ||
<line num="26" count="0" type="stmt"/> | ||
<line num="28" count="0" type="stmt"/> | ||
<line num="29" count="0" type="stmt"/> | ||
<line num="32" count="0" type="stmt"/> | ||
<line num="33" count="0" type="stmt"/> | ||
<line num="36" count="0" type="stmt"/> | ||
<line num="63" count="0" type="stmt"/> | ||
<line num="84" count="0" type="stmt"/> | ||
</file> | ||
<file name="mobx.tsx" path="/home/aghthar/backyard/new state/src/app/mobx.tsx"> | ||
<metrics statements="17" coveredstatements="0" conditionals="14" coveredconditionals="0" methods="7" coveredmethods="0"/> | ||
<line num="17" count="0" type="stmt"/> | ||
<line num="20" count="0" type="stmt"/> | ||
<line num="23" count="0" type="stmt"/> | ||
<line num="27" count="0" type="stmt"/> | ||
<line num="28" count="0" type="stmt"/> | ||
<line num="31" count="0" type="stmt"/> | ||
<line num="32" count="0" type="stmt"/> | ||
<line num="36" count="0" type="stmt"/> | ||
<line num="37" count="0" type="stmt"/> | ||
<line num="43" count="0" type="stmt"/> | ||
<line num="44" count="0" type="stmt"/> | ||
<line num="49" count="0" type="stmt"/> | ||
<line num="53" count="0" type="stmt"/> | ||
<line num="54" count="0" type="stmt"/> | ||
<line num="55" count="0" type="stmt"/> | ||
<line num="58" count="0" type="stmt"/> | ||
<line num="60" count="0" type="stmt"/> | ||
</file> | ||
<file name="recoil.tsx" path="/home/aghthar/backyard/new state/src/app/recoil.tsx"> | ||
<metrics statements="17" coveredstatements="0" conditionals="14" coveredconditionals="0" methods="11" coveredmethods="0"/> | ||
<line num="20" count="0" type="stmt"/> | ||
<line num="25" count="0" type="stmt"/> | ||
<line num="32" count="0" type="stmt"/> | ||
<line num="33" count="0" type="stmt"/> | ||
<line num="34" count="0" type="stmt"/> | ||
<line num="36" count="0" type="stmt"/> | ||
<line num="37" count="0" type="stmt"/> | ||
<line num="38" count="0" type="stmt"/> | ||
<line num="40" count="0" type="stmt"/> | ||
<line num="42" count="0" type="stmt"/> | ||
<line num="43" count="0" type="stmt"/> | ||
<line num="46" count="0" type="stmt"/> | ||
<line num="47" count="0" type="stmt"/> | ||
<line num="50" count="0" type="stmt"/> | ||
<line num="77" count="0" type="stmt"/> | ||
<line num="98" count="0" type="stmt"/> | ||
<line num="121" count="0" type="stmt"/> | ||
</file> | ||
<file name="redux.tsx" path="/home/aghthar/backyard/new state/src/app/redux.tsx"> | ||
<metrics statements="22" coveredstatements="0" conditionals="14" coveredconditionals="0" methods="13" coveredmethods="0"/> | ||
<line num="29" count="0" type="stmt"/> | ||
<line num="34" count="0" type="stmt"/> | ||
<line num="37" count="0" type="stmt"/> | ||
<line num="43" count="0" type="stmt"/> | ||
<line num="48" count="0" type="stmt"/> | ||
<line num="54" count="0" type="stmt"/> | ||
<line num="60" count="0" type="stmt"/> | ||
<line num="68" count="0" type="stmt"/> | ||
<line num="69" count="0" type="stmt"/> | ||
<line num="73" count="0" type="stmt"/> | ||
<line num="74" count="0" type="stmt"/> | ||
<line num="75" count="0" type="stmt"/> | ||
<line num="76" count="0" type="stmt"/> | ||
<line num="77" count="0" type="stmt"/> | ||
<line num="78" count="0" type="stmt"/> | ||
<line num="81" count="0" type="stmt"/> | ||
<line num="83" count="0" type="stmt"/> | ||
<line num="111" count="0" type="stmt"/> | ||
<line num="134" count="0" type="stmt"/> | ||
<line num="152" count="0" type="stmt"/> | ||
<line num="153" count="0" type="stmt"/> | ||
<line num="161" count="0" type="stmt"/> | ||
</file> | ||
<file name="zustand.tsx" path="/home/aghthar/backyard/new state/src/app/zustand.tsx"> | ||
<metrics statements="17" coveredstatements="0" conditionals="14" coveredconditionals="0" methods="17" coveredmethods="0"/> | ||
<line num="26" count="0" type="stmt"/> | ||
<line num="29" count="0" type="stmt"/> | ||
<line num="30" count="0" type="stmt"/> | ||
<line num="35" count="0" type="stmt"/> | ||
<line num="39" count="0" type="stmt"/> | ||
<line num="40" count="0" type="stmt"/> | ||
<line num="46" count="0" type="stmt"/> | ||
<line num="47" count="0" type="stmt"/> | ||
<line num="48" count="0" type="stmt"/> | ||
<line num="49" count="0" type="stmt"/> | ||
<line num="50" count="0" type="stmt"/> | ||
<line num="51" count="0" type="stmt"/> | ||
<line num="53" count="0" type="stmt"/> | ||
<line num="54" count="0" type="stmt"/> | ||
<line num="55" count="0" type="stmt"/> | ||
<line num="58" count="0" type="stmt"/> | ||
<line num="60" count="0" type="stmt"/> | ||
</file> | ||
</package> | ||
<package name="components"> | ||
<metrics statements="14" coveredstatements="0" conditionals="18" coveredconditionals="0" methods="6" coveredmethods="0"/> | ||
<file name="BaseScreen.tsx" path="/home/aghthar/backyard/new state/src/components/BaseScreen.tsx"> | ||
<metrics statements="14" coveredstatements="0" conditionals="18" coveredconditionals="0" methods="6" coveredmethods="0"/> | ||
<line num="25" count="0" type="stmt"/> | ||
<line num="35" count="0" type="stmt"/> | ||
<line num="59" count="0" type="stmt"/> | ||
<line num="64" count="0" type="stmt"/> | ||
<line num="65" count="0" type="stmt"/> | ||
<line num="66" count="0" type="stmt"/> | ||
<line num="67" count="0" type="stmt"/> | ||
<line num="69" count="0" type="stmt"/> | ||
<line num="94" count="0" type="cond" truecount="0" falsecount="2"/> | ||
<line num="95" count="0" type="stmt"/> | ||
<line num="96" count="0" type="stmt"/> | ||
<line num="110" count="0" type="stmt"/> | ||
<line num="115" count="0" type="stmt"/> | ||
<line num="117" count="0" type="stmt"/> | ||
</file> | ||
</package> | ||
<package name="hooks"> | ||
<metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/> | ||
<file name="useColorScheme.ts" path="/home/aghthar/backyard/new state/src/hooks/useColorScheme.ts"> | ||
<metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/> | ||
<line num="4" count="0" type="stmt"/> | ||
</file> | ||
</package> | ||
<package name="store"> | ||
<metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/> | ||
<file name="index.ts" path="/home/aghthar/backyard/new state/src/store/index.ts"> | ||
<metrics statements="1" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/> | ||
<line num="2" count="0" type="stmt"/> | ||
</file> | ||
</package> | ||
<package name="testing"> | ||
<metrics statements="9" coveredstatements="0" conditionals="1" coveredconditionals="0" methods="3" coveredmethods="0"/> | ||
<file name="performance-utils.ts" path="/home/aghthar/backyard/new state/src/testing/performance-utils.ts"> | ||
<metrics statements="6" coveredstatements="0" conditionals="0" coveredconditionals="0" methods="1" coveredmethods="0"/> | ||
<line num="9" count="0" type="stmt"/> | ||
<line num="13" count="0" type="stmt"/> | ||
<line num="14" count="0" type="stmt"/> | ||
<line num="16" count="0" type="stmt"/> | ||
<line num="17" count="0" type="stmt"/> | ||
<line num="19" count="0" type="stmt"/> | ||
</file> | ||
<file name="test-utils.ts" path="/home/aghthar/backyard/new state/src/testing/test-utils.ts"> | ||
<metrics statements="3" coveredstatements="0" conditionals="1" coveredconditionals="0" methods="2" coveredmethods="0"/> | ||
<line num="4" count="0" type="cond" truecount="0" falsecount="1"/> | ||
<line num="5" count="0" type="stmt"/> | ||
<line num="6" count="0" type="stmt"/> | ||
</file> | ||
</package> | ||
</project> | ||
</coverage> |
Oops, something went wrong.