I have been using git / forking / branching / pull requests and npm for a while now for standard nodejs work and have not much issue. However, when I attempt to Fork an Angular repo and install this forked version in my project I get different content in the node_modules folder.
The original repo - angular2-tree-diagram - https://github.com/artbelikov/angular2-tree-diagram.git
The forked version - thxmike/angular2-tree-diagram - https://github.com/thxmike/angular2-tree-diagram.git
I install the original repo with the following command:
npm install angular2-tree-diagram --save
This installs the content from the src/ directory
However if I install my Forked verion using the following command:
npm install thxmike/angular2-tree-diagram --save
This install the entire repo
The angular.json, tsconfig.app and package.json are almost identical as far as pathing so I am confused on why the differences in the installation.
I have tried a few different changes such as what is documented here: npm install and build of forked github repo but I have not had much success.
I am not sure if this is something specific with Angular or I am just missing a detail that I can't see.
Any assistance in this matter would be appreciated.