It will greatly reduce the change that your plants will be affected.
You could also grow your plants indoors longer into the growing season (if you have space) and plant them out in July once the eggs have been laid. It will greatly reduce the change that your plants will be affected. You could also try a second planting around the same time, depending on your area and length of growing season.