Skip to content

Replace execa with tinyexec#4930

Open
stianjensen wants to merge 1 commit into
wix:masterfrom
stianjensen:tinyexec
Open

Replace execa with tinyexec#4930
stianjensen wants to merge 1 commit into
wix:masterfrom
stianjensen:tinyexec

Conversation

@stianjensen
Copy link
Copy Markdown
Contributor

Description

Drop execa (large dependency tree) in favor of tinyexec ^0.3.0 (zero dependencies, dual CJS/ESM). Uses args-tokenizer to split command strings since tinyexec expects (command, args[]) rather than a single command string.

tinyexec 1.x is ESM-only, so I opted to use the 0.3.x line for now (since my understanding is Detox still supports node versions that don't support require(esm)).


For features/enhancements:

  • I have added/updated the relevant references in the documentation files.

For API changes:

  • I have made the necessary changes in the types index file.

Drop execa (large dependency tree) in favor of tinyexec ^0.3.0 (zero
dependencies, dual CJS/ESM). Uses args-tokenizer to split command
strings since tinyexec expects (command, args[]) rather than a single
command string.

tinyexec 1.x is ESM-only, so I opted to use the 0.3.x line for now
(since my understanding is Detox still supports node versions that
don't support require(esm)).
@stianjensen stianjensen requested a review from noomorph as a code owner April 14, 2026 20:02
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.

1 participant