1
0
mirror of https://github.com/j178/prek.git synced 2026-04-30 10:20:26 +02:00

28 Commits

Author SHA1 Message Date
Jo e3eeb39fd1 Bump version to 0.2.0 (#726) 2025-09-14 12:43:16 +08:00
Jo 98e0b71a61 Bump version to 0.2.0-alpha.5 (#711) 2025-09-11 10:52:26 +08:00
Kushagra Udai 4b89c003f2 Add built in byte-order-marker fixer (#700)
* Add built in byte-order-marker fixer

* fmt

* feedback

* fmt
2025-09-11 10:39:42 +08:00
Jo 6f0a7da41b Generate cli reference (#707)
* Generate cli reference

* Fix lint
2025-09-10 22:05:05 +08:00
Jo cbddcb9fb6 Add docs about configuration (#703) 2025-09-10 15:45:52 +08:00
Jo 2ebf0084fa Add docs about debugging (#702) 2025-09-10 15:16:34 +08:00
Jo d3825a1fad Bump version to 0.2.0-alpha.4 (#696)
* Revert "Remove setup-dev-drive from Windows CI (#674)"

This reverts commit f3111a4d29.

* Bump version to 0.2.0-alpha.4
2025-09-10 00:44:20 +08:00
Jo 7fc8d4588d Add docs about TODOs (#679) 2025-09-09 14:46:20 +08:00
Jo cd2cb80c9f Add docs about builtin hooks (#678) 2025-09-09 11:59:43 +08:00
Jo 2a67f7ce5a Ignore config file from hidden directory (#677) 2025-09-08 20:23:16 +08:00
Jo bc1b423a94 Bring back .pre-commit-config.yml support (#676)
* Bring back `.pre-commit-config.yml` support

* Fix snaps
2025-09-08 19:39:46 +08:00
Jo d5f2d6b303 Bump version to 0.2.0-alpha.3 (#671) 2025-09-08 15:21:24 +08:00
Jo 9fcc878a67 Update installer link 2025-09-07 16:22:43 +08:00
Jo 2ad6d1b2da Bump version to 0.2.0-alpha.1 (#640)
* Bump version to 0.2.0a1

* Fix version regex

* Update doc
2025-09-07 15:24:27 +08:00
Jo 3dfab69c1d Cache workspace discovery result (#636)
* Cache workspace discovery result

* Add `--refresh` to refresh cached data

* Add docs about workspace cache
2025-09-07 00:26:38 +08:00
Hugo van Kemenade 6cd06f5f8a Docs: .pre-commit-config.yml support has been removed (#630) 2025-09-06 20:19:36 +08:00
Jo 5cbdeecccb Publish docs (#627) 2025-09-06 18:08:56 +08:00
Jo bf663fb83f Rename BENCHMARK.md to benchmark.md 2025-09-06 16:46:44 +08:00
Jo e9fc08bc6b Implement project and hook selector (#623)
* selection

* .

* complete

* rewrite

* Fix

* Fix docs

* Update doc

* Fix single config mode

* Improve

* Fix doc

* Fixes and tweaks

* Fix tests

* Fixes and tests

* Use path clean instead of canonicalized
2025-09-06 16:44:22 +08:00
Jo 18f205f044 Improve workspace docs about skips rule (#615) 2025-09-06 16:44:22 +08:00
Jo dadc033948 Update workspace design doc (#613) 2025-09-06 16:44:22 +08:00
Jo 61c364b65c Add design about Project and Hook Selection (#612) 2025-09-06 16:44:22 +08:00
Jo 055e493fac Support prek install|install-hooks|hook-impl|init-template-dir in workspace mode (#595)
* Support `prek install|install-hooks|hook-impl|init-template-dir` in workspace mode

* Fix

* Fix windows
# Conflicts:
#	src/cli/hook_impl.rs
#	tests/hook_impl.rs

# Conflicts:
#	src/cli/install.rs
2025-09-06 16:44:22 +08:00
Jo 8d644ef337 Fix config not staged relative filename display (#585)
* .

* Fix config not staged relative filename display
2025-09-06 16:44:22 +08:00
Jo bb469d38bb Add an full example and update docs (#582) 2025-09-06 16:44:22 +08:00
Jo f089db0699 Add prek run --cd <dir> to change directory before running (#581) 2025-09-06 16:44:22 +08:00
Jo a5a1b3b2b0 Support multiple .pre-commit-config.yaml in a workspace (monorepo mode) (#481)
* Remove color from trace log

Since `tracing-subscriber 0.3.20`, ANSI codes will be escaped so that color can not be shown in log. https://github.com/tokio-rs/tracing/commit/4c52ca5266a3920fc5dfeebda2accf15ee7fb278

* Refactor project constructure

# Conflicts:
#	src/cli/run/run.rs

* .

# Conflicts:
#	src/workspace.rs

# Conflicts:
#	src/workspace.rs

# Conflicts:
#	src/workspace.rs

.

# Conflicts:
#	src/git.rs

# Conflicts:
#	src/git.rs

# Conflicts:
#	src/git.rs
#	src/languages/script.rs

Support multiple `.pre-commit-connfig.yaml` in a workspace (monorepo mode)

.

.

Make it compile

Fix

.

.

.

Fix

Fix

Fix

.

.

.

# Conflicts:
#	src/builtin/pre_commit_hooks/fix_trailing_whitespace.rs
#	src/builtin/pre_commit_hooks/mod.rs
#	src/hook.rs
#	src/languages/docker.rs
#	src/languages/docker_image.rs
#	src/languages/golang/golang.rs
#	src/languages/node/node.rs
#	src/languages/python/python.rs
#	src/languages/system.rs
#	src/run.rs

* Refactor

* Fix

* .

* Fix `--config FILE`

* Add docs

* Misc

* Fix
# Conflicts:
#	README.md
2025-09-06 16:44:22 +08:00
Jo ff55ad166e Move some files into docs subdirectory (#554) 2025-08-26 21:49:01 +08:00