-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from cnpm/strict-ssl
feat: support read strict-ssl from npm config
- Loading branch information
Showing
5 changed files
with
29 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,9 +96,17 @@ co(function*() { | |
|
||
## Support Features | ||
|
||
- [x] all types of npm package | ||
- [x] a) a folder containing a program described by a package.json file (`npm install file:eslint-rule`) | ||
- [x] b) a gzipped tarball containing (a) (`npm install ./rule.tgz`) | ||
- [x] c) a url that resolves to (b) (`npm install https://github.com/indexzero/forever/tarball/v0.5.6`) | ||
- [x] d) a <name>@<version> that is published on the registry with (c) | ||
- [x] e) a <name>@<tag> (see npm-dist-tag) that points to (d) | ||
- [x] f) a <name> that has a "latest" tag satisfying (e) | ||
- [x] g) a <git remote url> that resolves to (a) (`npm install git://github.com/timaschew/cogent#fix-redirects`) | ||
- [x] All platform support | ||
- [x] global install (`-g, --global`) | ||
- [x] postinstall script | ||
- [x] support Windows | ||
- [x] `preinstall`, `install`, `postinstall` scripts | ||
- [x] node-gyp | ||
- [x] node-pre-gyp | ||
- [x] bin ([email protected], [email protected]) | ||
|
@@ -108,16 +116,6 @@ co(function*() { | |
- [x] peerDependencies ([email protected], [email protected], [email protected]) | ||
- [x] deprecate message | ||
- [x] `--production` mode | ||
- [x] cleanup when install failed | ||
- all types of npm package | ||
- [x] a) a folder containing a program described by a package.json file (`npm install file:eslint-rule`) | ||
- [x] b) a gzipped tarball containing (a) (`npm install ./rule.tgz`) | ||
- [x] c) a url that resolves to (b) (`npm install https://github.com/indexzero/forever/tarball/v0.5.6`) | ||
- [x] d) a <name>@<version> that is published on the registry with (c) | ||
- [x] e) a <name>@<tag> (see npm-dist-tag) that points to (d) | ||
- [x] f) a <name> that has a "latest" tag satisfying (e) | ||
- [x] g) a <git remote url> that resolves to (a) (`npm install git://github.com/timaschew/cogent#fix-redirects`) | ||
- [x] `preinstall`, `install`, `postinstall` scripts | ||
- [x] `save`, `save-dev`, `save-optional` | ||
|
||
## Different with NPM | ||
|
@@ -141,10 +139,8 @@ Two rules: | |
|
||
e.g.: | ||
|
||
- app: `{ "dependencies": { "a": "1.0.0" } }` (root) | ||
- [email protected]: `{ "dependencies": { "c": "2.0.0", "b": "1.0.0" } }` | ||
- [email protected]: `{ "dependencies": { "c": "1.0.0" } }` | ||
- [email protected] & [email protected]: `{ "dependencies": { } }` | ||
- app: `{ "dependencies": { "debug": "2.2.0", "ms": "0.5.1" } }` (root) | ||
- [email protected]: `{ "dependencies": { "ms": "0.7.1" } }` | ||
|
||
```bash | ||
app/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters