This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Save the lightest-possibly normalized URL into `package.json` and package.json _from fields, because read-package-json, read-installed, and the cache all know how to handle them now. * Add support for github:, gist:, bitbucket:, and gitlab: shortcut syntax. GitHub shortcuts will continue to be normalized to org/repo instead of being saved with a github: prefix (for now). * If presented with shortcuts, try cloning via git, SSH, and HTTPS (in that order, skipping any methods that aren't supported by a given hosting provider). * No longer prompt for credentials -- it didn't work right with the spinner, and wasn't guaranteed to work anyway. We may experiment with doing this a better way in the future. Users can override this by setting GIT_ASKPASS in their environment if they want to experiment with interactive cloning, but should also set --no-spin on the npm command line (or run `npm config set spin=false`).
- Loading branch information