From e3ac899103356bfef7238e0ecddd31738f541413 Mon Sep 17 00:00:00 2001 From: sinchang Date: Thu, 27 Sep 2018 21:01:06 +0800 Subject: [PATCH] feat: add updateNotifier --- cli.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cli.js b/cli.js index 5a3d79e..e66eb04 100755 --- a/cli.js +++ b/cli.js @@ -4,6 +4,10 @@ const cac = require('cac') const vsceItemProperty = require('vsce-item-property') const prettyjson = require('prettyjson') +const updateNotifier = require('update-notifier') +const pkg = require('./package.json') + +updateNotifier({ pkg }).notify() const cli = cac()