Pregnancy announcements

So I’m very conflicted and was hoping for some advice. So I’m pregnant with our second, currently 6 weeks 2 days. I know it’s too early to tell everyone but we’ve told our families they’re all excited. My question is we have a close friend, her and her husband have been trying for about two years now. She’s told me their issues with getting pregnant all the doctors visits what they have her doing which I feel honored to have her feel comfortable in telling me all this cause I can only imagine how she’s feeling and how hard it may be for her. Anyways sorry I’ll get to the point. Should I tell her I’m pregnant before telling everyone else like give a heads up? Or do I just hide my pregnancy until I can’t hide it anymore which is what I was going to do but now that I’m thinking about it is that even the right way to go about it? I don’t want to catch them off guard. Is it weird to sit down with her and let her know I’m pregnant and I’m going to announce at this date in time when it’s safe to announce. I’m trying to be considerate of her feelings.