es-tooling / ecosystem-cleanup

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

Migrate pretty-quick to tinyexec #85

Open 43081j opened 3 weeks ago

43081j commented 3 weeks 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 1 week ago

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