01 - Preheat oven to 425°F. Line a large baking sheet with parchment paper for easy cleanup.
02 - Toss gnocchi, cherry tomatoes, red bell pepper, and red onion with 2 tablespoons olive oil on the prepared baking sheet. Spread everything in a single even layer for optimal roasting.
03 - Roast for 20 minutes, stirring once halfway through cooking time, until gnocchi are golden crispy and vegetables have softened.
04 - In a large mixing bowl, whisk together basil pesto, lemon juice, extra-virgin olive oil, salt, and black pepper until fully combined.
05 - Add the hot roasted gnocchi and vegetables to the bowl with the pesto dressing. Gently toss to coat everything evenly.
06 - Fold in mozzarella balls and arugula or spinach. Toss gently until just combined, allowing the greens to slightly wilt from the residual heat.
07 - Serve warm or at room temperature, topped generously with fresh basil leaves and optional toasted pine nuts for added crunch.