Confused on 142mm dropout width compatibility
I'm wanting to build a carbon road bike with disc and thru axles. The frame has 142x12mm rear dropout and I'm trying to work out getting wheels that have hubs that I can use a shimano road groupset with. It seems very convoluted as to whether 142mm hubs are even compatible with road cassettes. I'm wanting to use dt swiss hubs and run 25c tires. also will this effect chain line and type of rear mech hanger? I have some mechanical abilities, but this is really confusing me. It seems that there are many road bikes with disc and thru axles on the market, and alot have 142mm dropouts?
Please advise