{"_id":"@b12k/branch-name-lint","_rev":"15-ce68b520619f559f0a356c19e5bb08e7","name":"@b12k/branch-name-lint","dist-tags":{"latest":"1.3.0"},"versions":{"1.0.0":{"name":"@b12k/branch-name-lint","version":"1.0.0","keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","_id":"@b12k/branch-name-lint@1.0.0","maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"homepage":"https://github.com/b12k/branch-name-lint","bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"bin":{"branch-name-lint":"bin/index.js"},"dist":{"shasum":"74e8f58296a2399222e5dca333bcd93a92ec0727","tarball":"https://registry.npmjs.org/@b12k/branch-name-lint/-/branch-name-lint-1.0.0.tgz","fileCount":4,"integrity":"sha512-yydKvXuy5yjmRQKxpbyJ0rwY7ow5jSRzrIWN6/vCg3kY7XXSzzLquvyR9vw+Od2BEbWVYeCQLuJDLL2qFLL0fA==","signatures":[{"sig":"MEQCIFIpm8+hxSrTAXCvFkqMPN2NCF00XMJ2NaU+xmFkJFV8AiA5incFRkt4c5ioSPP3DKGQheCAzY8ZNoigIvIFaX1VKw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":206282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4KSHCRA9TVsSAnZWagAAHFUP/iewCPBRkcY0aNc7C67A\nKwiD0PLyuL+HIJlPnHuba5I298hntbgmcR5Wy0BDWlVgyLbALbnOOg72ajH4\nIuUxO4cjstJMXg2gvmXouH3CpOGpKbkuhPjCYMYmIAnRjZ3cjvUIpKfkJXGU\nm/vLB/KC3MF4bRnJ2s/s+DjFQV7FXsDVL0TIzgyn6u3VsEp+hUdfxc/M5WPU\np4qQpRqjB+ySIndOfanZpf13DL0boW1kKHz3WRuwsKtQUm4BSBhq/uVBZIsn\nSyMV/m5WadielNRtC0UT++Z0T+BuZkFzAJk7EiJWPjp51jVGngdfek4aThTl\nuas0tQO1XrmPBjfQOSUTd3minEGAo3ryX4ugZ4bbJ7YRnmxI61W+wAnAvEbU\nZ07OX6F77i9SBfucMzTZpDMgJQIc5oI9nAdbR0A8N4Mol08yFVYAJRnPjbNG\nfUTXxN4G3LsY3sdNrAXJ9RPvJxLtRuf8QkrTnsew7xT8axZ2rrp86bItdiVs\nG0geGDYZy6PAge1Mp6zsoBtaN4fkVg3sqLSip01VzbwhAE8sWRbS1xb7OBqV\ndTdleNOFt74zLDJ4OauBUzqJD2Avus+CgGPayIWr0uCqukrxpBlPpf2Q9rgs\ndkga9N0GYh9WNMv+oeOj4ME6SKt16pZeNn10tXeoutx2HXXVV5SpzZ+Btzzj\nGJUB\r\n=0HLi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","gitHead":"577a345cc78cf1ff63ebd2083f98e410b16eeccf","scripts":{"dev":"ncc run src/index.ts","lint":"eslint src/**/*.ts --fix","build":"ncc build src/index.ts -m -o bin","prepare":"husky install","release":"release-it","husky:commit-msg":"commitlint","husky:pre-commit":"tsc --noEmit && lint-staged"},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"repository":{"url":"git://github.com/b12k/branch-name-lint.git","type":"git"},"_npmVersion":"8.1.2","description":"Flexible git branch name linter with some extra validating features","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chalk":"^5.0.0","husky":"^7.0.4","eslint":"^8.6.0","release-it":"^14.12.1","typescript":"^4.5.4","@types/node":"^17.0.8","@vercel/ncc":"^0.33.1","cosmiconfig":"^7.0.1","lint-staged":"^12.1.7","path-to-regexp":"^6.2.0","@commitlint/cli":"^16.0.2","eslint-plugin-tsc":"^2.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-plugin-unicorn":"^40.0.0","@typescript-eslint/parser":"^5.9.0","eslint-plugin-eslint-comments":"^3.2.0","@commitlint/config-conventional":"^16.0.0","eslint-config-airbnb-typescript":"^16.1.0","@typescript-eslint/eslint-plugin":"^5.9.0","eslint-import-resolver-typescript":"^2.5.0","@release-it/conventional-changelog":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/branch-name-lint_1.0.0_1642112134776_0.4160949476157114","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@b12k/branch-name-lint","version":"1.0.1","keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","_id":"@b12k/branch-name-lint@1.0.1","maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"homepage":"https://github.com/b12k/branch-name-lint","bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"bin":{"branch-name-lint":"bin/index.js"},"dist":{"shasum":"b4258484749ebde60c7e0b6c9d9a9a1ceda0f760","tarball":"https://registry.npmjs.org/@b12k/branch-name-lint/-/branch-name-lint-1.0.1.tgz","fileCount":5,"integrity":"sha512-pXNRmT3jmgGE5ObpHgGcKioOpENbz8Q3UmEvjNF8rEstMxZcXRqOHi7t86JlRKRS2gEaJ6wMyuXdCaVec0jYRQ==","signatures":[{"sig":"MEYCIQCYVFtOTlVbJTVzX3opdtNW8RoKWgieJZjAHrBlYeWpygIhANpQc2n34+lzXUtKcKBPLKgDMXEyt+ewGrNduoNnEYH8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":207392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4L06CRA9TVsSAnZWagAAWt8QAJiB2U3lZd39uJrWTA4V\nMTEPZ8LIRwYEN726QB15IZ+e0tBzbioWh7FoeaB9ga+Sdgg8F16tSfHS5TBC\nVIpkbRLBlkSnG29naiRASAB+3GiVQbfyEgKPRDBEo0rffgM2XufNSTH4zVXm\nKOvrJQr7WvLOXEzv7Zs8IW0uWq42f7VKmvAoONkThdLs6SA9+bS9tIlXlqk9\nS9/gsFJs17tDe2hXd++Is3Mod9c/o0J1L7Ad8nk7yQWC3jnAh4/Gk9WH+sRl\nxjxn1WKGi1V2eiyfNEy7xMwBJ/hXZHlz2czi1gn5mQxEpVBQ+Lhg6PLDXcwE\nTw8jEV+uzjxexIePrWXtes/3PwSSIgOgXcSb8amiU2T0sj9jcScgeFQBKVH1\nPzDjgwpYePcqn3ofQHP4+ebZcwkItr6m6RHepcqmZhvKS73mQqzD8tGNl2PL\natkfpsBxSdtTFC4JgHKOs8gFsV4ImeNnZ4uuQ6GCpxW6eRymZnFJ3w/ofzEy\nmWKVPo48guXYsj9kKPt7jezYQfGn+eJaDeSoz+1jpdMtL6tyGwVYixyrxIVA\nSjaqyq+tpuNs1o9n9UuFKkwwe3pUdpKSvgjeblzyfndFA6yQABw0oTErtgZA\nEFV9gRINR/6GpTaK79BJqAWqUsCgsVsmaKq054kPQGLKCseBDDFEwmVR4bPL\n5Qjq\r\n=TwUw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","gitHead":"9e04bfd73f01daf7280c8819931a9358f90ae24b","scripts":{"dev":"ncc run src/index.ts","lint":"eslint src/**/*.ts --fix","build":"ncc build src/index.ts -m -o bin","prepare":"husky install","release":"release-it","husky:commit-msg":"commitlint","husky:pre-commit":"tsc --noEmit && lint-staged"},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"repository":{"url":"git://github.com/b12k/branch-name-lint.git","type":"git"},"_npmVersion":"8.1.2","description":"Flexible git branch name linter with some extra validating features","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chalk":"^5.0.0","husky":"^7.0.4","eslint":"^8.6.0","release-it":"^14.12.1","typescript":"^4.5.4","@types/node":"^17.0.8","@vercel/ncc":"^0.33.1","cosmiconfig":"^7.0.1","lint-staged":"^12.1.7","path-to-regexp":"^6.2.0","@commitlint/cli":"^16.0.2","eslint-plugin-tsc":"^2.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-plugin-unicorn":"^40.0.0","@typescript-eslint/parser":"^5.9.0","eslint-plugin-eslint-comments":"^3.2.0","@commitlint/config-conventional":"^16.0.0","eslint-config-airbnb-typescript":"^16.1.0","@typescript-eslint/eslint-plugin":"^5.9.0","eslint-import-resolver-typescript":"^2.5.0","@release-it/conventional-changelog":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/branch-name-lint_1.0.1_1642118458512_0.18936114882053467","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@b12k/branch-name-lint","version":"1.0.2","keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","_id":"@b12k/branch-name-lint@1.0.2","maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"homepage":"https://github.com/b12k/branch-name-lint","bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"bin":{"branch-name-lint":"bin/index.js"},"dist":{"shasum":"9264df5a7b0c572b4b47089b5601d337b3455718","tarball":"https://registry.npmjs.org/@b12k/branch-name-lint/-/branch-name-lint-1.0.2.tgz","fileCount":5,"integrity":"sha512-PYFAmTt8HRRqlqd5BOAdfSN/H3z3e7zFzx/sA276YkW43Y6olZVfQy6uvR78Qb8zUbtRLshY7+lfXfV1bcg2Xw==","signatures":[{"sig":"MEUCIB3PlT1zgzsVArj1yk12RrwMKYkArWApxuxnFPgzn/q9AiEA/p3TQQbzA0VpOFl5O0DAjd0Rstxcut8VdMjA7C3dpsQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":207392,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh6wymCRA9TVsSAnZWagAAUcoQAIBsh1W3IvPOjIyWv3ud\nfynMSAOgvZ7UwSw1NIJL9PBVFEuCTNt1de9X+UpACEklsvGeDh4OWz5w2Ep6\nk/BuQIHVQp4zP3WZWdA+PB/f4V7li01Nzs/V2sJ/iywByRjUwbwoUQ90wxsb\n7Kfes0ckdNfQuOKmYT0QE+Q0e+mBu+uX9zhIpadk/ZYQFptOOiZC2vXBHZzR\nuAR9VSG/UdcbVcoeu5Y3ZLtFf9sZfafEUo0cdIkJZBlIHaTlZLsiuC1FtDid\nb4e2A73cJGVqfO7yctF9AuwDGHlExhi5/52cLUPr1eS249HGKE/kMfkPXHH5\n66HeWUYCP+gynulcVe444Ip3JYwLiR0PBphxunLrJLhct7UF4qx6hrZ+dYvI\nq2GogbmGLEkGpeQ/xNwH6MTKo8Z68RP37RnBoEeO4x2M4gg7XNlmsq95RISc\nDQR7CZllb+tP1NlhFqsigZiZ0OJz8I9RrcYbU+scT7QQfCEKzY8Rn4LYlVbr\nlvUjfp+IZ4k2oWWmBIMAfdqRK8gldwFKs5uM/G8AZggpF16N0RZi6c8onvt6\nO8OqG+fXciYRzVGSI6D2mlK4B892uWIaw6leIby7bepit22CR6xPDodKdNL/\nnfnLUeh65hkxJv3p/gf8XK/Hq4heAWvlZOA5dtJlNWFau3j1cK0Fp2c8ttF4\n52va\r\n=HmlH\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","gitHead":"ae36797248f682d52c61981dd23f3ac25e7d14cc","scripts":{"dev":"ncc run src/index.ts","lint":"eslint src/**/*.ts --fix","build":"ncc build src/index.ts -m -o bin","prepare":"husky install","release":"release-it","husky:commit-msg":"commitlint","husky:pre-commit":"tsc --noEmit && lint-staged"},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"repository":{"url":"git://github.com/b12k/branch-name-lint.git","type":"git"},"_npmVersion":"8.1.2","description":"Flexible git branch name linter with some extra validating features","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chalk":"^5.0.0","husky":"^7.0.4","eslint":"^8.6.0","release-it":"^14.12.1","typescript":"^4.5.4","@types/node":"^17.0.8","@vercel/ncc":"^0.33.1","cosmiconfig":"^7.0.1","lint-staged":"^12.1.7","path-to-regexp":"^6.2.0","@commitlint/cli":"^16.0.2","eslint-plugin-tsc":"^2.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-plugin-unicorn":"^40.0.0","@typescript-eslint/parser":"^5.9.0","eslint-plugin-eslint-comments":"^3.2.0","@commitlint/config-conventional":"^16.0.0","eslint-config-airbnb-typescript":"^16.1.0","@typescript-eslint/eslint-plugin":"^5.9.0","eslint-import-resolver-typescript":"^2.5.0","@release-it/conventional-changelog":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/branch-name-lint_1.0.2_1642794150199_0.6394921844869501","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@b12k/branch-name-lint","version":"1.0.3","keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","_id":"@b12k/branch-name-lint@1.0.3","maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"homepage":"https://github.com/b12k/branch-name-lint","bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"bin":{"branch-name-lint":"bin/index.js"},"dist":{"shasum":"13456a350409140cc7a6420b56948ebbbeba95ad","tarball":"https://registry.npmjs.org/@b12k/branch-name-lint/-/branch-name-lint-1.0.3.tgz","fileCount":4,"integrity":"sha512-LuzMQpylusHhL/9TcyhTpqrtrmVCvC5NSEpNCWRIh71AuN01+tC0KDQkqzXOkab7eMwk4s5CEUmhe1jX4+CwdA==","signatures":[{"sig":"MEUCIEcmwHoqabCbypsDWCpMID30xdPcCxJW2OT9A7hQmJs8AiEAiFbgFgMBPwpsIHpXUPhdP6SwEXSrSACUgATkuQDZpW0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":176684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiDnRmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpMJxAAk2HKhxHqvl6m1LJNv2WlWBqaJG+DRve1se6IWxapD0uMqlB+\r\nSs4rVvZi9e0WpYpPDdb3We49Rqg1j88OfO0m9+Qz8LRMyU8if9j25cAzSpAP\r\nKqeowvQbhCidiy3OmZmQK2BqSDs5WRRm2ufzIWgphlk4F4DqFour0Nx4Tm6D\r\ndpPuRBjyKq7+BFjM225AI5VSe2ZThQI1shz9d+6qNMJ3X/J4slPyAuTxCuYz\r\npekUsCRUtLMftlThdX9s9C46kP4RVMAP+/Za7N3kWKqXbzKYYV+yXsQngKcH\r\nVwLCG1je0J1pZB3uO3RcYE06jxSegc5kMrEx7EmpfZH1Mruk0PV8V4FwbAo0\r\nltW/QNoH8gxFgS/luLy9nDu9Xqfslwjho5S2JbSFLVJIyMwEbutRM84abqIw\r\nXcZr9H8U9sp0FMxE0nSrdEbDBBuCy6BjOrjRG7dNfvhCQaqYpUHRB2PJQRxt\r\ns9+drSFDH3g5qN3SMc+IE59pZRFEr8FNekrIQEto4hb7SMsCGO/kARjSwXRh\r\n7qmRJokfKXwMrdrlvmcw6x9u0cLxwf9g184rkbBDlpv/HdI2LWmWgBtfLUfR\r\nCmf+0pWRdPy/ihowCW78UwUpZ6QG8wywFfME7yQDEz8GvMaTA+je7eZhvuod\r\nnULy9dM+L5m0psAvMcAUPfwVgzwuZbOvP8Q=\r\n=jFXj\r\n-----END PGP SIGNATURE-----\r\n"},"main":"bin/index.js","gitHead":"665efc92c7e4c0837aeef3a3d3941777a2461a2e","scripts":{"dev":"ncc run src/index.ts","lint":"eslint src/**/*.ts --fix","build":"ncc build src/index.ts -m -o bin","prepare":"husky install","release":"release-it","husky:commit-msg":"commitlint","husky:pre-commit":"tsc --noEmit && lint-staged"},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"repository":{"url":"git://github.com/b12k/branch-name-lint.git","type":"git"},"_npmVersion":"8.3.1","description":"Flexible git branch name linter with some extra validating features","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chalk":"^5.0.0","husky":"^7.0.4","eslint":"^8.6.0","release-it":"^14.12.1","typescript":"^4.5.4","@types/node":"^17.0.8","@vercel/ncc":"^0.33.1","cosmiconfig":"^7.0.1","lint-staged":"^12.1.7","path-to-regexp":"^6.2.0","@commitlint/cli":"^16.0.2","eslint-plugin-tsc":"^2.0.0","eslint-plugin-import":"^2.25.4","eslint-plugin-promise":"^6.0.0","eslint-plugin-unicorn":"^40.0.0","@typescript-eslint/parser":"^5.9.0","eslint-plugin-eslint-comments":"^3.2.0","@commitlint/config-conventional":"^16.0.0","eslint-config-airbnb-typescript":"^16.1.0","@typescript-eslint/eslint-plugin":"^5.9.0","eslint-import-resolver-typescript":"^2.5.0","@release-it/conventional-changelog":"^4.1.0"},"_npmOperationalInternal":{"tmp":"tmp/branch-name-lint_1.0.3_1645114470136_0.3279318752918978","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@b12k/branch-name-lint","version":"1.1.0","keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","_id":"@b12k/branch-name-lint@1.1.0","maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"homepage":"https://github.com/b12k/branch-name-lint","bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"bin":{"branch-name-lint":"bin/index.js"},"dist":{"shasum":"869333c53d7c2d840fdc6e347226c3a0540311b2","tarball":"https://registry.npmjs.org/@b12k/branch-name-lint/-/branch-name-lint-1.1.0.tgz","fileCount":5,"integrity":"sha512-0dx8Lec7PseFNBijmkurltBD61ybXM7Nedn1TQQPN5Imz2Cmt5cSvydMtJWdFcmeVolqPe64ochou/M0SL5CYA==","signatures":[{"sig":"MEYCIQDil+T+S9brXQ0KpBPaWH6gm7BcATR2jfsZHvETCLpJ4gIhAJsNrk4+amMSc1Qwe44Ad1KcPjQxgHi33TGgxlcOIEDm","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":135124},"main":"bin/index.js","gitHead":"6d3c3cbac98ad04025102d84b1066b91c12932d8","scripts":{"dev":"ncc run src/index.ts","lint":"eslint src/**/*.ts --fix","build":"ncc build src/index.ts -m -o bin","prepare":"husky install","release":"release-it","husky:commit-msg":"commitlint","husky:pre-commit":"tsc --noEmit && lint-staged"},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"repository":{"url":"git://github.com/b12k/branch-name-lint.git","type":"git"},"_npmVersion":"9.6.7","description":"Flexible git branch name linter with some extra validating features","directories":{},"_nodeVersion":"20.3.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chalk":"^5.2.0","husky":"^8.0.3","eslint":"^8.43.0","release-it":"^15.11.0","typescript":"^5.1.5","@types/node":"^20.3.2","@vercel/ncc":"^0.36.1","cosmiconfig":"^8.2.0","lint-staged":"^13.2.3","path-to-regexp":"^6.2.1","@commitlint/cli":"^17.6.6","eslint-plugin-tsc":"^2.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-plugin-unicorn":"^47.0.0","@typescript-eslint/parser":"^5.60.1","eslint-plugin-eslint-comments":"^3.2.0","@commitlint/config-conventional":"^17.6.6","eslint-config-airbnb-typescript":"^17.0.0","@typescript-eslint/eslint-plugin":"^5.60.1","eslint-import-resolver-typescript":"^3.5.5","@release-it/conventional-changelog":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/branch-name-lint_1.1.0_1687949713779_0.7022281497124252","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@b12k/branch-name-lint","version":"1.2.0","keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","_id":"@b12k/branch-name-lint@1.2.0","maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"homepage":"https://github.com/b12k/branch-name-lint","bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"bin":{"branch-name-lint":"bin/index.js"},"dist":{"shasum":"a47c8f014272fb633d722368bc5310cf5a34f791","tarball":"https://registry.npmjs.org/@b12k/branch-name-lint/-/branch-name-lint-1.2.0.tgz","fileCount":5,"integrity":"sha512-uGuMm5sUmz6e6q/lACOv+8SYW59z8Q7gwmxoTu8WJycsZfJuqIMiIT8i9pHYc9CYN+WqXZr/3EVaRTGhE8o09A==","signatures":[{"sig":"MEYCIQCTZc/E+7NGroUCfe3jUaOtN8m7MoeVwcQ01ohkSojyNQIhANPQPV0RZ2eEDCw43z8fzCj2JrWEhjfC/JEyBBaYm15c","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":135647},"main":"bin/index.js","gitHead":"8a840bee8da8ba1c9d09b085d059222331877f02","scripts":{"dev":"ncc run src/index.ts","lint":"eslint src/**/*.ts --fix","build":"ncc build src/index.ts -m -o bin","prepare":"husky install","release":"release-it","husky:commit-msg":"commitlint","husky:pre-commit":"tsc --noEmit && lint-staged"},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"repository":{"url":"git://github.com/b12k/branch-name-lint.git","type":"git"},"_npmVersion":"10.8.2","description":"Flexible git branch name linter with some extra validating features","directories":{},"_nodeVersion":"20.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chalk":"^5.2.0","husky":"^8.0.3","eslint":"^8.43.0","release-it":"^15.11.0","typescript":"^5.1.5","@types/node":"^20.3.2","@vercel/ncc":"^0.36.1","cosmiconfig":"^8.2.0","lint-staged":"^13.2.3","path-to-regexp":"^6.2.1","@commitlint/cli":"^17.6.6","eslint-plugin-tsc":"^2.0.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-plugin-unicorn":"^47.0.0","@typescript-eslint/parser":"^5.60.1","eslint-plugin-eslint-comments":"^3.2.0","@commitlint/config-conventional":"^17.6.6","eslint-config-airbnb-typescript":"^17.0.0","@typescript-eslint/eslint-plugin":"^5.60.1","eslint-import-resolver-typescript":"^3.5.5","@release-it/conventional-changelog":"^5.1.1"},"_npmOperationalInternal":{"tmp":"tmp/branch-name-lint_1.2.0_1744820418507_0.06927677515334096","host":"s3://npm-registry-packages-npm-production"}},"1.3.0":{"name":"@b12k/branch-name-lint","version":"1.3.0","description":"Flexible git branch name linter with some extra validating features","main":"bin/index.js","bin":{"branch-name-lint":"bin/index.js"},"publishConfig":{"access":"public"},"scripts":{"dev":"ncc run src/index.ts","build":"ncc build src/index.ts -m -o bin","lint":"eslint src/**/*.ts --fix","prepare":"husky install","release":"release-it","husky:commit-msg":"commitlint","husky:pre-commit":"tsc --noEmit && lint-staged"},"keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","repository":{"type":"git","url":"git://github.com/b12k/branch-name-lint.git"},"homepage":"https://github.com/b12k/branch-name-lint","bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"devDependencies":{"@commitlint/cli":"^17.6.6","@commitlint/config-conventional":"^17.6.6","@release-it/conventional-changelog":"^5.1.1","@types/node":"^20.3.2","@typescript-eslint/eslint-plugin":"^5.60.1","@typescript-eslint/parser":"^5.60.1","@vercel/ncc":"^0.36.1","chalk":"^5.2.0","cosmiconfig":"^8.2.0","eslint":"^8.43.0","eslint-config-airbnb-typescript":"^17.0.0","eslint-import-resolver-typescript":"^3.5.5","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-import":"^2.27.5","eslint-plugin-promise":"^6.1.1","eslint-plugin-tsc":"^2.0.0","eslint-plugin-unicorn":"^47.0.0","husky":"^8.0.3","lint-staged":"^13.2.3","path-to-regexp":"^6.2.1","release-it":"^15.11.0","typescript":"^5.1.5"},"_id":"@b12k/branch-name-lint@1.3.0","gitHead":"8f78f4cffac25acc3f8f6c843073b11abc51179d","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-GhzOKKHvMhDArpCEll1OSOQO/9vEK5rgEdLMM9Y36dyUSXE9moMB+A7nL6zcGyFtPnVVIdKa34ofXVHwC/atQA==","shasum":"108bc405f887dcb56978fa5ea4ca8395ca35a7d9","tarball":"https://registry.npmjs.org/@b12k/branch-name-lint/-/branch-name-lint-1.3.0.tgz","fileCount":5,"unpackedSize":135645,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDuuR90P/MiGx0KcUDrJFwGL9LLWEWW1NX0LDGnzP+61AIgbYbZe/ID3IxbHByMd+KMk577SJmwqGrkBiWyvpZEJs0="}]},"_npmUser":{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"},"directories":{},"maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/branch-name-lint_1.3.0_1744825256143_0.38749108329928417"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-13T22:15:34.711Z","modified":"2025-04-16T17:40:56.504Z","0.0.1":"2022-01-13T20:20:33.847Z","0.0.2":"2022-01-13T21:33:20.663Z","0.1.0":"2022-01-13T21:53:50.365Z","1.0.0":"2022-01-13T22:15:35.184Z","1.0.1":"2022-01-14T00:00:58.716Z","1.0.2":"2022-01-21T19:42:30.380Z","1.0.3":"2022-02-17T16:14:30.299Z","1.1.0":"2023-06-28T10:55:13.981Z","1.2.0":"2025-04-16T16:20:18.698Z","1.3.0":"2025-04-16T17:40:56.341Z"},"bugs":{"url":"https://github.com/b12k/branch-name-lint/issues"},"author":{"name":"Bogdan Kolesnyk"},"license":"MIT","homepage":"https://github.com/b12k/branch-name-lint","keywords":["lint","validate","branch","name","git","conventonal","lint branch name","conventional branch name","branch name linter","branch name validator"],"repository":{"type":"git","url":"git://github.com/b12k/branch-name-lint.git"},"description":"Flexible git branch name linter with some extra validating features","maintainers":[{"name":"b12k","email":"bogdan.kolesnyk@gmail.com"}],"readme":"<!-- markdownlint-disable -->\n\n# **<div align=\"center\">Branch Name Lint</div>**\n\n<div align=\"center\">\n  <img src=\"https://bit.ly/branch-name-lint\" alt=\"BranchNameLint\">\n  <p>Flexible git branch naming convention checker with some extra validating features</p>\n  <a href=\"https://codeclimate.com/github/b12k/branch-name-lint/maintainability\">\n    <img src=\"https://api.codeclimate.com/v1/badges/90a30843ffa0d0410003/maintainability\">\n  </a>\n</div>\n\n<!-- markdownlint-enable -->\n\n## Usage\n\n### Globally\n\n```shell\n> npm install @b12k/branch-name-lint -g\n> branch-name-lint\n```\n\n### As development dependency\n\n```shell\n> npm install @b12k/branch-name-lint -D\n> npm set-script lint:branch-name \"branch-name-lint\"\n```\n\n### With custom branch names\n\n```shell\n> branch-name-lint --name=my-custom/branch-name\n```\n\n### Git hook\n\nUsing [simple-git-hooks](https://www.npmjs.com/package/simple-git-hooks)\n\n`package.json`\n\n```json\n{\n  \"simple-git-hooks\": {\n    \"pre-push\": \"branch-name-lint\"\n  }\n}\n```\n\nAlternatevly you can use it with [husky](https://www.npmjs.com/package/husky).\n\n## Configuration\n\n### Config schema\n\n```typescript\ninterface Config {\n  pattern: string;\n  params: Record<string, string[]>;\n  prohibited: string[];\n}\n```\n\n### User provided configuration\n\nUnder the hood **BranchNameLint** uses [cosmicconfig](https://www.npmjs.com/package/cosmiconfig)\nto load its configuration.\n\nYou can create one of the following:\n\n- `branchnamelint` property in the `package.json` file\n- Extensionless \"rc file\" in `.json` or `.yaml` format\n  - `.branchnamelintrc`\n- \"rc file\" with `.json` or `.yaml` extensions\n  - `.branchnamelintrc.json`\n  - `.branchnamelintrc.yaml`\n- \"rc file\" with `.js` extension\n  - `.branchnamelintrc.js`\n- \".config.js\" file\n  - `branchnamelint.config.js`\n\n> don't forget to do `module.exports = {...}` in `.js` config files\n\n**BranchNameLint** will merge found configuration with its defaults.\n\n### Default configuration\n\n```javascript\nmodule.exports = {\n  pattern: ':type/:name',\n  params: {\n    type: [\n      'fix',\n      'docs',\n      'misc',\n      'improve',\n      'introduce',\n    ],\n    name: ['[a-z0-9-]+'],\n  },\n  prohibited: [\n    'ci',\n    'wip',\n    'main',\n    'test',\n    'build',\n    'master',\n    'release',\n  ],\n};\n```\n\n### Linting\n\n**BranchNameLint** uses [path-to-regexp](https://www.npmjs.com/package/path-to-regexp)\nto check if branch name matches the `pattern` provided in config.\n\nFirstly branch name will be checked if its `prohibited` or not. On the next step,\nif `params` are provided, `pattern` parts will be modified/populated using\nrespective keys. For example:\n\n```text\n(default configuration)\n:type/:name => :type(feature|fix|misc|docs)/:name([a-z0-9-]+)\n```\n\nPlease refer to [path-to-regexp](https://www.npmjs.com/package/path-to-regexp)\ndocs for advanced patterns.\n\n## Configuration recipes\n\n### Only check for protected branches\n\n```typescript\nmodule.exports = {\n  pattern: '', // or other falsy value: undefined | 0 | null | false\n  params: {},\n  prohibited: [\n    'master',\n    'main',\n    'build',\n    'test',\n    'wip',\n    'ci',\n    'release',\n  ],\n};\n```\n\n### Dot-separated username & issue id\n\n`b12k.fix/example-branch-description/lbn-12345`\n\n```typescript\nmodule.exports = {\n  pattern: ':username.:type/:desc/:issue',\n  params: {\n    type: [\n      'feature',\n      'fix',\n      'misc',\n      'docs',\n    ],\n    issue: ['lbn-[a-z0-9-]+'],\n  },\n  prohibited: [\n    'master',\n    'main',\n    'build',\n    'test',\n    'wip',\n    'ci',\n    'release',\n  ],\n};\n```\n\n### Scopes for monorepo\n\n`feature/my-awesome-app/yet-another-great-feature`\n\n```text\n(imaginary monorepo structure)\nroot/\n    apps/\n        my-awesome-app\n        another-great-app\n    libs/\n        very-useful-lib\n        shared-lib\n    .branchnamelintrc.js\n```\n\n```typescript\nconst fs = require('fs');\n\nconst readDirectories = (path) => fs\n  .readdirSync(path, { withFileTypes: true })\n  .filter((file) => file.isDirectory())\n  .map(({ name }) => name);\n\nmodule.exports = {\n  pattern: ':type/:scope/:description',\n  params: {\n    type: [\n      'feature',\n      'fix',\n      'misc',\n      'docs',\n    ],\n    scope: readDirectories('./apps')\n  },\n  prohibited: [\n    'master',\n    'main',\n    'build',\n    'test',\n    'wip',\n    'ci',\n    'release',\n  ],\n};\n```\n","readmeFilename":"README.md"}