Skip to content

Commit

Permalink
fix: loss husky hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pplmx committed Aug 28, 2024
1 parent 53350c9 commit 0e3da2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions template/ts/{{cookiecutter.project_slug}}/.husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test
npx lint-staged
2 changes: 1 addition & 1 deletion template/ts/{{cookiecutter.project_slug}}/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "tsc && ncc build lib/index.js",
"test": "jest",
"lint": "biome check --write --no-errors-on-unmatched --files-ignore-unknown=true",
"prepare": "husky init"
"prepare": "husky"
},
"dependencies": {
"@actions/core": "^1.10.1",
Expand Down

0 comments on commit 0e3da2b

Please sign in to comment.