Skip to content

Commit

Permalink
chore: use husnky 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
jegj committed Apr 2, 2024
1 parent db43859 commit ed5e056
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
4 changes: 3 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
npx commitlint --edit $1
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx commitlint --edit $1
2 changes: 1 addition & 1 deletion TODO
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
- DONE: Display minimun & recommended requirements
- DONE: Display developers, publishers, release date & metacritic
- DONE: Add protondb url
- DONE: Add support for [email protected]
- TODO: Add support for [email protected]
- TODO: Find a way to display the correct version in docker
- TODO: Find why [email protected] breaks the blessed UI
- TODO: Some game have a different key for the requirements e.g Half life 2, COunter strike
18 changes: 9 additions & 9 deletions npm-shrinkwrap.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"unit": "c8 --100 node --test --loader esmock test/**/*.spec.js",
"unit:coverage": "node --test --experimental-test-coverage --loader esmock test/**/*.spec.js",
"test:coverage": "npm run lint && npm run unit:coverage",
"prepare": "husky"
"prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\""
},
"repository": {
"type": "git",
Expand Down

0 comments on commit ed5e056

Please sign in to comment.