lefthook 2.0.16 → 2.1.0

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/package.json +11 -11
  3. package/schema.json +5 -1
package/README.md CHANGED
@@ -22,7 +22,7 @@ A Git hooks manager for Node.js, Ruby, Python and many other types of projects.
22
22
  With **Go** (>= 1.25):
23
23
 
24
24
  ```bash
25
- go install github.com/evilmartians/lefthook/v2@v2.0.16
25
+ go install github.com/evilmartians/lefthook/v2@v2.1.0
26
26
  ```
27
27
 
28
28
  * or as a go tool
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lefthook",
3
- "version": "2.0.16",
3
+ "version": "2.1.0",
4
4
  "description": "Simple git hooks manager",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,16 +28,16 @@
28
28
  },
29
29
  "homepage": "https://github.com/evilmartians/lefthook#readme",
30
30
  "optionalDependencies": {
31
- "lefthook-darwin-arm64": "2.0.16",
32
- "lefthook-darwin-x64": "2.0.16",
33
- "lefthook-linux-arm64": "2.0.16",
34
- "lefthook-linux-x64": "2.0.16",
35
- "lefthook-freebsd-arm64": "2.0.16",
36
- "lefthook-freebsd-x64": "2.0.16",
37
- "lefthook-openbsd-arm64": "2.0.16",
38
- "lefthook-openbsd-x64": "2.0.16",
39
- "lefthook-windows-arm64": "2.0.16",
40
- "lefthook-windows-x64": "2.0.16"
31
+ "lefthook-darwin-arm64": "2.1.0",
32
+ "lefthook-darwin-x64": "2.1.0",
33
+ "lefthook-linux-arm64": "2.1.0",
34
+ "lefthook-linux-x64": "2.1.0",
35
+ "lefthook-freebsd-arm64": "2.1.0",
36
+ "lefthook-freebsd-x64": "2.1.0",
37
+ "lefthook-openbsd-arm64": "2.1.0",
38
+ "lefthook-openbsd-x64": "2.1.0",
39
+ "lefthook-windows-arm64": "2.1.0",
40
+ "lefthook-windows-x64": "2.1.0"
41
41
  },
42
42
  "scripts": {
43
43
  "postinstall": "node postinstall.js"
package/schema.json CHANGED
@@ -474,7 +474,7 @@
474
474
  "type": "object"
475
475
  }
476
476
  },
477
- "$comment": "Last updated on 2026.01.27.",
477
+ "$comment": "Last updated on 2026.02.02.",
478
478
  "properties": {
479
479
  "min_version": {
480
480
  "type": "string",
@@ -542,6 +542,10 @@
542
542
  "type": "boolean",
543
543
  "description": "Do not automatically install hooks when running lefthook"
544
544
  },
545
+ "install_non_git_hooks": {
546
+ "type": "boolean",
547
+ "description": "Install non-Git hooks to .git/hooks"
548
+ },
545
549
  "glob_matcher": {
546
550
  "type": "string",
547
551
  "enum": [