feat: speed-insights
This commit is contained in:
1 parent
e5c44fe359
commit
083f7224da
3 files changed
+45
No files matched your search
Generated
+42
@@ -15,6 +15,7 @@
|
||||
"@tanstack/react-query": "^5.59.15",
|
||||
"@tanstack/react-query-next-experimental": "^5.59.16",
|
||||
"@types/cheerio": "^0.22.35",
|
||||
"@vercel/speed-insights": "^1.0.14",
|
||||
"@vidstack/react": "^1.12.11",
|
||||
"axios": "^1.7.7",
|
||||
"axios-cookiejar-support": "^5.0.3",
|
||||
@@ -4533,6 +4534,41 @@
|
||||
"url": "https://opencollective.com/typescript-eslint"
|
||||
}
|
||||
},
|
||||
"node_modules/@vercel/speed-insights": {
|
||||
"version": "1.0.14",
|
||||
"resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.0.14.tgz",
|
||||
"integrity": "sha512-env1BkPddz1UaEZwBL4GmfRksMi2LbiYaKuoxMQjfLk83aEh7kkWMukkUhpQVs717NE6nnD+1+KO85GZHOZ4nQ==",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"@sveltejs/kit": "^1 || ^2",
|
||||
"next": ">= 13",
|
||||
"react": "^18 || ^19 || ^19.0.0-rc",
|
||||
"svelte": ">= 4",
|
||||
"vue": "^3",
|
||||
"vue-router": "^4"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@sveltejs/kit": {
|
||||
"optional": true
|
||||
},
|
||||
"next": {
|
||||
"optional": true
|
||||
},
|
||||
"react": {
|
||||
"optional": true
|
||||
},
|
||||
"svelte": {
|
||||
"optional": true
|
||||
},
|
||||
"vue": {
|
||||
"optional": true
|
||||
},
|
||||
"vue-router": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/@vidstack/react": {
|
||||
"version": "1.12.11",
|
||||
"resolved": "https://registry.npmjs.org/@vidstack/react/-/react-1.12.11.tgz",
|
||||
@@ -15040,6 +15076,12 @@
|
||||
"eslint-visitor-keys": "^3.3.0"
|
||||
}
|
||||
},
|
||||
"@vercel/speed-insights": {
|
||||
"version": "1.0.14",
|
||||
"resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.0.14.tgz",
|
||||
"integrity": "sha512-env1BkPddz1UaEZwBL4GmfRksMi2LbiYaKuoxMQjfLk83aEh7kkWMukkUhpQVs717NE6nnD+1+KO85GZHOZ4nQ==",
|
||||
"requires": {}
|
||||
},
|
||||
"@vidstack/react": {
|
||||
"version": "1.12.11",
|
||||
"resolved": "https://registry.npmjs.org/@vidstack/react/-/react-1.12.11.tgz",
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"@tanstack/react-query": "^5.59.15",
|
||||
"@tanstack/react-query-next-experimental": "^5.59.16",
|
||||
"@types/cheerio": "^0.22.35",
|
||||
"@vercel/speed-insights": "^1.0.14",
|
||||
"@vidstack/react": "^1.12.11",
|
||||
"axios": "^1.7.7",
|
||||
"axios-cookiejar-support": "^5.0.3",
|
||||
|
||||
@@ -5,6 +5,7 @@ import ModalContainer from 'react-modal-promise';
|
||||
import { QueryClientProvider } from '@tanstack/react-query';
|
||||
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
||||
import { ReactQueryStreamedHydration } from '@tanstack/react-query-next-experimental';
|
||||
import { SpeedInsights } from '@vercel/speed-insights/next';
|
||||
import { ThemeProvider } from 'next-themes';
|
||||
|
||||
import { Toaster } from '@/components/ui/toaster';
|
||||
@@ -21,6 +22,7 @@ const Providers: FC<Props> = ({ children }) => {
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<ReactQueryStreamedHydration>
|
||||
<ThemeProvider attribute='data-mode'>{children}</ThemeProvider>
|
||||
<SpeedInsights />
|
||||
</ReactQueryStreamedHydration>
|
||||
<ModalContainer exitTimeout={0} enterTimeout={0} />
|
||||
<Toaster />
|
||||
|
||||
Reference in new issue
Block a user