chore(login): Remove Vercel Analytics from login application (#10701)

This PR removes the Vercel Analytics integration from the login
application to reduce external dependencies and improve privacy.

# Which Problems Are Solved

cleaner csp

# How the Problems Are Solved

- Removed dependency: Uninstalled @vercel/analytics package from
package.json
- Updated layout component: Removed Analytics import and component usage
from layout.tsx
- Updated Content Security Policy: Removed Vercel domains
(https://va.vercel-scripts.com and https://vercel.com) from CSP
configuration in csp.js
This commit is contained in:
Max Peintner
2025-09-11 12:10:09 +00:00
committed by GitHub
parent b6cbb68428
commit 1a42e99329
4 changed files with 5 additions and 47 deletions
-34
View File
@@ -40,9 +40,6 @@ importers:
'@tailwindcss/forms':
specifier: 0.5.7
version: 0.5.7([email protected])
'@vercel/analytics':
specifier: ^1.2.2
version: 1.5.0([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])
'@zitadel/client':
specifier: workspace:*
version: link:../../packages/zitadel-client
@@ -5770,32 +5767,6 @@ packages:
cpu: [x64]
os: [win32]
'@vercel/[email protected]':
resolution: {integrity: sha512-MYsBzfPki4gthY5HnYN7jgInhAZ7Ac1cYDoRWFomwGHWEX7odTEzbtg9kf/QSo7XEsEAqlQugA6gJ2WS2DEa3g==}
peerDependencies:
'@remix-run/react': ^2
'@sveltejs/kit': ^1 || ^2
next: '>= 13'
react: ^18 || ^19 || ^19.0.0-rc
svelte: '>= 4'
vue: ^3
vue-router: ^4
peerDependenciesMeta:
'@remix-run/react':
optional: true
'@sveltejs/kit':
optional: true
next:
optional: true
react:
optional: true
svelte:
optional: true
vue:
optional: true
vue-router:
optional: true
'@vercel/[email protected]':
resolution: {integrity: sha512-OxDFAAdyiJ/H0b8zR9rFCu3BIb78LekBXOphOYG3snV4ULhKFX387pBPpqZ9HLiRTejBWBxYEahkw79tuIgdAA==}
@@ -21714,11 +21685,6 @@ snapshots:
'@unrs/[email protected]':
optional: true
'@vercel/[email protected]([email protected](@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])':
optionalDependencies:
next: 15.4.0-canary.86(@babel/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected])
react: 19.1.0
'@vercel/[email protected]': {}
'@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected]))':