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

[repo] Update Husky installation for Yarn2 #1248

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

andrewnicols
Copy link
Member

Yarn 2 does not run the prepare script. We need to switch to postinstall or install. Husky recommends using the postinstall.

Yarn 2 does not run the `prepare` script. We need to switch to
`postinstall` or `install`. Husky recommends using the postinstall.
Copy link

netlify bot commented Jan 31, 2025

Deploy Preview for moodledevdocs ready!

Name Link
🔨 Latest commit 95d1151
🔍 Latest deploy log https://app.netlify.com/sites/moodledevdocs/deploys/679c5cc363a7db0008723e07
😎 Deploy Preview https://deploy-preview-1248--moodledevdocs.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.

Copy link
Contributor

@snake snake left a comment

Choose a reason for hiding this comment

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

This change looks good to me. I've run the usual setup (nvm install, npm install yarn, yarn) and can confirm that the .git/config has the following line added (which was missing before):
hooksPath = .husky

Happy to move this one forward.

@snake snake added this pull request to the merge queue Jan 31, 2025
Merged via the queue into moodle:main with commit 984c204 Jan 31, 2025
7 of 8 checks passed
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