412 B
412 B
Function: detectPackageManager
▸ detectPackageManager(dir?): PackageManager
Detects which package manager is used in the workspace based on the lock file.
Parameters
| Name | Type | Default value |
|---|---|---|
dir |
string |
'' |