From 6539f66642e71c7e23cbf5a816bd65dd6a0ff7db Mon Sep 17 00:00:00 2001 From: jq170727 <31713802+jq170727@users.noreply.github.com> Date: Tue, 21 Mar 2023 00:49:55 +0000 Subject: "bun-create" example "postinstall"→"preinstall" (#2441) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "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. --- docs/cli/create.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/cli') 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!'" } -- cgit v1.2.3