In 1958 it joined other British Caribbean colonies in forming the Federation of the West Indies .