feat: 直接pake时只出现help & 包更新检测
This commit is contained in:
7
bin/helpers/updater.ts
vendored
Normal file
7
bin/helpers/updater.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import updateNotifier from 'update-notifier';
|
||||
// @ts-expect-error
|
||||
import packageJson from '../../package.json';
|
||||
|
||||
export async function checkUpdateTips() {
|
||||
updateNotifier({ pkg: packageJson }).notify();
|
||||
}
|
||||
Reference in New Issue
Block a user