It would be great to have an option to get all git clone repositories done in the current directory, instead of somewhere down the dependency tree.
This way we would have a nice development environment with deduped dependencies, and to make things still work at runtime, use symbolic links to keep the node_modules tree working.
To implement the links either we do it manually, or we can hopefully re-use npm link and force a prefix.
Limitations: the deduping is great until some modules depend on the same cloned module but with incompatible versions. Let's ignore this for now.
How does gpm currently handles clones for versions ? I haven't found code that checkouts the version compatible with what the parent asked (and I don't know how to implement that without assuming some sort of publish/tagging convention, which will necessarily not work in all cases)
It would be great to have an option to get all git clone repositories done in the current directory, instead of somewhere down the dependency tree.
This way we would have a nice development environment with deduped dependencies, and to make things still work at runtime, use symbolic links to keep the node_modules tree working.
To implement the links either we do it manually, or we can hopefully re-use npm link and force a prefix.
Limitations: the deduping is great until some modules depend on the same cloned module but with incompatible versions. Let's ignore this for now.
How does gpm currently handles clones for versions ? I haven't found code that checkouts the version compatible with what the parent asked (and I don't know how to implement that without assuming some sort of publish/tagging convention, which will necessarily not work in all cases)