MCPcopy Index your code
hub / github.com/angular/angular-cli / getActivePackageManager

Function getActivePackageManager

tests/e2e/utils/packages.ts:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8}
9
10export function getActivePackageManager(): 'npm' | 'yarn' | 'bun' | 'pnpm' {
11 return getGlobalVariable('package-manager');
12}
13
14export async function installWorkspacePackages(options?: { force?: boolean }): Promise<void> {
15 switch (getActivePackageManager()) {

Calls 1

getGlobalVariableFunction · 0.90

Tested by

no test coverage detected