The XUV environments of exoplanets from Jupiter-size to super-Earth