aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jq170727 <31713802+jq170727@users.noreply.github.com> 2023-03-21 00:49:55 +0000
committerGravatar GitHub <noreply@github.com> 2023-03-20 17:49:55 -0700
commit6539f66642e71c7e23cbf5a816bd65dd6a0ff7db (patch)
treea21013077bf9cdfab9814f7b3da94a1074f11418
parent4dd4bab7b97627b6d50a7e7480b051318d82745c (diff)
downloadbun-6539f66642e71c7e23cbf5a816bd65dd6a0ff7db.tar.gz
bun-6539f66642e71c7e23cbf5a816bd65dd6a0ff7db.tar.zst
bun-6539f66642e71c7e23cbf5a816bd65dd6a0ff7db.zip
"bun-create" example "postinstall"→"preinstall" (#2441)
"postinstall" is listed twice in the example for the "bun-create" section of package.json. Based on the context and content of the echo commands I believe the intent is that the first "postinstall" should be "preinstall". This change corrects this.
-rw-r--r--docs/cli/create.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cli/create.md b/docs/cli/create.md
index 54595a6fe..a6dc90c2c 100644
--- a/docs/cli/create.md
+++ b/docs/cli/create.md
@@ -129,7 +129,7 @@ Each of these can correspond to a string or array of strings. An array of comman
"react-dom": "^17.0.2"
},
"bun-create": {
- "postinstall": "echo 'Installing...'", // a single command
+ "preinstall": "echo 'Installing...'", // a single command
"postinstall": ["echo 'Done!'"], // an array of commands
"start": "bun run echo 'Hello world!'"
}