feat(spm-package) add current pkg spm_modules detect when resolve deps

spmjs/spm#1095