{"_id":"ci-publish","_rev":"16-ae25da44b1fffc769037c2f335fcdbf3","name":"ci-publish","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","dist-tags":{"latest":"1.3.1"},"versions":{"1.0.0":{"name":"ci-publish","version":"1.0.0","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js","ci-publish":"node bin/ci-publish.js"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"simple-commit-message":"2.0.0","standard":"5.4.1"},"dependencies":{"npm-utils":"1.3.3","user-home":"2.0.0"},"gitHead":"adedb9aae0ce3a153308eb3ad1aeea0e4c5068d2","_id":"ci-publish@1.0.0","_shasum":"812b0b48f58a7c5d19125e8264ea8fde6e85b2a2","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"812b0b48f58a7c5d19125e8264ea8fde6e85b2a2","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.0.0.tgz","integrity":"sha512-XK5RHPyAPgBJvRYUuaeF4G3OpsRLF+XnTR0+RAyxWrEqG53SaVxzxB0pBxplpbC/thVJSBfc8LmgjHqiOw5xRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGaL2O+xmAdM9FTu6BRmJSX0OwDnk0+1d9Pc9mzMVDCAiEAosLdO+UmeuRQ4cRfEY55ips7CSVNsBSCRIqfxAaIIQc="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"1.0.1":{"name":"ci-publish","version":"1.0.1","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js","ci-publish":"node bin/ci-publish.js"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"simple-commit-message":"2.0.0","standard":"5.4.1"},"dependencies":{"npm-utils":"1.3.3","user-home":"2.0.0"},"gitHead":"78e8ee25e53cb31f2ac429cbe9137c6f0486c591","_id":"ci-publish@1.0.1","_shasum":"739089eb2486ad67bffc62b36fae7f438a335385","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"739089eb2486ad67bffc62b36fae7f438a335385","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.0.1.tgz","integrity":"sha512-XyW4vXGZqYD+07D5Z0Qu3uSdEk/T5lMs55nrgSJIh3LH2bQ32UhndMYVhq+zzBhQnoskn5nTArzh5Ooq/tjhYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZJVKdD6Is71BD/aUAmEkjiY1cu81Owwkt/fzBMRqxSQIgIfoSIzuZpRwRjRJLD6WDtz4gnwFQUlqQ7uriaWL0su4="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"1.0.2":{"name":"ci-publish","version":"1.0.2","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js","ci-publish":"node bin/ci-publish.js"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"simple-commit-message":"2.0.0","standard":"5.4.1"},"dependencies":{"npm-utils":"1.3.3","user-home":"2.0.0"},"gitHead":"41b57e06e192fd63a43dc2f21cea973ff86c8241","_id":"ci-publish@1.0.2","_shasum":"731ded5c208437667464aea152938bccc13ae55a","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"731ded5c208437667464aea152938bccc13ae55a","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.0.2.tgz","integrity":"sha512-bhsCIAH+lCvUQYgZ9+eoS/JMrwMgrYFfh2o5mzWGGAxGWjOxTmt2f+nzVMuwABOtFjPiJw1c4XETniedDZy+oA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7ceLKEm3lLOiS8d3n6Ti36xpRsh7Q/ttPDTMF9A4cVwIhAKT2q+SwF21JQf5gfR6sfQ/onbKNE3zUl4pV3uS0DH+l"}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"1.0.3":{"name":"ci-publish","version":"1.0.3","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js","ci-publish":"node bin/ci-publish.js"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"simple-commit-message":"2.0.0","standard":"5.4.1"},"dependencies":{"npm-utils":"1.3.3","user-home":"2.0.0"},"gitHead":"6ef8b9cded7c8316cd96c5f288e88ad54d3f55ab","_id":"ci-publish@1.0.3","_shasum":"57ec67b4d579e8ac24eff85610583612b77842de","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"57ec67b4d579e8ac24eff85610583612b77842de","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.0.3.tgz","integrity":"sha512-WuQMpVHX3j3NSrjmIQ0vR0IlwbLFRbM0c7VtYd1QQyhwymZ7IzsV2hmxmCGf1qbdlpso+q3FoOqlJ2TkCWPg2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFR35xipew8fs2ilhR5OSb2L79N9OYc2BHC6vbSNsY05AiAJ55YsZsjGk+bx0YG0OLikXnwxzeG87RcLsgtC2sUPMw=="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"1.0.4":{"name":"ci-publish","version":"1.0.4","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js","ci-publish":"node bin/ci-publish.js"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"simple-commit-message":"2.0.0","standard":"5.4.1"},"dependencies":{"npm-utils":"1.3.3","user-home":"2.0.0"},"gitHead":"e0b8f9bf48e415d341303d253f9f0bddf072a900","_id":"ci-publish@1.0.4","_shasum":"3faae81efee5e073602fbe5c590d08971e76a4dd","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"3faae81efee5e073602fbe5c590d08971e76a4dd","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.0.4.tgz","integrity":"sha512-E7AW/5hKHpEwkvEScsBfFltMYBVjqzD97qVmXWp4B5nbZjYvi0vgYIDeJljMntK25/HTIe6FMtgZGyW/8qqBRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpvSaPF4qEuWkPlGCJ3/q7pForILuBMqK3zFBkyCNmuAiBaSf7RaybI98KO3Iq6gNSAMCWw6vn6AjIiF2xzVzWqMQ=="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"1.1.0":{"name":"ci-publish","version":"1.1.0","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js","ci-publish":"node bin/ci-publish.js"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"simple-commit-message":"2.0.0","standard":"5.4.1"},"dependencies":{"npm-utils":"1.4.2"},"gitHead":"dc6529db3d7fcd97de9ad41caeb687e240e0a022","_id":"ci-publish@1.1.0","_shasum":"d26babd5543a532755c21f59fee8305bf563cbde","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"d26babd5543a532755c21f59fee8305bf563cbde","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.1.0.tgz","integrity":"sha512-A5GPmS/fZoMfgSU4pMeB94+3R1St/PEtIU50Yao0sRfX5IifhYI+Y3GJ3IYnGPAfwqchOtQHi0U43Gw36y8zEw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHhu3MomwTomqH9Obn8cyh/TUIK7Y2UNzfmzJia5qU4fAiEAkmaYDvBYpI44CIc5Q8HhaQrnTZ13I7DqLpFQARBwYgE="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{}},"1.2.0":{"name":"ci-publish","version":"1.2.0","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"files":["bin","src"],"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js src/*.js","ci-publish":"node bin/ci-publish.js","ban":"node --harmony node_modules/.bin/ban","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"ban-sensitive-files":"1.8.3","pre-git":"3.10.0","simple-commit-message":"2.1.1","standard":"8.0.0-beta.3"},"dependencies":{"available-versions":"0.8.2","changed-log":"0.10.2","npm-utils":"1.7.1"},"config":{"pre-git":{"commit-msg":[],"pre-commit":["npm run ban","npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"adece0917456be0c37655bd5464c32a3403c4cc2","_id":"ci-publish@1.2.0","_shasum":"4056fdf2e8ab53a8e9509246a1b8b473b1274cbf","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"4056fdf2e8ab53a8e9509246a1b8b473b1274cbf","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.2.0.tgz","integrity":"sha512-+tf82KOprAlw4uIhi8ggtSICmQga5FPb/2sl+T7K2Wo4IPgWRt9SEf+TUlskbVaimOY8gA4FGIdZKkYt5J5iKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIADO5CPBKobLxEHY2nVgnKDNrdG4X78MqtarxKN5Jk4OAiA34PeH8HMSU1wJccEERx8799QU5vHvLKkubjaVlvsU8Q=="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ci-publish-1.2.0.tgz_1470334656362_0.22458859719336033"},"directories":{}},"1.2.1":{"name":"ci-publish","version":"1.2.1","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"files":["bin","src"],"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js src/*.js","ci-publish":"node bin/ci-publish.js","ban":"node --harmony node_modules/.bin/ban","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"ban-sensitive-files":"1.8.3","pre-git":"3.10.0","simple-commit-message":"2.1.1","standard":"8.0.0-beta.3"},"dependencies":{"available-versions":"0.8.2","changed-log":"0.11.0","npm-utils":"1.7.1"},"config":{"pre-git":{"commit-msg":[],"pre-commit":["npm run ban","npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"b8fe0b4dd9dbe0603a2af0d3b4f37568a5f9e700","_id":"ci-publish@1.2.1","_shasum":"2853be0b8c76de62c1358e8fe00f155207547af6","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"2853be0b8c76de62c1358e8fe00f155207547af6","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.2.1.tgz","integrity":"sha512-fQBswv6fPmebK4fSOrncorS9wlEl8yCYaTAG/IlOxL/S9hbO0CeJmHe/eZXqxgPym2aBfYr7t2cyYNYl9TDpBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFuoRLbRuYnEi96phpA+QZMH/0tGyLfmU4zUB3stHKEfAiEAnGS/x1JE2CPWDO9OEr8dWI7ZFG+JJHcgEfhHChuoKuo="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ci-publish-1.2.1.tgz_1470664719716_0.894654166419059"},"directories":{}},"1.3.0":{"name":"ci-publish","version":"1.3.0","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"files":["bin","src"],"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js src/*.js","ci-publish":"node bin/ci-publish.js","ban":"node --harmony node_modules/.bin/ban","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"ban-sensitive-files":"1.8.3","pre-git":"3.10.0","simple-commit-message":"2.1.1","standard":"8.0.0-beta.3"},"dependencies":{"available-versions":"0.10.0","changed-log":"0.11.0","npm-utils":"1.7.1"},"config":{"pre-git":{"commit-msg":[],"pre-commit":["npm run ban","npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"89e9f255851b2463c0417a24cd014c29c96ceef0","_id":"ci-publish@1.3.0","_shasum":"f8a4e15c96a7854cdd5e89c54279e44755f30f3b","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"shasum":"f8a4e15c96a7854cdd5e89c54279e44755f30f3b","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.3.0.tgz","integrity":"sha512-X1UcecFccnK74JhabaUTyaZMgpPl/8MHRXadjBisuEo9fJN6/mEJivz5QXLwKrJojpKGEGLbz6LbyemrxlhRIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaWTYGeMGiJB1c7JLfsjpAGlfFsIzogz6gq1IcXKH+JAiEAq2ClZolN3WqniWoK1BGgIsS5b7MBOLpdSOac35ivgX4="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ci-publish-1.3.0.tgz_1470837308874_0.03425530227832496"},"directories":{}},"1.3.1":{"name":"ci-publish","version":"1.3.1","description":"Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes","main":"index.js","bin":{"ci-publish":"bin/ci-publish.js"},"files":["bin","src"],"scripts":{"test":"npm run lint","commit":"simple-commit-message","lint":"standard bin/*.js src/*.js","ci-publish":"node bin/ci-publish.js","ban":"node --harmony node_modules/.bin/ban","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","next-version":"next-ver --go"},"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"keywords":["ci","publish","npm","utility","build","automatic"],"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"homepage":"https://github.com/bahmutov/ci-publish#readme","devDependencies":{"ban-sensitive-files":"1.8.3","next-ver":"1.8.0","pre-git":"3.10.0","simple-commit-message":"2.1.1","standard":"8.0.0-beta.3"},"dependencies":{"available-versions":"0.13.2","changed-log":"0.11.0","npm-utils":"1.7.1"},"config":{"pre-git":{"commit-msg":[],"pre-commit":["npm run ban","npm test"],"pre-push":["npm run size"],"post-commit":[],"post-merge":[]}},"gitHead":"31680fe270bffeefbae58b8d55da4eb9927bff12","_id":"ci-publish@1.3.1","_npmVersion":"5.6.0","_nodeVersion":"8.10.0","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"dist":{"integrity":"sha512-81Eu/cwV3Zm8pELirh9nhsLHT2QG6XTnn3T5ZYozW6XUiYHi5g3/JxaMOzXmJPmcrzj19yZUAocie3j3fTrZeg==","shasum":"120e97a686b89fd158d5fa1d0ac0210d5364798e","tarball":"https://registry.npmjs.org/ci-publish/-/ci-publish-1.3.1.tgz","fileCount":4,"unpackedSize":8310,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGdsPpKUgnymeLXO7VBXTZ/aKWB00rypfRLsXz99J6bMAiAMEqgsG+ydIloUMXpRIP0CZ5XpBGdysBLT1UfJBUL0AA=="}]},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ci-publish_1.3.1_1520913814569_0.38682551682641986"},"_hasShrinkwrap":false}},"readme":"# ci-publish\n> Poor man's semantic release utility. Let the CI do the `npm publish` step after the build passes\n\n[![NPM][ci-publish-icon] ][ci-publish-url]\n\n[![Build status][ci-publish-ci-image] ][ci-publish-ci-url]\n\n## Goal\n\nAllow any CI to publish your module after tests pass, using your account to login.\n\nQ: Why not use [semantic-release](https://github.com/semantic-release/semantic-release)?\n\nA: Because it needs a lot of tweaking to setup on\n[CircleCI](https://glebbahmutov.com/blog/how-to-setup-semantic-release-on-circle-ci/) or\n[Gitlab](https://github.com/semantic-release/semantic-release/pull/77)\n\nQ: But your package only does the \"release\" part without the \"semantic\" version upgrade?\n\nA: Yeah :( I am sorry\n\nExample: this own repo, see [.travis.yml](.travis.yml) file\n\n## How to use\n\n- Add as a dependency to your project `npm install --save-dev ci-publish`\n\n- Login into your project's NPM registry\n\n```\nnpm login --registry <registry url>\nnpm login --registry http://registry.npmjs.org\n```\n\n- Copy the token\n\nThe login step added a line to your `~/.npmrc` file looking something like this\n\n    //registry.npmjs.org/:_authToken=00000000-0000-0000-0000-000000000000\n\nGrab the auth token value `00000000-0000-0000-0000-000000000000` (older NPM proxies or\nregistries like [sinopia](https://www.npmjs.com/package/sinopia) might have an older\ndifferent token string format)\n\n- Set the token as CI environment variable\n\nGo to your CI project settings and add a new variable `NPM_TOKEN` with the value you\nhave just copied\n\n- Add script command (optional)\n\nCreate a script command to run the publish, in your `package.json`\n\n```json\n{\n    \"scripts\": {\n        \"ci-publish\": \"ci-publish\"\n    }\n}\n```\n\nNow you can run the `ci-publish` logic from shell using `npm run ci-publish` command\n\nYou can avoid adding a script command if you use explicit command in your CI files,\nlike `$(npm bin)/ci-publish`\n\n- Add a command to run on your CI after the tests pass.\n\n### Travis CI\n\nAdd `after_success` section to your `.travis.yml` file\n\n\n```yaml\nafter_success:\n    - npm run ci-publish || true\n```\n\nEvery time you want to publish your module to the registry after the tests pass,\njust increment the package version and push the code. The CI will pass the tests and will\ntry to run `ci-publish`. This will add the auth token to the CI's \"user\" profile,\nallowing it to publish under your authority.\nIf the package has a new version, it will be published. If you have not\nincremented the version number, this step fail,\nbut we do not fail the build step by using `|| true`\n\n**warning:** The publish will fail if there are multiple Travis jobs trying to publish at the same\ntime, which happens if you test on multiple NodeJS versions. Maybe use a different CI engine for\nthe publish?\n\n### Gitlab\n\nAdd a new `deploy` job to your `.gitlab-ci.yml` file. For example\n\n```yaml\nbefore_script:\n  - npm install\nstages:\n  - test\n  - deploy\nnpm_test:\n  stage: test\n  script:\n    - npm test\nrelease:\n  stage: deploy\n  script:\n    - echo Running release\n    - npm run ci-publish || true\n```\n\nGitlab can run multiple test jobs in parallel and then a single release job.\n\n## Typical output\n\nFor example, when successfully publishing this module, Travis produced this output\n\n    $ npm run ci-publish || true\n    > ci-publish@1.0.0 ci-publish /home/travis/build/bahmutov/ci-publish\n    > node bin/ci-publish.js\n    //registry.npmjs.org/:_authToken=${NPM_TOKEN}\n    saved /home/travis/.npmrc\n    $ npm publish || true\n    * ci-publish@1.0.0\n\n## Extra resources\n\n* [Increment package version on demand using semantic commits](https://github.com/bahmutov/next-ver)\n\n* [Deploying with npm private modules][deploying post]\n\n[deploying post]: http://blog.npmjs.org/post/118393368555/deploying-with-npm-private-modules\n\n* If you need to debug NPM commands, just enable verbose NPM logging\n\n```sh\nnpm_config_loglevel=verbose $(npm bin)/ci-publish\n```\n\n### Small print\n\nAuthor: Gleb Bahmutov &copy; 2015\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](http://glebbahmutov.com)\n* [blog](http://glebbahmutov.com/blog/)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, etc.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/ci-publish/issues) on Github\n\n## MIT License\n\nCopyright (c) 2015 Gleb Bahmutov\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.\n\n[ci-publish-icon]: https://nodei.co/npm/ci-publish.svg?downloads=true\n[ci-publish-url]: https://npmjs.org/package/ci-publish\n[ci-publish-ci-image]: https://travis-ci.org/bahmutov/ci-publish.svg?branch=master\n[ci-publish-ci-url]: https://travis-ci.org/bahmutov/ci-publish\n","maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"time":{"modified":"2022-06-13T06:01:57.541Z","created":"2016-01-07T20:49:10.977Z","1.0.0":"2016-01-07T20:49:10.977Z","1.0.1":"2016-01-07T20:54:08.557Z","1.0.2":"2016-01-07T20:59:05.577Z","1.0.3":"2016-01-07T21:15:00.188Z","1.0.4":"2016-01-07T21:15:40.930Z","1.1.0":"2016-01-08T03:27:18.522Z","1.2.0":"2016-08-04T18:17:38.277Z","1.2.1":"2016-08-08T13:58:43.303Z","1.3.0":"2016-08-10T13:55:10.592Z","1.3.1":"2018-03-13T04:03:34.635Z"},"homepage":"https://github.com/bahmutov/ci-publish#readme","keywords":["ci","publish","npm","utility","build","automatic"],"repository":{"type":"git","url":"git+https://github.com/bahmutov/ci-publish.git"},"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"bugs":{"url":"https://github.com/bahmutov/ci-publish/issues"},"license":"MIT","readmeFilename":"README.md","users":{"chepaul":true}}