antfu-collective / ni

💡 Use the right package manager
MIT License
6.25k stars 208 forks source link

feat!: `parseNi` etc. now return `ResolvedCommand` object instead of string, migrate to `tinyexec` #231

Closed userquin closed 2 weeks ago

userquin commented 4 weeks ago

Description

This PR

🚨🚨 DO NOT RELEASE YET WE NEED TO DO SOME EXTERNAL TESTS 🚨🚨

Linked Issues

Additional context

pkg-pr-new[bot] commented 4 weeks ago

commit: 4514af5

pnpm add https://pkg.pr.new/antfu-collective/ni/@antfu/ni@231

Open in Stackblitz

benmccann commented 4 weeks ago

We should probably wait for https://github.com/tinylibs/tinyexec/issues/29 to be resolved first, but besides that it looks good to me

antfu commented 2 weeks ago

Made some refactoring and upgraded package-manager-detector, LGTM now