Skip to content

Commit

Permalink
chore(ci): makes husky config husky@9.x compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Jun 8, 2024
1 parent 6f6bef5 commit 079e3fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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"

npx lint-staged --config=.lintstagedrc.json
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@
"lint:types:fix": "eslint --no-ignore --config types/.eslintrc.json --fix types/*.d.mts",
"prepack": "clean-pkg-json --dry --keep overrides --keep resolutions | jq '.scripts = {test: \"echo for test, build and static analysis scripts: see the github repository\"}' | jq '.type = \"module\"' > smaller-package.json && mv smaller-package.json package.json",
"postpack": "git restore package.json",
"prepare": "husky install",
"prepare": "husky",
"scm:push": "run-p --aggregate-output scm:push:*",
"scm:push:bitbucket-mirror": "run-p --aggregate-output scm:push:bitbucket-mirror:*",
"scm:push:bitbucket-mirror:commits": "git push bitbucket-mirror",
Expand Down Expand Up @@ -270,11 +270,11 @@
"yarn": "1.22.22"
},
"overrides": {
"semver": "^7.6.1",
"semver": ">=7.6.2",
"postcss": "^8.4.31"
},
"resolutions": {
"semver": "^7.6.1",
"semver": ">=7.6.2",
"postcss": "^8.4.31"
},
"upem": {
Expand Down

0 comments on commit 079e3fe

Please sign in to comment.