01 - Preheat the oven to 350°F. Line a 12-cup muffin tin with paper liners.
02 - In a medium bowl, whisk together the flour, ground ginger, cinnamon, cloves, nutmeg, baking soda, baking powder, and salt until evenly mixed.
03 - In a large bowl, beat the softened butter and packed brown sugar with an electric mixer until light and fluffy, approximately 2 minutes.
04 - Incorporate the molasses, egg, and vanilla extract into the butter mixture. Beat until fully combined.
05 - Add half of the dry ingredients to the wet mixture, then pour in the milk. Beat gently, followed by adding the remaining dry ingredients. Mix until just combined, taking care not to overmix.
06 - Divide the batter evenly among the cupcake liners, filling each approximately two-thirds full.
07 - Bake in the preheated oven for 18 to 20 minutes, or until a toothpick inserted into the center comes out clean.
08 - Allow cupcakes to cool in the tin for 5 minutes before transferring them to a wire rack to cool completely.
09 - Beat the cream cheese and butter until smooth. Add powdered sugar and vanilla extract and beat until fluffy. Adjust consistency with 1 to 2 tablespoons of milk as needed.
10 - Once completely cooled, frost each cupcake generously. Optionally, decorate with festive sprinkles or a light dusting of ground cinnamon.