Skip to content

Commit db1dcc0

Browse files
committed
docs: update nodejs script for formatting the documentation to be the correct npm run fmt from the package, as the npm run format does not exist
``` ❯ npm run format npm error Missing script: "format" npm error npm error To see a list of scripts, run: npm error npm run ❯ npm run Scripts available in undefined via `npm run-script`: fmt prettier --write '.vitepress/{config,navbars,sidebars}.ts' '.vitepress/theme/**/*' dev vitepress dev build vitepress build preview vitepress preview ```
1 parent c658c10 commit db1dcc0

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/contribute/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ npm run dev
5050
Format the code before committing:
5151

5252
```shell
53-
npm run format
53+
npm run fmt
5454
```
5555

5656
## Pull Requests, Releases & Conventional Commits

docs/ja-jp/contribute/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ npm run dev
5050
コミットする前にコードをフォーマットするには、次のように実行します:
5151

5252
```shell
53-
npm run format
53+
npm run fmt
5454
```
5555

5656
## プルリクエスト、リリース、Conventional Commits

docs/ko-kr/contribute/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ npm run dev
5050
커밋 전 코드 형식 맞추기:
5151

5252
```shell
53-
npm run format
53+
npm run fmt
5454
```
5555

5656
## 풀 리퀘스트, 릴리스 & 관습적 커밋

docs/pt-br/contribute/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ npm run dev
5252
Formate o código antes de confirmar:
5353

5454
```shell
55-
npm run format
55+
npm run fmt
5656
```
5757

5858
## Pull Requests, Releases e Commits Convencionais

docs/zh-hans/contribute/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ npm run dev
5050
在提交之前格式化代码:
5151

5252
```shell
53-
npm run format
53+
npm run fmt
5454
```
5555

5656
## 拉取请求、发布以及约定式提交

0 commit comments

Comments
 (0)