Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions documentation/docs/20-commands/20-sv-add.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,27 @@ You can select multiple space-separated add-ons from [the list below](#Official-

## Options

- `-C`, `--cwd` — path to the root of your Svelte(Kit) project
- `--no-git-check` — even if some files are dirty, no prompt will be shown
- `--install` — installs dependencies with a specified package manager
- `--no-install` — prevents installing dependencies
### `-C`, `--cwd`

Path to the root of your Svelte(Kit) project.

### `--no-git-check`

Even if some files are dirty, no prompt will be shown

### `--install <package-manager>`

Installs dependencies with a specified package manager:

- `npm`
- `pnpm`
- `yarn`
- `bun`
- `deno`

### `--no-install`

Prevents installing dependencies

## Official add-ons

Expand Down
6 changes: 3 additions & 3 deletions documentation/docs/30-add-ons/05-drizzle.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Which database variant to use:
- `sqlite` — file-based database not requiring a database server

```sh
npx sv add drizzle=database:postgresql
npx sv add drizzle="database:postgresql"
```

### client
Expand All @@ -40,7 +40,7 @@ The SQL client to use, depends on `database`:
- For `sqlite`: `better-sqlite3`, `libsql`, `turso`

```sh
npx sv add drizzle=database:postgresql+client:postgres.js
npx sv add drizzle="database:postgresql+client:postgres.js"
```

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).
Expand All @@ -50,5 +50,5 @@ Drizzle is compatible with well over a dozen database drivers. We just offer a f
Whether to add Docker Compose configuration. Only available for [`database`](#Options-database) `postgresql` or `mysql`

```sh
npx sv add drizzle=database:postgresql+client:postgres.js+docker:yes
npx sv add drizzle="database:postgresql+client:postgres.js+docker:yes"
```
2 changes: 1 addition & 1 deletion documentation/docs/30-add-ons/15-lucia.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ npx sv add lucia
Whether to include demo registration and login pages.

```sh
npx sv add lucia=demo:yes
npx sv add lucia="demo:yes"
```
4 changes: 2 additions & 2 deletions documentation/docs/30-add-ons/17-mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ npx sv add mcp
The IDE you want to use like `'claude-code'`, `'cursor'`, `'gemini'`, `'opencode'`, `'vscode'`, `'other'`.

```sh
npx sv add mcp=ide:cursor,vscode
npx sv add mcp="ide:cursor,vscode"
```

### setup

The setup you want to use.

```sh
npx sv add mcp=setup:local
npx sv add mcp="setup:local"
```
2 changes: 1 addition & 1 deletion documentation/docs/30-add-ons/45-sveltekit-adapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ Which SvelteKit adapter to use:
- `netlify` — [`@sveltejs/adapter-netlify`](/docs/kit/adapter-netlify) allows you to deploy to Netlify

```sh
npx sv add sveltekit-adapter=adapter:node
npx sv add sveltekit-adapter="adapter:node"
```
Loading