Skip to content

Commit a3ff487

Browse files
committed
docs(migrate): clarify automatic migration support for Husky v9+ in vp migrate command
1 parent 0b11c60 commit a3ff487

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/migrate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ After migrating, remove lint-staged from your dependencies and delete any lint-s
168168

169169
### Git hook tools
170170

171-
The `vp migrate` command can set up Vite+ commit hooks for you, but it doesn't automatically migrate every type of Git hook tool. This automatic migration path is specifically designed to handle Husky and lint-staged-style setups.
171+
The `vp migrate` command can set up Vite+ commit hooks for you, but it doesn't automatically migrate every type of Git hook tool. This automatic migration path is specifically designed to handle Husky v9+ and lint-staged-style setups. Projects using Husky versions older than 9.0.0 are skipped and should upgrade to Husky v9 before using the automatic migration path.
172172

173173
If your project currently uses `lefthook`, `simple-git-hooks`, or `yorkie`, `vp migrate` will leave your existing configuration alone and show a warning. This happens even if you choose to set up hooks during the prompt or include the `--hooks` flag.
174174

0 commit comments

Comments
 (0)