chore(cli): bump execa v6 (#11438)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import fse from 'fs-extra';
|
||||
import execa from 'execa';
|
||||
import { execa } from 'execa';
|
||||
import { join, relative } from 'path';
|
||||
import { clean } from './clean.js';
|
||||
import { CSS_LANG } from '../common/css.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import execa from 'execa';
|
||||
import { execa } from 'execa';
|
||||
import { consola, createSpinner } from '../common/logger.js';
|
||||
import { SCRIPT_EXTS } from '../common/constant.js';
|
||||
|
||||
@@ -18,7 +18,7 @@ function runCommand(
|
||||
return new Promise((resolve) => {
|
||||
execa(cmd, options, {
|
||||
preferLocal: true,
|
||||
env: { FORCE_COLOR: true },
|
||||
env: { FORCE_COLOR: 'true' },
|
||||
})
|
||||
.then(() => {
|
||||
spinner.success({ text: messages.succeed });
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import execa from 'execa';
|
||||
import { execa } from 'execa';
|
||||
import { consola } from './logger.js';
|
||||
import { execSync } from 'child_process';
|
||||
import { getVantConfig } from './constant.js';
|
||||
|
||||
Vendored
-1
@@ -1,5 +1,4 @@
|
||||
// some modules with missing type definitions
|
||||
declare module 'execa';
|
||||
declare module 'hash-sum';
|
||||
declare module '@babel/core';
|
||||
declare module 'release-it';
|
||||
|
||||
Reference in New Issue
Block a user