"husky install" is deprecated
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- angular, bun, typescript
- Domain
- tooling
Research direction
Read the prepare script in package.json and the .husky/pre-commit hook. Reproduce the warning with bun run setup, then check how updating the deprecated husky install command affects the script and hook contents. Done means setup no longer emits the deprecation warning and preserves the intended pre-commit command.
Written by the indexing model from the issue text.
Description
Steps to reproduce:
$ git clone https://github.com/realworld-apps/angular-realworld-example-app
...
$ cd angular-realworld-example-app/
$ bun run setup
...
husky - install command is DEPRECATED
with later complaints like
husky - DEPRECATED
Please remove the following two lines from .husky/pre-commit:
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
They WILL FAIL in v10.0.0
Event if init is reccomended, it is not without issues.
From my testing with running sed -i 's/husky install/husky init/' package.json before running bun setup it then messes up package.json and changes it to ONLY
"prepare": "husky"
removing the init argument placed there...
Also the .husky\pre-commit changed from running npx lint-staged to run bun test.
- Dominant language
- TypeScript
- Stars
- 5.7k
- Forks
- 3.5k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from realworld-apps/angular-realworld-example-app
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
New tag is not added/removed when editing an articleMay be free again @chaniadler claimed this 86 days ago, and no pull request is open. Open
Difficulty 3/5 1-2 days Newbie friendliness 58/100
realworld-apps/angular-realworld-example-app#343 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
realworld-apps/angular-realworld-example-app#286 · 3 comments ·
-
Improve API serviceOpenenhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
realworld-apps/angular-realworld-example-app#22 · 6 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
realworld-apps/angular-realworld-example-app#3 · 22 comments · 18 reactions ·
All issues in realworld-apps/angular-realworld-example-app
Similar issues
-
area: web
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
inabagumi/shinju-date#6823 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/ui#540 ·
Maintainers usually reply within 1 day
-
accepted ai-dev ai-implementing
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
livesport/homer#218 · 1 comment ·
Maintainers usually reply within 1 day
-
normalizePropName strips `#` characters from Figma property names instead of only the `#id` suffixOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
figma/code-connect#419 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100