mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
feat: add @automaker/dependency-resolver package
ELIMINATES CODE DUPLICATION: This file was duplicated in both server and UI (222 lines each). - Extract feature dependency resolution using topological sort - Implement Kahn's algorithm with priority-aware ordering - Detect circular dependencies using DFS - Check for missing and blocking dependencies - Provide helper functions (areDependenciesSatisfied, getBlockingDependencies) This package will replace: - apps/server/src/lib/dependency-resolver.ts (to be deleted) - apps/ui/src/lib/dependency-resolver.ts (to be deleted) Impact: Eliminates 222 lines of duplicated code. Dependencies: @automaker/types 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
11
libs/dependency-resolver/src/index.ts
Normal file
11
libs/dependency-resolver/src/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @automaker/dependency-resolver
|
||||
* Feature dependency resolution for AutoMaker
|
||||
*/
|
||||
|
||||
export {
|
||||
resolveDependencies,
|
||||
areDependenciesSatisfied,
|
||||
getBlockingDependencies,
|
||||
type DependencyResolutionResult,
|
||||
} from './resolver';
|
||||
Reference in New Issue
Block a user