build: replace lefthook with husky, commitlint and commit-and-tag-version
This commit is contained in:
parent
fa913d1561
commit
92ed47ebdf
11 changed files with 3607 additions and 73 deletions
14
package.json
14
package.json
|
|
@ -18,7 +18,14 @@
|
|||
"fmt": "prettier --write .",
|
||||
"fmt:check": "prettier --check .",
|
||||
"lint": "tsc --noEmit",
|
||||
"prepublishOnly": "npm run build"
|
||||
"prepublishOnly": "npm run build",
|
||||
"prepare": "husky",
|
||||
"release": "commit-and-tag-version",
|
||||
"release:minor": "commit-and-tag-version --release-as minor",
|
||||
"release:major": "commit-and-tag-version --release-as major"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,js,json,md,yml,yaml}": "prettier --check"
|
||||
},
|
||||
"keywords": [
|
||||
"mcp",
|
||||
|
|
@ -55,8 +62,13 @@
|
|||
"zod": "^3.24.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^20.4.1",
|
||||
"@commitlint/config-conventional": "^20.4.1",
|
||||
"@types/node": "^22.0.0",
|
||||
"@vitest/coverage-v8": "^4.0.18",
|
||||
"commit-and-tag-version": "^12.6.1",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.2.7",
|
||||
"prettier": "^3.8.1",
|
||||
"tsx": "^4.19.0",
|
||||
"typescript": "^5.7.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue