Skip to content

Commit 30c6b12

Browse files
renovate[bot]sxzz
andauthored
chore(deps): update dependency execa to v8 (#9266)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 Kevin Deng <[email protected]>
1 parent 021a47a commit 30c6b12

File tree

7 files changed

+41
-30
lines changed

7 files changed

+41
-30
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"eslint": "^8.49.0",
7878
"eslint-plugin-jest": "^27.4.0",
7979
"estree-walker": "^2.0.2",
80-
"execa": "^4.1.0",
80+
"execa": "^8.0.1",
8181
"jsdom": "^22.1.0",
8282
"lint-staged": "^14.0.1",
8383
"lodash": "^4.17.21",

packages/sfc-playground/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@vue/sfc-playground",
33
"version": "3.3.4",
4+
"type": "module",
45
"private": true,
56
"scripts": {
67
"dev": "vite",

packages/sfc-playground/vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import fs from 'fs'
22
import path from 'path'
33
import { defineConfig, Plugin } from 'vite'
44
import vue from '@vitejs/plugin-vue'
5-
import execa from 'execa'
5+
import { execaSync } from 'execa'
66

7-
const commit = execa.sync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
7+
const commit = execaSync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
88

99
export default defineConfig({
1010
plugins: [

pnpm-lock.yaml

Lines changed: 32 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import path from 'node:path'
2222
import minimist from 'minimist'
2323
import { gzipSync, brotliCompressSync } from 'node:zlib'
2424
import chalk from 'chalk'
25-
import execa from 'execa'
25+
import { execa, execaSync } from 'execa'
2626
import { cpus } from 'node:os'
2727
import { createRequire } from 'node:module'
2828
import { targets as allTargets, fuzzyMatchTarget } from './utils.js'
@@ -40,7 +40,7 @@ const sourceMap = args.sourcemap || args.s
4040
const isRelease = args.release
4141
const buildAllMatching = args.all || args.a
4242
const writeSize = args.size
43-
const commit = execa.sync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
43+
const commit = execaSync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
4444

4545
const sizeDir = path.resolve('temp/size')
4646

scripts/const-enum.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* This file is expected to be executed with project root as cwd.
1515
*/
1616

17-
import execa from 'execa'
17+
import { execaSync } from 'execa'
1818
import {
1919
existsSync,
2020
mkdirSync,
@@ -45,7 +45,7 @@ export function scanEnums() {
4545
}
4646

4747
// 1. grep for files with exported const enum
48-
const { stdout } = execa.sync('git', ['grep', `export const enum`])
48+
const { stdout } = execaSync('git', ['grep', `export const enum`])
4949
const files = [...new Set(stdout.split('\n').map(line => line.split(':')[0]))]
5050

5151
// 2. parse matched files to collect enum info

scripts/release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import path from 'node:path'
55
import chalk from 'chalk'
66
import semver from 'semver'
77
import enquirer from 'enquirer'
8-
import execa from 'execa'
8+
import { execa } from 'execa'
99
import { createRequire } from 'node:module'
1010
import { fileURLToPath } from 'node:url'
1111

0 commit comments

Comments
 (0)