Skip to content

An empty repo that's connected to services to get pull requests, emails, rss feed, or slack notifications on npm package updates

Notifications You must be signed in to change notification settings

steffes/npm-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-notifications

renovate badge Greenkeeper badge travis build dependencies Status Dependency Status Known Vulnerabilities

There are many different options to get notified on npm package updates. Npm mentions using webhooks and hosting a service, like a slackbot, in their blog post npm web hooks. Here are some other ways that I found that worked with various levels of friction in setup.

🖌️ Renovate

Best and easiest option in my opinion. Renovate will open a PR after package updates and has a ton of awesome config settings. Here I'm checking for updates every monday with automerge in my renovate.json

{
  "extends": [
    "config:base",
    ":automergeMinor",
    "schedule:weekly"
  ]
}

🌳 Greenkeeper.io

Use greenkeeper to automatically open a PR after any new package update. Greenkeeper's pull requests are nice because they include a changelog and sometimes links to the commits. Here are the steps to set it up:

  • remove && exit 1 from the npm test script in package.json (commit 0cbaa3d)
  • npm install --save packages you want updates on
  • add travis-ci in repo settings
  • commit something to enable travis
  • go to greenkeeper.io and enable it on this repo
  • merge greenkeeper's initial commit
  • set notifications on your 3rd party github app like iOctocat or GitHawk for PRs
  • Greenkeeper does not have the option to auto merge the greenkeeper PRs after a successful travis build. Use kkemple/greenkeeper-keeper to auto merge but note it requires you hosting the service somewhere. Heres a quick deploy link: Deploy

Libraries.io emails and RSS feed

Sign into libraries.io with github and have it watch your project. Libraries.io will create an RSS feed of the entire dependency tree. That means this project has a feed of 460 packages instead of just the 13 in my package.json. I recommend not watching this project and just manually selecting subscribe for each package you want email notificaitons on or a collective rss feed from.

Gemnasium email or Slack notifications

gemnasium.png

bithound.io Slack or HipChat notifications

bithound.png

About

An empty repo that's connected to services to get pull requests, emails, rss feed, or slack notifications on npm package updates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published