diff options
| author | Fuwn <[email protected]> | 2026-01-22 21:47:18 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-22 21:47:18 -0800 |
| commit | fddf1c32424f161987a8ba256824af869c983f2f (patch) | |
| tree | 491f1f5aa1f81b425577629bfc088da64a09625d | |
| parent | deps(svelte): Migrate to Svelte 5 (diff) | |
| download | due.moe-fddf1c32424f161987a8ba256824af869c983f2f.tar.xz due.moe-fddf1c32424f161987a8ba256824af869c983f2f.zip | |
deps(svelte): Migrate to Svelte 5 with compatibility mode
| -rwxr-xr-x | bun.lockb | bin | 396300 -> 411625 bytes | |||
| -rw-r--r-- | package.json | 4 | ||||
| -rw-r--r-- | src/routes/user/[user]/+page.svelte | 11 | ||||
| -rw-r--r-- | svelte.config.js | 2 |
4 files changed, 12 insertions, 5 deletions
| Binary files differ diff --git a/package.json b/package.json index 13ffc83c..56dcdc35 100644 --- a/package.json +++ b/package.json @@ -34,6 +34,8 @@ "sass": "^1.69.7", "svelte": "^5.0.0", "svelte-check": "^4.0.0", + "houdini": "^1.5.10", + "houdini-svelte": "^2.1.20", "sveltekit-graphql": "^0.4.3", "sveltekit-rate-limiter": "^0.4.2", "tslib": "^2.4.1", @@ -57,7 +59,7 @@ "sortablejs": "^1.15.2", "string-similarity": "^4.0.4", "svelte-i18n": "^4.0.0", - "svelte-markdown": "^0.4.1", + "@humanspeak/svelte-markdown": "^0.8.14", "svelte-notifications": "^0.9.98", "uuid": "^10.0.0", "wanakana": "^5.3.1", diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte index d60ea8e5..150a46cc 100644 --- a/src/routes/user/[user]/+page.svelte +++ b/src/routes/user/[user]/+page.svelte @@ -17,7 +17,7 @@ import proxy from '$lib/Utility/proxy'; import { parseScheduleHtml } from '$lib/Data/hololive'; import type { Preferences } from '../../../graphql/$types'; - import SvelteMarkdown from 'svelte-markdown'; + import SvelteMarkdown from '@humanspeak/svelte-markdown'; import MarkdownLink from '$lib/MarkdownLink.svelte'; import LinkedTooltip from '$lib/Tooltip/LinkedTooltip.svelte'; import { graphql } from '$houdini'; @@ -498,7 +498,9 @@ .user-grid-hololive-badges { $transitionDuration: 0.45s; - $transition: transform $transitionDuration ease, box-shadow $transitionDuration ease; + $transition: + transform $transitionDuration ease, + box-shadow $transitionDuration ease; $size: 5.25em; border-radius: 8px; @@ -513,7 +515,10 @@ z-index: 2; transition: $transition; transform: scale(1.15); - box-shadow: 0 1.5px 9px var(--base01), 0 0 0 4px var(--base02), 0 4px 30px var(--base01); + box-shadow: + 0 1.5px 9px var(--base01), + 0 0 0 4px var(--base02), + 0 4px 30px var(--base01); } } diff --git a/svelte.config.js b/svelte.config.js index 28d8ee98..511d6e1d 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -6,7 +6,7 @@ import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; const config = { preprocess: vitePreprocess(), kit: { - adapter: adapter(), + adapter: adapter({ runtime: 'nodejs22.x' }), alias: { $stores: './src/stores', $styles: './src/styles', |