Skip to content

Commit

Permalink
deps: Updated all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
FleetAdmiralJakob committed Jan 16, 2024
1 parent f8acb85 commit 12be072
Show file tree
Hide file tree
Showing 12 changed files with 398 additions and 383 deletions.
22 changes: 11 additions & 11 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,41 +13,41 @@
"with-env": "dotenv -e ../../.env --"
},
"dependencies": {
"@ducanh2912/next-pwa": "^10.1.0",
"@ducanh2912/next-pwa": "^10.2.2",
"@hookform/resolvers": "^3.3.4",
"@legendapp/state": "^2.1.4",
"@next/bundle-analyzer": "^14.0.4",
"@t3-oss/env-nextjs": "^0.7.1",
"@t3-oss/env-nextjs": "^0.7.3",
"@tanstack/react-query": "^4.36.1",
"@tanstack/react-query-devtools": "^4.36.1",
"@trpc/client": "^10.45.0",
"@trpc/next": "^10.45.0",
"@trpc/react-query": "^10.45.0",
"@trpc/server": "^10.45.0",
"@vercel/analytics": "^1.1.1",
"@vercel/speed-insights": "^1.0.2",
"@vercel/speed-insights": "^1.0.4",
"@weatherio/api": "workspace:^0.1.0",
"@weatherio/types": "workspace:^0.1.0",
"@weatherio/ui": "workspace:^0.1.0",
"classnames": "^2.5.1",
"dayjs": "^1.11.10",
"next": "^14.0.4",
"next-axiom": "^1.1.1",
"next-i18next": "^15.1.2",
"next-i18next": "^15.2.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.49.2",
"react-hook-form": "^7.49.3",
"react-html-parser": "^2.0.2",
"react-icons": "^5.0.0",
"react-icons": "^5.0.1",
"react-spinners": "^0.13.8",
"sharp": "^0.33.1",
"sharp": "^0.33.2",
"sonner": "^1.3.1",
"superjson": "2.2.1",
"zod": "^3.22.4"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/react": "^18.2.46",
"@types/node": "^20.11.4",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/react-html-parser": "^2.0.6",
"@weatherio/eslint-config": "workspace:^0.2.0",
Expand All @@ -56,8 +56,8 @@
"@weatherio/tsconfig": "workspace:^0.1.0",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"tailwindcss": "^3.4.0",
"prettier": "^3.2.2",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
},
"eslintConfig": {
Expand Down
16 changes: 8 additions & 8 deletions apps/web/src/components/moon-phase-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,55 +23,55 @@ export const MoonPhaseInfo = ({ moonPhaseCode }: { moonPhaseCode: number }) => {

switch (moonPhaseCode) {
case 800:
MoonPhaseIcon = WiMoonAltNew as IconType;
MoonPhaseIcon = WiMoonAltNew;
moonPhaseName = translationHome("moon phase new moon");
break;
case 801:
MoonPhaseIcon = WiMoonAltWaxingCrescent2 as IconType;
MoonPhaseIcon = WiMoonAltWaxingCrescent2;
if (nothernHemisphere) {
moonPhaseName = translationHome("moon phase waxing crescent");
} else {
moonPhaseName = translationHome("moon phase waning crescent");
}
break;
case 802:
MoonPhaseIcon = WiMoonAltFirstQuarter as IconType;
MoonPhaseIcon = WiMoonAltFirstQuarter;
if (nothernHemisphere) {
moonPhaseName = translationHome("moon phase first quarter");
} else {
moonPhaseName = translationHome("moon phase last quarter");
}
break;
case 803:
MoonPhaseIcon = WiMoonAltWaxingGibbous3 as IconType;
MoonPhaseIcon = WiMoonAltWaxingGibbous3;
if (nothernHemisphere) {
moonPhaseName = translationHome("moon phase waxing gibbous");
} else {
moonPhaseName = translationHome("moon phase waning gibbous");
}
break;
case 804:
MoonPhaseIcon = WiMoonAltFull as IconType;
MoonPhaseIcon = WiMoonAltFull;
moonPhaseName = translationHome("moon phase full moon");
break;
case 805:
MoonPhaseIcon = WiMoonAltWaningGibbous3 as IconType;
MoonPhaseIcon = WiMoonAltWaningGibbous3;
if (nothernHemisphere) {
moonPhaseName = translationHome("moon phase waning gibbous");
} else {
moonPhaseName = translationHome("moon phase waxing gibbous");
}
break;
case 806:
MoonPhaseIcon = WiMoonAltThirdQuarter as IconType;
MoonPhaseIcon = WiMoonAltThirdQuarter;
if (nothernHemisphere) {
moonPhaseName = translationHome("moon phase last quarter");
} else {
moonPhaseName = translationHome("moon phase first quarter");
}
break;
case 807:
MoonPhaseIcon = WiMoonAltWaningCrescent5 as IconType;
MoonPhaseIcon = WiMoonAltWaningCrescent5;
if (nothernHemisphere) {
moonPhaseName = translationHome("moon phase waning crescent");
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@total-typescript/ts-reset": "^0.5.1",
"@turbo/gen": "^1.11.3",
"@weatherio/prettier-config": "workspace:^0.1.0",
"prettier": "^3.1.1",
"prettier": "^3.2.2",
"turbo": "^1.11.3",
"typescript": "^5.3.3"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@t3-oss/env-nextjs": "^0.7.1",
"@t3-oss/env-nextjs": "^0.7.3",
"@trpc/client": "^10.45.0",
"@trpc/server": "^10.45.0",
"@upstash/ratelimit": "^1.0.0",
"@upstash/redis": "^1.27.1",
"@upstash/redis": "^1.28.1",
"@weatherio/city-data": "workspace:^0.1.0",
"@weatherio/types": "workspace:^0.1.0",
"axios": "^1.6.4",
"axios": "^1.6.5",
"dayjs": "^1.11.10",
"fuse.js": "^7.0.0",
"next-axiom": "^1.1.1",
Expand All @@ -34,7 +34,7 @@
"@weatherio/prettier-config": "workspace:^0.1.0",
"@weatherio/tsconfig": "workspace:^0.1.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"prettier": "^3.2.2",
"typescript": "^5.3.3"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/city-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@weatherio/prettier-config": "workspace:^0.1.0",
"@weatherio/tsconfig": "workspace:^0.1.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"prettier": "^3.2.2",
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions packages/e2e-web-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"start-server-and-test": "^2.0.3"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/node": "^20.11.4",
"@weatherio/eslint-config": "workspace:^0.2.0",
"@weatherio/prettier-config": "workspace:^0.1.0",
"@weatherio/tsconfig": "workspace:^0.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"prettier": "^3.2.2",
"typescript": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@weatherio/prettier-config": "workspace:^0.1.0",
"@weatherio/tsconfig": "workspace:^0.1.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"prettier": "^3.2.2",
"typescript": "^5.3.3"
}
}
8 changes: 4 additions & 4 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
},
"devDependencies": {
"@types/leaflet": "^1.9.8",
"@types/node": "^20.11.0",
"@types/react": "^18.2.46",
"@types/node": "^20.11.4",
"@types/react": "^18.2.48",
"@weatherio/eslint-config": "workspace:^0.2.0",
"@weatherio/prettier-config": "workspace:^0.1.0",
"@weatherio/tailwind-config": "workspace:^0.1.0",
"@weatherio/tsconfig": "workspace:^0.1.0",
"eslint": "^8.56.0",
"prettier": "^3.1.1",
"tailwindcss": "^3.4.0",
"prettier": "^3.2.2",
"tailwindcss": "^3.4.1",
"typescript": "^5.3.3"
},
"eslintConfig": {
Expand Down
Loading

0 comments on commit 12be072

Please sign in to comment.