AutoLink bs libraries

Currently when we add a new bs library we had to update bsconfig.json. Can this be automated by any chance?

It probably wouldn’t be too hard to write a script to do this. You could have the script add the bs-dependency to the .bs-config.json file, and pass the package name (with package version & npm/yarn flags) to the npm/yarn CLI. Then I guess you would need to revert the bs-config changes if the install fails.

Seems like there might be a few hidden gotchas involved, especially if you’re trying to make something relatively generic across repo structures. But it should be doable.