@evilmartians/lefthook 2.1.1 → 2.1.2
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 +21 -21
- 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 +30 -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.1.
|
|
25
|
+
go install github.com/evilmartians/lefthook/v2@v2.1.2
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
* or as a go tool
|
|
@@ -258,24 +258,24 @@ Check [examples][examples]
|
|
|
258
258
|
|
|
259
259
|
|
|
260
260
|
[documentation]: https://lefthook.dev/
|
|
261
|
-
[configuration]: https://lefthook.dev/configuration/index
|
|
262
|
-
[examples]: https://lefthook.dev/examples/lefthook-local
|
|
263
|
-
[installation]: https://lefthook.dev/
|
|
264
|
-
[usage]: https://lefthook.dev/usage/
|
|
261
|
+
[configuration]: https://lefthook.dev/configuration/index
|
|
262
|
+
[examples]: https://lefthook.dev/examples/lefthook-local
|
|
263
|
+
[installation]: https://lefthook.dev/install/
|
|
264
|
+
[usage]: https://lefthook.dev/usage/
|
|
265
265
|
[discussion]: https://github.com/evilmartians/lefthook/discussions
|
|
266
|
-
[install-apt]: https://lefthook.dev/installation/deb
|
|
267
|
-
[install-ruby]: https://lefthook.dev/installation/ruby
|
|
268
|
-
[install-node]: https://lefthook.dev/installation/node
|
|
269
|
-
[install-brew]: https://lefthook.dev/installation/homebrew
|
|
270
|
-
[install-winget]: https://lefthook.dev/installation/winget
|
|
271
|
-
[install-rpm]: https://lefthook.dev/installation/rpm
|
|
272
|
-
[install-arch]: https://lefthook.dev/installation/arch
|
|
273
|
-
[install-alpine]: https://lefthook.dev/installation/alpine
|
|
274
|
-
[config-parallel]: https://lefthook.dev/configuration/parallel
|
|
275
|
-
[config-files]: https://lefthook.dev/configuration/files
|
|
276
|
-
[config-glob]: https://lefthook.dev/configuration/glob
|
|
277
|
-
[config-run]: https://lefthook.dev/configuration/run
|
|
278
|
-
[config-scripts]: https://lefthook.dev/configuration/Scripts
|
|
279
|
-
[config-tags]: https://lefthook.dev/configuration/tags
|
|
280
|
-
[config-output]: https://lefthook.dev/configuration/output
|
|
281
|
-
[usage-local-config]: https://lefthook.dev/examples/lefthook-local
|
|
266
|
+
[install-apt]: https://lefthook.dev/installation/deb
|
|
267
|
+
[install-ruby]: https://lefthook.dev/installation/ruby
|
|
268
|
+
[install-node]: https://lefthook.dev/installation/node
|
|
269
|
+
[install-brew]: https://lefthook.dev/installation/homebrew
|
|
270
|
+
[install-winget]: https://lefthook.dev/installation/winget
|
|
271
|
+
[install-rpm]: https://lefthook.dev/installation/rpm
|
|
272
|
+
[install-arch]: https://lefthook.dev/installation/arch
|
|
273
|
+
[install-alpine]: https://lefthook.dev/installation/alpine
|
|
274
|
+
[config-parallel]: https://lefthook.dev/configuration/parallel
|
|
275
|
+
[config-files]: https://lefthook.dev/configuration/files
|
|
276
|
+
[config-glob]: https://lefthook.dev/configuration/glob
|
|
277
|
+
[config-run]: https://lefthook.dev/configuration/run
|
|
278
|
+
[config-scripts]: https://lefthook.dev/configuration/Scripts
|
|
279
|
+
[config-tags]: https://lefthook.dev/configuration/tags
|
|
280
|
+
[config-output]: https://lefthook.dev/configuration/output
|
|
281
|
+
[usage-local-config]: https://lefthook.dev/examples/lefthook-local
|
|
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
|
@@ -205,6 +205,12 @@
|
|
|
205
205
|
}
|
|
206
206
|
]
|
|
207
207
|
},
|
|
208
|
+
"setup": {
|
|
209
|
+
"items": {
|
|
210
|
+
"$ref": "#/$defs/SetupInstruction"
|
|
211
|
+
},
|
|
212
|
+
"type": "array"
|
|
213
|
+
},
|
|
208
214
|
"jobs": {
|
|
209
215
|
"items": {
|
|
210
216
|
"$ref": "#/$defs/Job"
|
|
@@ -472,9 +478,26 @@
|
|
|
472
478
|
},
|
|
473
479
|
"additionalProperties": false,
|
|
474
480
|
"type": "object"
|
|
481
|
+
},
|
|
482
|
+
"SetupInstruction": {
|
|
483
|
+
"oneOf": [
|
|
484
|
+
{
|
|
485
|
+
"required": [
|
|
486
|
+
"run"
|
|
487
|
+
],
|
|
488
|
+
"title": "Run a command"
|
|
489
|
+
}
|
|
490
|
+
],
|
|
491
|
+
"properties": {
|
|
492
|
+
"run": {
|
|
493
|
+
"type": "string"
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"additionalProperties": false,
|
|
497
|
+
"type": "object"
|
|
475
498
|
}
|
|
476
499
|
},
|
|
477
|
-
"$comment": "Last updated on 2026.02.
|
|
500
|
+
"$comment": "Last updated on 2026.02.28.",
|
|
478
501
|
"properties": {
|
|
479
502
|
"min_version": {
|
|
480
503
|
"type": "string",
|
|
@@ -719,6 +742,12 @@
|
|
|
719
742
|
}
|
|
720
743
|
]
|
|
721
744
|
},
|
|
745
|
+
"setup": {
|
|
746
|
+
"items": {
|
|
747
|
+
"$ref": "#/$defs/SetupInstruction"
|
|
748
|
+
},
|
|
749
|
+
"type": "array"
|
|
750
|
+
},
|
|
722
751
|
"jobs": {
|
|
723
752
|
"items": {
|
|
724
753
|
"$ref": "#/$defs/Job"
|