Skip to content

Commit

Permalink
docs: add a note about pnpm package installation (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexox authored Jun 28, 2024
1 parent adadccf commit c15e15c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

## <a id="go"></a> Go

```bash
Expand All @@ -73,7 +76,7 @@ python3 -m pip install --user lefthook

## <a id="swift"></a> 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:

Expand Down

0 comments on commit c15e15c

Please sign in to comment.