nx
Version:
13 lines (12 loc) • 589 B
TypeScript
export declare function getDaemonEnv(): NodeJS.ProcessEnv & {
NX_PROJECT_GLOB_CACHE: string;
NX_CACHE_PROJECTS_CONFIG: string;
};
/**
* Without the deletion step, a var set by one client (e.g.
* `NX_PREFER_NODE_STRIP_TYPES=true` or `JAVA_TOOL_OPTIONS=...` for a single
* command) would persist in the daemon and leak into every subsequent
* client's project-graph computation. Deletion skips excluded vars and
* required settings, which the daemon owns and clients should not control.
*/
export declare function applyDaemonEnvFromClient(newEnv: NodeJS.ProcessEnv): string[];