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 44
55const fs = require ( 'fs' ) ;
66const chalk = require ( 'chalk' ) ;
7+ const updateNotifier = require ( 'update-notifier' ) ;
78
89const doxdox = require ( '../lib/doxdox' ) ;
910
@@ -16,6 +17,8 @@ const args = require('parse-cmd-args')(null, {
1617 'requireUserInput' : true
1718} ) ;
1819
20+ updateNotifier ( { pkg} ) . notify ( ) ;
21+
1922if ( args . flags [ '--version' ] || args . flags [ '-v' ] ) {
2023
2124 process . stdout . write ( `${ pkg . version } \n` ) ;
Original file line number Diff line number Diff line change 1717 "doxdox-plugin-handlebars" : " ^1.0.x" ,
1818 "doxdox-plugin-markdown" : " ^1.0.x" ,
1919 "globby" : " 6.1.0" ,
20- "parse-cmd-args" : " 2.0.0"
20+ "parse-cmd-args" : " 2.0.0" ,
21+ "update-notifier" : " 1.0.2"
2122 },
2223 "devDependencies" : {
2324 "@neogeek/eslint-config-standards" : " 1.7.0" ,
You can’t perform that action at this time.
0 commit comments