01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - Whisk together flour, baking powder, baking soda, salt, cinnamon, nutmeg, and ginger in a medium bowl until evenly blended.
03 - Beat butter, granulated sugar, and brown sugar in a large bowl until creamy and fluffy, approximately 2-3 minutes.
04 - Mix egg and vanilla extract into the butter mixture until fully incorporated.
05 - Gradually blend dry ingredients into the wet mixture, mixing until just combined. Avoid overmixing.
06 - Gently fold grated carrots, oats, walnuts or pecans, and raisins into the dough until evenly distributed.
07 - Drop rounded tablespoons of dough onto prepared baking sheets, spacing 2 inches apart.
08 - Bake for 11-13 minutes until edges turn golden brown and centers set. Cool on baking sheet for 5 minutes before transferring to wire rack.
09 - Beat cream cheese, powdered sugar, milk, and vanilla extract until smooth and creamy.
10 - Drizzle cream cheese mixture over completely cooled cookies. Allow glaze to set before serving.