Skip to content

Contribution setup does not initialize git hooks #1470

@lyzno1

Description

@lyzno1

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions