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 | '' |
The State of JS survey is live, featuring a monorepo tools sectionThe State of JS survey is live, featuring a monorepo tools sectionVote for us
▸ detectPackageManager(dir?
): PackageManager
Detects which package manager is used in the workspace based on the lock file.
Name | Type | Default value |
---|---|---|
dir | string | '' |