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
build: update to husky@6 #41405
build: update to husky@6 #41405
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx, @damingerdai!
Should we switch to prepare
npm script (instead of postinstall
) as is the new recommended way (after typicode/husky#890)?
BTW, you need to add a commit message body (of at least 20 characters) to pass linting. |
I agree with you, but I am not sure whether I should complete the changes in this pr. |
@gkalpak please review |
@damingerdai, I don't see any changes. Did you forget to push them maybe? |
i just add commit message body. |
Oh, I see, sorry 😅 I think it is reasonable to switch to |
@gkalpak please review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for making the changes, @damingerdai 👍
Can you please change the second commit message to mention typicode/husky#890, where the recommendation to switch to prepare
is made. For example:
build: install husky in `prepare` script instead of `postinstall`
With typicode/husky#890, the recommended way to install husky is in the
`prepare` script instead of the `postinstall`. This commit moves
the husky installation to the `prepare` script to align with the new
recommendation.
@gkalpak thanks for your suggestions. please review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx again, @damingerdai 👍
LGTM, except you need to rebase on latest master to make CI happy 😃
Upgrade husky from 5.0.1 to 6.0.0
With typicode/husky#890, the recommended way to install husky is in the `prepare` script instead of the `postinstall`. This commit moves the husky installation to the `prepare` script to align with the new recommendation.
@gkalpak i have rebased on latest master but there still are two ci failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx again, @damingerdai!
The latest CI failures were flakes. I have restarted the job and it passes now 🚀
…1405) With typicode/husky#890, the recommended way to install husky is in the `prepare` script instead of the `postinstall`. This commit moves the husky installation to the `prepare` script to align with the new recommendation. PR Close #41405
Upgrade husky from 5.0.1 to 6.0.0 PR Close #41405
…1405) With typicode/husky#890, the recommended way to install husky is in the `prepare` script instead of the `postinstall`. This commit moves the husky installation to the `prepare` script to align with the new recommendation. PR Close #41405
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
Does this PR introduce a breaking change?
Other information