Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -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 <semver> pnpm <semver>
• 1 config update applied
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/migration/migrator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5080,7 +5080,7 @@ export function preflightGitHooksSetup(
const prodDeps = pkgContent.dependencies as Record<string, string> | 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);
Expand Down
Loading