Thermodynamics of Ni richest intermetallics along the rare-earth series