@evilmartians/lefthook
Advanced tools
Comparing version 1.9.3 to 1.10.0
{ | ||
"name": "@evilmartians/lefthook", | ||
"version": "1.9.3", | ||
"version": "1.10.0", | ||
"description": "Simple git hooks manager", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
@@ -17,2 +17,4 @@ ![Build Status](https://github.com/evilmartians/lefthook/actions/workflows/test.yml/badge.svg?branch=master) | ||
📖 [Documentation][documentation] | ||
📖 [Read the introduction post](https://evilmartians.com/chronicles/lefthook-knock-your-teams-code-back-into-shape?utm_source=lefthook) | ||
@@ -49,3 +51,3 @@ | ||
**[Installation guide](./docs/install.md)** with more ways to install lefthook: [apt](./docs/install.md#deb), [brew](./docs/install.md#homebrew), [winget](./docs/install.md#winget), and others. | ||
**[Installation guide][installation]** with more ways to install lefthook: [apt][install-apt], [brew][install-brew], [winget][install-winget], and others. | ||
@@ -71,5 +73,5 @@ ## Usage | ||
- [**Configuration**](./docs/configuration.md) for `lefthook.yml` config options. | ||
- [**Usage**](./docs/usage.md) for **lefthook** CLI options, supported ENVs, and usage tips. | ||
- [**Discussions**](https://github.com/evilmartians/lefthook/discussions) for questions, ideas, suggestions. | ||
- [**Configuration**][configuration] for `lefthook.yml` config options. | ||
- [**Usage**][usage] for **lefthook** CLI options, supported ENVs, and usage tips. | ||
- [**Discussions**][discussion] for questions, ideas, suggestions. | ||
<!-- - [**Wiki**](https://github.com/evilmartians/lefthook/wiki) for guides, examples, and benchmarks. --> | ||
@@ -80,3 +82,3 @@ | ||
* ### **Parallel execution** | ||
Gives you more speed. [Example](./docs/configuration.md#parallel) | ||
Gives you more speed. [docs][config-parallel] | ||
@@ -89,3 +91,3 @@ ```yml | ||
* ### **Flexible list of files** | ||
If you want your own list. [Custom](./docs/configuration.md#files) and [prebuilt](./docs/configuration.md#run) examples. | ||
If you want your own list. [Custom][config-files] and [prebuilt][config-run] examples. | ||
@@ -130,3 +132,3 @@ ```yml | ||
If oneline commands are not enough, you can execute files. [Example](./docs/configuration.md#script). | ||
If oneline commands are not enough, you can execute files. [docs][config-scripts] | ||
@@ -141,3 +143,3 @@ ```yml | ||
* ### **Tags** | ||
If you want to control a group of commands. [Example](./docs/configuration.md#tags). | ||
If you want to control a group of commands. [docs][config-tags] | ||
@@ -148,6 +150,10 @@ ```yml | ||
packages-audit: | ||
tags: frontend security | ||
run: yarn audit | ||
tags: | ||
- frontend | ||
- linters | ||
run: yarn lint | ||
gems-audit: | ||
tags: backend security | ||
tags: | ||
- backend | ||
- security | ||
run: bundle audit | ||
@@ -158,3 +164,3 @@ ``` | ||
If you are in the Docker environment. [Example](./docs/configuration.md#cmd-template). | ||
If you are in the Docker environment. [docs][config-run] | ||
@@ -170,3 +176,3 @@ ```yml | ||
If you a frontend/backend developer and want to skip unnecessary commands or override something into Docker. [Description](./docs/usage.md#local-config). | ||
If you a frontend/backend developer and want to skip unnecessary commands or override something into Docker. [docs][usage-local-config] | ||
@@ -207,10 +213,10 @@ ```yml | ||
* ### **Optional output** | ||
* ### **Control output** | ||
If you [don't want to see](./docs/configuration.md#skip_output) supporting information: | ||
You can control what lefthook prints with [output][config-output] option. | ||
```yml | ||
skip_output: | ||
- meta #(version and which hook running) | ||
- success #(output from runners with exit code 0) | ||
output: | ||
- execution | ||
- failure | ||
``` | ||
@@ -222,11 +228,12 @@ | ||
* [Install with Node.js](./docs/install.md#node) | ||
* [Install with Ruby](./docs/install.md#ruby) | ||
* [Install with Homebrew](./docs/install.md#homebrew) | ||
* [Install with Winget](./docs/install.md#winget) | ||
* [Install for Debian-based Linux](./docs/install.md#deb) | ||
* [Install for RPM-based Linux](./docs/install.md#rpm) | ||
* [Install for Arch Linux](./docs/install.md#arch) | ||
* [Usage](./docs/usage.md) | ||
* [Configuration](./docs/configuration.md) | ||
* [Install with Node.js][install-node] | ||
* [Install with Ruby][install-ruby] | ||
* [Install with Homebrew][install-brew] | ||
* [Install with Winget][install-winget] | ||
* [Install for Debian-based Linux][install-apt] | ||
* [Install for RPM-based Linux][install-rpm] | ||
* [Install for Arch Linux][install-arch] | ||
* [Install for Alpine Linux][install-alpine] | ||
* [Usage][usage] | ||
* [Configuration][configuration] | ||
<!-- * [Troubleshooting](https://github.com/evilmartians/lefthook/wiki/Troubleshooting) --> | ||
@@ -240,5 +247,5 @@ | ||
### Examples | ||
* [Simple script](https://github.com/evilmartians/lefthook/tree/master/examples/with_scripts) | ||
* [Full features](https://github.com/evilmartians/lefthook/tree/master/examples/complete) | ||
Check [examples][examples] | ||
<!-- ### Benchmarks --> | ||
@@ -259,1 +266,26 @@ <!-- * [vs Overcommit](https://github.com/evilmartians/lefthook/wiki/Benchmark-lefthook-vs-overcommit) --> | ||
* [Lefthook for React/React Native apps](https://blog.logrocket.com/deep-dive-into-lefthook-react-native?utm_source=lefthook) | ||
[documentation]: https://evilmartians.github.io/lefthook/ | ||
[configuration]: https://evilmartians.github.io/lefthook/configuration/index.html | ||
[examples]: https://evilmartians.github.io/lefthook/examples/index.html | ||
[installation]: https://evilmartians.github.io/lefthook/installation/ | ||
[usage]: https://evilmartians.github.io/lefthook/usage/index.html | ||
[discussion]: https://github.com/evilmartians/lefthook/discussions | ||
[install-apt]: https://evilmartians.github.io/lefthook/installation/deb.html | ||
[install-ruby]: https://evilmartians.github.io/lefthook/installation/ruby.html | ||
[install-node]: https://evilmartians.github.io/lefthook/installation/node.html | ||
[install-brew]: https://evilmartians.github.io/lefthook/installation/homebrew.html | ||
[install-winget]: https://evilmartians.github.io/lefthook/installation/winget.html | ||
[install-rpm]: https://evilmartians.github.io/lefthook/installation/rpm.html | ||
[install-arch]: https://evilmartians.github.io/lefthook/installation/arch.html | ||
[install-alpine]: https://evilmartians.github.io/lefthook/installation/alpine.html | ||
[config-parallel]: https://evilmartians.github.io/lefthook/configuration/parallel.html | ||
[config-files]: https://evilmartians.github.io/lefthook/configuration/files.html | ||
[config-glob]: https://evilmartians.github.io/lefthook/configuration/glob.html | ||
[config-run]: https://evilmartians.github.io/lefthook/configuration/run.html | ||
[config-scripts]: https://evilmartians.github.io/lefthook/configuration/Scripts.html | ||
[config-tags]: https://evilmartians.github.io/lefthook/configuration/tags.html | ||
[config-skip_output]: https://evilmartians.github.io/lefthook/configuration/skip_output.html | ||
[config-output]: https://evilmartians.github.io/lefthook/configuration/output.html | ||
[usage-local-config]: https://evilmartians.github.io/lefthook/usage/tips.html#local-config |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76762976
278