Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ When modifying this project:

## Non-Goals

- Radar or satellite maps
- Severe weather alerts (unless explicitly added later)
- Social or sharing features
- Native mobile frameworks (Flutter, React Native, MAUI)
Expand Down
4 changes: 2 additions & 2 deletions SWS_App/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "com.cph5236.simpleweatherservice"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 3
versionName "0.0.4"
versionCode 4
versionName "0.0.5"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
aaptOptions {
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Expand Down
59 changes: 55 additions & 4 deletions SWS_App/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion SWS_App/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sws-app",
"private": true,
"version": "0.0.4",
"version": "0.0.5",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -25,13 +25,16 @@
"@capacitor/core": "^8.2.0",
"@capacitor/ios": "^8.2.0",
"bootstrap": "^5.3.7",
"leaflet": "^1.9.4",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-leaflet": "^5.0.0",
"react-router-dom": "^7.13.1"
},
"devDependencies": {
"@capacitor/cli": "^8.2.0",
"@eslint/js": "^9.39.1",
"@types/leaflet": "^1.9.21",
"@types/node": "^24.10.1",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
Expand Down
2 changes: 2 additions & 0 deletions SWS_App/src/__tests__/weather.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const mockHourlyResponse = {
temperature_2m: Array.from({ length: 48 }, (_, i) => 20 + i * 0.1),
precipitation_probability: Array.from({ length: 48 }, () => 5),
wind_speed_10m: Array.from({ length: 48 }, () => 10),
wind_direction_10m: Array.from({ length: 48 }, () => 180),
weather_code: Array.from({ length: 48 }, () => 0),
uv_index: Array.from({ length: 48 }, () => 3),
},
Expand Down Expand Up @@ -180,6 +181,7 @@ describe('getHourlyForecast', () => {
temperature_2m: Array.from({ length: 48 }, () => 20),
precipitation_probability: Array.from({ length: 48 }, () => 0),
wind_speed_10m: Array.from({ length: 48 }, () => 10),
wind_direction_10m: Array.from({ length: 48 }, () => 0),
weather_code: Array.from({ length: 48 }, () => 0),
uv_index: Array.from({ length: 48 }, () => 0),
},
Expand Down
Loading
Loading