es-tooling / ecosystem-cleanup

A place to keep track of ongoing efforts to clean up the JS ecosystem
386 stars 2 forks source link

Migrate pretty-quick to tinyexec #85

Open 43081j opened 3 months ago

43081j commented 3 months ago

pretty-quick currently uses execa:

https://github.com/prettier/pretty-quick/blob/b5e00ba235a246bc087e3b800ef96916f2e05684/src/scms/git.ts#L47-L49

this can be replaced with tinyexec, a lighter alternative.

all usages are basic, so this should be an easy migration

ziebam commented 2 months ago

Submitted a PR in the upstream (https://github.com/prettier/pretty-quick/pull/195).