Files
dashboard/frontend/packages/scripts/src/commands/update-pkg.ts
T

6 lines
189 B
TypeScript
Raw Normal View History

2026-07-16 16:34:18 +08:00
import { execCommand } from '../shared';
export async function updatePkg(args: string[] = ['--deep', '-u']) {
execCommand('npx', ['npm-check-updates', ...args], { stdio: 'inherit' });
}