I cannot figure out how to update a package installed from a git repository.
Say I have a package at git+ssh://git@gitlab.example.com:project/my-package.git
and it's already installed.
Now, if I:
- push into my-package master branch;
- run npm i or npm update;
then nothing gets updated.
I thought the version
field (from the dependent package.json
of my-package) might raise the problem so I removed it and re-installed the package from scratch. Unfortunately it didn't help, the package is still not being updated.
Any ideas?