assume type "app" if in a mojito app dir