Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLars Willighagen <lars.willighagen@gmail.com>2018-11-26 19:03:27 +0300
committerKat Marchán <kzm@zkat.tech>2018-11-26 19:03:27 +0300
commita34246bafe73218dc9e3090df9ee800451db2c7d (patch)
tree52b057a5ed39d49bcbb34fb90e098e6265895ab7 /doc
parent8a6ecc7936dae2f51638397ff5a1d35cccda5495 (diff)
edit: scoped packages (#75)
* edit: fix handling of scoped packages * edit: fix usage info * docs: fix docs for the npm-edit command PR-URL: https://github.com/npm/cli/pull/75 Credit: @larsgw Reviewed-By: @iarna
Diffstat (limited to 'doc')
-rw-r--r--doc/cli/npm-edit.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/cli/npm-edit.md b/doc/cli/npm-edit.md
index 89ecfa877..f9913a015 100644
--- a/doc/cli/npm-edit.md
+++ b/doc/cli/npm-edit.md
@@ -3,12 +3,14 @@ npm-edit(1) -- Edit an installed package
## SYNOPSIS
- npm edit <pkg>[@<version>]
+ npm edit <pkg>[/<subpkg>...]
## DESCRIPTION
-Opens the package folder in the default editor (or whatever you've
-configured as the npm `editor` config -- see `npm-config(7)`.)
+Selects a (sub)dependency in the current
+working directory and opens the package folder in the default editor
+(or whatever you've configured as the npm `editor` config -- see
+`npm-config(7)`.)
After it has been edited, the package is rebuilt so as to pick up any
changes in compiled packages.