chore: update dependencies and fix CodeEditor reactivity

- Update all dependencies to latest versions
- Fix CodeEditor file selection to use $effect for proper reactivity
- Disable analytics script temporarily
- Update sitemap
This commit is contained in:
Mathieu Schimmerling
2026-01-08 10:05:36 +01:00
parent be68cad967
commit f01955a390
5 changed files with 1465 additions and 1119 deletions

View File

@@ -15,11 +15,11 @@
crossorigin=""
/>
<script
<!-- <script
defer
src="/stats/script.js"
data-website-id="8b1364c9-f731-40a7-8bd4-4cb8804e3e07"
></script>
></script> -->
<!-- DNS Prefetch for external resources -->
<link rel="dns-prefetch" href="//github.com" />

View File

@@ -32,48 +32,48 @@
"@iconify-json/heroicons": "^1.2.3",
"just-throttle": "^4.2.0",
"lz-string": "^1.5.0",
"runed": "^0.32.0",
"sv-router": "^0.10.0"
"runed": "^0.37.1",
"sv-router": "^0.13.0"
},
"devDependencies": {
"@eslint/compat": "^1.3.2",
"@eslint/js": "^9.36.0",
"eslint": "^9.36.0",
"@iconify/json": "^2.2.386",
"@iconify/tailwind4": "^1.0.6",
"@playwright/test": "^1.55.0",
"@shikijs/markdown-it": "^3.13.0",
"@sveltejs/vite-plugin-svelte": "6.2.0",
"@sveltejs/vite-plugin-svelte-inspector": "5.0.1",
"@tailwindcss/vite": "^4.1.13",
"@eslint/compat": "^2.0.0",
"@eslint/js": "^9.39.2",
"@iconify/json": "^2.2.426",
"@iconify/tailwind4": "^1.2.0",
"@playwright/test": "^1.57.0",
"@shikijs/markdown-it": "^3.21.0",
"@sveltejs/vite-plugin-svelte": "6.2.3",
"@sveltejs/vite-plugin-svelte-inspector": "5.0.2",
"@tailwindcss/vite": "^4.1.18",
"@types/folder-hash": "^4.0.4",
"@types/html-minifier-terser": "^7.0.2",
"@types/markdown-it": "^14.1.2",
"autoprefixer": "^10.4.21",
"chokidar": "^4.0.3",
"autoprefixer": "^10.4.23",
"chokidar": "^5.0.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-oxlint": "^1.16.0",
"eslint-plugin-svelte": "^3.12.4",
"eta": "^4.0.1",
"eslint-plugin-oxlint": "^1.38.0",
"eslint-plugin-svelte": "^3.14.0",
"eta": "^4.5.0",
"folder-hash": "^4.1.1",
"globals": "^16.4.0",
"globals": "^17.0.0",
"html-minifier-terser": "^7.2.0",
"just-kebab-case": "^4.2.0",
"lefthook": "^1.13.1",
"lefthook": "^2.0.13",
"markdown-it": "^14.1.0",
"micache": "^2.4.1",
"oxlint": "^1.16.0",
"oxlint": "^1.38.0",
"package-directory": "^8.1.0",
"prettier": "^3.6.2",
"prettier-plugin-svelte": "^3.4.0",
"shiki": "^3.13.0",
"svelte": "5.39.3",
"svelte-check": "^4.3.1",
"tailwindcss": "^4.1.13",
"prettier": "^3.7.4",
"prettier-plugin-svelte": "^3.4.1",
"shiki": "^3.21.0",
"svelte": "5.46.1",
"svelte-check": "^4.3.5",
"tailwindcss": "^4.1.18",
"tslib": "^2.8.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.44.0",
"vite": "^7.1.6",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0",
"vite": "^7.3.1",
"vite-plugin-html": "^3.2.2"
},
"pnpm": {

2388
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -2,229 +2,229 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://component-party.dev/</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>1</priority>
</url>
<url>
<loc>https://component-party.dev/?f=svelte5</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue3</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=angularRenaissance</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=angular</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=lit</loc>
<lastmod>2025-09-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=emberOctane</loc>
<lastmod>2025-09-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=solid</loc>
<lastmod>2025-09-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=svelte4</loc>
<lastmod>2025-09-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue2</loc>
<lastmod>2025-09-21</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=alpine</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=emberPolaris</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=emberOctane</loc>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=solid</loc>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=svelte4</loc>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue2</loc>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=alpine</loc>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=mithril</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=aurelia2</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=qwik</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=marko</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=aurelia1</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=ripple</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react,vue3</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react,angularRenaissance</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react,svelte5</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react,solid</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue3,angularRenaissance</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue3,svelte5</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue3,solid</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=angularRenaissance,svelte5</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=angularRenaissance,solid</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=svelte5,solid</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react,vue3,angularRenaissance</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react,svelte5,solid</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue3,svelte5,solid</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=react,vue3,svelte5</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=svelte4,svelte5</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=vue2,vue3</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=angular,angularRenaissance</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=aurelia1,aurelia2</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://component-party.dev/?f=emberOctane,emberPolaris</loc>
<lastmod>2025-09-21</lastmod>
<lastmod>2026-01-08</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>

View File

@@ -20,9 +20,11 @@
let codeSnippetEl: HTMLElement | undefined = $state();
let filenameSelected: string | undefined = $state(
files.length > 0 ? files[0]?.fileName : undefined,
);
let filenameSelected: string | undefined = $state();
$effect(() => {
filenameSelected = files.length > 0 ? files[0]?.fileName : undefined;
});
const snippet: File | undefined = $derived(
filenameSelected