mirror of
https://github.com/Dokploy/website.git
synced 2026-07-19 12:55:28 +02:00
chore: update Next.js and third-party dependencies
- Upgraded Next.js from version 16.0.1 to 16.0.7 in package.json and pnpm-lock.yaml. - Added @next/third-parties dependency at version 16.0.7 to enhance third-party integration. - Integrated Google Analytics component from @next/third-parties into the layout for improved tracking.
This commit is contained in:
@@ -2,6 +2,7 @@ import { RootProvider } from 'fumadocs-ui/provider/next';
|
||||
import './global.css';
|
||||
import { Inter } from 'next/font/google';
|
||||
import type { Metadata } from 'next';
|
||||
import { GoogleAnalytics } from '@next/third-parties/google';
|
||||
|
||||
const inter = Inter({
|
||||
subsets: ['latin'],
|
||||
@@ -26,6 +27,7 @@ export default function Layout({ children }: LayoutProps<'/'>) {
|
||||
return (
|
||||
<html lang="en" className={inter.className} suppressHydrationWarning>
|
||||
<body className="flex flex-col min-h-screen">
|
||||
<GoogleAnalytics gaId="G-HZ71HG38HN" />
|
||||
<RootProvider>{children}</RootProvider>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
"build:docs": "npm run fix-openapi && node generate-docs.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@next/third-parties": "16.0.7",
|
||||
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
||||
"class-variance-authority": "^0.7.0",
|
||||
"clsx": "^2.1.1",
|
||||
@@ -20,7 +21,7 @@
|
||||
"fumadocs-openapi": "10.1.1",
|
||||
"fumadocs-ui": "16.2.3",
|
||||
"lucide-react": "^0.552.0",
|
||||
"next": "16.0.1",
|
||||
"next": "16.0.7",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"shiki": "3.19.0",
|
||||
|
||||
Reference in New Issue
Block a user