added vercel SpeedInsights package
This commit is contained in:
@@ -2,6 +2,7 @@ import type { Metadata } from "next";
|
||||
import { Playfair_Display, Inter } from "next/font/google";
|
||||
import { NextIntlClientProvider } from "next-intl";
|
||||
import { getMessages } from 'next-intl/server';
|
||||
import { SpeedInsights } from '@vercel/speed-insights/next';
|
||||
|
||||
import "./globals.css";
|
||||
|
||||
@@ -52,6 +53,8 @@ export default async function RootLayout({
|
||||
<Footer />
|
||||
</CustomScrollArea>
|
||||
</NextIntlClientProvider>
|
||||
|
||||
<SpeedInsights />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Generated
+39
@@ -8,6 +8,7 @@
|
||||
"name": "matheoguilbert.fr",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@vercel/speed-insights": "^2.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"next": "16.2.3",
|
||||
"next-intl": "^4.9.1",
|
||||
@@ -2839,6 +2840,44 @@
|
||||
"win32"
|
||||
]
|
||||
},
|
||||
"node_modules/@vercel/speed-insights": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-2.0.0.tgz",
|
||||
"integrity": "sha512-jwkNcrTeafWxjmWq4AHBaptSqZiJkYU5adLC9QBSqeim0GcqDMgN5Ievh8OG1rJ6W3A4l1oiP7qr9CWxGuzu3w==",
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"@sveltejs/kit": "^1 || ^2",
|
||||
"next": ">= 13",
|
||||
"nuxt": ">= 3",
|
||||
"react": "^18 || ^19 || ^19.0.0-rc",
|
||||
"svelte": ">= 4",
|
||||
"vue": "^3",
|
||||
"vue-router": "^4"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@sveltejs/kit": {
|
||||
"optional": true
|
||||
},
|
||||
"next": {
|
||||
"optional": true
|
||||
},
|
||||
"nuxt": {
|
||||
"optional": true
|
||||
},
|
||||
"react": {
|
||||
"optional": true
|
||||
},
|
||||
"svelte": {
|
||||
"optional": true
|
||||
},
|
||||
"vue": {
|
||||
"optional": true
|
||||
},
|
||||
"vue-router": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/acorn": {
|
||||
"version": "8.16.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.16.0.tgz",
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
"lint": "eslint"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vercel/speed-insights": "^2.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"next": "16.2.3",
|
||||
"next-intl": "^4.9.1",
|
||||
|
||||
Reference in New Issue
Block a user