File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 4
4
5
5
const fs = require ( 'fs' ) ;
6
6
const chalk = require ( 'chalk' ) ;
7
+ const updateNotifier = require ( 'update-notifier' ) ;
7
8
8
9
const doxdox = require ( '../lib/doxdox' ) ;
9
10
@@ -16,6 +17,8 @@ const args = require('parse-cmd-args')(null, {
16
17
'requireUserInput' : true
17
18
} ) ;
18
19
20
+ updateNotifier ( { pkg} ) . notify ( ) ;
21
+
19
22
if ( args . flags [ '--version' ] || args . flags [ '-v' ] ) {
20
23
21
24
process . stdout . write ( `${ pkg . version } \n` ) ;
Original file line number Diff line number Diff line change 17
17
"doxdox-plugin-handlebars" : " ^1.0.x" ,
18
18
"doxdox-plugin-markdown" : " ^1.0.x" ,
19
19
"globby" : " 6.1.0" ,
20
- "parse-cmd-args" : " 2.0.0"
20
+ "parse-cmd-args" : " 2.0.0" ,
21
+ "update-notifier" : " 1.0.2"
21
22
},
22
23
"devDependencies" : {
23
24
"@neogeek/eslint-config-standards" : " 1.7.0" ,
You can’t perform that action at this time.
0 commit comments