Skip to content

Commit

Permalink
build: 📦️ upgrade to Husky 5
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Feb 26, 2021
1 parent 8bf50d4 commit 311e902
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 19 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx devmoji -e --lint
32 changes: 13 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@
"monorepo",
"build"
],
"husky": {
"hooks": {
"commit-msg": "npx --no-install devmoji -e --lint"
}
},
"scripts": {
"preultra": "sleep 2",
"postultra": "sleep 2",
Expand Down Expand Up @@ -78,34 +73,33 @@
"@types/eslint": "7.2.6",
"@types/eslint-plugin-prettier": "3.1.0",
"@types/jest": "26.0.20",
"@types/json5": "0.0.30",
"@types/node": "13.13.45",
"@types/pnpapi": "0.0.1",
"@types/node": "14.14.31",
"@types/prettier": "2.2.1",
"@types/rimraf": "3.0.0",
"@types/semantic-release": "17.2.0",
"@types/sinon": "9.0.10",
"@types/sinon-chai": "3.2.5",
"@types/wrap-ansi": "3.0.0",
"@types/yamljs": "0.2.31",
"@types/yargs": "15.0.13",
"@types/yargs": "16.0.0",
"@typescript-eslint/eslint-plugin": "4.15.2",
"@typescript-eslint/parser": "4.15.2",
"@yarnpkg/pnp": "^2.3.2",
"builtin-modules": "3.2.0",
"chai": "4.3.0",
"conventional-changelog-cli": "2.1.1",
"coveralls": "3.1.0",
"devmoji": "2.2.0",
"eslint": "7.20.0",
"eslint-config-prettier": "7.2.0",
"eslint-config-prettier": "8.1.0",
"eslint-plugin-chai-expect": "2.2.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jest": "24.1.5",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-unicorn": "26.0.1",
"husky": "4.3.8",
"eslint-plugin-unicorn": "28.0.2",
"husky": "5.1.1",
"jest": "26.6.3",
"markdownlint-cli": "0.26.0",
"prettier": "2.2.1",
Expand All @@ -120,22 +114,22 @@
},
"dependencies": {
"ansi-split": "^1.0.1",
"chalk": "^4.0.0",
"cross-spawn": "^7.0.1",
"fast-glob": "^3.2.2",
"chalk": "^4.1.0",
"cross-spawn": "^7.0.3",
"fast-glob": "^3.2.5",
"globrex": "^0.1.2",
"json5": "^2.1.1",
"json5": "^2.2.0",
"micro-memoize": "^4.0.9",
"npm-run-path": "4.0.1",
"pid-cwd": "^1.2.0",
"ps-list": "^7.0.0",
"ps-list": "^7.2.0",
"shellwords-ts": "^3.0.0",
"string-width": "^4.2.0",
"tslib": "2.1.0",
"type-fest": "^0.21.0",
"type-fest": "^0.21.2",
"wrap-ansi": "^7.0.0",
"yamljs": "^0.3.0",
"yargs": "^16.0.0"
"yargs": "^16.2.0"
},
"resolutions": {
"minimist": "^1.2.2"
Expand Down

0 comments on commit 311e902

Please sign in to comment.