Prep the shrimp by peeling and deveining if necessary
Heat 1 Tbsp. olive oil in a large saucepan over medium heat. Saute onions until soft and translucent - about 5 minutes.
Add tomatoes and saute for 2 - 3 minutes, until the tomatoes begin to soften.
Push the vegetables to the side of the pan and add a little more olive oil if necessary. Place the shrimp in the center of the pan and season with black pepper, and cook for 2- 3 minutes on each side. Remove the shrimp from the pan but leave the vegetables.
Stir in the artichokes, wine, and broth and bring the mixture to a boil. Allow it to boil for about 5 minutes or until the liquid is reduced by about ½. Stir in ½ the pesto and combine well.
Add the shrimp back to the pan and reduce the heat to just a simmer. Add the spinach and cook until spinach is cooked down. If you want a spicy sauce, stir in some red pepper flakes to the mix.
While vegetables are cooking and liquid is reducing, bring the pasta water to a boil. If using dried pasta, begin cooking. If using fresh pasta, wait until the shrimp is cooked
Once the pasta is finished, drain and place it back in the pot. Stir in the remaining 2 Tbsp. pesto.
Divide pasta among 4 plates. Top each with ¼ of the vegetable mix and 5 - 6 shrimp.