diff --git a/apps/svelte.dev/package.json b/apps/svelte.dev/package.json index ebdf59526..d02571c2e 100644 --- a/apps/svelte.dev/package.json +++ b/apps/svelte.dev/package.json @@ -50,9 +50,9 @@ "devDependencies": { "@resvg/resvg-js": "^2.6.2", "@supabase/supabase-js": "^2.43.4", - "@sveltejs/adapter-vercel": "^5.4.3", + "@sveltejs/adapter-vercel": "^5.4.7", "@sveltejs/enhanced-img": "^0.3.4", - "@sveltejs/kit": "^2.7.7", + "@sveltejs/kit": "^2.8.0", "@sveltejs/site-kit": "workspace:*", "@sveltejs/vite-plugin-svelte": "4.0.0-next.6", "@types/cookie": "^0.6.0", diff --git a/apps/svelte.dev/src/routes/tutorial/[...slug]/+page.server.ts b/apps/svelte.dev/src/routes/tutorial/[...slug]/+page.server.ts index dc417b0af..f69d91c96 100644 --- a/apps/svelte.dev/src/routes/tutorial/[...slug]/+page.server.ts +++ b/apps/svelte.dev/src/routes/tutorial/[...slug]/+page.server.ts @@ -39,5 +39,8 @@ export function entries() { // So that redirects from these URLs to /tutorial//... work entries.push({ slug: 'svelte' }, { slug: 'kit' }); + // So that /tutorial/ redirects to /tutorial + entries.push({ slug: '' }); + return entries; } diff --git a/packages/editor/package.json b/packages/editor/package.json index 2a3bc539a..57aa323ae 100644 --- a/packages/editor/package.json +++ b/packages/editor/package.json @@ -46,7 +46,7 @@ "@replit/codemirror-lang-svelte": "^6.0.0", "@replit/codemirror-vim": "^6.0.14", "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.7.7", + "@sveltejs/kit": "^2.8.0", "@sveltejs/package": "^2.0.0", "@sveltejs/repl": "workspace:*", "@sveltejs/site-kit": "workspace:*", diff --git a/packages/repl/package.json b/packages/repl/package.json index 41d315bba..e32aeeac1 100644 --- a/packages/repl/package.json +++ b/packages/repl/package.json @@ -49,7 +49,7 @@ "devDependencies": { "@lezer/common": "^1.2.1", "@sveltejs/adapter-auto": "^3.0.0", - "@sveltejs/kit": "^2.7.7", + "@sveltejs/kit": "^2.8.0", "@sveltejs/package": "^2.0.0", "@sveltejs/vite-plugin-svelte": "4.0.0", "@types/estree": "^1.0.5", diff --git a/packages/site-kit/package.json b/packages/site-kit/package.json index 0f7318292..71c07c090 100644 --- a/packages/site-kit/package.json +++ b/packages/site-kit/package.json @@ -46,7 +46,7 @@ "svelte-persisted-store": "^0.9.2" }, "devDependencies": { - "@sveltejs/kit": "^2.7.7", + "@sveltejs/kit": "^2.8.0", "@types/node": "^20.12.11", "flexsearch": "^0.7.43", "magic-string": "^0.30.11", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a6f880a60..602dc3a4d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,7 +34,7 @@ importers: version: 1.22.0(typescript@5.5.4) '@sveltejs/amp': specifier: ^1.1.3 - version: 1.1.3(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) + version: 1.1.3(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) '@sveltejs/repl': specifier: workspace:* version: link:../../packages/repl @@ -55,7 +55,7 @@ importers: version: 1.3.2 '@vercel/speed-insights': specifier: ^1.0.0 - version: 1.0.11(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11) + version: 1.0.11(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11) '@webcontainer/api': specifier: ^1.1.5 version: 1.1.9 @@ -112,14 +112,14 @@ importers: specifier: ^2.43.4 version: 2.43.4 '@sveltejs/adapter-vercel': - specifier: ^5.4.3 - version: 5.4.3(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) + specifier: ^5.4.7 + version: 5.4.7(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) '@sveltejs/enhanced-img': specifier: ^0.3.4 version: 0.3.4(rollup@4.21.2)(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@sveltejs/kit': - specifier: ^2.7.7 - version: 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + specifier: ^2.8.0 + version: 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@sveltejs/site-kit': specifier: workspace:* version: link:../../packages/site-kit @@ -246,10 +246,10 @@ importers: version: 6.2.1(@codemirror/commands@6.5.0)(@codemirror/language@6.10.3)(@codemirror/search@6.5.6)(@codemirror/state@6.4.1)(@codemirror/view@6.34.1) '@sveltejs/adapter-auto': specifier: ^3.0.0 - version: 3.2.0(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) + version: 3.2.0(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) '@sveltejs/kit': - specifier: ^2.7.7 - version: 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + specifier: ^2.8.0 + version: 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@sveltejs/package': specifier: ^2.0.0 version: 2.3.1(svelte@5.1.11)(typescript@5.5.4) @@ -373,10 +373,10 @@ importers: version: 1.2.2 '@sveltejs/adapter-auto': specifier: ^3.0.0 - version: 3.2.0(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) + version: 3.2.0(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))) '@sveltejs/kit': - specifier: ^2.7.7 - version: 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + specifier: ^2.8.0 + version: 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@sveltejs/package': specifier: ^2.0.0 version: 2.3.1(svelte@5.1.11)(typescript@5.5.4) @@ -475,8 +475,8 @@ importers: version: 0.9.4(svelte@5.1.11) devDependencies: '@sveltejs/kit': - specifier: ^2.7.7 - version: 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + specifier: ^2.8.0 + version: 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@types/node': specifier: ^20.12.11 version: 20.14.2 @@ -1441,8 +1441,8 @@ packages: peerDependencies: '@sveltejs/kit': ^2.0.0 - '@sveltejs/adapter-vercel@5.4.3': - resolution: {integrity: sha512-srZBkMpeaa7lflO1ZGdKTW3jWHscE9rdAkyxgRlVMVyugjcPOZ3dcpEfpoM4wtVCbpEOdHniWqQR9yL+zs4ybA==} + '@sveltejs/adapter-vercel@5.4.7': + resolution: {integrity: sha512-yOKz0fO6G35UbTgEm8VWVeZqnOmMjhxANJt0hlsCo9OKcbLq2cTuh6AvVmcvhg8BzLEspiF4gv8ENtuJgHWvgA==} peerDependencies: '@sveltejs/kit': ^2.4.0 @@ -1457,8 +1457,8 @@ packages: svelte: ^4.0.0 || ^5.0.0-next.0 vite: '>= 5.0.0' - '@sveltejs/kit@2.7.7': - resolution: {integrity: sha512-EvNErTd0QuIUX6SbZecOJQus3cILJR87XyIQXF4kfwWap63/OV58GGTEI47k3ydrFssAWGw4eu3RlB2dmBYETA==} + '@sveltejs/kit@2.8.0': + resolution: {integrity: sha512-HCiWupCuKJQ3aPaC4Xc6lpPdjOOnoGzEiYjOqMqppdtfGtY2ABrx932Vw66ZwS2RGXc0BmZvFvNq5SzqlmDVLg==} engines: {node: '>=18.13'} hasBin: true peerDependencies: @@ -4268,23 +4268,23 @@ snapshots: - bufferutil - utf-8-validate - '@sveltejs/adapter-auto@3.2.0(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))': + '@sveltejs/adapter-auto@3.2.0(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))': dependencies: - '@sveltejs/kit': 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + '@sveltejs/kit': 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) import-meta-resolve: 4.1.0 - '@sveltejs/adapter-vercel@5.4.3(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))': + '@sveltejs/adapter-vercel@5.4.7(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))': dependencies: - '@sveltejs/kit': 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + '@sveltejs/kit': 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@vercel/nft': 0.27.2 esbuild: 0.21.5 transitivePeerDependencies: - encoding - supports-color - '@sveltejs/amp@1.1.3(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))': + '@sveltejs/amp@1.1.3(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))': dependencies: - '@sveltejs/kit': 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + '@sveltejs/kit': 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@sveltejs/enhanced-img@0.3.4(rollup@4.21.2)(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))': dependencies: @@ -4296,7 +4296,7 @@ snapshots: transitivePeerDependencies: - rollup - '@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))': + '@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))': dependencies: '@sveltejs/vite-plugin-svelte': 4.0.0(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@types/cookie': 0.6.0 @@ -4314,7 +4314,7 @@ snapshots: tiny-glob: 0.2.9 vite: 5.4.7(@types/node@20.14.2)(lightningcss@1.25.1) - '@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))': + '@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1))': dependencies: '@sveltejs/vite-plugin-svelte': 4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) '@types/cookie': 0.6.0 @@ -4489,9 +4489,9 @@ snapshots: - encoding - supports-color - '@vercel/speed-insights@1.0.11(@sveltejs/kit@2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)': + '@vercel/speed-insights@1.0.11(@sveltejs/kit@2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)': optionalDependencies: - '@sveltejs/kit': 2.7.7(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) + '@sveltejs/kit': 2.8.0(@sveltejs/vite-plugin-svelte@4.0.0-next.6(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)))(svelte@5.1.11)(vite@5.4.7(@types/node@20.14.2)(lightningcss@1.25.1)) svelte: 5.1.11 '@vitest/expect@2.1.2':