mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-10 10:43:41 +08:00
fix(scripts): update command to use 'npm-check-updates' instead of 'ncu'
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { execCommand } from '../shared';
|
||||
|
||||
export async function updatePkg(args: string[] = ['--deep', '-u']) {
|
||||
execCommand('npx', ['ncu', ...args], { stdio: 'inherit' });
|
||||
execCommand('npx', ['npm-check-updates', ...args], { stdio: 'inherit' });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user