add type key to bundle packages