Superpowered to do lists. No signup required.

๐Ÿ“ˆ add speed analytics

+25 -3
+3 -1
package.json
··· 25 25 }, 26 26 "type": "module", 27 27 "dependencies": { 28 - "@vercel/analytics": "^1.1.1" 28 + "@vercel/analytics": "^1.1.1", 29 + "@vercel/speed-insights": "^1.0.3", 30 + "@xata.io/client": "^0.28.3" 29 31 } 30 32 }
+19 -1
pnpm-lock.yaml
··· 8 8 '@vercel/analytics': 9 9 specifier: ^1.1.1 10 10 version: 1.1.1 11 + '@vercel/speed-insights': 12 + specifier: ^1.0.3 13 + version: 1.0.3 14 + '@xata.io/client': 15 + specifier: ^0.28.3 16 + version: 0.28.3(typescript@5.3.3) 11 17 12 18 devDependencies: 13 19 '@sveltejs/adapter-auto': ··· 535 541 resolution: {integrity: sha512-+NqgNmSabg3IFfxYhrWCfB/H+RCUOCR5ExRudNG2+pcRehq628DJB5e1u1xqwpLtn4pAYii4D98w7kofORAGQA==} 536 542 dependencies: 537 543 server-only: 0.0.1 544 + dev: false 545 + 546 + /@vercel/speed-insights@1.0.3: 547 + resolution: {integrity: sha512-bKIt0HDdF6hP2bJZyS+za3k6sKeAXNRLSIUbwVwvyvKdsHBWS6ILBvmD1wXHZZyTqjU1TP7dTE/F6lHM6rBdKA==} 548 + requiresBuild: true 549 + dev: false 550 + 551 + /@xata.io/client@0.28.3(typescript@5.3.3): 552 + resolution: {integrity: sha512-aaXct/xWiYqHyFx2srMCnFDGrKvDA5fa6NEkFGzTHXQdYTai5hTQXcraPHxVHGlPUV3dapQWsguR4YJQugDpqQ==} 553 + peerDependencies: 554 + typescript: '>=4.5' 555 + dependencies: 556 + typescript: 5.3.3 538 557 dev: false 539 558 540 559 /acorn-typescript@1.4.13(acorn@8.11.3): ··· 1685 1704 resolution: {integrity: sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==} 1686 1705 engines: {node: '>=14.17'} 1687 1706 hasBin: true 1688 - dev: true 1689 1707 1690 1708 /update-browserslist-db@1.0.13(browserslist@4.22.2): 1691 1709 resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==}
+3 -1
src/routes/+layout.svelte
··· 1 1 <script lang="ts"> 2 2 import "../app.css"; 3 - import { inject } from "@vercel/analytics"; 4 3 import { dev } from "$app/environment"; 5 4 import { color_theme } from "$lib/stores.svelte"; 5 + import { inject } from "@vercel/analytics"; 6 + import { injectSpeedInsights } from "@vercel/speed-insights/sveltekit"; 6 7 7 8 inject({ mode: dev ? "development" : "production" }); 9 + injectSpeedInsights(); 8 10 9 11 const daisyui_themes = [ 10 12 "light",