lefthook 2.0.11 → 2.0.13

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 +88 -2
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.11
25
+ go install github.com/evilmartians/lefthook/v2@v2.0.13
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.11",
3
+ "version": "2.0.13",
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.11",
32
- "lefthook-darwin-x64": "2.0.11",
33
- "lefthook-linux-arm64": "2.0.11",
34
- "lefthook-linux-x64": "2.0.11",
35
- "lefthook-freebsd-arm64": "2.0.11",
36
- "lefthook-freebsd-x64": "2.0.11",
37
- "lefthook-openbsd-arm64": "2.0.11",
38
- "lefthook-openbsd-x64": "2.0.11",
39
- "lefthook-windows-arm64": "2.0.11",
40
- "lefthook-windows-x64": "2.0.11"
31
+ "lefthook-darwin-arm64": "2.0.13",
32
+ "lefthook-darwin-x64": "2.0.13",
33
+ "lefthook-linux-arm64": "2.0.13",
34
+ "lefthook-linux-x64": "2.0.13",
35
+ "lefthook-freebsd-arm64": "2.0.13",
36
+ "lefthook-freebsd-x64": "2.0.13",
37
+ "lefthook-openbsd-arm64": "2.0.13",
38
+ "lefthook-openbsd-x64": "2.0.13",
39
+ "lefthook-windows-arm64": "2.0.13",
40
+ "lefthook-windows-x64": "2.0.13"
41
41
  },
42
42
  "scripts": {
43
43
  "postinstall": "node postinstall.js"
package/schema.json CHANGED
@@ -154,6 +154,9 @@
154
154
  "non-ci"
155
155
  ]
156
156
  },
157
+ "fail_on_changes_diff": {
158
+ "type": "boolean"
159
+ },
157
160
  "files": {
158
161
  "type": "string"
159
162
  },
@@ -439,7 +442,7 @@
439
442
  "type": "object"
440
443
  }
441
444
  },
442
- "$comment": "Last updated on 2025.12.10.",
445
+ "$comment": "Last updated on 2025.12.19.",
443
446
  "properties": {
444
447
  "min_version": {
445
448
  "type": "string",
@@ -618,6 +621,89 @@
618
621
  "$ref": "#/$defs/Hook"
619
622
  }
620
623
  },
621
- "additionalProperties": false,
624
+ "additionalProperties": {
625
+ "properties": {
626
+ "parallel": {
627
+ "type": "boolean"
628
+ },
629
+ "piped": {
630
+ "type": "boolean"
631
+ },
632
+ "follow": {
633
+ "type": "boolean"
634
+ },
635
+ "fail_on_changes": {
636
+ "type": "string",
637
+ "enum": [
638
+ "true",
639
+ "1",
640
+ "0",
641
+ "false",
642
+ "never",
643
+ "always",
644
+ "ci",
645
+ "non-ci"
646
+ ]
647
+ },
648
+ "fail_on_changes_diff": {
649
+ "type": "boolean"
650
+ },
651
+ "files": {
652
+ "type": "string"
653
+ },
654
+ "exclude_tags": {
655
+ "items": {
656
+ "type": "string"
657
+ },
658
+ "type": "array"
659
+ },
660
+ "exclude": {
661
+ "items": {
662
+ "type": "string"
663
+ },
664
+ "type": "array"
665
+ },
666
+ "skip": {
667
+ "oneOf": [
668
+ {
669
+ "type": "boolean"
670
+ },
671
+ {
672
+ "type": "array"
673
+ }
674
+ ]
675
+ },
676
+ "only": {
677
+ "oneOf": [
678
+ {
679
+ "type": "boolean"
680
+ },
681
+ {
682
+ "type": "array"
683
+ }
684
+ ]
685
+ },
686
+ "jobs": {
687
+ "items": {
688
+ "$ref": "#/$defs/Job"
689
+ },
690
+ "type": "array"
691
+ },
692
+ "commands": {
693
+ "additionalProperties": {
694
+ "$ref": "#/$defs/Command"
695
+ },
696
+ "type": "object"
697
+ },
698
+ "scripts": {
699
+ "additionalProperties": {
700
+ "$ref": "#/$defs/Script"
701
+ },
702
+ "type": "object"
703
+ }
704
+ },
705
+ "additionalProperties": false,
706
+ "type": "object"
707
+ },
622
708
  "type": "object"
623
709
  }