repurpose compileTS to build all typescript files