Skip to content

Commit

Permalink
docs: correct links
Browse files Browse the repository at this point in the history
Update links to reflect where the pages actually are.
  • Loading branch information
ethomson authored and isaacs committed Oct 23, 2020
1 parent df1351a commit 362975f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/content/commands/npm-link.md
Expand Up @@ -29,7 +29,7 @@ of the current folder.
Note that `package-name` is taken from `package.json`,
not from directory name.

The package name can be optionally prefixed with a scope. See [`scope`](/using-npm/npm-scope).
The package name can be optionally prefixed with a scope. See [`scope`](/using-npm/scope).
The scope must be preceded by an @-symbol and followed by a slash.

When creating tarballs for `npm publish`, the linked packages are
Expand Down Expand Up @@ -72,7 +72,7 @@ installation target into your project's `node_modules` folder.
Note that in this case, you are referring to the directory name, `node-redis`,
rather than the package name `redis`.

If your linked package is scoped (see [`scope`](/using-npm/npm-scope)) your link command must include that scope, e.g.
If your linked package is scoped (see [`scope`](/using-npm/scope)) your link command must include that scope, e.g.

```bash
npm link @myorg/privatepackage
Expand Down
2 changes: 1 addition & 1 deletion docs/content/commands/npm-logout.md
Expand Up @@ -36,7 +36,7 @@ it takes precedence.

Default: The scope of your current project, if any, otherwise none.

If specified, you will be logged out of the specified scope. See [`scope`](/using-npm/npm-scope).
If specified, you will be logged out of the specified scope. See [`scope`](/using-npm/scope).

```bash
npm logout --scope=@myco
Expand Down
2 changes: 1 addition & 1 deletion docs/content/commands/npm-publish.md
Expand Up @@ -22,7 +22,7 @@ files in the package directory are included if no local `.gitignore` or
[`developers`](/using-npm/developers) for full details on what's included in the published package, as well as details on how the package is built.
By default npm will publish to the public registry. This can be overridden by
specifying a different default registry or using a [`scope`](/using-npm/npm-scope) in the name (see [`package.json`](/configuring-npm/package-json)).
specifying a different default registry or using a [`scope`](/using-npm/scope) in the name (see [`package.json`](/configuring-npm/package-json)).
* `<folder>`:
A folder containing a package.json file
Expand Down
2 changes: 1 addition & 1 deletion docs/content/commands/npm.md
Expand Up @@ -85,7 +85,7 @@ If you're using npm to develop and publish your code, check out the
following help topics:

* json:
Make a package.json file. See [`package.json`](/configuring-npm/package.json).
Make a package.json file. See [`package.json`](/configuring-npm/package-json).
* link:
For linking your current working code into Node's path, so that you
don't have to reinstall every time you make a change. Use
Expand Down

0 comments on commit 362975f

Please sign in to comment.