From 575a85a3fdc8c938743bafbc72c604dea95fbc17 Mon Sep 17 00:00:00 2001 From: Zong Date: Sat, 16 Sep 2023 05:10:04 +0800 Subject: [PATCH] docs(runtime): fix some typo. (#5451) --- docs/runtime/bunfig.md | 7 +++++-- docs/runtime/hot.md | 2 +- docs/runtime/modules.md | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/runtime/bunfig.md b/docs/runtime/bunfig.md index 9426cc6e04..3db6965f53 100644 --- a/docs/runtime/bunfig.md +++ b/docs/runtime/bunfig.md @@ -269,6 +269,9 @@ Valid values are: {% table %} +- Value +- Description + --- - `"auto"` @@ -277,12 +280,12 @@ Valid values are: --- - `"force"` -- Always auto-install dependencies, even if `node_modules` exists +- Always auto-install dependencies, even if `node_modules` exists. --- - `"disable"` -- Never auto-install dependencies +- Never auto-install dependencies. --- diff --git a/docs/runtime/hot.md b/docs/runtime/hot.md index a8837594f2..4c344f4dc7 100644 --- a/docs/runtime/hot.md +++ b/docs/runtime/hot.md @@ -1,6 +1,6 @@ Bun supports two kinds of automatic reloading via CLI flags: -- `--watch` mode, which hard restarts Bun's process when imported files change/ +- `--watch` mode, which hard restarts Bun's process when imported files change. - `--hot` mode, which soft reloads the code (without restarting the process) when imported files change. ## `--watch` mode diff --git a/docs/runtime/modules.md b/docs/runtime/modules.md index b4d560c81c..5562b5d157 100644 --- a/docs/runtime/modules.md +++ b/docs/runtime/modules.md @@ -24,7 +24,7 @@ export function hello() { {% /codetabs %} -When we run `index.ts`, it prints "Hello world". +When we run `index.ts`, it prints "Hello world!". ```bash $ bun index.ts @@ -197,7 +197,7 @@ Bun respects subpath [`"exports"`](https://nodejs.org/api/packages.html#subpath- Subpath imports and conditional imports work in conjunction with each other. -``` +```json { "name": "foo", "exports": {