File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ All notable changes to this project will be documented in this file. If a contri
88
99### Added
1010
11+ - Notification to remind you to update to the newest version. (see [ #15 ] ( https://github.com/mxstbr/micro-analytics/pull/15 ) )
12+
1113### Changed
1214
1315## [ v1.1.0]
Original file line number Diff line number Diff line change 11#!/usr/bin/env node
22
33const { exec } = require ( 'shelljs' )
4+ const updateNotifier = require ( 'update-notifier' ) ;
5+ const pkg = require ( './package.json' ) ;
6+
7+ updateNotifier ( { pkg } ) . notify ( ) ;
48
59exec ( 'npm start -- ' + process . argv . join ( ' ' ) , {
610 async : true ,
Original file line number Diff line number Diff line change 3636 "babel-polyfill" : " ^6.20.0" ,
3737 "babel-preset-node6" : " ^11.0.0" ,
3838 "jest" : " ^18.1.0" ,
39- "request-promise" : " ^4.1.1"
39+ "request-promise" : " ^4.1.1" ,
40+ "update-notifier" : " ^1.0.3"
4041 },
4142 "execMap" : {
4243 "js" : " micro"
You can’t perform that action at this time.
0 commit comments