Tuesday, 4 April 2017

Node Dependencies Match Branch

If I have a project with multiple libraries that all have a dev, release-candidate, production branches. What I would like to do is have is have all dependencies match up using git branches.

So service-library would have dependency: github.com/holmes89/model-library#dev

But the production branch just be: github.com/holmes89/model-library

Is this possible? Or would I have to maintain different package.json files?



via Joel Holmes

No comments:

Post a Comment