They really aren't a cupcake but more of a custard tart which is why they don't get a leavening ingredient. I think it is Americans who have decided to call them a "cupcake"
Although not custard, you are right that are more of a tart then a cupcake, the author named it cupcakes but I will change that to tarts so everyone knows what to expect.