Skip to content

Commit 1773df9

Browse files
fkobiRich-Harris
andauthored
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 <[email protected]>
1 parent 39ee7cf commit 1773df9

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ Test samples are kept in `/test/xxx/samples` folder.
101101
1. To run test, run `pnpm test`.
102102
1. To run a particular test suite, use `pnpm test <suite-name>`, for example:
103103

104-
```bash
104+
```sh
105105
pnpm test validator
106106
```
107107

108108
1. To filter tests _within_ a test suite, use `pnpm test <suite-name> -t <test-name>`, for example:
109109

110-
```bash
110+
```sh
111111
pnpm test validator -t a11y-alt-text
112112
```
113113

documentation/docs/01-introduction/02-getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Getting started
44

55
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:
66

7-
```bash
7+
```sh
88
npx sv create myapp
99
cd myapp
1010
npm install

documentation/docs/07-misc/02-testing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Unit tests allow you to test small isolated parts of your code. Integration test
1010

1111
To setup Vitest manually, first install it:
1212

13-
```bash
13+
```sh
1414
npm install -D vitest
1515
```
1616

@@ -166,7 +166,7 @@ It is possible to test your components in isolation using Vitest.
166166
167167
To get started, install jsdom (a library that shims DOM APIs):
168168

169-
```bash
169+
```sh
170170
npm install -D jsdom
171171
```
172172

documentation/docs/98-reference/.generated/compile-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /
683683

684684
To automate this, run the dedicated migration:
685685

686-
```bash
686+
```sh
687687
npx sv migrate self-closing-tags
688688
```
689689

packages/svelte/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can play around with Svelte in the [tutorial](https://svelte.dev/tutorial),
1919

2020
When you're ready to build a full-fledge application, we recommend using [SvelteKit](https://svelte.dev/docs/kit):
2121

22-
```bash
22+
```sh
2323
npx sv create my-app
2424
cd my-app
2525
npm install

packages/svelte/messages/compile-warnings/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Some templating languages (including Svelte) will 'fix' HTML by turning `<span /
7171

7272
To automate this, run the dedicated migration:
7373

74-
```bash
74+
```sh
7575
npx sv migrate self-closing-tags
7676
```
7777

0 commit comments

Comments
 (0)