build: updating husky
This commit is contained in:
parent
49ed386db0
commit
f4ce8e44e8
5 changed files with 20712 additions and 5909 deletions
2
.envrc
2
.envrc
|
@ -1,2 +1,2 @@
|
||||||
export PATH=$PWD/scripts:$PATH
|
export PATH=$PWD/scripts:$PWD/node_modules/.bin:$PATH
|
||||||
use flake || use nix
|
use flake || use nix
|
||||||
|
|
4
.husky/commit-msg
Executable file
4
.husky/commit-msg
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
. "$(dirname -- "$0")/_/husky.sh"
|
||||||
|
|
||||||
|
npx --no -- commitlint --edit "$1"
|
16476
package-lock.json
generated
Normal file
16476
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
28
package.json
28
package.json
|
@ -33,12 +33,8 @@
|
||||||
"commitmsg": "commitlint -E GIT_PARAMS",
|
"commitmsg": "commitlint -E GIT_PARAMS",
|
||||||
"format": "prettier src --write \"**/*.ts\" --loglevel warn",
|
"format": "prettier src --write \"**/*.ts\" --loglevel warn",
|
||||||
"lint": "eslint -c .eslintrc.yml src/**/*.ts --fix",
|
"lint": "eslint -c .eslintrc.yml src/**/*.ts --fix",
|
||||||
"prepack": "yarn run build"
|
"prepack": "yarn run build",
|
||||||
},
|
"prepare": "husky install"
|
||||||
"husky": {
|
|
||||||
"hooks": {
|
|
||||||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"add-commas": "0.0.4",
|
"add-commas": "0.0.4",
|
||||||
|
@ -49,11 +45,11 @@
|
||||||
"yargs": "^16.2.0"
|
"yargs": "^16.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@commitlint/cli": "^11.0.0",
|
"@commitlint/cli": "^17.4.2",
|
||||||
"@commitlint/config-conventional": "^11.0.0",
|
"@commitlint/config-conventional": "^17.4.2",
|
||||||
"@semantic-release/changelog": "^5.0.1",
|
"@semantic-release/changelog": "^6.0.2",
|
||||||
"@semantic-release/git": "^7.0.1",
|
"@semantic-release/git": "^10.0.1",
|
||||||
"@semantic-release/npm": "^5.0.1",
|
"@semantic-release/npm": "^9.0.2",
|
||||||
"@types/lodash": "^4.14.116",
|
"@types/lodash": "^4.14.116",
|
||||||
"@types/node": "^6.0.46",
|
"@types/node": "^6.0.46",
|
||||||
"@types/read-pkg-up": "^3.0.1",
|
"@types/read-pkg-up": "^3.0.1",
|
||||||
|
@ -64,11 +60,11 @@
|
||||||
"barrelsby": "^1.0.2",
|
"barrelsby": "^1.0.2",
|
||||||
"eslint": "^5.3.0",
|
"eslint": "^5.3.0",
|
||||||
"eslint-plugin-typescript": "^0.12.0",
|
"eslint-plugin-typescript": "^0.12.0",
|
||||||
"husky": "^0.14.3",
|
"husky": "^8.0.3",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.8.3",
|
||||||
"rimraf": "^2.6.2",
|
"rimraf": "^4.1.2",
|
||||||
"semantic-release": "^15.9.8",
|
"semantic-release": "^19.0.5",
|
||||||
"sort-package-json": "^1.48.1",
|
"sort-package-json": "^2.2.0",
|
||||||
"typescript": "^4.1.3"
|
"typescript": "^4.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue