1
0
Fork 0
mirror of https://github.com/Findus23/RainbowRoad.git synced 2024-09-19 16:03:52 +02:00

update dependencies

This commit is contained in:
Lukas Winkler 2024-04-06 23:40:31 +02:00
parent 8a9da97c30
commit d55bd40b3e
Signed by: lukas
GPG key ID: 54DE4D798D244853
4 changed files with 601 additions and 273 deletions

View file

@ -1,5 +1,4 @@
{ {
"extends": "ts-node/node16/tsconfig.json",
"compilerOptions": { "compilerOptions": {
"resolveJsonModule": true, "resolveJsonModule": true,
"esModuleInterop": true "esModuleInterop": true

861
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,9 +4,9 @@
"description": "", "description": "",
"type": "module", "type": "module",
"scripts": { "scripts": {
"fetch": "cd commands && ts-node fetch.ts", "fetch": "cd commands && tsx fetch.ts",
"stats": "cd commands && ts-node stats.ts", "stats": "cd commands && tsx stats.ts",
"archive": "cd commands && ts-node archive_sources.ts", "archive": "cd commands && tsx archive_sources.ts",
"dev": "vite", "dev": "vite",
"build": "tsc --skipLibCheck && vite build", "build": "tsc --skipLibCheck && vite build",
"preview": "vite preview", "preview": "vite preview",
@ -16,6 +16,7 @@
"@types/micromodal": "^0.3.3", "@types/micromodal": "^0.3.3",
"@types/node": "^20.5.0", "@types/node": "^20.5.0",
"sass": "^1.54.4", "sass": "^1.54.4",
"tsx": "^4.7.2",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"vite": "^5.0.0" "vite": "^5.0.0"
}, },
@ -28,8 +29,7 @@
"micromodal": "^0.4.10", "micromodal": "^0.4.10",
"navigo": "^8.11.1", "navigo": "^8.11.1",
"node-fetch": "^3.2.10", "node-fetch": "^3.2.10",
"ol": "^8.0.0", "ol": "^9.0.0"
"ts-node": "^10.9.1"
}, },
"author": "", "author": "",
"license": "ISC" "license": "ISC"

View file

@ -19,7 +19,7 @@ router.hooks({
if (matomo) { if (matomo) {
matomo.customURL = locationAlias.protocol + '//' + matomo.customURL = locationAlias.protocol + '//' +
locationAlias.hostname + "/" + m.url locationAlias.hostname + "/" + m.url
matomo?.trackPageview() matomo.trackPageview()
} }
} }
}) })