Skip to content

chore: add git hook for validation#401

Open
jsm1t wants to merge 4 commits into
mainfrom
chore/add-git-hook-for-validation
Open

chore: add git hook for validation#401
jsm1t wants to merge 4 commits into
mainfrom
chore/add-git-hook-for-validation

Conversation

@jsm1t

@jsm1t jsm1t commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 17, 2026 12:16
@changeset-bot

changeset-bot Bot commented Jun 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: bb714a9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR adds Husky-based Git hooks so local pushes are validated (typecheck, lint, tests) before being sent, helping catch issues earlier in contributor workflows.

Changes:

  • Add husky as a dev dependency and enable it via the prepare script.
  • Introduce a .husky/pre-push hook intended to run tsc, lint, and test.
  • Update pnpm-lock.yaml accordingly.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Adds prepare script to initialize Husky and adds Husky to devDependencies.
.husky/pre-push Adds a pre-push hook to run validation commands before pushing.
pnpm-lock.yaml Locks the newly added Husky dependency.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

Comment thread .husky/pre-push Outdated
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.

2 participants