upgrade to sveltekit 1.0.0

This commit is contained in:
Akis 2022-12-14 20:41:13 +02:00
parent 5ab0e2ecdc
commit a6c4014327
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
3 changed files with 529 additions and 458 deletions

View File

@ -12,25 +12,25 @@
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ." "format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ."
}, },
"devDependencies": { "devDependencies": {
"@iconify-json/fa6-solid": "^1.1.7", "@iconify-json/fa6-solid": "^1.1.9",
"@iconify-json/simple-icons": "^1.1.34", "@iconify-json/simple-icons": "^1.1.39",
"@sveltejs/adapter-node": "1.0.0-next.100", "@sveltejs/adapter-node": "1.0.0",
"@sveltejs/kit": "1.0.0-next.539", "@sveltejs/kit": "1.0.0",
"dayjs": "^1.11.6", "dayjs": "^1.11.7",
"mdsvex": "^0.10.6", "mdsvex": "^0.10.6",
"prettier": "^2.7.1", "prettier": "^2.8.1",
"prettier-plugin-svelte": "^2.8.0", "prettier-plugin-svelte": "^2.9.0",
"svelte": "^3.53.1", "svelte": "^3.55.0",
"svelte-check": "^2.9.2", "svelte-check": "^2.10.2",
"svelte-dark-mode": "^2.1.0", "svelte-dark-mode": "^2.1.0",
"svelte-hcaptcha": "^0.1.1", "svelte-hcaptcha": "^0.1.1",
"svelte-preprocess": "^4.10.7", "svelte-preprocess": "^5.0.0",
"svelte-seo": "^1.4.1", "svelte-seo": "^1.4.1",
"svelte-vertical-timeline": "^0.0.2", "svelte-vertical-timeline": "^0.0.2",
"tslib": "^2.4.1", "tslib": "^2.4.1",
"typescript": "^4.8.4", "typescript": "^4.9.4",
"unocss": "^0.46.4", "unocss": "^0.47.6",
"vite": "3.2.3" "vite": "4.0.1"
}, },
"type": "module" "type": "module"
} }

959
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@
<div class="links"> <div class="links">
{#each menus as { url, name }} {#each menus as { url, name }}
<a <a
data-sveltekit-prefetch data-sveltekit-preload-data
class:active={url !== "/" class:active={url !== "/"
? currentPage.match(url) ? currentPage.match(url)
: url === currentPage} : url === currentPage}