01 - Preheat oven to 425°F. Line a large baking sheet with parchment paper.
02 - Toss gnocchi, cherry tomatoes, red bell pepper, and red onion with 2 tablespoons olive oil on the prepared baking sheet. Spread in a single layer.
03 - Roast for 20 minutes, stirring once halfway through, until gnocchi are golden and vegetables softened.
04 - In a large bowl, whisk together pesto, lemon juice, extra-virgin olive oil, salt, and pepper.
05 - Add roasted gnocchi and vegetables to the bowl. Gently toss to coat with the pesto dressing.
06 - Fold in mozzarella balls and arugula or spinach. Toss gently until everything is just combined and greens begin to wilt.
07 - Serve warm or at room temperature, topped with fresh basil and optional toasted pine nuts.