@capgo/find-package-manager
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -1,2 +0,4 @@ | ||
export function findPackageManagerType (path?: string, defaultPackageManager?: string): 'yarn' | 'npm' | 'bun' | 'pnpm' | 'unknown'; | ||
export function findInstallCommand (packageManagerType?: 'yarn' | 'npm' | 'bun' | 'pnpm' | 'unknown'): 'install' | 'add'; | ||
export type PackageManagerType = 'yarn' | 'npm' | 'bun' | 'pnpm' | 'unknown'; | ||
export type InstallCommand = 'install' | 'add'; | ||
export function findPackageManagerType (path?: string, defaultPackageManager?: string): PackageManagerType; | ||
export function findInstallCommand (packageManagerType?: PackageManagerType): InstallCommand; |
@@ -33,2 +33,4 @@ import { existsSync } from 'fs'; | ||
return 'install'; | ||
case 'unknown': | ||
return 'unknown'; | ||
default: | ||
@@ -35,0 +37,0 @@ return 'install'; |
@@ -5,3 +5,3 @@ { | ||
"public": true, | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "description": "Live update for capacitor apps", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2443
41