I am installing geofirestore
which requires geofirestore-core
.
geofirestore-core
has a bug that's fixed in a pull request which hasn't been merged. How can I force my installed version of geofirestore
to use the version of geofirestore-core
in the pull request instead of the one registered in NPM?
Following the answer here, How do I override nested NPM dependency versions?, I took the steps below to use shrinkwrap:
- Ran
npm shrinkwrap
- Updated the
geofirestore-core
to point toMarcARoberge/geofirestore-core#feat-firebase8
- Ran
npm install
again;
Unfortunately, this just overwrote my updated version in shrinkwrap what I am doing wrong?
// npm-shrinkwrap.json
"geofirestore": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/geofirestore/-/geofirestore-4.3.0.tgz",
"integrity": "sha512-NFaOm6BSwAGU+HuYR11St5LgJ67LRYUeeKiF7iPs5/gJgHrpnbFxqe2t3jAW13jpAeoLHnxEoQsPyt94JpZCAw==",
"requires": {
// user/repo#branch point to pull request
"geofirestore-core": "MarcARoberge/geofirestore-core#feat-firebase8"
}
},