03Make the sauce: Heat the olive oil in a large skillet over medium-high heat. Add the pine nuts; fry until toasted, swirling the pan. Transfer the nuts with a slotted spoon to paper towels and season with salt. Add the shallots and garlic to the pan and cook until soft, 3 minutes. Add the wine and bring to a boil. Add the tomatoes, season with salt and pepper and toss; cook until the tomatoes are just soft, 2 more minutes.04Cook the gnocchi in a large pot of salted boiling water until tender, about 1 minute after they float to the surface. Drain and toss with the sauce. Top with the toasted pine nuts and more basil and pecorino.