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 Launch Week & Launch Conf are coming up!Nx Launch Week & Launch Conf are coming up!Don't miss out!
▸ detectPackageManager(dir?
): PackageManager
Detects which package manager is used in the workspace based on the lock file.
Name | Type | Default value |
---|---|---|
dir | string | '' |