UNPKG

context-forge

Version:

AI orchestration platform with autonomous teams, enhancement planning, migration tools, 25+ slash commands, checkpoints & hooks. Multi-IDE: Claude, Cursor, Windsurf, Cline, Copilot

62 lines 1.89 kB
export interface DependencyMapping { from: PackageInfo; to: PackageInfo[]; migrationNotes?: string; breakingChanges?: string[]; compatible?: boolean; } export interface PackageInfo { name: string; versionRange?: string; framework?: string; } export interface DependencyAnalysis { dependencies: DependencyInfo[]; incompatible: IncompatibilityInfo[]; replacements: ReplacementSuggestion[]; migrationComplexity: 'low' | 'medium' | 'high'; totalDependencies: number; incompatibleCount: number; hasReplacements: number; } export interface DependencyInfo { name: string; version: string; framework: string; hasReplacement: boolean; isCompatible: boolean; replacements?: PackageInfo[]; } export interface IncompatibilityInfo { package: string; reason: string; severity: 'low' | 'medium' | 'high' | 'critical'; resolution?: string; } export interface ReplacementSuggestion { from: string; to: string; confidence: 'high' | 'medium' | 'low'; migrationEffort: 'trivial' | 'small' | 'medium' | 'large'; notes?: string; } export declare class DependencyAnalyzer { private mappings; constructor(); private initializeMappings; analyzeDependencies(sourcePath: string, sourceFramework: string, targetFramework: string): Promise<DependencyAnalysis>; private analyzeDependency; private findMapping; private isFrameworkSpecific; private detectPackageFramework; private getIncompatibilityInfo; private getReplacementSuggestions; private estimateMigrationEffort; private getReplacementConfidence; private getReplacementNotes; private calculateMigrationComplexity; private readPackageJson; private emptyAnalysis; generateDependencyReport(analysis: DependencyAnalysis): string; } //# sourceMappingURL=dependencyAnalyzer.d.ts.map