Skip to content

Commit 7941762

Browse files
Sync cli docs (#1350)
sync cli docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 9f55e15 commit 7941762

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

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

+3-6
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

+1-1
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

+3-3
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

+1-1
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

+1-1
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
```

0 commit comments

Comments
 (0)