Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: review commit hooks #1345

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

stephenkilbourn
Copy link
Contributor

Related Ticket: #1329

Description of Changes

It seems that there are some changes in both Husky and Yarn in how to make them play nicely together. Husky needs to be run once for each user before the package begins enforcing the git hooks. When it does that, you should see a new directory .husky/_. For npm this is done through a prepare script. Yarn doesn't support this, so Husky recommends a postinstall script. https://typicode.github.io/husky/how-to.html#manual-setup

I've added that script, as well as added a pre-push hook to run the type check and unit tests. That's easy to remove if contributors prefer pushing separate commits to fix/add tests, though.

Copy link

netlify bot commented Dec 19, 2024

Deploy Preview for veda-ui ready!

Name Link
🔨 Latest commit ec6601f
🔍 Latest deploy log https://app.netlify.com/sites/veda-ui/deploys/676464ac071ce700080e63b7
😎 Deploy Preview https://deploy-preview-1345--veda-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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