File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ import { addProfile } from './cmd/addProfile';
7
7
import { deleteProfile } from './cmd/deleteProfile' ;
8
8
import { printVariables } from './cmd/print' ;
9
9
import { listProfilesCommand } from './cmd/listProfiles' ;
10
+ import updateNotifier from 'update-notifier' ;
11
+ import packageJson from './package.json' assert { type : 'json' } ;
12
+
13
+ updateNotifier ( { pkg : packageJson } ) . notify ( ) ;
10
14
11
15
const program = new Command ( ) ;
12
16
Original file line number Diff line number Diff line change 22
22
},
23
23
"dependencies" : {
24
24
"@types/crypto-js" : " ^4.2.2" ,
25
+ "@types/update-notifier" : " ^6.0.8" ,
25
26
"commander" : " ^13.1.0" ,
26
27
"crypto-js" : " ^4.2.0" ,
27
- "inquirer" : " ^12.4.1"
28
+ "inquirer" : " ^12.4.1" ,
29
+ "update-notifier" : " ^7.3.1"
28
30
}
29
31
}
You can’t perform that action at this time.
0 commit comments