Skip to content

Commit

Permalink
Merge pull request #3 from zazuko/husky-9
Browse files Browse the repository at this point in the history
Upgrade husky to v9
  • Loading branch information
ludovicm67 authored Apr 17, 2024
2 parents bd1069e + abb23b4 commit 823a6dc
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
1 change: 1 addition & 0 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./bin/hooks/postMerge.sh
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
./bin/checkPackageVersions.sh && npx lint-staged
File renamed without changes.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 2 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"packages/*"
],
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"build": "better-npm-run build",
"dev": "better-npm-run dev",
"util:lint": "ESLINT_STRICT=true eslint --ext .tsx --ext .ts $(ls -d ./packages/*/* | grep -E '(src|test|grammar)$')",
Expand Down Expand Up @@ -51,12 +51,6 @@
"prettier --parser scss --write"
]
},
"husky": {
"hooks": {
"pre-commit": "./bin/checkPackageVersions.sh && lint-staged",
"post-merge": "./bin/hooks/postMerge"
}
},
"dependencies": {
"@babel/core": "^7.23.5",
"@babel/plugin-transform-runtime": "^7.23.4",
Expand All @@ -81,7 +75,7 @@
"eslint-plugin-lodash": "^7.1.0",
"fs-extra": "^11.2.0",
"html-webpack-plugin": "^5.5.4",
"husky": "^8.0.3",
"husky": "^9.0.11",
"lerna": "^8.1.2",
"lint-staged": "^15.2.0",
"mini-css-extract-plugin": "^2.7.6",
Expand Down

0 comments on commit 823a6dc

Please sign in to comment.