From 7cd04996ee636834effe7fc9bea2bbe6a140e225 Mon Sep 17 00:00:00 2001 From: geisterfurz007 Date: Fri, 23 Feb 2024 20:35:04 +0100 Subject: [PATCH] chore: dependency upgrades (#287) * chore: dependency upgrades * chore: update transitive dependencies * formatting --- packages/cms/package.json | 30 +- .../components/authenticated-mishap.tsx | 20 +- .../after-login/components/missing-cookie.tsx | 24 +- .../forms/fields/textarea-field.tsx | 28 +- .../src/lib/get-auth-state-from-request.ts | 6 +- packages/cms/src/utils/merge-queries.ts | 10 +- packages/e2e/package.json | 12 +- packages/scripts/package.json | 10 +- packages/server/package.json | 40 +- packages/server/src/services/logging/log.ts | 5 +- packages/web/package.json | 48 +- .../web/src/app/(home)/components/intro.tsx | 34 +- .../src/app/(home)/components/parallax.tsx | 70 +- packages/web/src/app/(home)/page.tsx | 28 +- packages/web/src/app/buddyproject/page.tsx | 38 +- .../components/group-chat-search.tsx | 4 +- packages/web/src/app/legal/imprint/page.tsx | 110 +- packages/web/src/app/legal/layout.tsx | 12 +- packages/web/src/app/legal/privacy/page.tsx | 1008 +++-- packages/web/src/app/providers.tsx | 14 +- .../cookie-consent/cookie-consent.tsx | 2 +- .../ui/buddyproject/info-grid/info-grid.tsx | 36 +- .../web/src/ui/buddyproject/steps/matched.tsx | 35 +- .../ui/buddyproject/steps/steps.stories.tsx | 20 +- .../src/ui/common/collapsible/collapsible.tsx | 2 +- .../web/src/ui/common/container/container.tsx | 14 +- .../components/affiliation-exclusion.tsx | 12 +- .../footer/components/footer-link-row.tsx | 12 +- packages/web/src/ui/common/footer/footer.tsx | 18 +- .../common/icons/default-discord-avatar.tsx | 18 +- .../web/src/ui/common/icons/discord-logo.tsx | 14 +- packages/web/src/ui/common/image/image.tsx | 14 +- packages/web/src/ui/common/link/link.tsx | 30 +- packages/web/src/ui/common/modal/modal.tsx | 4 +- .../navigation/login-button/login-button.tsx | 34 +- .../navigations/desktop-navigation.tsx | 7 +- .../navigations/joined-navigation.tsx | 14 +- .../navigations/mobile-navigation.tsx | 31 +- .../ui/common/navigation/profile/profile.tsx | 8 +- .../scroll-to-action-container.tsx | 2 +- .../ui/common/toggle-button/toggle-button.tsx | 28 +- .../group-chat-result/group-chat-result.tsx | 2 +- .../group-chat-search-bar/platform-filter.tsx | 26 +- .../group-chat-search-bar/search-input.tsx | 2 +- .../src/ui/home/feature-card/feature-card.tsx | 64 +- packages/web/src/ui/misc/back-link.tsx | 12 +- packages/web/src/ui/misc/wip/wip.tsx | 74 +- packages/web/src/ui/variants.ts | 24 +- yarn.lock | 3971 +++++++++-------- 49 files changed, 3137 insertions(+), 2944 deletions(-) diff --git a/packages/cms/package.json b/packages/cms/package.json index d695384e..5d7127c9 100644 --- a/packages/cms/package.json +++ b/packages/cms/package.json @@ -21,33 +21,33 @@ "prettier:fix": "prettier . --write" }, "dependencies": { - "@atmina/formbuilder": "^0.0.6", - "@payloadcms/bundler-vite": "^0.1.5", - "@payloadcms/db-postgres": "^0.2.2", - "@payloadcms/richtext-slate": "^1.3.1", - "clsx": "^2.0.0", - "dotenv": "^16.3.1", + "@atmina/formbuilder": "^2.0.0", + "@payloadcms/bundler-vite": "^0.1.6", + "@payloadcms/db-postgres": "^0.6.0", + "@payloadcms/richtext-slate": "^1.4.0", + "clsx": "^2.1.0", + "dotenv": "^16.4.5", "express": "^4.18.2", "node-cron": "^3.0.3", - "payload": "^2.5.0", + "payload": "^2.11.1", "react": "^18.2.0", - "react-hook-form": "^7.49.2", + "react-hook-form": "^7.50.1", "typesense": "^1.8.0-2" }, "devDependencies": { - "@atmina/linting": "^2.0.1", - "@types/eslint": "^8.56.0", + "@atmina/linting": "^2.1.2", + "@types/eslint": "^8.56.3", "@types/express": "^4.17.21", "@types/node-cron": "^3.0.11", "@types/passport": "^1.0.16", - "@types/pg": "^8.10.9", - "autoprefixer": "^10.4.16", + "@types/pg": "^8.11.0", + "autoprefixer": "^10.4.17", "copyfiles": "^2.4.1", "cross-env": "^7.0.3", "eslint": "^8.56.0", - "prettier": "^3.1.1", - "tailwindcss": "^3.4.0", - "ts-node": "10.9.1", + "prettier": "^3.2.5", + "tailwindcss": "^3.4.1", + "ts-node": "10.9.2", "ts-node-dev": "^2.0.0", "typescript": "^5.3.3" }, diff --git a/packages/cms/src/components/after-login/components/authenticated-mishap.tsx b/packages/cms/src/components/after-login/components/authenticated-mishap.tsx index 3dad8218..4885d2e8 100644 --- a/packages/cms/src/components/after-login/components/authenticated-mishap.tsx +++ b/packages/cms/src/components/after-login/components/authenticated-mishap.tsx @@ -1,13 +1,11 @@ import React, {type FC} from 'react'; -export const AuthenticatedMishap: FC = () => { - return ( -

- Well, this should have been moving forward now actually. This is odd, you - shouldn't see this... -
- If you are actually seeing this, you probably know whom to contact. - Contact them with as much information on how to reproduce this as you can! -

- ); -}; +export const AuthenticatedMishap: FC = () => ( +

+ Well, this should have been moving forward now actually. This is odd, you + shouldn't see this... +
+ If you are actually seeing this, you probably know whom to contact. Contact + them with as much information on how to reproduce this as you can! +

+); diff --git a/packages/cms/src/components/after-login/components/missing-cookie.tsx b/packages/cms/src/components/after-login/components/missing-cookie.tsx index ab05c64d..45366a74 100644 --- a/packages/cms/src/components/after-login/components/missing-cookie.tsx +++ b/packages/cms/src/components/after-login/components/missing-cookie.tsx @@ -1,15 +1,13 @@ import React, {type FC} from 'react'; -export const MissingCookie: FC = () => { - return ( -

- You are not logged in on YTF. Click{' '} - - here - {' '} - to log in through Discord. -

- ); -}; +export const MissingCookie: FC = () => ( +

+ You are not logged in on YTF. Click{' '} + + here + {' '} + to log in through Discord. +

+); diff --git a/packages/cms/src/components/forms/fields/textarea-field.tsx b/packages/cms/src/components/forms/fields/textarea-field.tsx index a14f9f73..e3cc6e26 100644 --- a/packages/cms/src/components/forms/fields/textarea-field.tsx +++ b/packages/cms/src/components/forms/fields/textarea-field.tsx @@ -16,18 +16,16 @@ export const TextareaField: FC = ({ className, inputClassName, ...formProps -}) => { - return ( -
-