From 4441016d66fd0ddbfe222970058d13eceeb336f2 Mon Sep 17 00:00:00 2001 From: Chris <7249920+chriswdmr@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:46:01 +0200 Subject: [PATCH] Apply feedback from review --- .changeset/sixty-teachers-tap.md | 2 +- packages/integrations/vercel/src/serverless/adapter.ts | 2 +- packages/integrations/vercel/src/static/adapter.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.changeset/sixty-teachers-tap.md b/.changeset/sixty-teachers-tap.md index 21a2f83f4..122557751 100644 --- a/.changeset/sixty-teachers-tap.md +++ b/.changeset/sixty-teachers-tap.md @@ -1,5 +1,5 @@ --- -'@astrojs/vercel': major +'@astrojs/vercel': minor --- Enable Vercel Speed Insights and Vercel Web Analytics individually. diff --git a/packages/integrations/vercel/src/serverless/adapter.ts b/packages/integrations/vercel/src/serverless/adapter.ts index 1b222af15..1d4b59e04 100644 --- a/packages/integrations/vercel/src/serverless/adapter.ts +++ b/packages/integrations/vercel/src/serverless/adapter.ts @@ -142,7 +142,7 @@ export default function vercelServerless({ if (webAnalytics?.enabled || analytics) { if (analytics) { logger.warn( - `@astrojs/vercel: the \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` + `The \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` ); } diff --git a/packages/integrations/vercel/src/static/adapter.ts b/packages/integrations/vercel/src/static/adapter.ts index f0e30ca5c..84ccc4f9b 100644 --- a/packages/integrations/vercel/src/static/adapter.ts +++ b/packages/integrations/vercel/src/static/adapter.ts @@ -62,7 +62,7 @@ export default function vercelStatic({ if (webAnalytics?.enabled || analytics) { if (analytics) { logger.warn( - `@astrojs/vercel: the \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` + `The \`analytics\` property is deprecated. Please use the new \`webAnalytics\` and \`speedInsights\` properties instead.` ); }