Files
soybean-admin/packages/scripts/src/commands/update-pkg.ts

6 lines
189 B
TypeScript

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