Is it possible some how to get update behaviour for git dependencies a like for NPM packages?
So I have git dependency:
"dependencies": {
"my-module": "github:me/my-module"
}
And want it be updated each time I do npm install, adding revision hash is solution but requires more work to track and update in package.json each time package is update on Github.
There are also git tags (which also can be set using npm version command - it creates commit with tag v1.2.3. Is there is way to use these tags in dependencies in package.json?
git tag on repo gives me:
v1.0.1
v1.0.0
If I try to add in package.json after module name version like: #1.0.0 or #v1.0.1
```
"dependencies": {
"my-module": "github:me/my-module#1.0.1"
}
```
Install fails with error:
Command failed: git -c core.longpaths=true rev-list -n1 1.0.0
fatal: ambiguous argument '1.0.0': unknown revision or path not in the
ree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
If you need help, you may report this error at:
<https://github.com/npm/npm/issues>
git taggives you values likev1.0.0etc, then you need to use that exact value. Using1.0.0will fail.