- New Settings > Data source toggle (Open-Meteo global / NWS US); NWS falls back to Open-Meteo when unavailable or outside its coverage. - src/lib/api/nws.js: /points -> forecast/hourly/grid normalizer producing the app's shared shape, with realistic air highs (NWS reports 104 for the day Open-Meteo over-forecasts at 116); heat-index/feels-like falls back to air temp since NWS returns apparentTemperature as null here. - NWS requires a User-Agent contact; email is a build-time Vite env (VITE_NWS_EMAIL), read from gitignored .env.local, never committed. - Details view now shows which provider served the data. - Fixes the identical UTC date-parse shift for NWS naive local times. - Tests (8) + recorded live fixtures for Rogers County, OK.
29 lines
311 B
Plaintext
29 lines
311 B
Plaintext
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
dist-ssr
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
|
|
|
|
# Build-time secrets (never commit)
|
|
.env
|
|
.env.*
|
|
!.env.example |