Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

chore(npm): met à jour husky #1456

Merged
merged 2 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#!/bin/sh
[ -n "$CI" ] && exit 0

. "$(dirname "$0")/_/husky.sh"

npx lint-staged
lint-staged
3 changes: 2 additions & 1 deletion knip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const config = {
"@semantic-release/commit-analyzer",
"@semantic-release/github",
"@semantic-release/release-notes-generator",
"playwright"
"playwright",
"lint-staged"
],
},
"packages/api": {
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"homepage": "https://github.com/MTES-MCT/camino#readme",
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"test": "npm run test --workspaces",
"lint": "npm run lint --workspaces",
"knip": "npx --yes knip@5.24.1"
Expand Down Expand Up @@ -56,7 +56,7 @@
},
"devDependencies": {
"@types/react": "file:stub/types__react",
"husky": "^9.0.11",
"husky": "^9.1.5",
"lint-staged": "^15.2.2",
"semantic-release": "^23.0.8",
"semantic-release-mattermost": "^1.2.1",
Expand Down
Loading