auto resolve ngx version