Skip to content

Commit 5b36375

Browse files
Merge branch 'main' into templating-mode-selector
2 parents 0a18228 + 0485be4 commit 5b36375

File tree

24 files changed

+180
-80
lines changed

24 files changed

+180
-80
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: 'Bringing Svelte Summit to the whole community'
3+
description: We're sponsoring the release of talks from Barcelona, starting this weekend
4+
author: The Svelte team
5+
authorURL: https://bsky.app/profile/svelte.dev
6+
---
7+
8+
This month's [Svelte Summit](https://www.sveltesummit.com/) in Barcelona was a glorious celebration of the community. We had lively conversations, delightful dinners, and funny, imaginative and thought-provoking talks.
9+
10+
For everyone who couldn't make it there in person, the conference also sold virtual tickets to the livestream, which give on-demand access to the talks. These ticket sales make it possible to (for example) hire AV technicians and ensure that the stream is reliable and high-quality. Running a conference is extremely difficult and time-consuming, and we're very grateful to [Svelte Society](https://bsky.app/profile/sveltesociety.dev) ([Kevin](https://bsky.app/profile/kevinak.se) in particular), [Mainmatter](https://mainmatter.com/), and everyone who bought a ticket for making the event a reality.
11+
12+
But we've heard from many of you that the talks should be freely available so that they can be shared with the widest possible audience and... we agree!
13+
14+
So the Svelte team has decided to sponsor the release of the talks, beginning this weekend. We're able to do this because of the generous financial support so many of you have given us via [opencollective.com/svelte](https://opencollective.com/svelte), which also funds important development work on the project.
15+
16+
Subscribe to the [Svelte Society YouTube account](https://www.youtube.com/sveltesociety) to be the first to know when the videos are released.

apps/svelte.dev/content/docs/cli/30-add-ons/05-drizzle.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Which database variant to use:
2929
- `sqlite` — file-based database not requiring a database server
3030

3131
```bash
32-
npx sv add --drizzle=postgresql
32+
npx sv add drizzle=database:postgresql
3333
```
3434

3535
### client
@@ -41,7 +41,7 @@ The SQL client to use, depends on `database`:
4141
- For `sqlite`: `better-sqlite3`, `libsql`, `turso`
4242

4343
```bash
44-
npx sv add --drizzle=postgresql,postgres.js
44+
npx sv add drizzle=database:postgresql+client:postgres.js
4545
```
4646

4747
Drizzle is compatible with well over a dozen database drivers. We just offer a few of the most common ones here for simplicity, but if you'd like to use another one you can choose one as a placeholder and swap it out for another after setup by choosing from [Drizzle's full list of compatible drivers](https://orm.drizzle.team/docs/connect-overview#next-steps).
@@ -50,9 +50,6 @@ Drizzle is compatible with well over a dozen database drivers. We just offer a f
5050

5151
Whether to add Docker Compose configuration. Only available for [`database`](#Options-database) `postgresql` or `mysql`
5252

53-
- `docker` - generates `docker-compose.yml`
54-
- `no-docker` - does not generate docker config
55-
5653
```bash
57-
npx sv add --drizzle=postgresql,postgres.js,docker
54+
npx sv add drizzle=database:postgresql+client:postgres.js+docker:yes
5855
```

apps/svelte.dev/content/docs/cli/30-add-ons/15-lucia.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ npx sv add lucia
2323
Whether to include demo registration and login pages.
2424

2525
```bash
26-
npx sv add --lucia=demo
26+
npx sv add lucia=demo:yes
2727
```

apps/svelte.dev/content/docs/cli/30-add-ons/25-paraglide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ npx sv add paraglide
2222

2323
## Options
2424

25-
### availableLanguageTags
25+
### languageTags
2626

2727
The languages you'd like to support specified as IETF BCP 47 language tags.
2828

2929
```bash
30-
npx sv add --paraglide=en,es
30+
npx sv add paraglide="languageTags:en,es"
3131
```
3232

3333
### demo
3434

3535
Whether to generate an optional demo page showing how to use paraglide.
3636

3737
```bash
38-
npx sv add --paraglide=demo
38+
npx sv add paraglide="demo:yes"
3939
```

apps/svelte.dev/content/docs/cli/30-add-ons/45-sveltekit-adapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ Which SvelteKit adapter to use:
2929
- `netlify`[`@sveltejs/adapter-netlify`](/docs/kit/adapter-netlify) allows you to deploy to Netlify
3030

3131
```bash
32-
npx sv add --sveltekit-adapter=node
32+
npx sv add sveltekit-adapter=adapter:node
3333
```

apps/svelte.dev/content/docs/cli/30-add-ons/50-tailwind.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ Which plugin to use:
2828
- `forms`[`@tailwindcss/forms`](https://github.com/tailwindlabs/tailwindcss-forms)
2929

3030
```bash
31-
npx sv add --tailwindcss=typography
31+
npx sv add tailwindcss="plugins:typography"
3232
```

apps/svelte.dev/content/docs/kit/20-core-concepts/40-page-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ NOTE: do not edit this file, it is generated in apps/svelte.dev/scripts/sync-doc
33
title: Page options
44
---
55

6-
By default, SvelteKit will render (or [prerender](glossary#Prerendering)) any component first on the server and send it to the client as HTML. It will then render the component again in the browser to make it interactive in a process called [**hydration**](glossary#Hydration). For this reason, you need to ensure that components can run in both places. SvelteKit will then initialize a [**router**](routing) that takes over subsequent navigations.
6+
By default, SvelteKit will render (or [prerender](glossary#Prerendering)) any component first on the server and send it to the client as HTML. It will then render the component again in the browser to make it interactive in a process called [_hydration_](glossary#Hydration). For this reason, you need to ensure that components can run in both places. SvelteKit will then initialize a [_router_](routing) that takes over subsequent navigations.
77

88
You can control each of these on a page-by-page basis by exporting options from [`+page.js`](routing#page-page.js) or [`+page.server.js`](routing#page-page.server.js), or for groups of pages using a shared [`+layout.js`](routing#layout-layout.js) or [`+layout.server.js`](routing#layout-layout.server.js). To define an option for the whole app, export it from the root layout. Child layouts and pages override values set in parent layouts, so — for example — you can enable prerendering for your entire app then disable it for pages that need to be dynamically rendered.
99

apps/svelte.dev/content/docs/kit/25-build-and-deploy/30-adapter-auto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ When you create a new SvelteKit project with `npx sv create`, it installs [`adap
99
- [`@sveltejs/adapter-netlify`](adapter-netlify) for [Netlify](https://netlify.com/)
1010
- [`@sveltejs/adapter-vercel`](adapter-vercel) for [Vercel](https://vercel.com/)
1111
- [`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/)
12-
- [`svelte-kit-sst`](https://github.com/sst/sst/tree/master/packages/svelte-kit-sst) for [AWS via SST](https://sst.dev/docs/start/aws/svelte)
12+
- [`svelte-kit-sst`](https://github.com/sst/v2/tree/master/packages/svelte-kit-sst) for [AWS via SST](https://sst.dev/docs/start/aws/svelte)
1313
- [`@sveltejs/adapter-node`](adapter-node) for [Google Cloud Run](https://cloud.google.com/run)
1414

1515
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.

apps/svelte.dev/content/docs/kit/25-build-and-deploy/60-adapter-cloudflare.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ Please follow the [Get Started Guide](https://developers.cloudflare.com/pages/ge
109109

110110
If you're using the [Git integration](https://developers.cloudflare.com/pages/get-started/git-integration/), your build settings should look like this:
111111

112-
- **Framework preset** – SvelteKit
113-
- **Build command**`npm run build` or `vite build`
114-
- **Build output directory**`.svelte-kit/cloudflare`
112+
- Framework preset – SvelteKit
113+
- Build command – `npm run build` or `vite build`
114+
- Build output directory – `.svelte-kit/cloudflare`
115115

116116
### Further reading
117117

@@ -158,7 +158,7 @@ export {};
158158

159159
Cloudflare specific values in the `platform` property are emulated during dev and preview modes. Local [bindings](https://developers.cloudflare.com/workers/wrangler/configuration/#bindings) are created based on your [Wrangler configuration file](https://developers.cloudflare.com/workers/wrangler/) and are used to populate `platform.env` during development and preview. Use the adapter config [`platformProxy` option](#Options-platformProxy) to change your preferences for the bindings.
160160

161-
For testing the build, you should use [Wrangler](https://developers.cloudflare.com/workers/wrangler/) **version 4**. Once you have built your site, run `wrangler dev .svelte-kit/cloudflare` if you're testing for Cloudflare Workers or `wrangler pages dev .svelte-kit/cloudflare` for Cloudflare Pages.
161+
For testing the build, you should use [Wrangler](https://developers.cloudflare.com/workers/wrangler/) version 4. Once you have built your site, run `wrangler dev .svelte-kit/cloudflare` if you're testing for Cloudflare Workers or `wrangler pages dev .svelte-kit/cloudflare` for Cloudflare Pages.
162162

163163
## Headers and redirects
164164

apps/svelte.dev/content/docs/kit/25-build-and-deploy/70-adapter-cloudflare-workers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export {};
113113

114114
Cloudflare Workers specific values in the `platform` property are emulated during dev and preview modes. Local [bindings](https://developers.cloudflare.com/workers/wrangler/configuration/#bindings) are created based on your [Wrangler configuration file](https://developers.cloudflare.com/workers/wrangler/) and are used to populate `platform.env` during development and preview. Use the adapter config [`platformProxy` option](#Options-platformProxy) to change your preferences for the bindings.
115115

116-
For testing the build, you should use [Wrangler](https://developers.cloudflare.com/workers/wrangler/) **version 4**. Once you have built your site, run `wrangler dev`.
116+
For testing the build, you should use [Wrangler](https://developers.cloudflare.com/workers/wrangler/) version 4. Once you have built your site, run `wrangler dev`.
117117

118118
## Troubleshooting
119119

0 commit comments

Comments
 (0)