diff --git a/.changeset/dry-jobs-warn.md b/.changeset/dry-jobs-warn.md new file mode 100644 index 00000000..3c377fb8 --- /dev/null +++ b/.changeset/dry-jobs-warn.md @@ -0,0 +1,5 @@ +--- +"abstraxion-dashboard": patch +--- + +Enable vercel analytics on dashboard diff --git a/apps/abstraxion-dashboard/app/layout.tsx b/apps/abstraxion-dashboard/app/layout.tsx index b634d3d5..77212632 100644 --- a/apps/abstraxion-dashboard/app/layout.tsx +++ b/apps/abstraxion-dashboard/app/layout.tsx @@ -3,6 +3,7 @@ import localFont from "next/font/local"; import { Providers } from "./providers"; import "./globals.css"; import "@burnt-labs/ui/dist/index.css"; +import { Analytics } from "@vercel/analytics/react"; const akkuratLL = localFont({ src: [ @@ -46,6 +47,7 @@ export default function RootLayout({
{children}
+ ); diff --git a/apps/abstraxion-dashboard/package.json b/apps/abstraxion-dashboard/package.json index 0ebb5a43..c012963a 100644 --- a/apps/abstraxion-dashboard/package.json +++ b/apps/abstraxion-dashboard/package.json @@ -20,6 +20,7 @@ "@stytch/nextjs": "^14.0.0", "@stytch/vanilla-js": "^3.2.1", "@tanstack/react-query": "^4.36.1", + "@vercel/analytics": "^1.1.3", "cosmjs-types": "^0.8.0", "graz": "^0.0.51", "jose": "^5.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4ec28783..66ce32c3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,6 +65,9 @@ importers: '@tanstack/react-query': specifier: ^4.36.1 version: 4.36.1(react-dom@18.2.0)(react@18.2.0) + '@vercel/analytics': + specifier: ^1.1.3 + version: 1.1.3 cosmjs-types: specifier: ^0.8.0 version: 0.8.0 @@ -4441,6 +4444,12 @@ packages: resolution: {integrity: sha512-tIzihqLSljxLC4VVnn94VH1Q7QqlWYPy2HnoeVaqmjv06YI3CSX97kLN+TYGiUKdZoSmnxIJVBq8QRIBASthKQ==} dev: false + /@vercel/analytics@1.1.3: + resolution: {integrity: sha512-Z0l0y8TnUnnxr+on7oIMB9qQOoSJIniYMzUng6+NU8VVDkZ+kt2QGD5hzODwsuiRJAsjW528iUEtbWCEGkSCCg==} + dependencies: + server-only: 0.0.1 + dev: false + /@vercel/style-guide@5.1.0(eslint@8.55.0)(prettier@3.0.3)(typescript@5.3.3): resolution: {integrity: sha512-L9lWYePIycm7vIOjDLj+mmMdmmPkW3/brHjgq+nJdvMOrL7Hdk/19w8X583HYSk0vWsq494o5Qkh6x5+uW7ljg==} engines: {node: '>=16'} @@ -5525,7 +5534,7 @@ packages: resolution: {integrity: sha512-WIdaQ8uW1vIbYvNnAVunkC6yxTrneJC7VQ5UUQ0kuw8b0C0A39KTIpoQHCfc8tV7o9vF4niwRhdXEdfAgQEsQQ==} dependencies: cosmos-directory-types: 0.0.6 - node-fetch-native: 1.6.1 + node-fetch-native: 1.6.2 dev: false /cosmos-directory-types@0.0.6: @@ -8168,8 +8177,8 @@ packages: resolution: {integrity: sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==} dev: false - /node-fetch-native@1.6.1: - resolution: {integrity: sha512-bW9T/uJDPAJB2YNYEpWzE54U5O3MQidXsOyTfnbKYtTtFexRvGzb1waphBN4ZwP6EcIvYYEOwW0b72BpAqydTw==} + /node-fetch-native@1.6.2: + resolution: {integrity: sha512-69mtXOFZ6hSkYiXAVB5SqaRvrbITC/NPyqv7yuu/qw0nmgPyYbIMYYNIDhNtwPrzk0ptrimrLz/hhjvm4w5Z+w==} dev: false /node-fetch@2.7.0: @@ -8304,7 +8313,7 @@ packages: resolution: {integrity: sha512-s1ZCMmQWXy4b5K/TW9i/DtiN8Ku+xCiHcjQ6/J/nDdssirrQNOoB165Zu8EqLMA2lln1JUth9a0aW9Ap2ctrUg==} dependencies: destr: 2.0.2 - node-fetch-native: 1.6.1 + node-fetch-native: 1.6.2 ufo: 1.3.2 dev: false @@ -9265,6 +9274,10 @@ packages: dependencies: lru-cache: 6.0.0 + /server-only@0.0.1: + resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==} + dev: false + /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} dev: false @@ -10089,7 +10102,7 @@ packages: consola: 3.2.3 defu: 6.1.3 mime: 3.0.0 - node-fetch-native: 1.6.1 + node-fetch-native: 1.6.2 pathe: 1.1.1 dev: false @@ -10170,7 +10183,7 @@ packages: listhen: 1.5.5 lru-cache: 10.1.0 mri: 1.2.0 - node-fetch-native: 1.6.1 + node-fetch-native: 1.6.2 ofetch: 1.3.3 ufo: 1.3.2 transitivePeerDependencies: