Closed benmccann closed 2 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
package-manager-detector
ni
install-pkg
It supports bun, the packageManager field, etc. and has no additional dependencies
bun
packageManager
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 usedni
andinstall-pkg
packagesIt supports
bun
, thepackageManager
field, etc. and has no additional dependencies