-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Description
What / Why
Basically, I think it should be possible to do:
npm i https://github.com/user/repo/packages/package#master
Right now, it is only possible to install packages from Git which are at the repository root directory:
npm i https://github.com/user/repo#master
A lot of projects, including projects from big monorepo users (like Microsoft, Google) use a repo format where different packages have their own folders. But it is also common for a package to be at a subdirectory even though it is a single package in the repository, some people just like to organize their repositories so there's no "code" files at the root level (like package.json) and put it all to src or similar.
There was a discussion about this in npm/npm#2974, which was locked, because it had a lot of noise going on. As far as I can see, though, no one from NPM contributed to the discussion among the noise, so as far as I can tell, there is no official word on whether this will be supported. Since the issue was effectively killed without any response from the maintainers, I am reopening it here for renewed discussed, this time hopefully between the community and the maintainers.
When
???
On npm install, the examples displayed in the template for this section are really odd.
Where
NPM
How
Current Behavior
Is not implemented.
Expected Behavior
Is implemented.
Who
I don't care.
References
None.
Issue templates sure are useful, aren't they.