Added lerna.json parsing for typescript autoindex inference
Created by: Strum355
One step in the direction for https://github.com/sourcegraph/sourcegraph/issues/17536
Some repositories (grafana) use lerna.json to indicate whether npm
or yarn
is used. This PR fixed current autoindex failing due to a breaking change in npm install
re peer dependencies that is not an issue with yarn