From c15e15c263caf60e69a689f6060c0275824abed4 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Fri, 28 Jun 2024 10:55:22 +0300 Subject: [PATCH] docs: add a note about pnpm package installation (#761) --- docs/install.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 6ddb64e9..82f00ba9 100644 --- a/docs/install.md +++ b/docs/install.md @@ -57,6 +57,9 @@ Lefthook is available on NPM in the following flavors: yarn add -D @evilmartians/lefthook-installer ``` +> [!NOTE] +> If you use `pnpm` package manager make sure you set `side-effects-cache = false` in your .npmrc, otherwise the postinstall script of the lefthook package won't be executed and hooks won't be installed. + ## Go ```bash @@ -73,7 +76,7 @@ python3 -m pip install --user lefthook ## Swift -You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook-plugin). +You can find the Swift wrapper plugin [here](https://github.com/csjones/lefthook-plugin). Utilize lefthook in your Swift project using Swift Package Manager: