✔ 2 ½ cups (315g) all-purpose flour
✔ 1 ½ cups (300g) granulated sugar
✔ ½ cup (100g) brown sugar
✔ 1 teaspoon baking soda
✔ 1 ½ teaspoons baking powder
✔ 1 teaspoon salt
✔ 2 teaspoons ground cinnamon
✔ ½ teaspoon nutmeg
✔ ½ teaspoon ground ginger
✔ 1 cup (240ml) vegetable oil
✔ 4 large eggs
✔ 2 teaspoons vanilla extract
✔ 3 cups (300g) grated carrots
✔ ¾ cup (90g) chopped walnuts or pecans (optional)
✔ ½ cup (80g) raisins (optional)
For the Cream Cheese Frosting:
✔ 8 oz (225g) cream cheese, softened
✔ ½ cup (115g) unsalted butter, softened
✔ 2 cups (240g) powdered sugar
✔ 1 teaspoon vanilla extract
✔ 1 tablespoon heavy cream (if needed for consistency)