Lilly did that at 8 weeks for about a week straight, I feel for you

We never had her in our room with us but had her in her own room with a gate and her kennel and toys etc., I think she was nervous and a little scared so I would go in there about ever 3 hrs and hold her for a little bit and put her back to sleep. it was very hard but she got used to it and does really well now. I found it easy if we wore her out at night, play with her like crazy before you go to bed. She would sleep like a baby haha.