es-tooling / ecosystem-cleanup

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

Migrate detect-package-manager to tinyexec #83

Open 43081j opened 3 months ago

43081j commented 3 months ago

detect-package-manager uses execa here:

https://github.com/egoist/detect-package-manager/blob/de2318f4b57ff1db8d8fba90948a834dd88de0bb/src/index.ts#L30

it only has basic usage of (cmd, args), so we can quite easily replace it with tinyexec, a much smaller alternative

43081j commented 3 months ago

Tracked in egoist/detect-package-manager#17