MCPcopy
hub / github.com/angular/angular-cli / PkgInfo

Interface PkgInfo

tests/e2e/utils/packages.ts:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import { ProcessOutput, silentBun, silentNpm, silentPnpm, silentYarn } from './process';
3
4export interface PkgInfo {
5 readonly name: string;
6 readonly version: string;
7 readonly path: string;
8}
9
10export function getActivePackageManager(): 'npm' | 'yarn' | 'bun' | 'pnpm' {
11 return getGlobalVariable('package-manager');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected