A package parser that can resolve self and dependencies, supporting spm, component.