{"componentChunkName":"component---src-templates-blog-post-js","path":"/blog/keep-you-npm-dependecies-updated/","result":{"data":{"site":{"siteMetadata":{"title":"Manuel Rueda Blog","author":"Manuel Rueda","keywords":["Manuel Rueda","development","software","JavaScript","js","Node.js","Typescript","Argentina","Buenos Aires","Ann Arbor","Michigan","United States"]}},"allMarkdownRemark":{"edges":[{"node":{"id":"792eb4f7-76b2-5f85-ad05-1beedf1d37c6","excerpt":"DISCLAMER DATE: February 2019 This is a blog entry that I wrote before I change my blog, most of it may be old and probably outdated. A few days ago, surfing on…","html":"<blockquote>\n<p><strong>DISCLAMER</strong></p>\n<p><strong>DATE: February 2019</strong></p>\n<p><strong>This is a blog entry that I wrote before I change my blog, most of it may be old and probably outdated.</strong></p>\n</blockquote>\n<p>A few days ago, surfing on the web, i saw a site of a service that called my attention and made me think “that’s a great idea”.</p>\n<p>The idea was… “don’t worry about update your npm’s dependencies, we will do it…“.</p>\n<p>The service that i’m talking about is <strong><a href=\"http://greenkeeper.io/\">greenkeeper</a></strong>.</p>\n<p>This service, periodically, will analyze the <code class=\"language-text\">package.json</code> of a GitHub repo, will check for dependencies updates and make a Pull Request with the changes. It’s simple but powerful.\nIf you have a good set of hooks for validation, like <strong>travis/jenkins</strong> builder, you can check if the new version of the dependencies breaks your code.</p>\n<p>Greenkeeper provide three <a href=\"http://greenkeeper.io/#plans\">plans</a> and one is free!!</p>\n<ul>\n<li>\n<p>Open Source (FREE):</p>\n<ul>\n<li>Unlimited public repos</li>\n<li>Public queue (might take a while to update)</li>\n</ul>\n</li>\n<li>\n<p>Individual ($14/month):</p>\n<ul>\n<li>Unlimited privates repos</li>\n<li>Faster queue</li>\n<li>Online support</li>\n</ul>\n</li>\n<li>\n<p>Organisations ($50-$90/month):</p>\n<ul>\n<li>20-50 privates repos</li>\n<li>Fastest queue</li>\n<li>Online support</li>\n</ul>\n</li>\n</ul>\n<p>About the plan, using the free one for now, the response time of the queue is really good. In a few (2-4) minutes i had the pull request in my repo, so far the time is not a problem. Perhaps when the service has more demand this time will increase, i hope not!</p>\n<p>Now the implementation, there is no need of extra instructions. The <strong>Getting started</strong> of the official site is more than enough. You only need to install a global NPM package, authorize greenkeeper on GitHub and that’s all.</p>\n<p>There is only one thing about this service that not convince me at a 100%, when the service updates the <code class=\"language-text\">package.json</code> versions, removes all the <a href=\"http://semver.org/\">semver</a> prefixes and puts a fixed version. This is not totally wrong, because the service will update when detects a new version. But is a little detail that does not convince me completely.</p>\n<p>In short, it is a very good alternative for those who forgets about the updates and ends with old and obsolete projects.</p>","timeToRead":2,"fields":{"slug":"/blog/keep-you-npm-dependecies-updated/"},"frontmatter":{"lang":"en","title":"Keep you NPM dependecies updated","date":"2015-10-09T22:46:22.605+00:00","keywords":[],"draft":null,"styles":null}}}]}},"pageContext":{"slug":"/blog/keep-you-npm-dependecies-updated/","uniqueSlug":"/blog/keep-you-npm-dependecies-updated","previous":{"fields":{"slug":"/blog/tfs-grunt-custom-policy/","uniqueSlug":"/blog/tfs-grunt-custom-policy"},"frontmatter":{"lang":"en","title":"TFS Grunt custom policy"}},"next":{"fields":{"slug":"/blog/environment-variable-string-encoding/","uniqueSlug":"/blog/environment-variable-string-encoding"},"frontmatter":{"lang":"en","title":"Environment variable string encoding"}}}}}