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 | '' |
Nx Webinar: Monorepos - The Benefits, Challenges and Importance of Tooling SupportNx Webinar: Monorepos - The Benefits, Challenges and Importance of Tooling SupportRegister
▸ detectPackageManager(dir?
): PackageManager
Detects which package manager is used in the workspace based on the lock file.
Name | Type | Default value |
---|---|---|
dir | string | '' |