Small planets orbiting low-mass stars detected with the SPIRou instrument and the TESS satellite