Skip to content

chore(deps): update dependency execa to v8 #9266

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"eslint": "^8.49.0",
"eslint-plugin-jest": "^27.4.0",
"estree-walker": "^2.0.2",
"execa": "^4.1.0",
"execa": "^8.0.1",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"lodash": "^4.17.21",
Expand Down
1 change: 1 addition & 0 deletions packages/sfc-playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@vue/sfc-playground",
"version": "3.3.4",
"type": "module",
"private": true,
"scripts": {
"dev": "vite",
Expand Down
4 changes: 2 additions & 2 deletions packages/sfc-playground/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import fs from 'fs'
import path from 'path'
import { defineConfig, Plugin } from 'vite'
import vue from '@vitejs/plugin-vue'
import execa from 'execa'
import { execaSync } from 'execa'

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

export default defineConfig({
plugins: [
Expand Down
54 changes: 32 additions & 22 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import path from 'node:path'
import minimist from 'minimist'
import { gzipSync, brotliCompressSync } from 'node:zlib'
import chalk from 'chalk'
import execa from 'execa'
import { execa, execaSync } from 'execa'
import { cpus } from 'node:os'
import { createRequire } from 'node:module'
import { targets as allTargets, fuzzyMatchTarget } from './utils.js'
Expand All @@ -40,7 +40,7 @@ const sourceMap = args.sourcemap || args.s
const isRelease = args.release
const buildAllMatching = args.all || args.a
const writeSize = args.size
const commit = execa.sync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)
const commit = execaSync('git', ['rev-parse', 'HEAD']).stdout.slice(0, 7)

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

Expand Down
4 changes: 2 additions & 2 deletions scripts/const-enum.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* This file is expected to be executed with project root as cwd.
*/

import execa from 'execa'
import { execaSync } from 'execa'
import {
existsSync,
mkdirSync,
Expand Down Expand Up @@ -45,7 +45,7 @@ export function scanEnums() {
}

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

// 2. parse matched files to collect enum info
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import path from 'node:path'
import chalk from 'chalk'
import semver from 'semver'
import enquirer from 'enquirer'
import execa from 'execa'
import { execa } from 'execa'
import { createRequire } from 'node:module'
import { fileURLToPath } from 'node:url'

Expand Down