Skip to content

perf: drop execa - #964

Merged
webfansplz merged 1 commit into
vuejs:mainfrom
43081j:dead-code
Oct 16, 2025
Merged

perf: drop execa#964
webfansplz merged 1 commit into
vuejs:mainfrom
43081j:dead-code

Conversation

@43081j

@43081j 43081j commented Sep 14, 2025

Copy link
Copy Markdown
Contributor

We don't actually use it in the main vite package, so that one is an
easy win.

In the electron package, we use it only to launch a well known path,
i.e. we don't use any features of execa. So we should be able to
switch to using the built in child_process module directly.

Note: I think we need shell: true on windows to launch bins that may be
.cmd files. If I'm wrong, let me know and we can set it to false unconditionally.

I tried this on WSL and regular windows, and it seems to work

@netlify

netlify Bot commented Sep 14, 2025

Copy link
Copy Markdown

Deploy Preview for vue-devtools-docs canceled.

Name Link
🔨 Latest commit ace0d49
🔍 Latest deploy log https://app.netlify.com/projects/vue-devtools-docs/deploys/68efb8ade78ae00008d0e119

@webfansplz

Copy link
Copy Markdown
Member

Thanks for the PR, can you help to resolve the conflicts?

We don't actually use it in the main vite package, so that one is an
easy win.

In the electron package, we use it only to launch a well known path,
i.e. we don't use any features of `execa`. So we should be able to
switch to using the built in `child_process` module directly.
@43081j

43081j commented Oct 15, 2025

Copy link
Copy Markdown
Contributor Author

should be caught up now 👍

@pkg-pr-new

pkg-pr-new Bot commented Oct 16, 2025

Copy link
Copy Markdown

Open in StackBlitz

@vue/devtools-applet

npm i https://pkg.pr.new/@vue/devtools-applet@964

@vue/devtools-core

npm i https://pkg.pr.new/@vue/devtools-core@964

@vue/devtools

npm i https://pkg.pr.new/@vue/devtools@964

@vue/devtools-api

npm i https://pkg.pr.new/@vue/devtools-api@964

@vue/devtools-kit

npm i https://pkg.pr.new/@vue/devtools-kit@964

vite-plugin-vue-devtools

npm i https://pkg.pr.new/vite-plugin-vue-devtools@964

commit: ace0d49

@webfansplz
webfansplz merged commit 16fed83 into vuejs:main Oct 16, 2025
8 checks passed
@43081j
43081j deleted the dead-code branch October 16, 2025 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants