Hello,

Specifically as concerns supporting JavaScript npm registries, per se. 
Their documentation "mentions" that it is supported, but I do not see 
illustrative examples of what that is. Methinks that this is an npm thing, 
but not far behind that is Git itself.

I am 99% certain that I would commit my JavaScript/Node.js package to my 
repository (registry) and then "git tag" it accordingly.

However, what is git+file protocol as far as Git is concerned? Not to be 
confused with Node/js support for installing from a folder.

Would that simple be "git+file://path/to/repo-name"? How about on a Windows 
system? "git+file://D:/path/to/repo-name"? or Linux? 
"git+file:///path/to/repo-name"? With "git+file://" literally being the 
prefix that npm wants in this instance.

That's assuming things like machine, port, credentials, etc, are all 
resolved as localhost (for instance) and/or configured in the user's global 
Git config.

The folks with npm and/or npmjs.com are not especially responsive on the 
topic, much less helpful.

Regards,

Michael Powell

https://docs.npmjs.com/cli/install
https://github.com/npm/npm/blob/5e426a78ca02d0044f8dd26e0c5f881217081cbd/test/tap/add-remote-git-file.js#L20

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to