chore(cli): bump execa v6 (#11438)

This commit is contained in:
neverland 2022-12-31 10:23:22 +08:00 committed by GitHub
parent 2c4b599138
commit 254b77b1a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 8 deletions

View File

@ -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",

View File

@ -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';

View File

@ -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 });

View File

@ -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';

View File

@ -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';

4
pnpm-lock.yaml generated
View File

@ -103,7 +103,7 @@ importers:
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
@ -146,7 +146,7 @@ importers:
conventional-changelog: 3.1.25
esbuild: 0.16.10
eslint: 8.28.0
execa: 5.1.1
execa: 6.1.0
fast-glob: 3.2.12
fs-extra: 10.1.0
hash-sum: 2.0.0