use addPackagesToProject instead of addPackageToProject in a Promise.all