pub fn detect(ctx: &ProjectContext) -> ProjectType
Detect the project type from a fully scanned ProjectContext.