diff --git a/.husky/commit-msg b/.husky/commit-msg new file mode 100644 index 0000000..0a4b97d --- /dev/null +++ b/.husky/commit-msg @@ -0,0 +1 @@ +npx --no -- commitlint --edit $1 diff --git a/commitlint.config.js b/commitlint.config.js new file mode 100644 index 0000000..422b194 --- /dev/null +++ b/commitlint.config.js @@ -0,0 +1 @@ +module.exports = { extends: ['@commitlint/config-conventional'] }; diff --git a/package.json b/package.json index 5e1133b..b8960fd 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "license": "ISC", "dependencies": { "chokidar": "^3.6.0", - "discord-api-types": "^0.37.73", + "discord-api-types": "^0.37.76", "magic-bytes.js": "^1.10.0", "ts-mixer": "^6.0.4", "ws": "^8.16.0" @@ -34,11 +34,13 @@ }, "devDependencies": { "@biomejs/biome": "1.6.0", - "@types/node": "^20.11.25", + "@commitlint/cli": "^19.2.1", + "@commitlint/config-conventional": "^19.1.0", + "@types/node": "^20.11.30", "@types/ws": "^8.5.10", "husky": "^9.0.11", "lint-staged": "^15.2.2", - "typescript": "^5.4.2" + "typescript": "^5.4.3" }, "optionalDependencies": { "ioredis": "^5.3.2",