Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate site/ to Svelte 5 #210

Merged
merged 4 commits into from
Feb 18, 2025
Merged

Migrate site/ to Svelte 5 #210

merged 4 commits into from
Feb 18, 2025

Conversation

janosh
Copy link
Owner

@janosh janosh commented Feb 18, 2025

preps new task pages that need recent features in elementari which already migrated to Svelte 5 so need to follow suit

migrated to iconify-icon for SSR support based on this iconify/iconify#350 (comment)

hoping it has SSR support and fixes

Serialized Error: { component_stack: [ 'Icon.svelte', 'ModelCard.svelte', '+page.svelte' ] }
This error originated in "tests/models-page.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:
- cancel timeouts using clearTimeout and clearInterval
- wait for promises to resolve using the await keyword

⎯⎯⎯⎯⎯ Uncaught Exception ⎯⎯⎯⎯⎯
ReferenceError: document is not defined

	in Icon.svelte
	in ModelCard.svelte
	in +page.svelte

 ❯ consequent_1 node_modules/@iconify/svelte/dist/Icon.svelte:133:43
    121|   <span {...data.attributes}></span>
    122|  {/if}
    123| {/if}
       |      ^
    124|
 ❯ node_modules/@iconify/svelte/dist/Icon.svelte:165:41
@janosh janosh merged commit e1d57cc into main Feb 18, 2025
5 of 7 checks passed
@janosh janosh deleted the migrate-site-svelte-5 branch February 18, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant