Configure speed insights (#21627)

* Configure speed insights

* Update CSP

* bye speed insights
This commit is contained in:
Joshen Lim authored and GitHub committed 2024-02-28 09:34:38 +00:00
1 parent 7c8786b26c
commit 2cd98f6f3d
3 files changed
-38

No files matched your search

-1
View File
@@ -37,7 +37,6 @@
"@tanstack/react-query": "^4.35.7",
"@tanstack/react-query-devtools": "^4.35.7",
"@uidotdev/usehooks": "^2.4.1",
"@vercel/speed-insights": "^1.0.10",
"@zip.js/zip.js": "^2.7.29",
"ai": "^2.2.26",
"ai-commands": "*",
-2
View File
@@ -16,7 +16,6 @@ import 'styles/ui.scss'
import 'ui/build/css/themes/dark.css'
import 'ui/build/css/themes/light.css'
import { SpeedInsights } from '@vercel/speed-insights/next'
import { loader } from '@monaco-editor/react'
import { TooltipProvider } from '@radix-ui/react-tooltip'
import { SessionContextProvider } from '@supabase/auth-helpers-react'
@@ -183,7 +182,6 @@ function CustomApp({ Component, pageProps }: AppPropsWithLayout) {
</TooltipProvider>
</PageTelemetry>
<SpeedInsights />
<HCaptchaLoadedStore />
<Toaster />
<PortalToast />
-35
View File
@@ -779,7 +779,6 @@
"@tanstack/react-query": "^4.35.7",
"@tanstack/react-query-devtools": "^4.35.7",
"@uidotdev/usehooks": "^2.4.1",
"@vercel/speed-insights": "^1.0.10",
"@zip.js/zip.js": "^2.7.29",
"ai": "^2.2.26",
"ai-commands": "*",
@@ -12524,40 +12523,6 @@
"version": "1.2.0",
"license": "ISC"
},
"node_modules/@vercel/speed-insights": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.0.10.tgz",
"integrity": "sha512-4uzdKB0RW6Ff2FkzshzjZ+RlJfLPxgm/00i0XXgxfMPhwnnsk92YgtqsxT9OcPLdJUyVU1DqFlSWWjIQMPkh0g==",
"hasInstallScript": true,
"peerDependencies": {
"@sveltejs/kit": "^1 || ^2",
"next": ">= 13",
"react": "^18 || ^19",
"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/@vue/compiler-core": {
"version": "3.3.9",
"resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.3.9.tgz",