eve
Version:
Filesystem-first framework for durable backend AI agents that run anywhere.
37 lines (36 loc) • 1.49 kB
TypeScript
export declare const PNPM_WORKSPACE_PATH = "pnpm-workspace.yaml";
export declare const PNPM_WORKSPACE_MEMBERSHIP_ARGUMENTS: readonly ["list", "--depth", "-1", "--json"];
export declare const PNPM_WORKSPACE_CONTENT: string;
/** Whether pnpm can walk from this project into a parent-owned workspace. */
export declare function hasAncestorPnpmWorkspace(projectRoot: string): boolean;
/**
* Reads `pnpm list --depth -1 --json` and answers whether the ancestor
* workspace explicitly includes `projectRoot`. `undefined` means the output
* was not trustworthy enough to choose an install mode.
*/
export declare function pnpmWorkspaceClaimsProject(stdout: string, projectRoot: string): boolean | undefined;
export declare const pnpmPackageManager: {
kind: "pnpm";
scaffoldFiles: {
"pnpm-workspace.yaml": string;
};
applyProjectConfiguration(projectRoot: string): Promise<{
filesSkipped: never[];
filesWritten: string[];
} | {
filesSkipped: string[];
filesWritten: never[];
}>;
devArguments: () => string[];
installArguments: (options: import("./types.js").PackageManagerInstallOptions) => string[];
prepareArguments: (projectRoot: string, args: readonly string[]) => string[];
resolveInvocation(args: readonly string[]): {
args: readonly string[];
command: string;
shell: boolean;
} | {
shell?: undefined;
args: readonly string[];
command: string;
};
};