mirror of
https://github.com/complexcaresolutions/frontend.porwoll.de.git
synced 2026-03-17 18:43:42 +00:00
chore(deps): update compatible dependencies
Updated: framer-motion, tailwind-merge, @tailwindcss/postcss, tailwindcss, @types/node, @types/react, eslint Fixed: TypeScript strict cast in [slug]/page.tsx
This commit is contained in:
parent
390036f090
commit
f2d5d4b588
3 changed files with 481 additions and 468 deletions
18
package.json
18
package.json
|
|
@ -11,23 +11,23 @@
|
|||
"dependencies": {
|
||||
"@c2s/payload-contracts": "github:complexcaresolutions/payload-contracts",
|
||||
"clsx": "^2.1.1",
|
||||
"framer-motion": "^12.34.0",
|
||||
"framer-motion": "^12.34.3",
|
||||
"lucide-react": "^0.564.0",
|
||||
"next": "16.1.6",
|
||||
"react": "19.2.1",
|
||||
"react-dom": "19.2.1",
|
||||
"react-icons": "^5.5.0",
|
||||
"tailwind-merge": "^3.4.1"
|
||||
"tailwind-merge": "^3.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4",
|
||||
"@types/node": "^20",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"eslint": "^9",
|
||||
"@tailwindcss/postcss": "^4.2.0",
|
||||
"@types/node": "^20.19.33",
|
||||
"@types/react": "^19.2.14",
|
||||
"@types/react-dom": "^19.2.3",
|
||||
"eslint": "^9.39.3",
|
||||
"eslint-config-next": "16.0.10",
|
||||
"tailwindcss": "^4",
|
||||
"typescript": "^5"
|
||||
"tailwindcss": "^4.2.0",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"packageManager": "pnpm@10.26.0"
|
||||
}
|
||||
|
|
|
|||
927
pnpm-lock.yaml
927
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
|
|
@ -25,8 +25,8 @@ export async function generateMetadata({ params }: PageProps): Promise<Metadata>
|
|||
const [page, seoSettings] = await Promise.all([getPage(slug), getSeoSettings()])
|
||||
if (!page) return {}
|
||||
|
||||
const titleSuffix = (seoSettings as Record<string, unknown>)?.metaDefaults
|
||||
? ((seoSettings as Record<string, unknown>).metaDefaults as Record<string, unknown>)?.titleSuffix as string || ""
|
||||
const titleSuffix = ((seoSettings as unknown) as Record<string, unknown>)?.metaDefaults
|
||||
? (((seoSettings as unknown) as Record<string, unknown>).metaDefaults as Record<string, unknown>)?.titleSuffix as string || ""
|
||||
: ""
|
||||
const title = page.seo?.metaTitle || page.title
|
||||
const description = page.seo?.metaDescription || ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue