-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR-URL: #904 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
- Loading branch information
1 parent
3ab9b92
commit 1e2fa15
Showing
236 changed files
with
1,525 additions
and
440 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
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 |
---|---|---|
@@ -1,11 +1,15 @@ | ||
language: node_js | ||
node_js: | ||
- "0.11" | ||
- iojs | ||
- "0.12" | ||
- "0.10" | ||
- "0.8" | ||
env: | ||
- DEPLOY_VERSION=testing | ||
before_install: | ||
- "npm config set spin false" | ||
- "npm install -g npm@^2" | ||
- "npm install -g npm@~2" | ||
- "sudo mkdir -p /var/run/couchdb" | ||
script: "npm run-script test-all" | ||
notifications: | ||
slack: npm-inc:kRqQjto7YbINqHPb1X6nS3g8 |
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 |
---|---|---|
@@ -1,3 +1,50 @@ | ||
### v2.6.0 (2015-02-12): | ||
|
||
#### A LONG-AWAITED GUEST | ||
|
||
* [`38c4825`](https://github.com/npm/npm/commit/38c48254d3d217b4babf5027cb39492be4052fc2) | ||
[#5068](https://github.com/npm/npm/issues/5068) Add new logout command, and | ||
make it do something useful on both bearer-based and basic-based authed | ||
clients. ([@othiym23](https://github.com/othiym23)) | ||
* [`4bf0f5d`](https://github.com/npm/npm/commit/4bf0f5d56c33649124b486e016ba4a620c105c1c) | ||
`[email protected]`: Support new `logout` endpoint to invalidate | ||
token for sessions. ([@othiym23](https://github.com/othiym23)) | ||
|
||
#### DEPRECATIONS | ||
|
||
* [`c8e08e6`](https://github.com/npm/npm/commit/c8e08e6d91f4016c80f572aac5a2080df0f78098) | ||
[#6565](https://github.com/npm/npm/issues/6565) Warn that `peerDependency` | ||
behavior is changing and add a note to the docs. | ||
([@othiym23](https://github.com/othiym23)) | ||
* [`7c81a5f`](https://github.com/npm/npm/commit/7c81a5f5f058941f635a92f22641ea68e79b60db) | ||
[#7171](https://github.com/npm/npm/issues/7171) Warn that `engineStrict` in | ||
`package.json` will be going away in the next major version of npm (coming | ||
soon!) ([@othiym23](https://github.com/othiym23)) | ||
|
||
#### BUG FIXES & TWEAKS | ||
|
||
* [`add5890`](https://github.com/npm/npm/commit/add5890ce447dabf120b907a85f715df1e065f44) | ||
[#4668](https://github.com/npm/npm/issues/4668) `[email protected]`: | ||
Warn when a `bin` symbolic link is a dangling reference. | ||
* [`4b42071`](https://github.com/npm/npm/commit/4b420714dfb84338d85def78c30bd665e32d72c1) | ||
`[email protected]`: Add functions to extract parts of the version triple, fix a | ||
typo. ([@isaacs](https://github.com/isaacs)) | ||
* [`a9aff38`](https://github.com/npm/npm/commit/a9aff38719918486fc381d67ad3371c475632ff7) | ||
Use full path for man pages as the symbolic link source, instead of just the | ||
file name. ([@bengl](https://github.com/bengl)) | ||
* [`6fd0fbd`](https://github.com/npm/npm/commit/6fd0fbd8a0347fd47cb7ee0064e0902a2f8a087c) | ||
[#7233](https://github.com/npm/npm/issues/7233) Ensure `globalconfig` path | ||
exists before trying to edit it. ([@ljharb](https://github.com/ljharb)) | ||
* [`a0a2620`](https://github.com/npm/npm/commit/a0a262047647d9e2690cebe5a89e6a0dd33202bb) | ||
`[email protected]`: Allow embedded, quoted equals signs in ini field names. | ||
([@isaacs](https://github.com/isaacs)) | ||
|
||
Also typos and other documentation issues were addressed by | ||
[@rutsky](https://github.com/rutsky), [@imurchie](https://github.com/imurchie), | ||
[@marcin-wosinek](https://github.com/marcin-wosinek), | ||
[@marr](https://github.com/marr), [@amZotti](https://github.com/amZotti), and | ||
[@karlhorky](https://github.com/karlhorky). Thank you, everyone! | ||
|
||
### v2.5.1 (2015-02-06): | ||
|
||
This release doesn't look like much, but considerable effort went into ensuring | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
npm-logout(1) -- Log out of the registry | ||
======================================== | ||
|
||
## SYNOPSIS | ||
|
||
npm logout [--registry=url] [--scope=@orgname] | ||
|
||
## DESCRIPTION | ||
|
||
When logged into a registry that supports token-based authentication, tell the | ||
server to end this token's session. This will invalidate the token everywhere | ||
you're using it, not just for the current environment. | ||
|
||
When logged into a legacy registry that uses username and password authentication, this will | ||
clear the credentials in your user configuration. In this case, it will _only_ affect | ||
the current environment. | ||
|
||
If `--scope` is provided, this will find the credentials for the registry | ||
connected to that scope, if set. | ||
|
||
## CONFIGURATION | ||
|
||
### registry | ||
|
||
Default: http://registry.npmjs.org/ | ||
|
||
The base URL of the npm package registry. If `scope` is also specified, | ||
it takes precedence. | ||
|
||
### scope | ||
|
||
Default: none | ||
|
||
If specified, the user and login credentials given will be associated | ||
with the specified scope. See `npm-scope(7)`. You can use both at the same time, | ||
e.g. | ||
|
||
npm adduser --registry=http://myregistry.example.com --scope=@myco | ||
|
||
This will set a registry for the given scope and login or create a user for | ||
that registry at the same time. | ||
|
||
## SEE ALSO | ||
|
||
* npm-adduser(1) | ||
* npm-registry(7) | ||
* npm-config(1) | ||
* npm-config(7) | ||
* npmrc(5) | ||
* npm-whoami(1) |
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 |
---|---|---|
|
@@ -75,7 +75,7 @@ with your package. | |
|
||
It should look like this: | ||
|
||
{ "url" : "http://github.com/owner/project/issues" | ||
{ "url" : "https://github.com/owner/project/issues" | ||
, "email" : "[email protected]" | ||
} | ||
|
||
|
@@ -219,7 +219,7 @@ will create entries for `man foo` and `man 2 foo` | |
|
||
The CommonJS [Packages](http://wiki.commonjs.org/wiki/Packages/1.0) spec details a | ||
few ways that you can indicate the structure of your package using a `directories` | ||
object. If you look at [npm's package.json](http://registry.npmjs.org/npm/latest), | ||
object. If you look at [npm's package.json](https://registry.npmjs.org/npm/latest), | ||
you'll see that it has directories for doc, lib, and man. | ||
|
||
In the future, this information may be used in other creative ways. | ||
|
@@ -260,18 +260,23 @@ Do it like this: | |
|
||
"repository" : | ||
{ "type" : "git" | ||
, "url" : "http://github.com/npm/npm.git" | ||
, "url" : "https://github.com/npm/npm.git" | ||
} | ||
|
||
"repository" : | ||
{ "type" : "svn" | ||
, "url" : "http://v8.googlecode.com/svn/trunk/" | ||
, "url" : "https://v8.googlecode.com/svn/trunk/" | ||
} | ||
|
||
The URL should be a publicly available (perhaps read-only) url that can be handed | ||
directly to a VCS program without any modification. It should not be a url to an | ||
html project page that you put in your browser. It's for computers. | ||
|
||
For GitHub repositories you can use the same shortcut syntax you use for `npm | ||
install`: | ||
|
||
"repository": "npm/npm" | ||
|
||
## scripts | ||
|
||
The "scripts" property is a dictionary containing script commands that are run | ||
|
@@ -459,13 +464,19 @@ For example: | |
} | ||
|
||
This ensures your package `tea-latte` can be installed *along* with the second | ||
major version of the host package `tea` only. The host package is automatically | ||
installed if needed. `npm install tea-latte` could possibly yield the following | ||
dependency graph: | ||
major version of the host package `tea` only. `npm install tea-latte` could | ||
possibly yield the following dependency graph: | ||
|
||
├── [email protected] | ||
└── [email protected] | ||
|
||
**NOTE: npm versions 1 and 2 will automatically install `peerDependencies` if | ||
they are not explicitly depended upon higher in the dependency tree. In the | ||
next major version of npm (npm@3), this will no longer be the case. You will | ||
receive a warning that the peerDependency is not installed instead.** The | ||
behavior in npms 1 & 2 was frequently confusing and could easily put you into | ||
dependency hell, a situation that npm is designed to avoid as much as possible. | ||
|
||
Trying to install another plugin with a conflicting requirement will cause an | ||
error. For this reason, make sure your plugin requirement is as broad as | ||
possible, and not to lock it down to specific patch versions. | ||
|
@@ -534,6 +545,8 @@ field is advisory only. | |
|
||
## engineStrict | ||
|
||
**NOTE: This feature is deprecated and will be removed in npm 3.0.0.** | ||
|
||
If you are sure that your module will *definitely not* run properly on | ||
versions of Node/npm other than those specified in the `engines` object, | ||
then you can set `"engineStrict": true` in your package.json file. | ||
|
@@ -542,8 +555,7 @@ This will override the user's `engine-strict` config setting. | |
Please do not do this unless you are really very very sure. If your | ||
engines object is something overly restrictive, you can quite easily and | ||
inadvertently lock yourself into obscurity and prevent your users from | ||
updating to new versions of Node. Consider this choice carefully. If | ||
people abuse it, it will be removed in a future version of npm. | ||
updating to new versions of Node. Consider this choice carefully. | ||
|
||
## os | ||
|
||
|
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
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
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
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
Oops, something went wrong.