From 655eed012d86be7d45fc6724578b7e54db506756 Mon Sep 17 00:00:00 2001 From: Jacek Pudysz Date: Wed, 11 Oct 2023 14:34:14 +0200 Subject: [PATCH] chore: vercel analytics --- docs/astro.config.mjs | 7 ------- docs/package.json | 1 - docs/src/components/Seo.astro | 4 ++++ yarn.lock | 17 ----------------- 4 files changed, 4 insertions(+), 25 deletions(-) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 1b511933..c839ef7c 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -1,16 +1,9 @@ import { defineConfig } from 'astro/config' import starlight from '@astrojs/starlight' import sitemap from '@astrojs/sitemap' -import vercel from '@astrojs/vercel/serverless' // https://astro.build/config export default defineConfig({ - output: 'server', - adapter: vercel({ - webAnalytics: { - enabled: true, - }, - }), integrations: [starlight({ title: 'Unistyles', description: "React Native StyleSheet 2.0", diff --git a/docs/package.json b/docs/package.json index 5ac5e1c1..9eeebec2 100644 --- a/docs/package.json +++ b/docs/package.json @@ -11,7 +11,6 @@ "dependencies": { "@astrojs/sitemap": "3.0.1", "@astrojs/starlight": "0.11.0", - "@vercel/analytics": "1.1.0", "astro": "3.2.3", "astro-seo": "0.8.0", "sharp": "0.32.5" diff --git a/docs/src/components/Seo.astro b/docs/src/components/Seo.astro index e79a7dde..2311e1c0 100644 --- a/docs/src/components/Seo.astro +++ b/docs/src/components/Seo.astro @@ -64,5 +64,9 @@ const openGraph = { ] }} /> + + diff --git a/yarn.lock b/yarn.lock index dbd37c16..8e840315 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4987,15 +4987,6 @@ __metadata: languageName: node linkType: hard -"@vercel/analytics@npm:1.1.0": - version: 1.1.0 - resolution: "@vercel/analytics@npm:1.1.0" - dependencies: - server-only: ^0.0.1 - checksum: 24543bb6100a4f041588ee62a5732c1cec651adb493e0331b6f18316cac45ccf00c38c4260fca09372d5991cb0eb12217cfabeb9a07921bf3483b2ff8290c497 - languageName: node - linkType: hard - "@webassemblyjs/ast@npm:1.11.6, @webassemblyjs/ast@npm:^1.11.5": version: 1.11.6 resolution: "@webassemblyjs/ast@npm:1.11.6" @@ -17739,7 +17730,6 @@ __metadata: dependencies: "@astrojs/sitemap": 3.0.1 "@astrojs/starlight": 0.11.0 - "@vercel/analytics": 1.1.0 astro: 3.2.3 astro-seo: 0.8.0 sharp: 0.32.5 @@ -19068,13 +19058,6 @@ __metadata: languageName: node linkType: hard -"server-only@npm:^0.0.1": - version: 0.0.1 - resolution: "server-only@npm:0.0.1" - checksum: c432348956641ea3f460af8dc3765f3a1bdbcf7a1e0205b0756d868e6e6fe8934cdee6bff68401a1dd49ba4a831c75916517a877446d54b334f7de36fa273e53 - languageName: node - linkType: hard - "set-blocking@npm:^2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0"