UNPKG

turborepo-template-upgrade

Version:

Upgrade projects based on a Turborepo template using selective git diffs, with support for ignore paths and skipped packages.

29 lines (28 loc) 972 B
export interface UpgradeConfig { /** Enable debug logging */ debug?: boolean; /** Show what would be changed without applying */ dryRun?: boolean; /** Custom template repository URL */ templateUrl?: string; /** Additional paths to exclude from upgrade */ excludePaths?: string[]; /** Skip dependency reinstallation */ skipInstall?: boolean; /** Custom remote name for template */ remoteName?: string; /** Maximum patch recursion attempts */ maxPatchRetries?: number; /** Custom backup directory */ backupDir?: string; /** Skip git tree clean check */ skipCleanCheck?: boolean; } /** * Load configuration from .tt-upgrade.config.json if it exists */ export declare const loadConfig: (cwd: string) => UpgradeConfig; /** * Merge CLI options with config file options (CLI takes precedence) */ export declare const mergeConfig: (fileConfig: UpgradeConfig, cliOptions: UpgradeConfig) => UpgradeConfig;