mirror of
https://github.com/complexcaresolutions/frontend.porwoll.de.git
synced 2026-03-17 17:33:41 +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": {
|
"dependencies": {
|
||||||
"@c2s/payload-contracts": "github:complexcaresolutions/payload-contracts",
|
"@c2s/payload-contracts": "github:complexcaresolutions/payload-contracts",
|
||||||
"clsx": "^2.1.1",
|
"clsx": "^2.1.1",
|
||||||
"framer-motion": "^12.34.0",
|
"framer-motion": "^12.34.3",
|
||||||
"lucide-react": "^0.564.0",
|
"lucide-react": "^0.564.0",
|
||||||
"next": "16.1.6",
|
"next": "16.1.6",
|
||||||
"react": "19.2.1",
|
"react": "19.2.1",
|
||||||
"react-dom": "19.2.1",
|
"react-dom": "19.2.1",
|
||||||
"react-icons": "^5.5.0",
|
"react-icons": "^5.5.0",
|
||||||
"tailwind-merge": "^3.4.1"
|
"tailwind-merge": "^3.5.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/postcss": "^4",
|
"@tailwindcss/postcss": "^4.2.0",
|
||||||
"@types/node": "^20",
|
"@types/node": "^20.19.33",
|
||||||
"@types/react": "^19",
|
"@types/react": "^19.2.14",
|
||||||
"@types/react-dom": "^19",
|
"@types/react-dom": "^19.2.3",
|
||||||
"eslint": "^9",
|
"eslint": "^9.39.3",
|
||||||
"eslint-config-next": "16.0.10",
|
"eslint-config-next": "16.0.10",
|
||||||
"tailwindcss": "^4",
|
"tailwindcss": "^4.2.0",
|
||||||
"typescript": "^5"
|
"typescript": "^5.9.3"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.26.0"
|
"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()])
|
const [page, seoSettings] = await Promise.all([getPage(slug), getSeoSettings()])
|
||||||
if (!page) return {}
|
if (!page) return {}
|
||||||
|
|
||||||
const titleSuffix = (seoSettings as Record<string, unknown>)?.metaDefaults
|
const titleSuffix = ((seoSettings as unknown) as Record<string, unknown>)?.metaDefaults
|
||||||
? ((seoSettings as Record<string, unknown>).metaDefaults as Record<string, unknown>)?.titleSuffix as string || ""
|
? (((seoSettings as unknown) as Record<string, unknown>).metaDefaults as Record<string, unknown>)?.titleSuffix as string || ""
|
||||||
: ""
|
: ""
|
||||||
const title = page.seo?.metaTitle || page.title
|
const title = page.seo?.metaTitle || page.title
|
||||||
const description = page.seo?.metaDescription || ""
|
const description = page.seo?.metaDescription || ""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue