deps: upgrade to npm 2.13.0
PR-URL: https://github.com/nodejs/io.js/pull/2152 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
This commit is contained in:
Родитель
6c3aabf455
Коммит
938cc757bb
|
@ -291,3 +291,7 @@ Eduardo Pinho <enet4mikeenet@gmail.com>
|
|||
Rachel Hutchison <rhutchix@intel.com>
|
||||
Ryan Temple <ryantemple145@gmail.com>
|
||||
Eugene Sharygin <eush77@gmail.com>
|
||||
Nick Heiner <nick.heiner@opower.com>
|
||||
James Talmage <james@talmage.io>
|
||||
jane arc <jane@uber.com>
|
||||
Joseph Dykstra <josephdykstra@gmail.com>
|
||||
|
|
|
@ -1,3 +1,103 @@
|
|||
### v2.13.0 (2015-07-02):
|
||||
|
||||
#### FORREST IS OUT! LET'S SNEAK IN ALL THE THINGS!
|
||||
|
||||
Well, not _everything_. Just a couple of goodies, like the new `npm ping`
|
||||
command, and the ability to add files to the commits created by `npm version`
|
||||
with the new version hooks. There's also a couple of bugfixes in `npm` itself
|
||||
and some of its dependencies. Here we go!
|
||||
|
||||
#### YES HELLO THIS IS NPM REGISTRY SORRY NO DOG HERE
|
||||
|
||||
Yes, that's right! We now have a dedicated `npm ping` command. It's super simple
|
||||
and super easy. You ping. We tell you whether you pinged right by saying hello
|
||||
right back. This should help out folks dealing with things like proxy issues or
|
||||
other registry-access debugging issues. Give it a shot!
|
||||
|
||||
This addresses [#5750](https://github.com/npm/npm/issues/5750), and will help
|
||||
with the `npm doctor` stuff descripbed in
|
||||
[#6756](https://github.com/npm/npm/issues/6756).
|
||||
|
||||
* [`f1f7a85`](https://github.com/npm/npm/commit/f1f7a85)
|
||||
Add ping command to CLI
|
||||
([@michaelnisi](https://github.com/michaelnisi))
|
||||
* [`8cec629`](https://github.com/npm/npm/commit/8cec629)
|
||||
Add ping command to npm-registry-client
|
||||
([@michaelnisi](https://github.com/michaelnisi))
|
||||
* [`0c0c92d`](https://github.com/npm/npm/0c0c92d)
|
||||
Fixed ping command issues (added docs, tests, fixed minor bugs, etc)
|
||||
([@zkat](https://github.com/zkat))
|
||||
|
||||
#### I'VE WANTED THIS FOR `version` SINCE LIKE LITERALLY FOREVER AND A DAY
|
||||
|
||||
Seriously! This patch lets you add files to the `version` commit before it's
|
||||
made, So you can add additional metadata files, more automated changes to
|
||||
`package.json`, or even generate `CHANGELOG.md` automatically pre-commit if
|
||||
you're into that sort of thing. I'm so happy this is there I can't even. Do you
|
||||
have other fun usecases for this? Tell
|
||||
[npmbot (@npmjs)](http://twitter.com/npmjs) about it!
|
||||
|
||||
* [`582f170`](https://github.com/npm/npm/commit/582f170)
|
||||
[#8620](https://github.com/npm/npm/issues/8620) version: Allow scripts to add
|
||||
files to the commit.
|
||||
([@jamestalmage](https://github.com/jamestalmage))
|
||||
|
||||
#### ALL YOUR FILE DESCRIPTORS ARE BELONG TO US
|
||||
|
||||
We've had problems in the past with things like `EMFILE` errors popping up when
|
||||
trying to install packages with a bunch of dependencies. Isaac patched up
|
||||
[`graceful-fs`](https://github.com/isaacs/node-graceful-fs) to handle this case
|
||||
better, so we should be seeing fewer of those.
|
||||
|
||||
* [`022691a`](https://github.com/npm/npm/commit/022691a)
|
||||
`graceful-fs@4.1.2`: Updated so we can monkey patch globally.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`c9fb0fd`](https://github.com/npm/npm/commit/c9fb0fd)
|
||||
Globally monkey-patch graceful-fs. This should fix some errors when installing
|
||||
packages with lots of dependencies.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
|
||||
#### READ THE FINE DOCS. THEY'VE IMPROVED
|
||||
|
||||
* [`5587d0d`](https://github.com/npm/npm/commit/5587d0d)
|
||||
Nice clarification for `directories.bin`
|
||||
([@ujane](https://github.com/ujane))
|
||||
* [`20673c7`](https://github.com/npm/npm/commit/20673c7)
|
||||
Hey, Windows folks! Check out
|
||||
[`nvm-windows`](https://github.com/coreybutler/nvm-windows)
|
||||
([@ArtskydJ](https://github.com/ArtskydJ))
|
||||
|
||||
#### MORE NUMBERS! MORE VALUE!
|
||||
|
||||
* [`5afa2d5`](https://github.com/npm/npm/commit/5afa2d5)
|
||||
`validate-npm-package-name@2.2.2`: Documented package name rules in README
|
||||
([@zeusdeux](https://github.com/zeusdeux))
|
||||
* [`021f4d9`](https://github.com/npm/npm/commit/021f4d9)
|
||||
`rimraf@2.4.1`: [#74](https://github.com/isaacs/rimraf/issues/74) Use async
|
||||
function for bin (to better handle Window's `EBUSY`)
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`5223432`](https://github.com/npm/npm/commit/5223432)
|
||||
`osenv@0.1.3`: Use `os.homedir()` polyfill for more reliable output. io.js
|
||||
added the function and the polyfill does a better job than the prior solution.
|
||||
([@sindresorhus](https://github.com/sindresorhus))
|
||||
* [`8ebbc90`](https://github.com/npm/npm/commit/8ebbc90)
|
||||
`npm-cache-filename@1.0.2`: Make sure different git references get different
|
||||
cache folders. This should prevent `foo/bar#v1.0` and `foo/bar#master` from
|
||||
sharing the same cache folder.
|
||||
([@tomekwi](https://github.com/tomekwi))
|
||||
* [`367b854`](https://github.com/npm/npm/commit/367b854)
|
||||
`lru-cache@2.6.5`: Minor test/typo changes
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
* [`9fcae61`](https://github.com/npm/npm/commit/9fcae61)
|
||||
`glob@5.0.13`: Tiny doc change + stop firing 'match' events for ignored items.
|
||||
([@isaacs](https://github.com/isaacs))
|
||||
|
||||
#### OH AND ONE MORE THING
|
||||
|
||||
* [`7827249`](https://github.com/npm/npm/commit/7827249)
|
||||
`PeerDependencies` errors now include the package version.
|
||||
([@NickHeiner](https://github.com/NickHeiner))
|
||||
|
||||
### v2.12.1 (2015-06-25):
|
||||
|
||||
#### HEY WHERE DID EVERYBODY GO
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
npm-ping(3) -- Ping npm registry
|
||||
================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm.registry.ping(registry, options, function (er, pong))
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Attempts to connect to the given registry, returning a `pong`
|
||||
object with various metadata if it succeeds.
|
||||
|
||||
This function is primarily useful for debugging connection issues
|
||||
to npm registries.
|
|
@ -0,0 +1,16 @@
|
|||
npm-ping(1) -- Ping npm registry
|
||||
================================
|
||||
|
||||
## SYNOPSIS
|
||||
|
||||
npm ping [--registry <registry>]
|
||||
|
||||
## DESCRIPTION
|
||||
|
||||
Ping the configured or given npm registry and verify authentication.
|
||||
|
||||
## SEE ALSO
|
||||
|
||||
* npm-config(1)
|
||||
* npm-config(7)
|
||||
* npmrc(5)
|
|
@ -15,10 +15,11 @@ valid second argument to semver.inc (one of `patch`, `minor`, `major`,
|
|||
`prepatch`, `preminor`, `premajor`, `prerelease`). In the second case,
|
||||
the existing version will be incremented by 1 in the specified field.
|
||||
|
||||
If run in a git repo, it will also create a version commit and tag, and fail if
|
||||
the repo is not clean. This behavior is controlled by `git-tag-version` (see
|
||||
below), and can be disabled on the command line by running `npm
|
||||
--no-git-tag-version version`
|
||||
If run in a git repo, it will also create a version commit and tag.
|
||||
This behavior is controlled by `git-tag-version` (see below), and can
|
||||
be disabled on the command line by running `npm --no-git-tag-version version`.
|
||||
It will fail if the working directory is not clean, unless the `--force`
|
||||
flag is set.
|
||||
|
||||
If supplied with `--message` (shorthand: `-m`) config option, npm will
|
||||
use it as a commit message when creating a version commit. If the
|
||||
|
@ -42,11 +43,33 @@ in your git config for this to work properly. For example:
|
|||
|
||||
If `preversion`, `version`, or `postversion` are in the `scripts` property of
|
||||
the package.json, they will be executed as part of running `npm version`.
|
||||
`preversion` and `version` are executed before bumping the package version, and
|
||||
`postversion` is executed afterwards. For example, to run `npm version` only if
|
||||
all tests pass:
|
||||
|
||||
"scripts": { "preversion": "npm test" }
|
||||
The exact order of execution is as follows:
|
||||
1. Check to make sure the git working directory is clean before we get started.
|
||||
Your scripts may add files to the commit in future steps.
|
||||
This step is skipped if the `--force` flag is set.
|
||||
2. Run the `preversion` script. These scripts have access to the old `version` in package.json.
|
||||
A typical use would be running your full test suite before deploying.
|
||||
Any files you want added to the commit should be explicitly added using `git add`.
|
||||
3. Bump `version` in `package.json` as requested (`patch`, `minor`, `major`, etc).
|
||||
4. Run the `version` script. These scripts have access to the new `version` in package.json
|
||||
(so they can incorporate it into file headers in generated files for example).
|
||||
Again, scripts should explicitly add generated files to the commit using `git add`.
|
||||
5. Commit and tag.
|
||||
6. Run the `postversion` script. Use it to clean up the file system or automatically push
|
||||
the commit and/or tag.
|
||||
|
||||
Take the following example:
|
||||
|
||||
"scripts": {
|
||||
"preversion": "npm test",
|
||||
"version": "npm run build && git add -A dist",
|
||||
"postversion": "git push && git push --tags && rm -rf build/temp"
|
||||
}
|
||||
|
||||
This runs all your tests, and proceeds only if they pass. Then runs your `build` script, and
|
||||
adds everything in the `dist` directory to the commit. After the commit, it pushes the new commit
|
||||
and tag up to the server, and deletes the `build/temp` directory.
|
||||
|
||||
## CONFIGURATION
|
||||
|
||||
|
|
|
@ -283,10 +283,13 @@ with the lib folder in any way, but it's useful meta info.
|
|||
|
||||
### directories.bin
|
||||
|
||||
If you specify a `bin` directory, then all the files in that folder will
|
||||
be added as children of the `bin` path.
|
||||
If you specify a `bin` directory in `directories.bin`, all the files in
|
||||
that folder will be added.
|
||||
|
||||
If you have a `bin` path already, then this has no effect.
|
||||
Because of the way the `bin` directive works, specifying both a
|
||||
`bin` path and setting `directories.bin` is an error. If you want to
|
||||
specify individual files, use `bin`, and for all the files in an
|
||||
existing `bin` directory, use `directories.bin`.
|
||||
|
||||
### directories.man
|
||||
|
||||
|
|
|
@ -279,6 +279,7 @@ Unix:
|
|||
Windows:
|
||||
|
||||
* <http://github.com/marcelklehr/nodist>
|
||||
* <https://github.com/coreybutler/nvm-windows>
|
||||
* <https://github.com/hakobera/nvmw>
|
||||
* <https://github.com/nanjingboy/nvmw>
|
||||
|
||||
|
|
|
@ -113,6 +113,10 @@ Manage package owners
|
|||
|
||||
Create a tarball from a package
|
||||
|
||||
### npm-ping(1)
|
||||
|
||||
Ping npm registry
|
||||
|
||||
### npm-prefix(1)
|
||||
|
||||
Display prefix
|
||||
|
@ -285,6 +289,10 @@ Manage package owners
|
|||
|
||||
Create a tarball from a package
|
||||
|
||||
### npm-ping(3)
|
||||
|
||||
Ping npm registry
|
||||
|
||||
### npm-prefix(3)
|
||||
|
||||
Display prefix
|
||||
|
|
|
@ -140,7 +140,7 @@ specific purpose, or lack of malice in any given npm package.</p>
|
|||
<p>If you have a complaint about a package in the public npm registry,
|
||||
and cannot <a href="https://docs.npmjs.com/misc/disputes">resolve it with the package
|
||||
owner</a>, please email
|
||||
<a href="mailto:support@npmjs.com">support@npmjs.com</a> and explain the situation.</p>
|
||||
<a href="mailto:support@npmjs.com">support@npmjs.com</a> and explain the situation.</p>
|
||||
<p>Any data published to The npm Registry (including user account
|
||||
information) may be removed or modified at the sole discretion of the
|
||||
npm server administrators.</p>
|
||||
|
@ -183,5 +183,5 @@ will no doubt tell you to put the output in a gist or email.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@2.12.1</p>
|
||||
<p id="footer"><a href="../doc/README.html">README</a> — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -28,5 +28,5 @@ to the <code>npm.bin</code> property.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bin — npm@2.12.1</p>
|
||||
<p id="footer">npm-bin — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@ friendly for programmatic use.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bugs — npm@2.12.1</p>
|
||||
<p id="footer">npm-bugs — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -42,5 +42,5 @@ incrementation.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-cache — npm@2.12.1</p>
|
||||
<p id="footer">npm-cache — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -36,5 +36,5 @@ usage, or <code>man 3 npm-<command></code> for programmatic usage.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-commands — npm@2.12.1</p>
|
||||
<p id="footer">npm-commands — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -57,5 +57,5 @@ functions instead.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-config — npm@2.12.1</p>
|
||||
<p id="footer">npm-config — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -47,5 +47,5 @@ a deprecation warning to all who attempt to install it.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-deprecate — npm@2.12.1</p>
|
||||
<p id="footer">npm-deprecate — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@ friendly for programmatic use.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-docs — npm@2.12.1</p>
|
||||
<p id="footer">npm-docs — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -36,5 +36,5 @@ and how this is used.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-edit — npm@2.12.1</p>
|
||||
<p id="footer">npm-edit — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -31,5 +31,5 @@ sure to use <code>npm rebuild <pkg></code> if you make any changes.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-explore — npm@2.12.1</p>
|
||||
<p id="footer">npm-explore — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -44,5 +44,5 @@ Name of the file that matched</li>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-help-search — npm@2.12.1</p>
|
||||
<p id="footer">npm-help-search — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -39,5 +39,5 @@ then go ahead and use this programmatically.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-init — npm@2.12.1</p>
|
||||
<p id="footer">npm-init — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -32,5 +32,5 @@ installed or when an error has been encountered.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-install — npm@2.12.1</p>
|
||||
<p id="footer">npm-install — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -42,5 +42,5 @@ the package in the current working directory</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-link — npm@2.12.1</p>
|
||||
<p id="footer">npm-link — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -37,5 +37,5 @@ config object.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-load — npm@2.12.1</p>
|
||||
<p id="footer">npm-load — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -63,5 +63,5 @@ dependency will only be output once.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-ls — npm@2.12.1</p>
|
||||
<p id="footer">npm-ls — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -28,5 +28,5 @@ currently outdated.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-outdated — npm@2.12.1</p>
|
||||
<p id="footer">npm-outdated — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -47,5 +47,5 @@ that is not implemented at this time.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-owner — npm@2.12.1</p>
|
||||
<p id="footer">npm-owner — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@ overwritten the second time.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-pack — npm@2.12.1</p>
|
||||
<p id="footer">npm-pack — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prefix — npm@2.12.1</p>
|
||||
<p id="footer">npm-prefix — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -30,5 +30,5 @@ package's dependencies list.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prune — npm@2.12.1</p>
|
||||
<p id="footer">npm-prune — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -46,5 +46,5 @@ the registry. Overwrites when the "force" environment variable is set
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-publish — npm@2.12.1</p>
|
||||
<p id="footer">npm-publish — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -30,5 +30,5 @@ the new binary. If no 'packages' parameter is specify, every package wil
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-rebuild — npm@2.12.1</p>
|
||||
<p id="footer">npm-rebuild — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@ friendly for programmatic use.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-repo — npm@2.12.1</p>
|
||||
<p id="footer">npm-repo — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -52,5 +52,5 @@ behavior will be accompanied by an increase in major version number</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-restart — npm@2.12.1</p>
|
||||
<p id="footer">npm-restart — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-root — npm@2.12.1</p>
|
||||
<p id="footer">npm-root — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -41,5 +41,5 @@ assumed to be the command to run. All other elements are ignored.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-run-script — npm@2.12.1</p>
|
||||
<p id="footer">npm-run-script — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -53,5 +53,5 @@ like).</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-search — npm@2.12.1</p>
|
||||
<p id="footer">npm-search — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@ been saved.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.12.1</p>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -28,5 +28,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-start — npm@2.12.1</p>
|
||||
<p id="footer">npm-start — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -28,5 +28,5 @@ in the <code>packages</code> parameter.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-stop — npm@2.12.1</p>
|
||||
<p id="footer">npm-stop — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<title>npm-submodule</title>
|
||||
<meta http-equiv="content-type" value="text/html;utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../static/style.css">
|
||||
<link rel="canonical" href="https://www.npmjs.org/doc/api/npm-submodule.html">
|
||||
<script async=true src="../../static/toc.js"></script>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="../api/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>npm.commands.submodule(packages, callback)
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>For each package specified, npm will check if it has a git repository url
|
||||
in its package.json description then add it as a git submodule at
|
||||
<code>node_modules/<pkg name></code>.</p>
|
||||
<p>This is a convenience only. From then on, it's up to you to manage
|
||||
updates by using the appropriate git commands. npm will stubbornly
|
||||
refuse to update, modify, or remove anything with a <code>.git</code> subfolder
|
||||
in it.</p>
|
||||
<p>This command also does not install missing dependencies, if the package
|
||||
does not include them in its git repository. If <code>npm ls</code> reports that
|
||||
things are missing, you can either install, link, or submodule them yourself,
|
||||
or you can do <code>npm explore <pkgname> -- npm install</code> to install the
|
||||
dependencies into the submodule folder.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li>npm help json</li>
|
||||
<li>git help submodule</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
|
||||
<tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18> </td></tr>
|
||||
<tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td colspan=6 style="width:60px;height:10px;background:#fff"> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td></tr>
|
||||
<tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2> </td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td></tr>
|
||||
<tr><td style="width:10px;height:10px;background:#fff" rowspan=2> </td></tr>
|
||||
<tr><td style="width:10px;height:10px;background:#fff"> </td></tr>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-submodule — npm@1.4.28</p>
|
|
@ -36,5 +36,5 @@ used. For more information about how to set this config, check
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-tag — npm@2.12.1</p>
|
||||
<p id="footer">npm-tag — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -30,5 +30,5 @@ in the <code>packages</code> parameter.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-test — npm@2.12.1</p>
|
||||
<p id="footer">npm-test — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -30,5 +30,5 @@ uninstalled or when an error has been encountered.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-uninstall — npm@2.12.1</p>
|
||||
<p id="footer">npm-uninstall — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@ the root package entry is removed from the registry entirely.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-unpublish — npm@2.12.1</p>
|
||||
<p id="footer">npm-unpublish — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@ parameter will be called when done or when an error occurs.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-update — npm@2.12.1</p>
|
||||
<p id="footer">npm-update — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -32,5 +32,5 @@ not have exactly one element. The only element should be a version number.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-version — npm@2.12.1</p>
|
||||
<p id="footer">npm-version — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -81,5 +81,5 @@ the field name.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-view — npm@2.12.1</p>
|
||||
<p id="footer">npm-view — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -29,5 +29,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-whoami — npm@2.12.1</p>
|
||||
<p id="footer">npm-whoami — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ npm.load([configObject, ]function (er, npm) {
|
|||
npm.commands.install(["package"], cb)
|
||||
})
|
||||
</code></pre><h2 id="version">VERSION</h2>
|
||||
<p>2.12.1</p>
|
||||
<p>2.13.0</p>
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
<p>This is the API documentation for npm.
|
||||
To find documentation of the command line
|
||||
|
@ -109,5 +109,5 @@ method names. Use the <code>npm.deref</code> method to find the real name.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm — npm@2.12.1</p>
|
||||
<p id="footer">npm — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -75,5 +75,5 @@ with an HTTP 402 status code (logically enough), unless you use
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-access — npm@2.12.1</p>
|
||||
<p id="footer">npm-access — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -68,5 +68,5 @@ precedence over any global configuration.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-adduser — npm@2.12.1</p>
|
||||
<p id="footer">npm-adduser — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bin — npm@2.12.1</p>
|
||||
<p id="footer">npm-bin — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -54,5 +54,5 @@ a <code>package.json</code> in the current folder and use the <code>name</code>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bugs — npm@2.12.1</p>
|
||||
<p id="footer">npm-bugs — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -40,5 +40,5 @@ directly, run:</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-build — npm@2.12.1</p>
|
||||
<p id="footer">npm-build — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -31,5 +31,5 @@ install packages into the local space.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-bundle — npm@2.12.1</p>
|
||||
<p id="footer">npm-bundle — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -81,5 +81,5 @@ they do not make an HTTP request to the registry.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-cache — npm@2.12.1</p>
|
||||
<p id="footer">npm-cache — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -42,5 +42,5 @@ completions based on the arguments.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-completion — npm@2.12.1</p>
|
||||
<p id="footer">npm-completion — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -66,5 +66,5 @@ global config.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-config — npm@2.12.1</p>
|
||||
<p id="footer">npm-config — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -63,5 +63,5 @@ versions.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-dedupe — npm@2.12.1</p>
|
||||
<p id="footer">npm-dedupe — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -38,5 +38,5 @@ something like this:</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-deprecate — npm@2.12.1</p>
|
||||
<p id="footer">npm-deprecate — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -77,5 +77,5 @@ begin with a number or the letter <code>v</code>.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-dist-tag — npm@2.12.1</p>
|
||||
<p id="footer">npm-dist-tag — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -56,5 +56,5 @@ the current folder and use the <code>name</code> property.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-docs — npm@2.12.1</p>
|
||||
<p id="footer">npm-docs — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -49,5 +49,5 @@ or <code>"notepad"</code> on Windows.</li>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-edit — npm@2.12.1</p>
|
||||
<p id="footer">npm-edit — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -49,5 +49,5 @@ Windows</li>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-explore — npm@2.12.1</p>
|
||||
<p id="footer">npm-explore — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -46,5 +46,5 @@ where the terms were found in the documentation.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-help-search — npm@2.12.1</p>
|
||||
<p id="footer">npm-help-search — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -52,5 +52,5 @@ matches are equivalent to specifying a topic name.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-help — npm@2.12.1</p>
|
||||
<p id="footer">npm-help — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -48,5 +48,5 @@ defaults and not prompt you for any options.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-init — npm@2.12.1</p>
|
||||
<p id="footer">npm-init — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -277,5 +277,5 @@ affects a real use-case, it will be investigated.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-install — npm@2.12.1</p>
|
||||
<p id="footer">npm-install — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -72,5 +72,5 @@ include that scope, e.g.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-link — npm@2.12.1</p>
|
||||
<p id="footer">npm-link — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -55,5 +55,5 @@ that registry at the same time.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-logout — npm@2.12.1</p>
|
||||
<p id="footer">npm-logout — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ installed, as well as their dependencies, in a tree-structure.</p>
|
|||
limit the results to only the paths to the packages named. Note that
|
||||
nested packages will <em>also</em> show the paths to the specified packages.
|
||||
For example, running <code>npm ls promzard</code> in npm's source tree will show:</p>
|
||||
<pre><code>npm@2.12.1 /path/to/npm
|
||||
<pre><code>npm@2.13.0 /path/to/npm
|
||||
└─┬ init-package-json@0.0.4
|
||||
└── promzard@0.1.5
|
||||
</code></pre><p>It will print out extraneous, missing, and invalid packages.</p>
|
||||
|
@ -97,5 +97,5 @@ project.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-ls — npm@2.12.1</p>
|
||||
<p id="footer">npm-ls — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -67,5 +67,5 @@ project.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-outdated — npm@2.12.1</p>
|
||||
<p id="footer">npm-outdated — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -49,5 +49,5 @@ that is not implemented at this time.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-owner — npm@2.12.1</p>
|
||||
<p id="footer">npm-owner — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -41,5 +41,5 @@ overwritten the second time.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-pack — npm@2.12.1</p>
|
||||
<p id="footer">npm-pack — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -38,5 +38,5 @@ to contain a package.json file unless <code>-g</code> is also specified.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prefix — npm@2.12.1</p>
|
||||
<p id="footer">npm-prefix — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -41,5 +41,5 @@ negate <code>NODE_ENV</code> being set to <code>production</code>.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-prune — npm@2.12.1</p>
|
||||
<p id="footer">npm-prune — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -66,5 +66,5 @@ it is removed with <a href="../cli/npm-unpublish.html"><a href="../cli/npm-unpub
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-publish — npm@2.12.1</p>
|
||||
<p id="footer">npm-publish — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -38,5 +38,5 @@ the new binary.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-rebuild — npm@2.12.1</p>
|
||||
<p id="footer">npm-rebuild — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -42,5 +42,5 @@ a <code>package.json</code> in the current folder and use the <code>name</code>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-repo — npm@2.12.1</p>
|
||||
<p id="footer">npm-repo — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -53,5 +53,5 @@ behavior will be accompanied by an increase in major version number</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-restart — npm@2.12.1</p>
|
||||
<p id="footer">npm-restart — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -39,5 +39,5 @@ on its behalf.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-rm — npm@2.12.1</p>
|
||||
<p id="footer">npm-rm — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -35,5 +35,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-root — npm@2.12.1</p>
|
||||
<p id="footer">npm-root — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -56,5 +56,5 @@ you should write <code>"scripts": {"test": "tap test/\*
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-run-script — npm@2.12.1</p>
|
||||
<p id="footer">npm-run-script — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -49,5 +49,5 @@ fall on multiple lines.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-search — npm@2.12.1</p>
|
||||
<p id="footer">npm-search — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -164,5 +164,5 @@ contents rather than versions.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.12.1</p>
|
||||
<p id="footer">npm-shrinkwrap — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -36,5 +36,5 @@ a vaguely positive way to show that you care.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-star — npm@2.12.1</p>
|
||||
<p id="footer">npm-star — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -37,5 +37,5 @@ you will most certainly enjoy this command.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-stars — npm@2.12.1</p>
|
||||
<p id="footer">npm-stars — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -34,5 +34,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-start — npm@2.12.1</p>
|
||||
<p id="footer">npm-start — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -34,5 +34,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-stop — npm@2.12.1</p>
|
||||
<p id="footer">npm-stop — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -0,0 +1,45 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<title>npm-submodule</title>
|
||||
<meta http-equiv="content-type" value="text/html;utf-8">
|
||||
<link rel="stylesheet" type="text/css" href="../../static/style.css">
|
||||
<link rel="canonical" href="https://www.npmjs.org/doc/cli/npm-submodule.html">
|
||||
<script async=true src="../../static/toc.js"></script>
|
||||
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
|
||||
<h1><a href="../cli/npm-submodule.html">npm-submodule</a></h1> <p>Add a package as a git submodule</p>
|
||||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>npm submodule <pkg>
|
||||
</code></pre><h2 id="description">DESCRIPTION</h2>
|
||||
<p>If the specified package has a git repository url in its package.json
|
||||
description, then this command will add it as a git submodule at
|
||||
<code>node_modules/<pkg name></code>.</p>
|
||||
<p>This is a convenience only. From then on, it's up to you to manage
|
||||
updates by using the appropriate git commands. npm will stubbornly
|
||||
refuse to update, modify, or remove anything with a <code>.git</code> subfolder
|
||||
in it.</p>
|
||||
<p>This command also does not install missing dependencies, if the package
|
||||
does not include them in its git repository. If <code>npm ls</code> reports that
|
||||
things are missing, you can either install, link, or submodule them yourself,
|
||||
or you can do <code>npm explore <pkgname> -- npm install</code> to install the
|
||||
dependencies into the submodule folder.</p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../files/package.json.html">package.json(5)</a></li>
|
||||
<li>git help submodule</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
|
||||
<tr><td style="width:180px;height:10px;background:rgb(237,127,127)" colspan=18> </td></tr>
|
||||
<tr><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td><td style="width:40px;height:10px;background:#fff" colspan=4> </td><td rowspan=4 style="width:10px;height:10px;background:rgb(237,127,127)"> </td><td colspan=6 style="width:60px;height:10px;background:#fff"> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=4> </td></tr>
|
||||
<tr><td colspan=2 style="width:20px;height:30px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=4 colspan=2> </td><td style="width:10px;height:20px;background:rgb(237,127,127)" rowspan=2> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:20px;height:10px;background:#fff" rowspan=3 colspan=2> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td><td style="width:10px;height:10px;background:#fff" rowspan=3> </td><td style="width:10px;height:10px;background:rgb(237,127,127)" rowspan=3> </td></tr>
|
||||
<tr><td style="width:10px;height:10px;background:#fff" rowspan=2> </td></tr>
|
||||
<tr><td style="width:10px;height:10px;background:#fff"> </td></tr>
|
||||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-submodule — npm@1.4.28</p>
|
|
@ -62,5 +62,5 @@ that do not begin with a number or the letter <code>v</code>.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-tag — npm@2.12.1</p>
|
||||
<p id="footer">npm-tag — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -37,5 +37,5 @@ true.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-test — npm@2.12.1</p>
|
||||
<p id="footer">npm-test — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -57,5 +57,5 @@ npm uninstall dtrace-provider --save-optional
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-uninstall — npm@2.12.1</p>
|
||||
<p id="footer">npm-uninstall — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -47,5 +47,5 @@ package again, a new version number must be used.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-unpublish — npm@2.12.1</p>
|
||||
<p id="footer">npm-unpublish — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -119,5 +119,5 @@ be <em>downgraded</em>.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-update — npm@2.12.1</p>
|
||||
<p id="footer">npm-update — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -19,10 +19,11 @@ data back to <code>package.json</code> and, if present, <code>npm-shrinkwrap.jso
|
|||
valid second argument to semver.inc (one of <code>patch</code>, <code>minor</code>, <code>major</code>,
|
||||
<code>prepatch</code>, <code>preminor</code>, <code>premajor</code>, <code>prerelease</code>). In the second case,
|
||||
the existing version will be incremented by 1 in the specified field.</p>
|
||||
<p>If run in a git repo, it will also create a version commit and tag, and fail if
|
||||
the repo is not clean. This behavior is controlled by <code>git-tag-version</code> (see
|
||||
below), and can be disabled on the command line by running <code>npm
|
||||
--no-git-tag-version version</code></p>
|
||||
<p>If run in a git repo, it will also create a version commit and tag.
|
||||
This behavior is controlled by <code>git-tag-version</code> (see below), and can
|
||||
be disabled on the command line by running <code>npm --no-git-tag-version version</code>.
|
||||
It will fail if the working directory is not clean, unless the <code>--force</code>
|
||||
flag is set.</p>
|
||||
<p>If supplied with <code>--message</code> (shorthand: <code>-m</code>) config option, npm will
|
||||
use it as a commit message when creating a version commit. If the
|
||||
<code>message</code> config contains <code>%s</code> then that will be replaced with the
|
||||
|
@ -40,12 +41,33 @@ user: "isaacs (http://blog.izs.me/) <i@izs.me>"
|
|||
|
||||
Enter passphrase:
|
||||
</code></pre><p>If <code>preversion</code>, <code>version</code>, or <code>postversion</code> are in the <code>scripts</code> property of
|
||||
the package.json, they will be executed as part of running <code>npm version</code>.
|
||||
<code>preversion</code> and <code>version</code> are executed before bumping the package version, and
|
||||
<code>postversion</code> is executed afterwards. For example, to run <code>npm version</code> only if
|
||||
all tests pass:</p>
|
||||
<pre><code>"scripts": { "preversion": "npm test" }
|
||||
</code></pre><h2 id="configuration">CONFIGURATION</h2>
|
||||
the package.json, they will be executed as part of running <code>npm version</code>.</p>
|
||||
<p>The exact order of execution is as follows:</p>
|
||||
<ol>
|
||||
<li>Check to make sure the git working directory is clean before we get started.
|
||||
Your scripts may add files to the commit in future steps.
|
||||
This step is skipped if the <code>--force</code> flag is set.</li>
|
||||
<li>Run the <code>preversion</code> script. These scripts have access to the old <code>version</code> in package.json.
|
||||
A typical use would be running your full test suite before deploying.
|
||||
Any files you want added to the commit should be explicitly added using <code>git add</code>.</li>
|
||||
<li>Bump <code>version</code> in <code>package.json</code> as requested (<code>patch</code>, <code>minor</code>, <code>major</code>, etc). </li>
|
||||
<li>Run the <code>version</code> script. These scripts have access to the new <code>version</code> in package.json
|
||||
(so they can incorporate it into file headers in generated files for example).
|
||||
Again, scripts should explicitly add generated files to the commit using <code>git add</code>.</li>
|
||||
<li>Commit and tag.</li>
|
||||
<li>Run the <code>postversion</code> script. Use it to clean up the file system or automatically push
|
||||
the commit and/or tag.</li>
|
||||
</ol>
|
||||
<p>Take the following example:</p>
|
||||
<pre><code>"scripts": {
|
||||
"preversion": "npm test",
|
||||
"version": "npm run build && git add -A dist",
|
||||
"postversion": "git push && git push --tags && rm -rf build/temp"
|
||||
}
|
||||
</code></pre><p>This runs all your tests, and proceeds only if they pass. Then runs your <code>build</code> script, and
|
||||
adds everything in the <code>dist</code> directory to the commit. After the commit, it pushes the new commit
|
||||
and tag up to the server, and deletes the <code>build/temp</code> directory.</p>
|
||||
<h2 id="configuration">CONFIGURATION</h2>
|
||||
<h3 id="git-tag-version">git-tag-version</h3>
|
||||
<ul>
|
||||
<li>Default: true</li>
|
||||
|
@ -73,5 +95,5 @@ all tests pass:</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-version — npm@2.12.1</p>
|
||||
<p id="footer">npm-version — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -82,5 +82,5 @@ the field name.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-view — npm@2.12.1</p>
|
||||
<p id="footer">npm-view — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -33,5 +33,5 @@
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-whoami — npm@2.12.1</p>
|
||||
<p id="footer">npm-whoami — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<h2 id="synopsis">SYNOPSIS</h2>
|
||||
<pre><code>npm <command> [args]
|
||||
</code></pre><h2 id="version">VERSION</h2>
|
||||
<p>2.12.1</p>
|
||||
<p>2.13.0</p>
|
||||
<h2 id="description">DESCRIPTION</h2>
|
||||
<p>npm is the package manager for the Node JavaScript platform. It puts
|
||||
modules in place so that node can find them, and manages dependency
|
||||
|
@ -110,7 +110,7 @@ easily by doing <code>npm view npm contributors</code>.</p>
|
|||
the issues list or ask on the mailing list.</p>
|
||||
<ul>
|
||||
<li><a href="http://github.com/npm/npm/issues">http://github.com/npm/npm/issues</a></li>
|
||||
<li><a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li>
|
||||
<li><a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li>
|
||||
</ul>
|
||||
<h2 id="bugs">BUGS</h2>
|
||||
<p>When you find issues, please report them:</p>
|
||||
|
@ -118,7 +118,7 @@ the issues list or ask on the mailing list.</p>
|
|||
<li>web:
|
||||
<a href="http://github.com/npm/npm/issues">http://github.com/npm/npm/issues</a></li>
|
||||
<li>email:
|
||||
<a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li>
|
||||
<a href="mailto:npm-@googlegroups.com">npm-@googlegroups.com</a></li>
|
||||
</ul>
|
||||
<p>Be sure to include <em>all</em> of the output from the npm command that didn't work
|
||||
as expected. The <code>npm-debug.log</code> file is also helpful to provide.</p>
|
||||
|
@ -128,7 +128,7 @@ will no doubt tell you to put the output in a gist or email.</p>
|
|||
<p><a href="http://blog.izs.me/">Isaac Z. Schlueter</a> ::
|
||||
<a href="https://github.com/isaacs/">isaacs</a> ::
|
||||
<a href="http://twitter.com/izs">@izs</a> ::
|
||||
<a href="mailto:i@izs.me">i@izs.me</a></p>
|
||||
<a href="mailto:i@izs.me">i@izs.me</a></p>
|
||||
<h2 id="see-also">SEE ALSO</h2>
|
||||
<ul>
|
||||
<li><a href="../cli/npm-help.html"><a href="../cli/npm-help.html">npm-help(1)</a></a></li>
|
||||
|
@ -154,5 +154,5 @@ will no doubt tell you to put the output in a gist or email.</p>
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm — npm@2.12.1</p>
|
||||
<p id="footer">npm — npm@2.13.0</p>
|
||||
|
||||
|
|
|
@ -184,5 +184,5 @@ cannot be found elsewhere. See <code><a href="../files/package.json.html"><a hr
|
|||
<tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr>
|
||||
<tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr>
|
||||
</table>
|
||||
<p id="footer">npm-folders — npm@2.12.1</p>
|
||||
<p id="footer">npm-folders — npm@2.13.0</p>
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче