UNPKG

branchname-validator

Version:

Enforces Git branch naming conventions with 20+ supported patterns. It ensures branches follow the required format (e.g., feature/branch-name, bugfix/issue-123, docs/api-docs, refactor/db-queries) and prevents invalid names before creation. Ideal for team

69 lines (68 loc) 1.81 kB
{ "name": "branchname-validator", "version": "1.3.0", "description": "Enforces Git branch naming conventions with 20+ supported patterns. It ensures branches follow the required format (e.g., feature/branch-name, bugfix/issue-123, docs/api-docs, refactor/db-queries) and prevents invalid names before creation. Ideal for teams maintaining consistent workflows! 🚀", "main": "./dist/postinstall.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "postinstall": "ts-node ./dist/postinstall.js" }, "keywords": [ "git", "git-hooks", "branch-name", "branch-validation", "branch-naming", "branch-naming-convention", "branch-name-validator", "branch-name-checker", "branch-name-lint", "branch-name-rules", "branch-policy", "git-branch-rules", "git-branch-policy", "git-naming-convention", "validate-branch-name", "pre-push", "pre-push-hook", "pre-checkout", "pre-checkout-hook", "git-hook-scripts", "git-hook-manager", "git-workflow", "git-automation", "git-best-practices", "git-standards", "git-enforce", "git-lint", "gitflow", "git-flow", "conventional-branch", "branch-convention", "devops", "ci-cd", "code-quality", "team-workflow", "developer-tools", "dx", "linter", "vscode-git", "git-vscode-integration" ], "author": "Yashwanth Byalla", "license": "ISC", "dependencies": { "child_process": "^1.0.2", "fs": "^0.0.1-security", "npm-registry-client": "^8.6.0", "npmlog": "^7.0.1", "path": "^0.12.7", "prompt-sync": "^4.2.0" }, "devDependencies": { "@types/node": "^22.13.4", "@types/npmlog": "^7.0.0", "ts-node": "^10.9.2", "typescript": "^5.7.3" } }