chore: replace husky with vp git hooks - #1001
Merged
fengmk2 merged 2 commits intoAug 14, 2026
Merged
Conversation
✅ Deploy Preview for viteplus-preview canceled.
|
Arthie
commented
Mar 17, 2026
Arthie
force-pushed
the
chore--migrate-from-Husky-to-vp-config-for-git-hooks
branch
from
March 21, 2026 20:49
932af60 to
59cfb3e
Compare
johnrommeloctaviano
approved these changes
Apr 10, 2026
Contributor
|
Two things I think still need to be adjusted here:
|
fengmk2
force-pushed
the
chore--migrate-from-Husky-to-vp-config-for-git-hooks
branch
from
August 14, 2026 03:48
e35d7ff to
5cf346e
Compare
Member
|
@Arthie I will take over and fix conflicts before merging. |
fengmk2
force-pushed
the
chore--migrate-from-Husky-to-vp-config-for-git-hooks
branch
from
August 14, 2026 05:45
5cf346e to
2d52dc0
Compare
- Replace Husky pre-commit hook with .vite-hooks/pre-commit - Move lint-staged config from package.json to vite.config.ts - Remove husky and lint-staged dependencies - 'vp config': Add Claude MCP server configuration for vite-plus - 'vp config': Update CLAUDE.md with Vite+ workflow documentation
fengmk2
force-pushed
the
chore--migrate-from-Husky-to-vp-config-for-git-hooks
branch
from
August 14, 2026 06:40
2d52dc0 to
0145dec
Compare
fengmk2
approved these changes
Aug 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace husky and lint-staged with the built-in Vite+ hooks, so this repo dogfoods
vp configandvp staged..vite-hooks/pre-commitrunsvp stagedstagedblock invite.config.tspreparerunsvp configinstead ofhuskypackages/clikeeps lint-staged, it implementsvp staged)Hooks stay opt-in: the repo sets
ignoreScripts: true, sopreparedoes not run onpnpm install. To activate, runvp configafterpnpm build. If a clone activated husky before, rungit config --unset core.hooksPathonce first.Earlier revisions also committed
vp configagent files (.claude/settings.json, a skills symlink, a CLAUDE.md block). The rebase dropped them:vp mcpand the shipped skills directory no longer exist, and repo guidance now lives in AGENTS.md.