Skip to content

Commit 702f49b

Browse files
fwangRich-Harris
andauthored
feat: support AWS via SST in adapter-auto (#9874)
* [feat] support AWS via SST in adapter-auto * Sync * Delete 95-adapter-aws-sst.md * Update .changeset/rotten-ducks-tan.md --------- Co-authored-by: Rich Harris <[email protected]>
1 parent 4622f1a commit 702f49b

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.changeset/rotten-ducks-tan.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/adapter-auto': minor
3+
---
4+
5+
[feat] support AWS via SST

documentation/docs/25-build-and-deploy/30-adapter-auto.md

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ When you create a new SvelteKit project with `npm create svelte@latest`, it inst
88
- [`@sveltejs/adapter-netlify`](adapter-netlify) for [Netlify](https://netlify.com/)
99
- [`@sveltejs/adapter-vercel`](adapter-vercel) for [Vercel](https://vercel.com/)
1010
- [`svelte-adapter-azure-swa`](https://github.com./geoffrich/svelte-adapter-azure-swa) for [Azure Static Web Apps](https://docs.microsoft.com/en-us/azure/static-web-apps/)
11+
- [`svelte-kit-sst`](https://github.com./serverless-stack/sst/tree/master/packages/svelte-kit-sst) for [AWS via SST](https://docs.sst.dev/start/svelte)
1112

1213
It's recommended to install the appropriate adapter to your `devDependencies` once you've settled on a target environment, since this will add the adapter to your lockfile and slightly improve install times on CI.
1314

packages/adapter-auto/adapters.js

+6
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,11 @@ export const adapters = [
2424
test: () => process.env.GITHUB_ACTION_REPOSITORY === 'Azure/static-web-apps-deploy',
2525
module: 'svelte-adapter-azure-swa',
2626
version: '0.13'
27+
},
28+
{
29+
name: 'AWS via SST',
30+
test: () => !!process.env.SST,
31+
module: 'svelte-kit-sst',
32+
version: '2'
2733
}
2834
];

0 commit comments

Comments
 (0)