You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With relative-deps, the deps are built and the resulting built is pushed to our project node_modules (I assumed), whereas with missdev we just have tsconfig (or jsconfig if we don't use TypeScript) to get deps source code from a given path, so the deps sources are never built independently, they are built along with the main project code just like if they were regular local source files. So:
it is faster
any change in a dependency source file will trigger the watch/rebuild/autoreload of the main project
when using TypeScript, our IDE will find references in the sources not in the built lib
2 - git
With relative-deps, we just declare a local path (where we probably have a git checkout)
With missdev, we directly declare the git url, branch and/or tag, so missdev takes care to checkout what's need for us.
It makes it very CI-friendly, as we can have a big pull request with changes in the main project and many dependencies, so we just need to push our different branches, and in the main project put the different deps branches in mrs.developer.json, the CI script just needs to run missdev to get all the proper code for all the deps.
I have used this in the past and it seems related in the use cases it solves, so it might be useful to compare/mention in docs:
https://github.com/mweststrate/relative-deps
The text was updated successfully, but these errors were encountered: