I am consuming a GitHub repo through npm, pointing to a specific tag. It looks like this in the package.json
:
"dependencies": {
...
"my-repo": "github:foo/bar#tag"
}
Currently if I update the repo and upload a new tag, I have to manually delete the my-repo
folder under node_modules
and delete the entry from the package-lock.json
to force npm to update to the desired tag version. Is there a way to inform npm that it needs to update the package?
Using the tag here doesn't really make a difference, it was just an attempt to get it working.