Switch analytics

This commit is contained in:
Shav Kinderlehrer 2024-05-11 11:59:19 -04:00
parent da0895e9b4
commit fe9692705a
4 changed files with 1 additions and 18 deletions

View File

@ -20,7 +20,6 @@
}, },
"type": "module", "type": "module",
"dependencies": { "dependencies": {
"@vercel/analytics": "^1.1.1",
"firebase": "^10.4.0", "firebase": "^10.4.0",
"highlight.js": "^11.8.0", "highlight.js": "^11.8.0",
"marked": "^9.0.2", "marked": "^9.0.2",

View File

@ -13,6 +13,7 @@
rel="stylesheet"> rel="stylesheet">
<link rel="alternate" type="application/rss+xml" title="RSS" href="https://blog.trinket.icu/rss.xml"> <link rel="alternate" type="application/rss+xml" title="RSS" href="https://blog.trinket.icu/rss.xml">
<script defer src="https://metrics.omm.fo/script.js" data-website-id="832a9d3c-bf39-425d-b829-e795ccd5c038"></script>
%sveltekit.head% %sveltekit.head%

View File

@ -1,10 +1,5 @@
<script lang="ts"> <script lang="ts">
import "./app.css"; import "./app.css";
import { dev } from "$app/environment";
import { inject } from "@vercel/analytics";
inject({ mode: dev ? "development" : "production" });
</script> </script>
<slot /> <slot />

View File

@ -687,13 +687,6 @@
resolved "https://registry.yarnpkg.com/@types/pug/-/pug-2.0.6.tgz#f830323c88172e66826d0bde413498b61054b5a6" resolved "https://registry.yarnpkg.com/@types/pug/-/pug-2.0.6.tgz#f830323c88172e66826d0bde413498b61054b5a6"
integrity sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg== integrity sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==
"@vercel/analytics@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@vercel/analytics/-/analytics-1.1.1.tgz#2a712378a95014a548b4f9d2ae1ea0721433908d"
integrity sha512-+NqgNmSabg3IFfxYhrWCfB/H+RCUOCR5ExRudNG2+pcRehq628DJB5e1u1xqwpLtn4pAYii4D98w7kofORAGQA==
dependencies:
server-only "^0.0.1"
acorn@^8.10.0, acorn@^8.9.0: acorn@^8.10.0, acorn@^8.9.0:
version "8.10.0" version "8.10.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.10.0.tgz#8be5b3907a67221a81ab23c7889c4c5526b62ec5"
@ -1375,11 +1368,6 @@ sander@^0.5.0:
mkdirp "^0.5.1" mkdirp "^0.5.1"
rimraf "^2.5.2" rimraf "^2.5.2"
server-only@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/server-only/-/server-only-0.0.1.tgz#0f366bb6afb618c37c9255a314535dc412cd1c9e"
integrity sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==
set-cookie-parser@^2.6.0: set-cookie-parser@^2.6.0:
version "2.6.0" version "2.6.0"
resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz#131921e50f62ff1a66a461d7d62d7b21d5d15a51" resolved "https://registry.yarnpkg.com/set-cookie-parser/-/set-cookie-parser-2.6.0.tgz#131921e50f62ff1a66a461d7d62d7b21d5d15a51"