Stop copying stuff. Just make it global and link.
Next step is to make packages immutable and signed.
I'm happy with this step and the fact that facebook will be able to push this.
Stop copying stuff. Just make it global and link.
Next step is to make packages immutable and signed.
I'm happy with this step and the fact that facebook will be able to push this.
I'm a huge fan of bundler - it's dependency heaven. I'm also a big fan of the rubygems repo. It does not allow changes in released versions.
Even without symlinks it's a much needed improvement in the javascript ecosystem
The reason is that each package only finds its dependencies relative to its own location. So your second level dependencies cannot vary from project to project unless you do copying.
(Example: AppA and AppB depend on LibX. LibX depends on LibY. Through their deterministic lockfiles, AppA and AppB disagree on which version of LibY to use. There is no way to symlink things together to satisfy that case without copying LibX or altering node's package resolution algorithm.)
Looks like it's new in Node 6. Yarn supports Node LTS.