diff --git a/nuxt.config.ts b/nuxt.config.ts index bcf69af5ad..bda2e3b12d 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -6,6 +6,7 @@ const isStorybook = process.env.STORYBOOK === 'true' || process.env.VITEST_STORY export default defineNuxtConfig({ modules: [ + '@vercel/analytics', '@unocss/nuxt', 'nuxt-og-image', '@nuxtjs/html-validator', diff --git a/package.json b/package.json index 27ed81df86..56edb0d784 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "@unocss/nuxt": "66.6.7", "@unocss/preset-wind4": "66.6.7", "@upstash/redis": "1.37.0", + "@vercel/analytics": "2.0.1", "@vite-pwa/assets-generator": "1.0.2", "@vite-pwa/nuxt": "1.1.1", "@vueuse/core": "14.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ce31753f13..8e3d09dbfe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -143,6 +143,9 @@ importers: '@upstash/redis': specifier: 1.37.0 version: 1.37.0 + '@vercel/analytics': + specifier: 2.0.1 + version: 2.0.1(nuxt@4.4.2)(react@19.2.4)(vue-router@5.0.4)(vue@3.5.33) '@vite-pwa/assets-generator': specifier: 1.0.2 version: 1.0.2 @@ -2098,7 +2101,7 @@ packages: resolution: {integrity: sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==} '@lunariajs/core@https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@904b935': - resolution: {tarball: https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@904b935} + resolution: {integrity: sha512-N0PDFIitA/Vzh5V6BtTacWU9jgSDJJtPLHamRLMU85mohmyuVW/pggHX8dzdV5ieqZeHEz8pDZSzH4I0hOYxOg==, tarball: https://pkg.pr.new/lunariajs/lunaria/@lunariajs/core@904b935} version: 0.1.1 engines: {node: '>=18.17.0'} @@ -5491,6 +5494,35 @@ packages: peerDependencies: valibot: ^1.2.0 + '@vercel/analytics@2.0.1': + resolution: {integrity: sha512-MTQG6V9qQrt1tsDeF+2Uoo5aPjqbVPys1xvnIftXSJYG2SrwXRHnqEvVoYID7BTruDz4lCd2Z7rM1BdkUehk2g==} + peerDependencies: + '@remix-run/react': ^2 + '@sveltejs/kit': ^1 || ^2 + next: '>= 13' + nuxt: '>= 3' + react: ^18 || ^19 || ^19.0.0-rc + svelte: '>= 4' + vue: ^3 + vue-router: 5.0.4 + peerDependenciesMeta: + '@remix-run/react': + optional: true + '@sveltejs/kit': + optional: true + next: + optional: true + nuxt: + optional: true + react: + optional: true + svelte: + optional: true + vue: + optional: true + vue-router: + optional: true + '@vercel/nft@1.3.0': resolution: {integrity: sha512-i4EYGkCsIjzu4vorDUbqglZc5eFtQI2syHb++9ZUDm6TU4edVywGpVnYDein35x9sevONOn9/UabfQXuNXtuzQ==} engines: {node: '>=20'} @@ -16692,6 +16724,13 @@ snapshots: valibot: 1.3.1(typescript@6.0.2) optional: true + '@vercel/analytics@2.0.1(nuxt@4.4.2)(react@19.2.4)(vue-router@5.0.4)(vue@3.5.33)': + optionalDependencies: + nuxt: 4.4.2(@babel/core@7.29.0)(@babel/plugin-syntax-jsx@7.28.6)(@emnapi/core@1.9.2)(@emnapi/runtime@1.9.2)(@parcel/watcher@2.5.4)(@types/node@24.12.0)(@upstash/redis@1.37.0)(@vue/compiler-sfc@3.5.33)(better-sqlite3@12.8.0)(cac@6.7.14)(db0@0.3.4)(encoding@0.1.13)(esbuild@0.27.3)(eslint@9.39.2)(ioredis@5.9.2)(magicast@0.5.2)(optionator@0.9.4)(oxlint@1.58.0)(rolldown@1.0.0-rc.16)(rollup-plugin-visualizer@6.0.5)(rollup@4.56.0)(terser@5.46.0)(tsx@4.21.0)(typescript@6.0.2)(vite@8.0.0)(vue-tsc@3.2.6)(yaml@2.8.2) + react: 19.2.4 + vue: 3.5.33(typescript@6.0.2) + vue-router: 5.0.4(@vue/compiler-sfc@3.5.33)(vue@3.5.33) + '@vercel/nft@1.3.0(encoding@0.1.13)(rollup@4.56.0)': dependencies: '@mapbox/node-pre-gyp': 2.0.3(encoding@0.1.13)