Jo
c98575d88c
Update DIFF.md
2025-08-09 11:53:59 +08:00
Jo
4d2d27ba66
Add discord server
2025-08-09 11:49:50 +08:00
Wey Gu
be2010a4f3
chore: logo rebranded, Update README.md ( #408 )
2025-08-09 10:36:37 +08:00
Miao
79fa466406
Make error message handling in tests more robust ( #403 )
...
* Make error message handling in tests more robust
* Check node versions more reliably
2025-08-09 00:44:51 +08:00
Branch Vincent
4437f86992
Add dynamic completion of hook ids ( #380 )
...
* Add dynamic completion of hook ids
* Add hook name to help
* Use `contains` instead of `starts_with`
* Change to project root before find config file
---------
Co-authored-by: Jo <10510431+j178@users.noreply.github.com >
2025-08-09 00:14:18 +08:00
Jo
96fed00c55
Bump version to 0.0.23 ( #404 )
v0.0.23
2025-08-08 23:29:15 +08:00
Jo
23f865819a
Rename project to prek from prefligit ( #402 )
2025-08-08 23:12:20 +08:00
Jo
9de06bc221
Fix meta hook check_useless_excludes ( #401 )
...
* Fix meta hook `check_useless_excludes`
* move tests
2025-08-08 21:57:29 +08:00
Jo
6158fcee01
Update README.md
2025-08-08 15:09:57 +08:00
Jo
5fc1c05e15
Highlight the git in prefligit
2025-08-08 14:53:23 +08:00
Jo
b24d9f349e
Fix script command path ( #398 )
...
* Fix `script` command path
* rename
* Fix windows
2025-08-08 12:03:39 +08:00
Jo
2bd15fea1d
Relax uv version check range ( #396 )
2025-08-08 02:52:31 +08:00
Jo
eccc6394a9
Pin uv version in CI ( #395 )
...
* debug uv install
* debug
* debug
* Pin CI uv version
2025-08-08 02:12:32 +08:00
Jo
0ccf454387
Bump version to 0.0.22 ( #394 )
v0.0.22
2025-08-08 01:13:31 +08:00
Jo
f1fde67d03
Fix identify tags for Pipfile.lock ( #391 )
2025-08-08 01:05:49 +08:00
Jo
0bfd2cfde4
Fix check_added_large_files parameter name ( #389 )
...
* Fix `check_added_large_files` parameter name
* debug
* Revert "debug"
This reverts commit 6b0ea6a61c .
2025-08-08 01:05:29 +08:00
Jo
f361f6ac91
Temporarily fix uv install issue ( #393 )
2025-08-08 01:01:26 +08:00
Jo
19a2dfde0f
Bump rust toolchain to 1.89 ( #386 )
2025-08-07 22:15:07 +08:00
Jo
7bd667e0c1
Improve language tests ( #382 )
...
* Exclude `go`/`node` from PATH when running tests
* Improve language tests
2025-08-07 16:17:22 +08:00
Jo
875202a7c1
Set GOROOT when installing golang hook ( #381 )
...
* Improve log message
* set go root
2025-08-07 15:53:26 +08:00
Jo
d7f912cfbc
Update devcontainers
2025-08-07 06:02:40 +00:00
Jo
69bc48640c
Update devcontainers
2025-08-07 05:43:32 +00:00
Jo
82a0d05a12
Add devcontainer config ( #379 )
2025-08-07 13:18:57 +08:00
Branch Vincent
90646ba54a
Fix identifying symlinks ( #378 )
2025-08-07 12:30:26 +08:00
Jo
e97844bb05
Fix docker mount options ( #377 )
2025-08-07 11:47:17 +08:00
Miao
d0032ffe2b
Check minimum supported version for uv found from system ( #352 )
...
* Check minimum supported version for uv found from system
* Refactor uv version getter
* Refactor uv version retrieval and find all system uv
* Update to check uv version in a range
2025-08-07 10:40:30 +08:00
Jo
400b6e88e4
Add value hint to prefligit run flags ( #373 )
2025-08-06 22:06:40 +08:00
Jo
321f384ec7
Fix npm install on Windows ( #374 )
...
* Mask system node when running `doctoc` test
* fix
* test
* fix
* fix
2025-08-06 22:06:20 +08:00
Jo
17fe0d74a6
Update description about shell completions
2025-08-06 20:20:44 +08:00
Jo
3c40b0032a
Bump version to 0.0.21 ( #372 )
v0.0.21
2025-08-06 20:06:28 +08:00
Jo
79cac39e3c
Add node to PATH when running npm ( #371 )
...
* Add `node` to PATH when running `npm`
* Remove symlink to npm
2025-08-06 19:56:40 +08:00
Jo
e46e969447
Set GOBIN to <hook-env>/bin, set GOPATH to $PREGLIGIT_HOME/cache/go ( #369 )
2025-08-06 19:20:36 +08:00
Jo
95ed5cd36a
Fix cache dir permission before clean ( #368 )
...
* Fix cache dir permission before clean
* fix windows
* fix windows
2025-08-06 19:03:31 +08:00
Jo
e7e227a53e
Fix bug that default hook stage should be pre-commit ( #367 )
...
* Fix bug that default hook stage should be pre-commit
* fix test
2025-08-06 18:33:03 +08:00
Jo
6b96a32ab7
Move Project into workspace module ( #364 )
...
* Move `Project` into `workspace` module
* private
2025-08-06 12:11:51 +08:00
Jo
797bdc85ae
Remove normalize_output test helper ( #363 )
2025-08-06 11:38:00 +08:00
Jo
60df7e1303
Implement tags_from_interpreter ( #362 )
2025-08-06 11:23:32 +08:00
Jo
e4be00192c
Make Partitions iterator produce slice instead of Vec ( #361 )
2025-08-06 08:39:18 +08:00
Jo
ad5dbe99f0
Remove env_vars from hook run ( #360 )
2025-08-06 08:29:32 +08:00
Jo
0698b6680a
Update README.md
2025-08-06 07:27:57 +08:00
Jo
f1baa8a15b
Add --directory to prefligit run ( #358 )
...
* Add `--directory` to `prefligit run`
* Add tests
* Normalize path
2025-08-05 23:27:00 +08:00
Jo
d513302777
Use rustc_hash ( #359 )
2025-08-05 23:23:25 +08:00
Jo
56908cfa16
Bump version to 0.0.20 ( #357 )
v0.0.20
2025-08-05 19:51:19 +08:00
Jo
a777b21f04
Use git ls-remote to fetch go releases ( #356 )
2025-08-05 19:47:02 +08:00
Jo
ea0ee3eac5
Add missing setup-go to CI action
2025-08-05 19:19:27 +08:00
Jo
b46822d236
Support golang hooks and golang toolchain management ( #355 )
...
* .
# Conflicts:
# src/languages/node/installer.rs
# src/languages/version.rs
* .
# Conflicts:
# src/languages/node/version.rs
# src/languages/python/version.rs
# Conflicts:
# src/cli/run/run.rs
* .
# Conflicts:
# src/languages/node/node.rs
* .
* .
* .
* fix tests
* Add a remote test
* minor
2025-08-05 19:17:50 +08:00
luo jiyin
91f88f209d
Add --last-commit flag to prefligit run ( #351 )
...
* feat: last commit flag
* fix: lint error
* fix: clippy error
* test: last commit
* fix(test): more clear test case
* fix: lint error
2025-08-05 16:32:47 +08:00
Jo
d39c965722
Update readme
2025-08-05 14:15:50 +08:00
Jo
162d492e5c
Add migration section to README ( #354 )
2025-08-05 14:03:24 +08:00
Jo
2e2b9dea94
Fix bug that directories are ignored ( #350 )
...
* Fix bug that directories are ignored
Also add a friendly warning for files that aren't exist.
* Add test
* Add tests
* Fix test
2025-08-05 12:04:29 +08:00