Menu
![]() ![]() "How to install NodeJS package from GitHub directly?" mentions that you can specify a branch. See also Modifying an inactive pull request locally at GitHub. This may be helpful if you need to automate the installation or repo / branch from where PR is originating is removed. Note that in Yarn case there is no pull/ segment in the package identifier. See the comment below.įor example: npm i -save-dev json-schema-faker/json-schema-faker#pull/129/headįor example: yarn add json-schema-faker/json-schema-faker#129/head Works with npm 7.0.23 and possibly earlier versions. NOTE: It doesn't seeem to be working with NPM v. GitHub is maintaining a namespace for each PR in the original repo, so this works as well: npm install /#pull//head
0 Comments
Leave a Reply. |