Skip to content

chore: update vp and fix precommit#2433

Draft
alexdln wants to merge 5 commits intonpmx-dev:mainfrom
alexdln:chore/update-vp
Draft

chore: update vp and fix precommit#2433
alexdln wants to merge 5 commits intonpmx-dev:mainfrom
alexdln:chore/update-vp

Conversation

@alexdln
Copy link
Copy Markdown
Member

@alexdln alexdln commented Apr 9, 2026

🧭 Context

The previous version of vite-plus it didn't (or didn't always) support the pre-commit configuration logic, so it stopped working for many contributors.

Updated the version and also corrected hooks description in contributing.md

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs.npmx.dev Ready Ready Preview, Comment Apr 9, 2026 10:25am
npmx.dev Error Error Apr 9, 2026 10:25am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
npmx-lunaria Ignored Ignored Apr 9, 2026 10:25am

Request Review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 9, 2026

📝 Walkthrough

Walkthrough

This pull request migrates the repository's pre-commit hook configuration from the separate lint-staged and simple-git-hooks tooling to vite-plus. The changes include adding a new pre-commit hook file that runs vp staged, updating the documentation to reflect the new tooling approach, and bumping the vite-plus dependency from version 0.1.12 to 0.1.16 in the package manifest.

Possibly related PRs

Suggested reviewers

  • danielroe
🚥 Pre-merge checks | ✅ 1
✅ Passed checks (1 passed)
Check name Status Explanation
Description check ✅ Passed The description accurately explains the context and purpose of the changes: updating vite-plus version to fix pre-commit support and correcting documentation.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7a910bdd-1526-4788-81b3-af98ec560a03

📥 Commits

Reviewing files that changed from the base of the PR and between 57687cc and e2d13dc.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (3)
  • .vite-hooks/pre-commit
  • CONTRIBUTING.md
  • package.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant