Skip to content

▸ detectPackageManager(dir?): PackageManager

Detects the package manager from the CLI override or directory lockfiles. Project directories in the current workspace can fall back to its root lockfile.

NameType
dir?string

PackageManager