pretty-quick
pretty-quick copied to clipboard
chore: replace `execa` with `tinyexec`
This PR replaces execa with a lighter alternative.
Some notes:
-
tinyexeconly provides an asynchronous API. My changes aim to keep the existing behavior throughasync/await, while also following the ESLint rules (e.g. not inlining(await func(...)).stdoutbut extracting theawaitoutput to a separate variable). - I went ahead and added some miscellaneous things to
.gitignorefor smoother DX. 😄 - I tackled the comments regarding mocking
execaSync(nowx). Please let me know if you'd prefer to keep the old approach.
🦋 Changeset detected
Latest commit: 00d1b94a3bbb99a39b323a79db246cc728da6abe
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| pretty-quick | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Sorry I didn't notice this PR for a long time, seems great.