-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom archive registry #424
Comments
For me this feature would make definitely sense in case it's allowed to install from local archives as well:
I still have no solution ready to allow installing a complex package tree offline (e.g. by preparing a big package bundle and ship it as whole). But this archive endpoint would help at least to install all top-level dependencies. |
Getting the addressing right is the hard part with this. Perhaps:
? |
That would be also ok for me. In case we don't have any space between
But not sure if that is more confusing than helping. |
? |
yes that would make sense too me :) Just wondering if we should also support installing from folders in case the packages aren't packed e.g. developer just cloned some public repo but didn't create yet an archive out of it. |
Yes it could support that as well for the file case, but not http. We could also potentially support installing a single js file too. |
What is the version assumption for these endpoints? That's the biggest blocker for me here, and why I prefer to think of endpoints as "managed registries" with versioning included. |
It is still a necessary feature - perhaps we can enable non-versioned endpoints in jspm. |
+1 npm supports it, bower supports it, jspm should too :) |
Looking to rather handle this via the new linking workflow at #622. |
An endpoint to support loading from tarball / zip URLs:
Where the assumption is that the protocol is https first, followed by http, with redirect following provided https -> https, falling back to http if not.
Does that make sense?
The text was updated successfully, but these errors were encountered: