Skip to content

chore: make husky setup v10-compatible - #61

Open
mpicciolli wants to merge 1 commit into
mainfrom
chore/husky-v10-compat
Open

chore: make husky setup v10-compatible#61
mpicciolli wants to merge 1 commit into
mainfrom
chore/husky-v10-compat

Conversation

@mpicciolli

@mpicciolli mpicciolli commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Why

The publish workflow (and every local commit) prints husky deprecation warnings:

husky - install command is DEPRECATED
husky - DEPRECATED
Please remove the following two lines from .husky/pre-commit: ...
They WILL FAIL in v10.0.0

What

  • prepare script: husky installhusky.
  • Drop the #!/bin/sh + . "$(dirname "$0")/_/husky.sh" preamble from .husky/pre-commit and .husky/pre-push; husky 9 sources hooks itself.

Hooks were reinstalled and verified: pre-commit still runs lint-staged on this very commit.

husky 9 deprecated `husky install` and the shebang/sourcing preamble in
hook files; both are removed in v10.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 17, 2026 13:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

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