From 91e28f71920c2e6db2cab1779ea9749349f2d80d Mon Sep 17 00:00:00 2001 From: naokihaba <59875779+naokihaba@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:03:00 +0900 Subject: [PATCH 1/2] docs(migrator): update git hooks setup message to include migration guide link --- packages/cli/src/migration/migrator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/src/migration/migrator.ts b/packages/cli/src/migration/migrator.ts index 8e301781e9..ef6e6c94f1 100644 --- a/packages/cli/src/migration/migrator.ts +++ b/packages/cli/src/migration/migrator.ts @@ -5080,7 +5080,7 @@ export function preflightGitHooksSetup( const prodDeps = pkgContent.dependencies as Record | undefined; for (const tool of OTHER_HOOK_TOOLS) { if (deps?.[tool] || prodDeps?.[tool] || pkgContent[tool]) { - return `Detected ${tool} — skipping git hooks setup. Please configure git hooks manually.`; + return `Detected ${tool} — skipping git hooks setup. Please configure git hooks manually, see https://viteplus.dev/guide/migrate#git-hook-tools`; } } const huskyReason = checkUnsupportedHuskyVersion(projectPath, deps, prodDeps, packageManager); From 49e7d9f3961599bc82834b03f6cd41a134e83111 Mon Sep 17 00:00:00 2001 From: naokihaba <59875779+naokihaba@users.noreply.github.com> Date: Sun, 21 Jun 2026 23:03:09 +0900 Subject: [PATCH 2/2] docs(migration): update message to include link for manual git hooks configuration --- .../cli/snap-tests-global/migration-other-hook-tool/snap.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/snap-tests-global/migration-other-hook-tool/snap.txt b/packages/cli/snap-tests-global/migration-other-hook-tool/snap.txt index 1210230c8a..f1fa202e1a 100644 --- a/packages/cli/snap-tests-global/migration-other-hook-tool/snap.txt +++ b/packages/cli/snap-tests-global/migration-other-hook-tool/snap.txt @@ -1,6 +1,6 @@ > vp migrate --no-interactive # hooks should be skipped due to simple-git-hooks -⚠ Detected simple-git-hooks — skipping git hooks setup. Please configure git hooks manually. +⚠ Detected simple-git-hooks — skipping git hooks setup. Please configure git hooks manually, see https://viteplus.dev/guide/migrate#git-hook-tools ◇ Migrated . to Vite+ • Node pnpm • 1 config update applied