lefthook 1.7.18 → 1.7.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -7
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<img align="right" width="147" height="100" title="Lefthook logo"
|
|
9
9
|
src="./logo_sign.svg">
|
|
10
10
|
|
|
11
|
-
A Git hooks manager for Node.js, Ruby and many other types of projects.
|
|
11
|
+
A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
|
|
12
12
|
|
|
13
13
|
* **Fast.** It is written in Go. Can run commands in parallel.
|
|
14
14
|
* **Powerful.** It allows to control execution and files you pass to your commands.
|
|
@@ -33,12 +33,18 @@ With **NPM**:
|
|
|
33
33
|
npm install lefthook --save-dev
|
|
34
34
|
```
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
For **Ruby**:
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
gem install lefthook
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
For **Python**:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
pip install lefthook
|
|
46
|
+
```
|
|
47
|
+
|
|
42
48
|
**[Installation guide](./docs/install.md)** with more ways to install lefthook: [apt](./docs/install.md#deb), [brew](./docs/install.md#homebrew), [winget](./docs/install.md#winget), and others.
|
|
43
49
|
|
|
44
50
|
## Usage
|
|
@@ -65,8 +71,6 @@ git add -A && git commit -m '...'
|
|
|
65
71
|
- [**Discussions**](https://github.com/evilmartians/lefthook/discussions) for questions, ideas, suggestions.
|
|
66
72
|
<!-- - [**Wiki**](https://github.com/evilmartians/lefthook/wiki) for guides, examples, and benchmarks. -->
|
|
67
73
|
|
|
68
|
-
***
|
|
69
|
-
|
|
70
74
|
## Why Lefthook
|
|
71
75
|
|
|
72
76
|
* ### **Parallel execution**
|
|
@@ -200,9 +204,7 @@ skip_output:
|
|
|
200
204
|
- success #(output from runners with exit code 0)
|
|
201
205
|
```
|
|
202
206
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
## Table of contents:
|
|
207
|
+
----
|
|
206
208
|
|
|
207
209
|
### Guides
|
|
208
210
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lefthook",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.22",
|
|
4
4
|
"description": "Simple git hooks manager",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,16 +23,16 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/evilmartians/lefthook#readme",
|
|
25
25
|
"optionalDependencies": {
|
|
26
|
-
"lefthook-darwin-arm64": "1.7.
|
|
27
|
-
"lefthook-darwin-x64": "1.7.
|
|
28
|
-
"lefthook-linux-arm64": "1.7.
|
|
29
|
-
"lefthook-linux-x64": "1.7.
|
|
30
|
-
"lefthook-freebsd-arm64": "1.7.
|
|
31
|
-
"lefthook-freebsd-x64": "1.7.
|
|
32
|
-
"lefthook-openbsd-arm64": "1.7.
|
|
33
|
-
"lefthook-openbsd-x64": "1.7.
|
|
34
|
-
"lefthook-windows-arm64": "1.7.
|
|
35
|
-
"lefthook-windows-x64": "1.7.
|
|
26
|
+
"lefthook-darwin-arm64": "1.7.22",
|
|
27
|
+
"lefthook-darwin-x64": "1.7.22",
|
|
28
|
+
"lefthook-linux-arm64": "1.7.22",
|
|
29
|
+
"lefthook-linux-x64": "1.7.22",
|
|
30
|
+
"lefthook-freebsd-arm64": "1.7.22",
|
|
31
|
+
"lefthook-freebsd-x64": "1.7.22",
|
|
32
|
+
"lefthook-openbsd-arm64": "1.7.22",
|
|
33
|
+
"lefthook-openbsd-x64": "1.7.22",
|
|
34
|
+
"lefthook-windows-arm64": "1.7.22",
|
|
35
|
+
"lefthook-windows-x64": "1.7.22"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"postinstall": "node postinstall.js"
|