Place the flour, sugar, orange zest, baking powder, salt, and baking soda in a large bowl and whisk to aerate and break up any lumps. Add the orange juice, melted butter, egg, and vanilla and stir with a spoon or rubber spatula until just combined. Stir in the cranberries and nuts, if using, until evenly distributed.