nuxt / telemetry

Nuxt Telemetry
MIT License
208 stars 24 forks source link

Consider using `package-manager-detector` #144

Closed benmccann closed 2 months ago

benmccann commented 3 months ago

https://github.com/nuxt/telemetry/blob/c8eff9c45bdd9b33f6d83660508472b329d12cf7/src/utils/detect-package-manager.ts#L4 could probably be replaced with package-manager-detector, which is owned by antfu and refactored out from his widely used ni and install-pkg packages

It supports bun, the packageManager field, etc. and has no additional dependencies