chore(cli): bump execa v6 (#11438)
This commit is contained in:
@@ -61,7 +61,7 @@
|
||||
"conventional-changelog": "^3.1.25",
|
||||
"esbuild": "^0.16.10",
|
||||
"eslint": "^8.23.0",
|
||||
"execa": "^5.1.1",
|
||||
"execa": "^6.1.0",
|
||||
"fast-glob": "^3.2.11",
|
||||
"fs-extra": "^10.1.0",
|
||||
"hash-sum": "^2.0.0",
|
||||
|
||||
@@ -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