add vercel analytics (#13474)

pull/9085/merge
Rich Harris 1 month ago committed by GitHub
parent 89cacf72b6
commit cd2186cb1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -22,7 +22,7 @@ importers:
version: 8.56.0
eslint-plugin-svelte:
specifier: ^2.32.2
version: 2.35.1(eslint@8.56.0)(svelte@4.2.18)
version: 2.35.1(eslint@8.56.0)(svelte@4.2.19)
eslint-plugin-unicorn:
specifier: ^47.0.0
version: 47.0.0(eslint@8.56.0)
@ -34,7 +34,7 @@ importers:
version: 2.8.8
prettier-plugin-svelte:
specifier: ^2.10.1
version: 2.10.1(prettier@2.8.8)(svelte@4.2.18)
version: 2.10.1(prettier@2.8.8)(svelte@4.2.19)
packages/svelte:
dependencies:
@ -95,7 +95,7 @@ importers:
version: 15.2.3(rollup@3.29.4)
'@sveltejs/eslint-config':
specifier: ^6.0.4
version: 6.0.4(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3))(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint-config-prettier@9.1.0(eslint@8.56.0))(eslint-plugin-svelte@2.39.0(eslint@8.56.0)(svelte@4.2.18))(eslint-plugin-unicorn@47.0.0(eslint@8.56.0))(eslint@8.56.0)(typescript@5.3.3)
version: 6.0.4(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3))(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint-config-prettier@9.1.0(eslint@8.56.0))(eslint-plugin-svelte@2.39.0(eslint@8.56.0)(svelte@4.2.19))(eslint-plugin-unicorn@47.0.0(eslint@8.56.0))(eslint@8.56.0)(typescript@5.3.3)
'@types/aria-query':
specifier: ^5.0.1
version: 5.0.4
@ -162,6 +162,9 @@ importers:
'@sveltejs/repl':
specifier: 0.6.0
version: 0.6.0(@codemirror/lang-html@6.4.9)(@codemirror/search@6.5.6)(@lezer/common@1.2.1)(@lezer/javascript@1.4.16)(@lezer/lr@1.4.0)(@sveltejs/kit@2.5.18(@sveltejs/vite-plugin-svelte@3.0.1(svelte@packages+svelte)(vite@5.0.10(@types/node@20.10.6)(lightningcss@1.22.1)))(svelte@packages+svelte)(vite@5.0.10(@types/node@20.10.6)(lightningcss@1.22.1)))(svelte@packages+svelte)
'@vercel/analytics':
specifier: ^1.3.1
version: 1.3.1
cookie:
specifier: ^0.6.0
version: 0.6.0
@ -712,6 +715,7 @@ packages:
'@humanwhocodes/config-array@0.11.13':
resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==}
engines: {node: '>=10.10.0'}
deprecated: Use @eslint/config-array instead
'@humanwhocodes/module-importer@1.0.1':
resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
@ -719,6 +723,7 @@ packages:
'@humanwhocodes/object-schema@2.0.1':
resolution: {integrity: sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==}
deprecated: Use @eslint/object-schema instead
'@img/sharp-darwin-arm64@0.33.1':
resolution: {integrity: sha512-esr2BZ1x0bo+wl7Gx2hjssYhjrhUsD88VQulI0FrG8/otRQUOxLWHMBd1Y1qo2Gfg2KUvXNpT0ASnV9BzJCexw==}
@ -1574,6 +1579,17 @@ packages:
'@ungap/structured-clone@1.2.0':
resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
'@vercel/analytics@1.3.1':
resolution: {integrity: sha512-xhSlYgAuJ6Q4WQGkzYTLmXwhYl39sWjoMA3nHxfkvG+WdBT25c563a7QhwwKivEOZtPJXifYHR1m2ihoisbWyA==}
peerDependencies:
next: '>= 13'
react: ^18 || ^19
peerDependenciesMeta:
next:
optional: true
react:
optional: true
'@vercel/nft@0.26.0':
resolution: {integrity: sha512-4JoDL1jMPoPb9PpilQx7IQwxDUYCSwnonN8GrR6bP2BVJR390toF/tJe20tcI+wDWPkJKJqNloipfaeQfTeU2w==}
engines: {node: '>=18'}
@ -3500,6 +3516,9 @@ packages:
engines: {node: '>=10'}
hasBin: true
server-only@0.0.1:
resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==}
set-blocking@2.0.0:
resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
@ -3763,8 +3782,8 @@ packages:
typescript:
optional: true
svelte@4.2.18:
resolution: {integrity: sha512-d0FdzYIiAePqRJEb90WlJDkjUEx42xhivxN8muUBmfZnP+tzUgz12DJ2hRJi8sIHCME7jeK1PTMgKPSfTd8JrA==}
svelte@4.2.19:
resolution: {integrity: sha512-IY1rnGr6izd10B0A8LqsBfmlT5OILVuZ7XsI0vdGPEvuonFV7NYEUK4dAkm9Zg2q0Um92kYjTpS1CAP3Nh/KWw==}
engines: {node: '>=16'}
symbol-tree@3.2.4:
@ -5424,13 +5443,13 @@ snapshots:
- encoding
- supports-color
'@sveltejs/eslint-config@6.0.4(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3))(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint-config-prettier@9.1.0(eslint@8.56.0))(eslint-plugin-svelte@2.39.0(eslint@8.56.0)(svelte@4.2.18))(eslint-plugin-unicorn@47.0.0(eslint@8.56.0))(eslint@8.56.0)(typescript@5.3.3)':
'@sveltejs/eslint-config@6.0.4(@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3))(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint-config-prettier@9.1.0(eslint@8.56.0))(eslint-plugin-svelte@2.39.0(eslint@8.56.0)(svelte@4.2.19))(eslint-plugin-unicorn@47.0.0(eslint@8.56.0))(eslint@8.56.0)(typescript@5.3.3)':
dependencies:
'@typescript-eslint/eslint-plugin': 5.62.0(@typescript-eslint/parser@7.9.0(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3)
'@typescript-eslint/parser': 7.9.0(eslint@8.56.0)(typescript@5.3.3)
eslint: 8.56.0
eslint-config-prettier: 9.1.0(eslint@8.56.0)
eslint-plugin-svelte: 2.39.0(eslint@8.56.0)(svelte@4.2.18)
eslint-plugin-svelte: 2.39.0(eslint@8.56.0)(svelte@4.2.19)
eslint-plugin-unicorn: 47.0.0(eslint@8.56.0)
typescript: 5.3.3
@ -5794,6 +5813,10 @@ snapshots:
'@ungap/structured-clone@1.2.0': {}
'@vercel/analytics@1.3.1':
dependencies:
server-only: 0.0.1
'@vercel/nft@0.26.0':
dependencies:
'@mapbox/node-pre-gyp': 1.0.11
@ -6459,7 +6482,7 @@ snapshots:
dependencies:
'@types/estree': 1.0.5
eslint-plugin-svelte@2.35.1(eslint@8.56.0)(svelte@4.2.18):
eslint-plugin-svelte@2.35.1(eslint@8.56.0)(svelte@4.2.19):
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
'@jridgewell/sourcemap-codec': 1.4.15
@ -6473,14 +6496,14 @@ snapshots:
postcss-safe-parser: 6.0.0(postcss@8.4.32)
postcss-selector-parser: 6.0.15
semver: 7.5.4
svelte-eslint-parser: 0.33.1(svelte@4.2.18)
svelte-eslint-parser: 0.33.1(svelte@4.2.19)
optionalDependencies:
svelte: 4.2.18
svelte: 4.2.19
transitivePeerDependencies:
- supports-color
- ts-node
eslint-plugin-svelte@2.39.0(eslint@8.56.0)(svelte@4.2.18):
eslint-plugin-svelte@2.39.0(eslint@8.56.0)(svelte@4.2.19):
dependencies:
'@eslint-community/eslint-utils': 4.4.0(eslint@8.56.0)
'@jridgewell/sourcemap-codec': 1.5.0
@ -6494,9 +6517,9 @@ snapshots:
postcss-safe-parser: 6.0.0(postcss@8.4.39)
postcss-selector-parser: 6.1.0
semver: 7.6.2
svelte-eslint-parser: 0.39.2(svelte@4.2.18)
svelte-eslint-parser: 0.39.2(svelte@4.2.19)
optionalDependencies:
svelte: 4.2.18
svelte: 4.2.19
transitivePeerDependencies:
- supports-color
- ts-node
@ -7600,10 +7623,10 @@ snapshots:
prelude-ls@1.2.1: {}
prettier-plugin-svelte@2.10.1(prettier@2.8.8)(svelte@4.2.18):
prettier-plugin-svelte@2.10.1(prettier@2.8.8)(svelte@4.2.19):
dependencies:
prettier: 2.8.8
svelte: 4.2.18
svelte: 4.2.19
prettier-plugin-svelte@3.1.2(prettier@3.1.1)(svelte@packages+svelte):
dependencies:
@ -7820,6 +7843,8 @@ snapshots:
semver@7.6.2: {}
server-only@0.0.1: {}
set-blocking@2.0.0: {}
set-cookie-parser@2.6.0: {}
@ -8064,7 +8089,7 @@ snapshots:
- stylus
- sugarss
svelte-eslint-parser@0.33.1(svelte@4.2.18):
svelte-eslint-parser@0.33.1(svelte@4.2.19):
dependencies:
eslint-scope: 7.2.2
eslint-visitor-keys: 3.4.3
@ -8072,9 +8097,9 @@ snapshots:
postcss: 8.4.32
postcss-scss: 4.0.9(postcss@8.4.32)
optionalDependencies:
svelte: 4.2.18
svelte: 4.2.19
svelte-eslint-parser@0.39.2(svelte@4.2.18):
svelte-eslint-parser@0.39.2(svelte@4.2.19):
dependencies:
eslint-scope: 7.2.2
eslint-visitor-keys: 3.4.3
@ -8082,7 +8107,7 @@ snapshots:
postcss: 8.4.39
postcss-scss: 4.0.9(postcss@8.4.39)
optionalDependencies:
svelte: 4.2.18
svelte: 4.2.19
svelte-hmr@0.15.3(svelte@packages+svelte):
dependencies:
@ -8113,7 +8138,7 @@ snapshots:
postcss-load-config: 3.1.4(postcss@8.4.39)
typescript: 5.3.3
svelte@4.2.18:
svelte@4.2.19:
dependencies:
'@ampproject/remapping': 2.3.0
'@jridgewell/sourcemap-codec': 1.5.0

@ -20,6 +20,7 @@
"@jridgewell/sourcemap-codec": "^1.4.15",
"@supabase/supabase-js": "^2.39.2",
"@sveltejs/repl": "0.6.0",
"@vercel/analytics": "^1.3.1",
"cookie": "^0.6.0",
"devalue": "^4.3.2",
"do-not-zip": "^1.0.0",

@ -2,6 +2,7 @@
import '@sveltejs/site-kit/styles/index.css';
import { injectSpeedInsights } from '@vercel/speed-insights/sveltekit';
import { inject } from '@vercel/analytics'
import { browser } from '$app/environment';
import { page } from '$app/stores';
import { Icon, Shell, Banners } from '@sveltejs/site-kit/components';
@ -9,6 +10,7 @@
import { Search, SearchBox } from '@sveltejs/site-kit/search';
injectSpeedInsights();
inject();
export let data;

Loading…
Cancel
Save