fix(scripts): update command to use 'npm-check-updates' instead of 'ncu'

This commit is contained in:
Soybean
2025-10-27 17:41:40 +08:00
parent e46b02d5a9
commit c70c2d2147

View File

@@ -1,5 +1,5 @@
import { execCommand } from '../shared'; import { execCommand } from '../shared';
export async function updatePkg(args: string[] = ['--deep', '-u']) { export async function updatePkg(args: string[] = ['--deep', '-u']) {
execCommand('npx', ['ncu', ...args], { stdio: 'inherit' }); execCommand('npx', ['npm-check-updates', ...args], { stdio: 'inherit' });
} }