Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with cupcake liners.
In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger. Set aside.
In a large bowl, cream the softened butter and granulated sugar together using an electric mixer until light and fluffy, about 3-4 minutes.
Add the eggs one at a time, mixing well after each addition. Then, add the pumpkin puree and vanilla extract, mixing until just combined.
Gradually add the dry ingredient mixture into the wet mixture, stirring until just combined. Be careful not to overmix. If desired, fold in the chopped pecans or walnuts and chocolate chips.
Divide the batter evenly among the prepared cupcake liners, filling each about two-thirds full.
Bake in the preheated oven for 18-20 minutes, or until a toothpick inserted into the center comes out clean.
Allow the cupcakes to cool in the tin for 5 minutes before transferring them to a wire rack to cool completely.
Notes
For an added touch, frost the cupcakes with cream cheese frosting and sprinkle with cinnamon or top each with a pecan half for decoration.