Skip to content

Commit

Permalink
Merge pull request #253 from backstage/renovate/husky-9.x
Browse files Browse the repository at this point in the history
chore(deps): update dependency husky to v9
  • Loading branch information
awanlin authored Feb 17, 2024
2 parents 9b423fc + 1347838 commit 39cc2da
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
8 changes: 7 additions & 1 deletion knip.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
{
"$schema": "https://unpkg.com/knip@3/schema.json",
"ignore": ["**/setupTests.ts", "**/.eslintrc.js"],
"ignoreDependencies": ["better-sqlite3", "app", "@testing-library/jest-dom", "webpack-env"]
"ignoreDependencies": [
"better-sqlite3",
"app",
"@testing-library/jest-dom",
"webpack-env",
"lint-staged"
]
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"prettier:check": "prettier --check .",
"new": "backstage-cli new --scope internal",
"knip": "knip",
"prepare": "husky install",
"postinstall": "husky install || true"
"prepare": "husky",
"postinstall": "husky || true"
},
"workspaces": {
"packages": [
Expand All @@ -48,7 +48,7 @@
"concurrently": "^8.0.0",
"eslint": "^8.6.0",
"fs-extra": "11.2.0",
"husky": "^8.0.0",
"husky": "^9.0.0",
"jest": "^29.7.0",
"knip": "^5.0.0",
"lint-staged": "^15.0.0",
Expand All @@ -62,7 +62,7 @@
"eslint --fix",
"prettier --write"
],
"*.{json,md}": [
"*.{json,md,yaml,yml}": [
"prettier --write"
]
},
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21010,12 +21010,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.0":
version: 8.0.3
resolution: "husky@npm:8.0.3"
"husky@npm:^9.0.0":
version: 9.0.10
resolution: "husky@npm:9.0.10"
bin:
husky: lib/bin.js
checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0
husky: bin.mjs
checksum: 55f4b6db6706ff0bc181607d6a64f55310cbb18b4d7db2a5b85608c87a80abafc14ac3a8c4d0b44d6272f4a62d4c2d3d5491d6a13e2cc7ac4895309e5e5f0ec2
languageName: node
linkType: hard

Expand Down Expand Up @@ -29260,7 +29260,7 @@ __metadata:
concurrently: ^8.0.0
eslint: ^8.6.0
fs-extra: 11.2.0
husky: ^8.0.0
husky: ^9.0.0
jest: ^29.7.0
knip: ^5.0.0
lint-staged: ^15.0.0
Expand Down

0 comments on commit 39cc2da

Please sign in to comment.