The Dry Foundation
Preheat your oven to 350°F. In a medium bowl, whisk together the flour, baking powder, salt, cinnamon, ginger, and nutmeg. Ensuring these are well-blended prevents "spice clumps" in your final cupcake.
The Liquid Core
Create a small well in the center of your dry ingredients. Crack in the egg, then add both sugars, vegetable oil, and vanilla. Use a whisk or fork to stir these into the flour until the mixture is uniform and smooth.
The Carrot Fold
Gently fold in the grated carrots using a spatula.
Chef’s Tip: Use a light hand here! Over-mixing at this stage can lead to a dense, tough cupcake rather than a light and airy one.
Portioned to Perfection
Prepare four wells of a muffin pan with baking spray or liners. Divide the batter evenly, filling each cup about three-quarters full.
The Golden Bake
Bake for 15 to 17 minutes. You’re looking for a clean toothpick test and a springy touch on the top. Let them cool in the pan for 5 minutes, then move to a wire rack. Crucial: They must be completely cold before frosting, or your cream cheese will melt!
The Velvet Frosting
While the cakes cool, beat the softened cream cheese and butter until smooth. Gradually add the powdered sugar, vanilla, and salt. If it feels too stiff, add a tiny splash of milk until it’s spreadable.