Skip to content

Commit

Permalink
(chore) Fix pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Aug 25, 2023
1 parent 22eb565 commit bc71de1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

set -e # die on error
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn pretty-quick --staged
yarn turbo run extract-translations
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

set -e # die on error

yarn verify
yarn verify
2 changes: 1 addition & 1 deletion .turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"outputs": [".next/**", "!.next/cache/**"]
"outputs": [".dist/**"]
},
"lint": {},
"extract-translations": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"eslint-config-prettier": "^8.8.0",
"eslint-config-ts-react-important-stuff": "^3.0.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"husky": "^8.0.0",
"i18next": "^23.2.8",
"i18next-parser": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5240,7 +5240,7 @@ __metadata:
eslint-config-ts-react-important-stuff: ^3.0.0
eslint-plugin-prettier: ^4.2.1
file-saver: ^2.0.5
husky: ^8.0.3
husky: ^8.0.0
i18next: ^23.2.8
i18next-parser: ^8.0.0
identity-obj-proxy: ^3.0.0
Expand Down Expand Up @@ -12138,7 +12138,7 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.3":
"husky@npm:^8.0.0":
version: 8.0.3
resolution: "husky@npm:8.0.3"
bin:
Expand Down

0 comments on commit bc71de1

Please sign in to comment.