Freeze dependencies when publishing