From 095a4fefbb6b9e57f22bd96f3db0577f5ed427b3 Mon Sep 17 00:00:00 2001 From: typicode Date: Sun, 4 Feb 2024 16:42:31 +0100 Subject: [PATCH] docs: update how-to.md --- docs/how-to.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/how-to.md b/docs/how-to.md index 9cc9083f9..ef28ced4a 100644 --- a/docs/how-to.md +++ b/docs/how-to.md @@ -225,7 +225,7 @@ Run the `husky` command once in your repo. Ideally, include it in the `prepare` } ``` -```json [pnpm] +```json [bun] { "scripts": { "prepare": "husky" // [!code hl] @@ -248,7 +248,8 @@ pnpm run prepare ``` ```sh [yarn] -yarn run prepare +# Yarn doesn't support `prepare` +yarn run postinstall ``` ```sh [bun]