You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/index.md
+5-17
Original file line number
Diff line number
Diff line change
@@ -490,13 +490,13 @@ Environment variables:
490
490
491
491
## Migrate from v4 to v8
492
492
493
-
### husky-4-to-8 CLI
493
+
### CLI
494
494
495
495
See [husky-4-to-8](https://github.com/typicode/husky-4-to-8) CLI to quickly migrate from v4 to v8.
496
496
497
-
### Package scripts
497
+
### Manually
498
498
499
-
If you were calling `package.json` scripts using `npm` or `yarn`, **you can simply copy your commands**:
499
+
If you were calling `package.json` scripts using `npm` or `yarn`, **you can simply copy your commands** from your config file to the corresponding hook:
500
500
501
501
::: code-group
502
502
@@ -516,9 +516,7 @@ npm run foo
516
516
517
517
:::
518
518
519
-
### Locally installed binaries
520
-
521
-
If you were calling directly locally installed binaries, **you need to run them via your package manager**:
519
+
If you were calling locally installed binaries, **you need to run them via your package manager now**:
522
520
523
521
::: code-group
524
522
@@ -539,9 +537,7 @@ yarn jest
539
537
540
538
:::
541
539
542
-
### HUSKY_GIT_PARAMS (i.e. commitlint, ...)
543
-
544
-
Previous `HUSKY_GIT_PARAMS` environment variable is replaced by native params `$1`, `$2`, etc.
540
+
`HUSKY_GIT_PARAMS` environment variable is replaced now by native params `$1`, `$2`, etc.
545
541
546
542
::: code-group
547
543
@@ -564,8 +560,6 @@ yarn commitlint --edit $1
564
560
565
561
## Sponsors
566
562
567
-
### Companies
568
-
569
563
Does your company use husky? Ask your manager or marketing team if your company would be interested in supporting this project.
Find husky helpful? Become a backer and show your appreciation with a monthly donation on [Open Collective](https://opencollective.com/husky). You can also tip with a one-time donation.
GitHub sponsors can be viewed on my [profile](https://github.com/typicode). All past and current Open Collective sponsors can be viewed on [here](https://opencollective.com/husky).
0 commit comments