{"_id":"git-notify","_rev":"4-c4cd9493eec3999393dde564b58b5a9a","name":"git-notify","dist-tags":{"latest":"0.2.3"},"versions":{"0.2.0":{"version":"0.2.0","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=10"},"bin":{"git-notify":"bin/git-notify.js"},"scripts":{"start":"tsdx watch --target=node --format=cjs","build":"tsdx build --target=node --format=cjs","test":"echo tsdx text","lint":"tsdx lint","prepare":"yarn build","size":"size-limit","analyze":"size-limit --why"},"dependencies":{"@types/git-raw-commits":"^2.0.0","boxen":"^5.0.0","chalk":"^4.1.0","git-raw-commits":"^2.0.10","meow":"^9.0.0","simple-git":"^2.35.2"},"peerDependencies":{},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"git-notify","author":{"name":"Jani Eväkallio"},"module":"dist/git-notify.esm.js","size-limit":[{"path":"dist/git-notify.cjs.production.min.js","limit":"10 KB"},{"path":"dist/git-notify.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.9.2","husky":"^5.1.1","size-limit":"^4.9.2","tsdx":"^0.14.1","tslib":"^2.1.0","typescript":"^4.2.2"},"description":"_Communicate important updates to your team via git commit messages_.","licenseText":"MIT License\n\nCopyright (c) 2021 Jani Eväkallio\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"git-notify@0.2.0","dist":{"shasum":"82573d045de79638f3dd7a58cccd3fa277d3ee56","integrity":"sha512-QfaWLCYGMiVnUL89Nb0oVTCuWn/NGMQE0Z0HraWTWkWiKqVpQrFA/ObY2ixFG6wsgBZP0Ts78QV4Z2yjAw8Uaw==","tarball":"https://registry.npmjs.org/git-notify/-/git-notify-0.2.0.tgz","fileCount":19,"unpackedSize":35795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO+S6CRA9TVsSAnZWagAAdcEP/jQpTt4qBP/mcGjIzPxm\nPMu9zss6ofbazI30VxB6RHc1Vk7baYtPtLKECPW/VETd6QAtxHbi/Z+OIEAv\neqSBtmzLq5ognVb2WdLjL49bpQZ/5a4800EIPfNPVdG6mk3+87jMgPZoHV0J\nUPFpBGQ2o/LRpJhXDlaY2QQUZlWpF8AQ7Rr2kCHGn6tcUahncWVDSLelg5lR\nXKXHtmUm3X+oRLCqNb5K8eH2PD770vqkL+OoLRQMdhO17EBMhLnWU73CBkhY\nnEu0phnvXIMwbkETIeLlJC+N+IbrOBuN+0f9E3nkETp/6YLoK5eQfoVwtc2I\n5K7e4GTZkNUAb4E/sJePhRoHFwa//YfLstl7g8uMgDXTxgrIvNUG1fziNnNm\nJAdnG+AIvU70nUOUMyMfz/JLcNT6bmK6fOB5Nn6ccEwPmb4ixVA/9jPS39MC\nNqW3dfsZw37PT3IC+Zg8s++bEI2a1/9ELj45BFeuCjkxylz+gSK5rEdLL8aI\nXBL771dBxszqERluwR63E85kT+zV/mWRCyn8phD3Tbzs9AiSJSoKtGhq7jin\npiNJSeVFCUzFBXVxJcjdtHmgkb40YfUn9MP+N8tXhpCqji8Sa6C9uAG74X1I\nQa3CaJanupSSncrR+wT2GW8YAo/soGdlkGMd4+TL/7vX9cwU17qZye8wm+70\n7tUB\r\n=24m6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEgv+sPX7Bjps+/acMWic4ZOry8en0ArODBDtY2BE8K/AiBMrVRsBne56WWNu4rfIfJoFSVysZi8kRBa9KjoK1Txyg=="}]},"_npmUser":{"name":"jevakallio","email":"jani.evakallio@gmail.com"},"directories":{},"maintainers":[{"name":"jevakallio","email":"jani.evakallio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-notify_0.2.0_1614537914153_0.6190222616723589"},"_hasShrinkwrap":false},"0.2.1":{"version":"0.2.1","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/jevakallio/git-notify"},"description":"Communicate important updates to your team via git commit messages","contributors":[{"name":"@jevakallio"}],"keywords":["git","hook","message","notify","husky"],"engines":{"node":">=10"},"bin":{"git-notify":"bin/git-notify.js"},"scripts":{"start":"tsdx watch --target=node --format=cjs","build":"tsdx build --target=node --format=cjs","test":"echo tsdx text","lint":"tsdx lint","prepare":"yarn build","size":"size-limit","analyze":"size-limit --why"},"dependencies":{"boxen":"^5.0.0","chalk":"^4.1.0","git-raw-commits":"^2.0.10","meow":"^9.0.0","simple-git":"^2.35.2"},"peerDependencies":{},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"git-notify","author":{"name":"Jani Eväkallio"},"module":"dist/git-notify.esm.js","size-limit":[{"path":"dist/git-notify.cjs.production.min.js","limit":"10 KB"},{"path":"dist/git-notify.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.9.2","@types/git-raw-commits":"^2.0.0","husky":"^5.1.1","size-limit":"^4.9.2","tsdx":"^0.14.1","tslib":"^2.1.0","typescript":"^4.2.2"},"licenseText":"MIT License\n\nCopyright (c) 2021 Jani Eväkallio\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"git-notify@0.2.1","dist":{"shasum":"17520c8d8639b185f38a687acd38278f51378ef8","integrity":"sha512-UZ+n3fUGfKzPndUo6MfTnolEJdID58u4ylLzLJVdSHjE1fW8o9DVgDaUxkBnKSGGK1OPP4eLhtyhXWbXYxwKcg==","tarball":"https://registry.npmjs.org/git-notify/-/git-notify-0.2.1.tgz","fileCount":16,"unpackedSize":31984,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO+diCRA9TVsSAnZWagAA978P+gICH8fpuBdUhpCxd67L\nvkuQk47mdySO720Yo3XQk+/y4jaRd8P4B6fnIVwxl+Xmj4nkCB+Uk2uhcXk2\n83slFkJe02/W6vARDf8XbSR7gWFZ3F9j74n83eFXMRmLLRu5PuMeK+tTzmdA\n7RsmHorrbbeHhpMEYCc5VVLTfRCuFf8+h1N+YTMOM1AoP9A5ZxTENw43Ly0h\nZuoPuUcOAjoreSCACK0+XmgjZeq7daq7hfbMOf6bPFHLm+v8X0I9xUIBu+H8\nh9WEqs1uLOBuap5kaqGw2CNfLK7VLjGjCQn2GAYeiSTtcBAm8MwhaIXTS9Nn\nM3i9xEZBRFUZCbmBnBW4LFcSFvCV479L+71BjfRTxvWfUggqi491V3j+k7FY\nfogv80nUbHldIf9lXi766vToJru9Gv/lacwznGfTlVuV23+y46mahew+q+OI\nC2YyojlIGT+y1TuMlKvavVYqHF0bM1mXLMAHixFgysqKzjfTZBjJwLve9oTd\nTn4djHAsXLATDvROBDj85qWIbFbk+1Mzf13SiJhbnLfbdeV0onTWUKKt+173\n9UO11wtcLcr2/1Cv0x7CTKrrG22HMQNIRVhjfQHpc5V+CjZso4GQZ7TqqZQh\nk6ey2CMFEaGD9CqeW84CUsiSZFGzRxmHxNu1gUxfaVXXcpuOU/iwDNUWB2f4\nEPib\r\n=SKB5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEfpyGRx0ZdX9sh5X+RYLWz0lGdw1udYT7KMOocJDQR4AiEAr+5w9MZBzTICbqtSTDHRx1mdFF6ZPekzZR1e5MgqKjw="}]},"_npmUser":{"name":"jevakallio","email":"jani.evakallio@gmail.com"},"directories":{},"maintainers":[{"name":"jevakallio","email":"jani.evakallio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-notify_0.2.1_1614538593574_0.9322100249155716"},"_hasShrinkwrap":false},"0.2.2":{"version":"0.2.2","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/jevakallio/git-notify"},"description":"Communicate important updates to your team via git commit messages","contributors":[{"name":"@jevakallio"}],"keywords":["git","hook","message","notify","husky"],"engines":{"node":">=10"},"bin":{"git-notify":"bin/git-notify.js"},"scripts":{"start":"tsdx watch --target=node --format=cjs","build":"tsdx build --target=node --format=cjs","test":"echo tsdx text","lint":"tsdx lint","prepare":"yarn build","size":"size-limit","analyze":"size-limit --why"},"dependencies":{"boxen":"^5.0.0","chalk":"^4.1.0","detect-newline":"^3.1.0","git-raw-commits":"^2.0.10","meow":"^9.0.0","simple-git":"^2.35.2"},"peerDependencies":{},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"git-notify","author":{"name":"Jani Eväkallio"},"module":"dist/git-notify.esm.js","size-limit":[{"path":"dist/git-notify.cjs.production.min.js","limit":"10 KB"},{"path":"dist/git-notify.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.9.2","@types/git-raw-commits":"^2.0.0","husky":"^5.1.1","size-limit":"^4.9.2","tsdx":"^0.14.1","tslib":"^2.1.0","typescript":"^4.2.2"},"licenseText":"MIT License\n\nCopyright (c) 2021 Jani Eväkallio\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"git-notify@0.2.2","dist":{"shasum":"791a6944d7761f8d69094cda9ffe5b01cc3a15b2","integrity":"sha512-QrsjuiN62DAbKtbMfRidzpTUXdZTClGXbvTq8AU1knU3YUcDdsKzwpdRvFRqI+YppltQ0Vv/x6twgwHKXQ+oHw==","tarball":"https://registry.npmjs.org/git-notify/-/git-notify-0.2.2.tgz","fileCount":16,"unpackedSize":31992,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgO+jCCRA9TVsSAnZWagAAWzYP/1DTBlp9vr4kuH9yIveT\nuXYNls5W8/RbFVGN837KjmQrfgjqblXNqeyE7xf3WyEXCh7C8o0xyrjsNc2P\nxo8KzWb5Zbu3XS+POREWPraOIaqjCqNPgvoeFVDKogi7eTvRjt+pADeYyqaF\nc6wJbHLQezqbrg/Se3K7g4WM7dYRl15wO/OCmZ0QlAPvAiN3BJ8bjsbf1UPT\n0YkFD48l1fJP/mtFx3+DrJTVTcAh8LPMocuYCEDlj0BUhE3rBkxjr0UCvnnu\nQk/2tmy9XQgKd6yUtXrzUHzenv7tYRNMSq5NF2m0cjb0lbD5Mh6Z2Mix00yc\nR+uNtiiQZecfBseHNT/wkRA6kkizy/GMfg1AZ/KQbJ1PRbxQTchKNEXYUKOj\n9FZ2/hvMrmuZ26UyJGoSiDKNjbJUIFtjIxZ2jqZUYDjxczc7TXmkbfVqYi0l\nIo46tbVFr/+dZWvafmN3hOPF9jE/0oG0Gzo4ooCdZFttYCLMQI0j+SEbt7hV\njYbEPKI3S0kpRadyJRhFcSlnmh1vtSYiGOQr71lb/ab5nkeHis1AAVmIJfUk\nSeDN9zckzBtu8/XA+pKm/PzvtQD7803nDXNMZSzMzw9a4uR7MB8cs93m/Fbp\n9fsxMuTFT45eT/aBD/H7kk/3Iy/tYfvthxL9KoZ/oA6TPDPSFlCeqHc/gdNw\n3dea\r\n=WvcB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIZx58pzIgfQiBJ2nBeed84a7oK2Q3zI0UD0cDyCAzfAiACh3/pqTAGP3qnQajeNmcUHFq6wmc9+vhHciowrNQneA=="}]},"_npmUser":{"name":"jevakallio","email":"jani.evakallio@gmail.com"},"directories":{},"maintainers":[{"name":"jevakallio","email":"jani.evakallio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-notify_0.2.2_1614538946540_0.8912930246028523"},"_hasShrinkwrap":false},"0.2.3":{"version":"0.2.3","license":"MIT","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"https://github.com/jevakallio/git-notify"},"description":"Communicate important updates to your team via git commit messages","contributors":[{"name":"@jevakallio"}],"keywords":["git","hook","message","notify","husky"],"engines":{"node":">=10"},"bin":{"git-notify":"bin/git-notify.js"},"scripts":{"start":"tsdx watch --target=node --format=cjs","build":"tsdx build --target=node --format=cjs","test":"echo tsdx text","lint":"tsdx lint","prepare":"yarn build","size":"size-limit","analyze":"size-limit --why"},"dependencies":{"boxen":"^5.0.0","chalk":"^4.1.0","detect-newline":"^3.1.0","git-raw-commits":"^2.0.10","meow":"^9.0.0","simple-git":"^2.35.2"},"peerDependencies":{},"husky":{"hooks":{"pre-commit":"tsdx lint"}},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"name":"git-notify","author":{"name":"Jani Eväkallio"},"module":"dist/git-notify.esm.js","size-limit":[{"path":"dist/git-notify.cjs.production.min.js","limit":"10 KB"},{"path":"dist/git-notify.esm.js","limit":"10 KB"}],"devDependencies":{"@size-limit/preset-small-lib":"^4.9.2","@types/git-raw-commits":"^2.0.0","husky":"^5.1.1","size-limit":"^4.9.2","tsdx":"^0.14.1","tslib":"^2.1.0","typescript":"^4.2.2"},"licenseText":"MIT License\n\nCopyright (c) 2021 Jani Eväkallio\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"git-notify@0.2.3","dist":{"shasum":"1dc758bfa108ed4e6fc407618f7761c109248286","integrity":"sha512-fnUsm66BY6yQptuvnnQYseRKBFIO0l/IbLJJ01FuIZvCsFmRboWeaAT4BMIfdnaBC1F+63t4qM6ytej/y8gEGQ==","tarball":"https://registry.npmjs.org/git-notify/-/git-notify-0.2.3.tgz","fileCount":16,"unpackedSize":34411,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPDA1CRA9TVsSAnZWagAA0AIP+wc0vQsRZ4P4tcnA4P19\nyvZGw/LRK1Nee/y9+in7+svICGskXFIePsMmkODieXF99ittLVWVtOqwdDvy\nU6wvpHpwbA6tKHI/KX5Nys3m5u2f5vMI6917myBhjB/fEnk4pxTdNMAN3PSX\nthXZJjA8I9MG6ewip+1+R6fsJSaYuhX+6s1tYT8UqAr/1R6SIwOSUxHQYRe8\nLWCeC/r192ueJL1sObOpZzZQSerb+ZvZASIvb2bqPWEyXNxOwBhlPMpOBhK5\nYKA1mOF2dMGXXEijuNoIGlEmVgkmXR5XTA3A7EAzuZ9sJ73aMa0c6skOaZqj\n722JlaDIfiRivhj6gPtLPKpaP8vk2GmF/hk+OH+x35zshJDMYpcHX4DjeAxO\n6d8o7KZXGDKAY/dlBGY3CWkWDOjytF0Ed4ZF/0eHLW0DnyB2+S2sXPLrobSZ\nvY9/Ty+51Py2v9YQc11N6zXZuGhlJMwWsIFkQExF5dwPJk+psuwC8BAUWnLv\nWP4ykiMqAHSaFhlz0sYRrI/FXkI+LU8gua8oH1MH5UK9ElnJe4RdpnZ6UFw0\n6/w+CzCe1oXBTovIbWgFfNrW3L2K9l3b8xxHR7e4LUK1OAlZJ007OQgOFjHj\nuQsId+qGGRisriqHtk+R4M5nRQ9aWaEK3y1KDvUmDdEdMBubRK2sYi09w62P\nR7dH\r\n=crhH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCK8eLK0myZ0ahhtU9x8qSp0NyKZ02huTmkZG8WjDqm6wIgFLWrfiHFz0QCDZ5MSimZcVXkcoT4ckOf5eEygzHFuv4="}]},"_npmUser":{"name":"jevakallio","email":"jani.evakallio@gmail.com"},"directories":{},"maintainers":[{"name":"jevakallio","email":"jani.evakallio@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-notify_0.2.3_1614557236494_0.331318866438429"},"_hasShrinkwrap":false}},"time":{"created":"2021-02-28T18:45:14.153Z","0.2.0":"2021-02-28T18:45:14.329Z","modified":"2022-05-03T19:08:58.081Z","0.2.1":"2021-02-28T18:56:33.775Z","0.2.2":"2021-02-28T19:02:26.658Z","0.2.3":"2021-03-01T00:07:16.670Z"},"maintainers":[{"name":"jevakallio","email":"jani.evakallio@gmail.com"}],"description":"Communicate important updates to your team via git commit messages","author":{"name":"Jani Eväkallio"},"license":"MIT","readme":"# git-notify\n\n_Communicate important updates to your team via git commit messages_.\n\n## What is git-notify?\n\nSometimes you need to communicate changes to other developers on your project. In a small team, a Slack message works okay, but in larger teams and distributed organizations (such as open source projects), reaching everyone can be a pain.\n\n`git-notify` allows you to embed announcements into your git commit messages:\n\n```sh\ngit commit -m 'git-notify: NEW DEVELOPMENT ENVIRONMENT ...'\n```\n\nAnd display them to another developer on a machine, far far away:\n\n<img src=\"https://raw.githubusercontent.com/jevakallio/git-notify/master/docs/demo_animated.gif\" alt=\"Demo\"></img>\n\nSimple as that.\n\n## How to use git-notify?\n\nJust add `\"git-notify:\"` to your git commit message, and anything that follows will be displayed when another developer pulls that commit, or switches from a branch that does not contain that commit to one that does.\n\nIf you're using a merge or squash commit strategy on GitHub, you can also add them to the extended commit message when landing a PR:\n\n<img src=\"https://github.com/jevakallio/git-notify/blob/master/docs/github-example.png?raw=true\" alt=\"GitHub PR flow example\"></img>\n\n## Getting Started\n\nInstall `git-notify` to your `npm` (or `yarn`) based project as a devDependency:\n\n```bash\n# using npm\nnpm install --save-dev git-notify\n\n# using yarn\nyarn add -D git-notify\n```\n\nNext, we'll configure `git-notify` to run automatically when other developers pull commits that contain git messages. Below we show how to achieve this with the excellent [husky](https://github.com/typicode/husky) library. For other approaches, see the [Git Hooks](#git-hooks) section later in this document.\n\n### Installing hooks with husky\n\n```\n# using npm\nnpm install --save-dev husky@4\n\n# using yarn\nyarn add -D husky@4\n```\n\nConfigure `git-notify` hooks by adding the following `husky` entries to your `package.json`:\n\n```json\n{\n  //...snip\n  \"husky\": {\n    \"hooks\": {\n      \"post-merge\": \"git-notify merge $HUSKY_GIT_PARAMS\",\n      \"post-rewrite\": \"git-notify rewrite $HUSKY_GIT_PARAMS\",\n      \"post-checkout\": \"git-notify checkout $HUSKY_GIT_PARAMS\"\n    }\n  }\n}\n```\n\n_**Note:** The above instructions below are for [husky v4.x](https://github.com/typicode/husky/tree/master). Husky v5 has changed how hooks are configured, as well updated its licensing terms to be free only to other open source projects.See [husky's own documentation](https://dev.to/typicode/what-s-new-in-husky-5-32g5) for how to configure hooks in their latest version._\n\n## Configuration\n\n- `git-notify --prefix \"@everyone\"`\n  - Change the prefix `git-notify` looks for in git commit messages\n  - Default: `git-notify:`\n- `git-notify --color \"#ff6f6f\"`\n  - Change the color of the banner or message\n  - This can be one of the [`chalk` preset colors](https://www.npmjs.com/package/chalk#colors) or a hex value. Note that not all terminals support full hex color scales.\n- `git-notify --simple`\n  - Instead of a fancy banner, displays a simple text message\n\n### All parameters\n\nRun `npx git-notify --help` for an up to date list of parameters:\n\n```sh\nnpx git-notify --help\n\n  Usage\n    $ git-notify <method> [options] $GIT_PARAMS\n\n   Methods\n     since <commit>  show all notifications since commit\n     merge           run on git pull/merge\n     rewrite         run on git rebase\n     checkout        run on git checkout/switch\n\n  Options\n     --prefix, -p    prefix to  look for in commit messages (default: \"git-notify:\")\n     --simple, -s    show a plain, unboxed notification\n     --color, -c     color of displayed notification\n\n  Examples\n     $ git-notify since HEAD~5\n     $ git-notify checkout $GIT_PARAMS\n```\n\n## About formatting\n\n`git-notify` will display a message for every \"git-notify:\" prefix it finds in the commit log that was just pulled/merged/rebased/checked out. **The notification message will be the rest of the paragraph following the prefix.**\n\nFor example, this commit message:\n\n```\nThis change upgrades some of our dependencies. git-notify: Please run npm install\n```\n\nWill print:\n\n```\n            ╒════════════════════════════╕\n            │                            │\n            │  Please run npm install    │\n            │                            │\n            ╘════════════════════════════╛\n```\n\nThe message will run until the end of the paragraph, delimited by a double line break. Single line breaks and other whitespace will be preserved. So that:\n\n```\nRewrite everything.\n\ngit-notify:EVERYTHING HAS CHANGED\nThis project has been rewritten\nfrom scratch. If something broke,\nplease contact Jeff at dev@null.com.\n\nMay god please forgive me.\n```\n\nWill display:\n\n```\n         ╒══════════════════════════════════════════╕\n         │                                          │\n         │          EVERYTHING HAS CHANGED          │\n         │     This project has been rewritten      │\n         │    from scratch. If something broke,     │\n         │   please contact Jeff at dev@null.com.   │\n         │                                          │\n         ╘══════════════════════════════════════════╛\n```\n\nYou can run `git-notify since` to test configuration and dry-run the message you've just created locally. For example:\n\n```\ngit commit -m '@team what's up??'\nnpx git-notify since HEAD~1 --prefix \"@team\"\n```\n\n### Can I group messages\n\nNot at the moment, but this should not be difficult to add. See [Contributing](#contributing)\n\n## Git Hooks\n\n### Installing with husky\n\nSee [Installing hooks with husky](#installing-hooks-with-husky) in the Getting Started section.\n\n### Installing hooks by any other means\n\n`git-notify` is agnostic to however you want to install your git hooks.\n\nThe hooks you need to configure are:\n\n- **post-merge** (runs on `git pull` and `git merge`)\n  - `npx git-notify merge $GIT_PARAMS`\n- **post-rewrite** (runs on `git rebase`)\n  - `npx git-notify rewrite $GIT_PARAMS`\n- **post-checkout** (runs on `git checkout` -- optional, but useful)\n  - `npx git-notify checkout $GIT_PARAMS`\n\nAt the time of writing, `git-notify checkout` is the only hook that uses the arguments (`$GIT_PARAMS`) passed to the git hook, but ideally you should always pass the arguments to `git-notify`, in case we'll need to use them in a later version.\n\nSee [githooks.com](https://githooks.com/) for more resources on the topic. Documentation for different approaches are welcome!\n\n### Installing git-notify without npm\n\nAt this time, `git-notify` is a node-based project. While I recognize it could be useful in other types of projects (ruby, python, rust, etc...), cross-platform scripting sucks, and this project is not interested in solving those problems at this time.\n\nIf you like this idea, feel free to steal it and implement your own version for other toolsets!\n\n## Contributing\n\nThis project is open to contributions. For anything that would radically change the nature of the project or increase its maintenance burden, please open an issue first to discuss.\n\n### Local development\n\nThis project is written in TypeScript and scaffolded using [tsdx](https://github.com/formium/tsdx).\n\nTo run TSDX, use:\n\n```bash\nyarn start\n```\n\nThis builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.\n\nTo do a one-off build, use `npm run build` or `yarn build`.\n\nTo run tests, use `npm test` or `yarn test`.\n\n## Thanks\n\nSpecial thanks to [Sindre Sorhus](https://github.com/sindresorhus), whose excellent [meow](https://github.com/sindresorhus/meow), [boxen](https://github.com/sindresorhus/boxen) and [chalk](https://github.com/chalk/chalk) libraries make developing Node CLIs a breeze.\n\n## LICENSE\n\n[MIT](LICENSE)\n","readmeFilename":"README.md","keywords":["git","hook","message","notify","husky"],"repository":{"type":"git","url":"https://github.com/jevakallio/git-notify"},"contributors":[{"name":"@jevakallio"}]}