Skip to content

Commit

Permalink
Update Svelte adapter from auto to Vercel for improved deployment sup…
Browse files Browse the repository at this point in the history
…port
  • Loading branch information
1aron committed Dec 19, 2024
1 parent d71ad79 commit b8e7623
Show file tree
Hide file tree
Showing 9 changed files with 230 additions and 82 deletions.
2 changes: 1 addition & 1 deletion examples/svelte-with-runtime-rendering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@eslint/compat": "^1.2.3",
"@fontsource/fira-mono": "^5.0.0",
"@neoconfetti/svelte": "^2.0.0",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-vercel": "^5.5.2",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"eslint": "^9.7.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-with-runtime-rendering/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto'
import adapter from '@sveltejs/adapter-vercel'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'

/** @type {import('@sveltejs/kit').Config} */
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-with-static-extraction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@master/css-extractor.vite": "workspace:^",
"@master/css-runtime": "workspace:^",
"@neoconfetti/svelte": "^2.2.1",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/adapter-vercel": "^5.5.2",
"@sveltejs/kit": "^2.10.1",
"@sveltejs/vite-plugin-svelte": "^5.0.1",
"eslint": "^9.16.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte-with-static-extraction/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto'
import adapter from '@sveltejs/adapter-vercel'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'

/** @type {import('@sveltejs/kit').Config} */
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@eslint/compat": "^1.2.3",
"@fontsource/fira-mono": "^5.0.0",
"@neoconfetti/svelte": "^2.0.0",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-vercel": "^5.5.2",
"@sveltejs/kit": "^2.9.0",
"@sveltejs/vite-plugin-svelte": "^5.0.0",
"eslint": "^9.7.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/svelte/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto'
import adapter from '@sveltejs/adapter-vercel'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'

/** @type {import('@sveltejs/kit').Config} */
Expand Down
4 changes: 2 additions & 2 deletions packages/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@
},
"devDependencies": {
"@eslint/compat": "^1.2.4",
"shared": "workspace:^",
"@master/css-server": "workspace:^",
"@playwright/experimental-ct-svelte": "1.41.2",
"@playwright/test": "1.41.2",
"@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/adapter-vercel": "^5.5.2",
"@sveltejs/kit": "^2.5.4",
"@sveltejs/package": "^2.3.0",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"publint": "^0.1.16",
"shared": "workspace:^",
"svelte": "^4.2.12",
"svelte-check": "^3.6.7",
"tslib": "^2.6.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto'
import adapter from '@sveltejs/adapter-vercel'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'

/** @type {import('@sveltejs/kit').Config} */
Expand Down
294 changes: 221 additions & 73 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

0 comments on commit b8e7623

Please sign in to comment.