I have two Typescript projects.
Context: ProjectA depends upon a certain ProjectB branch project
ProjectB git branches:
- main
- new_branch
ProjectA package.json
"dependencies": {
    "@projectB": "git+https://github.com/projectB.git#new_branch",
}
What I want to achieve?
When I execute yarn install to make sure that the dependencies from the new_branch are loaded in node_modules folder of projectA.
What actually happens?
When I execute yarn install, the dependencies from main branch are loaded.
What I tried?
- I deleted node_modules&buildfolders and tried to runyarn installagain which did not work.
- I deleted yarn.lockbut the project split another errors that are not related to my changes from thenew_branchat all.
- I deleted the @projectB:git+https://github.com/projectB.git#new_branchdependency from thepackage.jsonfile and I added it viayarn add projectB@git+https://github.com/projectB.git#new_branchwhich did not work.
 
     
    