Recently, we applied an $ab$ $initio$ method, the no-core shell model combined with the resonating group method, to the transfer reactions with light p-shell nuclei as targets and deuteron as the projectile. In particular, we studied the elastic scattering of deuterium on $^7$Li and the ${}^{7}$Li($d$,$p$)${}^{8}$Li transfer reaction starting from a realistic two-nucleon interaction. In this contribution, we review of our main results on the ${}^{7}$Li($d$,$p$)${}^{8}$Li transfer reaction, and we extend the study of the relevant reaction channels, by showing the dominant resonant phase shifts of the scattering matrix. We assess also the impact of the polarization effects of the deuteron below the breakup on the positive-parity resonant states in the reaction. For this purpose, we perform an analysis of the convergence trend of the phase and eigenphase shifts, with respect to the number of deuteron pseudostates included in the model space.