@evilmartians/lefthook-installer 2.0.15 → 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 +1 -1
  3. package/schema.json +41 -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.15
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": "@evilmartians/lefthook-installer",
3
- "version": "2.0.15",
3
+ "version": "2.1.0",
4
4
  "description": "Simple git hooks manager",
5
5
  "main": "bin/index.js",
6
6
  "files": [
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 2025.12.19.",
477
+ "$comment": "Last updated on 2026.02.02.",
446
478
  "properties": {
447
479
  "min_version": {
448
480
  "type": "string",
@@ -510,6 +542,10 @@
510
542
  "type": "boolean",
511
543
  "description": "Do not automatically install hooks when running lefthook"
512
544
  },
545
+ "install_non_git_hooks": {
546
+ "type": "boolean",
547
+ "description": "Install non-Git hooks to .git/hooks"
548
+ },
513
549
  "glob_matcher": {
514
550
  "type": "string",
515
551
  "enum": [