create-nx-workspace
Version:
47 lines • 1.4 kB
TypeScript
import { NxCloud } from './utils/nx/nx-cloud';
import type { CompletionMessageKey } from './utils/nx/messages';
import { PackageManager } from './utils/package-manager';
export interface CreateWorkspaceOptions {
name: string;
packageManager: PackageManager;
nxCloud: NxCloud;
useGitHub?: boolean;
template?: string;
completionMessageKey?: CompletionMessageKey;
/**
* @description Enable interactive mode with presets
* @default true
*/
interactive?: boolean;
/**
* @description Default base to use for new projects. e.g. main, master
* @default 'main'
*/
defaultBase?: string;
/**
* @description Skip initializing a git repository
* @default false
*/
skipGit?: boolean;
/**
* @description Skip pushing to GitHub via gh CLI
* @default false
*/
skipGitHubPush?: boolean;
/**
* @description Enable verbose logging
* @default false
*/
verbose?: boolean;
commit?: {
name: string;
email: string;
message: string;
};
cliName?: string;
aiAgents?: Agent[];
}
export declare const supportedAgents: readonly ["claude", "codex", "copilot", "cursor", "gemini"];
export type Agent = (typeof supportedAgents)[number];
export declare const agentDisplayMap: Record<Agent, string>;
//# sourceMappingURL=create-workspace-options.d.ts.map