voidzero-dev / voidzero-dev/vite-plus

Contribution setup does not initialize git hooks

Abierto
#1,470 1 comentario 0 reacciones 1 asignado Reclamado por @fengmk2 Ver en GitHub
Lenguaje dominante
Rust
Estrellas
5.8k
Forks
262
Merge medio
23 h 41 min
PR fusionados (30 d)
138

Descripción

The documented contributor setup runs `just init`, which runs `pnpm install`.

The root package has `prepare: husky`, but `pnpm-workspace.yaml` sets `ignoreScripts: true`, so `prepare` is skipped and Husky is never initialized. As a result, `.husky/pre-commit` / `lint-staged` do not run for contributors by default.

What should the project do here?

- Migrate the root repo to the built-in `vp config` + `vp staged` flow, and have `just init` install hooks explicitly.
- Or keep Husky/lint-staged and explicitly initialize Husky during contributor setup.

I can contribute the fix once the preferred direction is clear.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.