add public dirs for sub apps and components