chore: update dependencies and refactor command execution

This commit is contained in:
xingyu4j
2026-07-20 18:36:09 +08:00
parent d0c327e037
commit dd8307dfe5
4 changed files with 3298 additions and 3022 deletions

View File

@@ -1,4 +1,4 @@
import { execaCommand, getPackages } from '@vben/node-utils';
import { execa, getPackages } from '@vben/node-utils';
import { cancel, isCancel, select } from '@clack/prompts';
@@ -46,7 +46,7 @@ export async function run(options: RunOptions) {
process.exit(1);
}
execaCommand(`pnpm --filter=${selectPkg} run ${command}`, {
execa('pnpm', [`--filter=${selectPkg}`, 'run', command], {
stdio: 'inherit',
});
}