feat: 直接pake时只出现help & 包更新检测

This commit is contained in:
volare
2022-12-04 15:52:49 +08:00
parent 2552f333d9
commit 93a79f482f
3 changed files with 25 additions and 5 deletions

7
bin/helpers/updater.ts vendored Normal file
View 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();
}