An open source design system that's fully customizable and agent ready
TypeScript
feat(docsite): add Vercel Speed Insights (#3670)
Joey39ffd21ad082
diff --git a/apps/docsite/package.json b/apps/docsite/package.jsonindex 12edf699d7..dea65fc6bc 100644--- a/apps/docsite/package.json+++ b/apps/docsite/package.json@@ -18,6 +18,7 @@"@monaco-editor/react": "^4.7.0","@stylexjs/stylex": "^0.18.3","@vercel/analytics": "^2.0.1",+ "@vercel/speed-insights": "^1.2.0","@astryxdesign/cli": "*","@astryxdesign/core": "*","@astryxdesign/theme-butter": "*",diff --git a/apps/docsite/src/app/layout.tsx b/apps/docsite/src/app/layout.tsxindex d76af46f89..44716c395f 100644--- a/apps/docsite/src/app/layout.tsx+++ b/apps/docsite/src/app/layout.tsx@@ -2,6 +2,7 @@import type {Metadata} from 'next';import {Analytics} from '@vercel/analytics/next';+import {SpeedInsights} from '@vercel/speed-insights/next';import './globals.css';import {Providers} from './providers';// Public origin and identity live in lib/siteConfig so the sitemap and@@ -92,6 +93,7 @@ export default function RootLayout({children}: {children: React.ReactNode}) {</head><body><Analytics />+ <SpeedInsights /><Providers>{children}</Providers></body></html>diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 00670ecc75..8dffdb2951 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -142,6 +142,9 @@ importers:'@vercel/analytics':specifier: ^2.0.1version: 2.0.1([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])+ '@vercel/speed-insights':+ specifier: ^1.2.0+ version: 1.3.1([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])fflate:specifier: ^0.8.2version: 0.8.3@@ -3515,6 +3518,29 @@ packages:vue-router:optional: true+ '@vercel/[email protected]':+ resolution: {integrity: sha512-PbEr7FrMkUrGYvlcLHGkXdCkxnylCWePx7lPxxq36DNdfo9mcUjLOmqOyPDHAOgnfqgGGdmE3XI9L/4+5fr+vQ==}+ 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+'@vitejs/[email protected]':resolution: {integrity: sha512-gUu9hwfWvvEDBBmgtAowQCojwZmJ5mcLn3aufeCsitijs3+f2NsrPtlAWIR6OPiqljl96GVCUbLe0HyqIpVaoA==}engines: {node: ^14.18.0 || >=16.0.0}@@ -8812,6 +8838,11 @@ snapshots:next: 16.3.0-preview.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])react: 19.2.7+ '@vercel/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected]))([email protected])':+ optionalDependencies:+ next: 16.3.0-preview.5(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])+ react: 19.2.7+'@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':dependencies:'@babel/core': 7.29.7