Skip to content

Commit

Permalink
chore: fix husky commit script
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Jan 7, 2025
1 parent 10be852 commit b49f5de
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 22 deletions.
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
39 changes: 20 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{
"name": "commercetools-sdk-java-v2",
"version": "0.0.0",
"repository": "https://[email protected]/commercetools/commercetools-sdk-java-v2.git",
"author": "Jens Schulze <[email protected]>",
"license": "Proprietary",
"private": true,
"engines": {
"node": ">=14.15",
"npm": ">=5"
},
"packageManager": "[email protected]",
"dependencies": {
"husky": "9.1.7",
"lint-staged": "15.3.0"
},
"scripts": {
"postinstall": "husky install",
"format": "./gradlew spotlessApply"
}
"name": "commercetools-sdk-java-v2",
"version": "0.0.0",
"repository": "https://[email protected]/commercetools/commercetools-sdk-java-v2.git",
"author": "Jens Schulze <[email protected]>",
"license": "Proprietary",
"private": true,
"engines": {
"node": ">=14.15",
"npm": ">=5"
},
"packageManager": "[email protected]",
"dependencies": {
"husky": "9.1.7",
"lint-staged": "15.3.0"
},
"scripts": {
"postinstall": "husky install",
"format": "./gradlew spotlessApply",
"prepare": "husky"
}
}

0 comments on commit b49f5de

Please sign in to comment.