@evilmartians/lefthook 2.0.15 → 2.0.16
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 +1 -1
- package/bin/lefthook-darwin-arm64/lefthook +0 -0
- package/bin/lefthook-darwin-x64/lefthook +0 -0
- package/bin/lefthook-freebsd-arm64/lefthook +0 -0
- package/bin/lefthook-freebsd-x64/lefthook +0 -0
- package/bin/lefthook-linux-arm64/lefthook +0 -0
- package/bin/lefthook-linux-x64/lefthook +0 -0
- package/bin/lefthook-openbsd-arm64/lefthook +0 -0
- package/bin/lefthook-openbsd-x64/lefthook +0 -0
- package/bin/lefthook-windows-arm64/lefthook.exe +0 -0
- package/bin/lefthook-windows-x64/lefthook.exe +0 -0
- package/package.json +1 -1
- package/schema.json +37 -5
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.
|
|
25
|
+
go install github.com/evilmartians/lefthook/v2@v2.0.16
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
* or as a go tool
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/schema.json
CHANGED
|
@@ -16,6 +16,12 @@
|
|
|
16
16
|
"fail_text": {
|
|
17
17
|
"type": "string"
|
|
18
18
|
},
|
|
19
|
+
"timeout": {
|
|
20
|
+
"type": "string",
|
|
21
|
+
"examples": [
|
|
22
|
+
"15s"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
19
25
|
"skip": {
|
|
20
26
|
"oneOf": [
|
|
21
27
|
{
|
|
@@ -50,10 +56,17 @@
|
|
|
50
56
|
}
|
|
51
57
|
},
|
|
52
58
|
"file_types": {
|
|
59
|
+
"oneOf": [
|
|
60
|
+
{
|
|
61
|
+
"type": "string"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"type": "array"
|
|
65
|
+
}
|
|
66
|
+
],
|
|
53
67
|
"items": {
|
|
54
68
|
"type": "string"
|
|
55
|
-
}
|
|
56
|
-
"type": "array"
|
|
69
|
+
}
|
|
57
70
|
},
|
|
58
71
|
"glob": {
|
|
59
72
|
"oneOf": [
|
|
@@ -260,6 +273,12 @@
|
|
|
260
273
|
"fail_text": {
|
|
261
274
|
"type": "string"
|
|
262
275
|
},
|
|
276
|
+
"timeout": {
|
|
277
|
+
"type": "string",
|
|
278
|
+
"examples": [
|
|
279
|
+
"15s"
|
|
280
|
+
]
|
|
281
|
+
},
|
|
263
282
|
"glob": {
|
|
264
283
|
"oneOf": [
|
|
265
284
|
{
|
|
@@ -293,10 +312,17 @@
|
|
|
293
312
|
"type": "array"
|
|
294
313
|
},
|
|
295
314
|
"file_types": {
|
|
315
|
+
"oneOf": [
|
|
316
|
+
{
|
|
317
|
+
"type": "string"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"type": "array"
|
|
321
|
+
}
|
|
322
|
+
],
|
|
296
323
|
"items": {
|
|
297
324
|
"type": "string"
|
|
298
|
-
}
|
|
299
|
-
"type": "array"
|
|
325
|
+
}
|
|
300
326
|
},
|
|
301
327
|
"env": {
|
|
302
328
|
"additionalProperties": {
|
|
@@ -428,6 +454,12 @@
|
|
|
428
454
|
"fail_text": {
|
|
429
455
|
"type": "string"
|
|
430
456
|
},
|
|
457
|
+
"timeout": {
|
|
458
|
+
"type": "string",
|
|
459
|
+
"examples": [
|
|
460
|
+
"15s"
|
|
461
|
+
]
|
|
462
|
+
},
|
|
431
463
|
"interactive": {
|
|
432
464
|
"type": "boolean"
|
|
433
465
|
},
|
|
@@ -442,7 +474,7 @@
|
|
|
442
474
|
"type": "object"
|
|
443
475
|
}
|
|
444
476
|
},
|
|
445
|
-
"$comment": "Last updated on
|
|
477
|
+
"$comment": "Last updated on 2026.01.27.",
|
|
446
478
|
"properties": {
|
|
447
479
|
"min_version": {
|
|
448
480
|
"type": "string",
|