Skip to content

Commit

Permalink
feat: add update-notifier
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jul 7, 2017
1 parent 8e7a15f commit fd0a6d8
Show file tree
Hide file tree
Showing 3 changed files with 242 additions and 7 deletions.
8 changes: 8 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

'use strict'

const updateNotifier = require('update-notifier')
const pkg = require('./package.json')

updateNotifier({
pkg: pkg,
isGlobal: false
}).notify()

require('yargs') // eslint-disable-line
.env('AEGIR')
.commandDir('cmds')
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
"through": "^2.3.8",
"transform-loader": "^0.2.4",
"uglify-es": "^3.0.23",
"update-notifier": "^2.2.0",
"webpack": "^3.0.0",
"webpack-merge": "^4.1.0",
"yargs": "^8.0.2",
Expand Down
Loading

0 comments on commit fd0a6d8

Please sign in to comment.