@pnpm/workspace.state
Version:
Track the list of actual paths of workspace packages in a cache
10 lines (9 loc) • 419 B
TypeScript
import { type WorkspaceState, type WorkspaceStateSettings, type ProjectsList } from './types';
export interface CreateWorkspaceStateOptions {
allProjects: ProjectsList;
pnpmfileExists: boolean;
filteredInstall: boolean;
settings: WorkspaceStateSettings;
configDependencies?: Record<string, string>;
}
export declare const createWorkspaceState: (opts: CreateWorkspaceStateOptions) => WorkspaceState;