detectPackageManager
▸ 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.
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
dir? | string |