docs: use sh instead of bash in source blocks (#16506)

* use sh instead of bash in source blocks

no bash-specific functionality is used

* regenerate

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/16514/head
fkobi 1 month ago committed by GitHub
parent 39ee7cf4c2
commit 1773df9484
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -101,13 +101,13 @@ Test samples are kept in `/test/xxx/samples` folder.
1. To run test, run `pnpm test`.
1. To run a particular test suite, use `pnpm test <suite-name>`, for example:
```bash
```sh
pnpm test validator
```
1. To filter tests _within_ a test suite, use `pnpm test <suite-name> -t <test-name>`, for example:
```bash
```sh
pnpm test validator -t a11y-alt-text
```

@ -4,7 +4,7 @@ title: Getting started
We recommend using [SvelteKit](../kit), which lets you [build almost anything](../kit/project-types). It's the official application framework from the Svelte team and powered by [Vite](https://vite.dev/). Create a new project with:
```bash
```sh
npx sv create myapp
cd myapp
npm install

@ -10,7 +10,7 @@ Unit tests allow you to test small isolated parts of your code. Integration test
To setup Vitest manually, first install it:
```bash
```sh
npm install -D vitest
```
@ -166,7 +166,7 @@ It is possible to test your components in isolation using Vitest.
To get started, install jsdom (a library that shims DOM APIs):
```bash
```sh
npm install -D jsdom
```

@ -683,7 +683,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /
To automate this, run the dedicated migration:
```bash
```sh
npx sv migrate self-closing-tags
```

@ -19,7 +19,7 @@ You can play around with Svelte in the [tutorial](https://svelte.dev/tutorial),
When you're ready to build a full-fledge application, we recommend using [SvelteKit](https://svelte.dev/docs/kit):
```bash
```sh
npx sv create my-app
cd my-app
npm install

@ -71,7 +71,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /
To automate this, run the dedicated migration:
```bash
```sh
npx sv migrate self-closing-tags
```

Loading…
Cancel
Save