Skip to content

Commit 92c2680

Browse files
committed
fix: Update .gitignore to include additional generated and temporary files; bump app version and build number in app.json; refine sleep tip wording in TodayScreen
1 parent 36af30a commit 92c2680

File tree

3 files changed

+48
-11
lines changed

3 files changed

+48
-11
lines changed

.gitignore

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# dependencies
44
node_modules/
55
package-lock.json
6+
yarn.lock
67

78
# Expo
89
.expo/
@@ -46,26 +47,40 @@ ios/.xcode.env.local
4647
ios/SleepDetector.xcworkspace/xcuserdata/
4748
ios/SleepDetector.xcodeproj/xcuserdata/
4849
ios/SleepDetector.xcodeproj/project.xcworkspace/xcuserdata/
50+
ios/DerivedData/
4951

50-
# Generated screenshot files
51-
*.png
52-
!assets/icon.png
53-
!assets/adaptive-icon.png
54-
!assets/splash.png
55-
!assets/splash-icon.png
56-
!assets/favicon.png
52+
# Android build files (if ever added)
53+
android/build/
54+
android/app/build/
5755

58-
# Temporary and generated files
56+
# Generated and temporary development files
5957
validate-dark-mode.js
6058
DARK_MODE_COMPLETE.md
6159
*COMPLETE.md
6260
*IMPLEMENTATION_REPORT.md
6361
*TESTING_GUIDE.md
6462
test-*.sh
63+
*test*.sh
64+
*.test.js
65+
*.test.ts
66+
67+
# Generated screenshot files (keep only the main assets)
68+
*.png
69+
!assets/icon.png
70+
!assets/adaptive-icon.png
71+
!assets/splash.png
72+
!assets/splash-icon.png
73+
!assets/favicon.png
74+
# Keep app store screenshots but not generated ones
75+
!assets/app-store-screenshots/*.png
76+
screenshots/
77+
generated-screenshots/
78+
manual-test.png
6579

6680
# Logs
6781
*.log
6882
logs/
83+
.expo/*.log
6984

7085
# Editor files
7186
.vscode/
@@ -78,3 +93,25 @@ logs/
7893
Thumbs.db
7994
ehthumbs.db
8095
Desktop.ini
96+
97+
# Development and testing files
98+
coverage/
99+
.nyc_output/
100+
junit.xml
101+
test-results/
102+
103+
# Cache directories
104+
.cache/
105+
.parcel-cache/
106+
.next/
107+
.nuxt/
108+
109+
# Build and deployment files
110+
build/
111+
dist-build/
112+
*.ipa
113+
*.apk
114+
*.aab
115+
116+
# EAS Build
117+
.easignore

app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"expo": {
33
"name": "Sleep Detector",
44
"slug": "detect-sleep",
5-
"version": "1.0.1",
5+
"version": "1.0.2",
66
"orientation": "portrait",
77
"icon": "./assets/icon.png",
88
"userInterfaceStyle": "light",
@@ -18,7 +18,7 @@
1818
"ios": {
1919
"supportsTablet": false,
2020
"bundleIdentifier": "com.sleepdetector.app",
21-
"buildNumber": "10",
21+
"buildNumber": "11",
2222
"infoPlist": {
2323
"UIBackgroundModes": [
2424
"fetch",

src/screens/TodayScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const SLEEP_TIPS = [
2323
"Limit daytime naps to 30 minutes or less",
2424
"Try mouth taping to promote nasal breathing during sleep",
2525
"Consider using blackout curtains to block light",
26-
"Use eye masks or earplugs if needed",
26+
"Use sleep masks or earplugs to reduce light and noise",
2727
"If you can't sleep, get up and do something relaxing",
2828
"Consider using a white noise machine to block disturbances",
2929
"Keep your sleep environment free from electronic devices",

0 commit comments

Comments
 (0)