The present invention provides substituted bicyclic heteroaryl compounds,
including, for example, 4-pyrazolyl-N-arylpyrimidin-2-amines and
4-pyrazolyl-N-heteroarylpyrimidin-2-amines that modulate the activity of
kinases and are useful in the treatment of diseases related to activity
of kinases including, for example, immune-related diseases, skin
disorders, myeloid proliferative disorders, cancer, and other diseases.