add public/exports to linked dirs