Skip to content

Commit

Permalink
Upgrade example to Svelte 5 / SvelteKit 2 (Fixes #77) (#78)
Browse files Browse the repository at this point in the history
Signed-off-by: Luke Shiels <47612057+skve@users.noreply.github.com>
Co-authored-by: Tobias Lins <me@tobi.sh>
  • Loading branch information
skve and tobiaslins authored Oct 22, 2024
1 parent 5e6ff8c commit 7fa98c6
Show file tree
Hide file tree
Showing 3 changed files with 1,854 additions and 1,195 deletions.
14 changes: 8 additions & 6 deletions apps/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
"dev": "vite dev",
"prepare": "svelte-kit sync",
"preview": "vite preview"
},
"devDependencies": {
"@sveltejs/adapter-vercel": "^3.1.0",
"@sveltejs/kit": "^1.27.4",
"@sveltejs/adapter-vercel": "^5.4",
"@sveltejs/kit": "^2.7",
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"@vercel/speed-insights": "workspace:*",
"svelte": "^4.2.8",
"svelte-check": "^3.6.3",
"typescript": "^5.3.3",
"vite": "^4.4.2"
"svelte": "^5",
"svelte-check": "^4",
"typescript": "^5.5.0",
"vite": "^5.4.4"
}
}
8 changes: 4 additions & 4 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vercel/speed-insights",
"version": "1.0.12",
"version": "1.0.13",
"description": "Speed Insights is a tool for measuring web performance and providing suggestions for improvement.",
"keywords": [
"speed-insights",
Expand Down Expand Up @@ -90,7 +90,7 @@
},
"devDependencies": {
"@remix-run/react": "^2.5.0",
"@sveltejs/kit": "^1.20.4",
"@sveltejs/kit": "^2.7",
"@swc/core": "^1.3.103",
"@swc/jest": "^0.2.29",
"@testing-library/jest-dom": "^6.2.0",
Expand All @@ -104,7 +104,7 @@
"next": "^14.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"svelte": "^4.2.8",
"svelte": "^5",
"tsup": "7.2.0",
"vue": "^3.4.14",
"vue-router": "^4.2.5"
Expand All @@ -113,7 +113,7 @@
"@sveltejs/kit": "^1 || ^2",
"next": ">= 13",
"react": "^18 || ^19",
"svelte": "^4",
"svelte": ">= 4",
"vue": "^3",
"vue-router": "^4"
},
Expand Down
Loading

0 comments on commit 7fa98c6

Please sign in to comment.