Skip to content

Commit

Permalink
docs: fix some typos in file-specifiers spec (#15)
Browse files Browse the repository at this point in the history
PR-URL: #15
Credit: @Mstrodl
Reviewed-By: @zkat
  • Loading branch information
Mstrodl authored and zkat committed Jul 18, 2018
1 parent 0658087 commit ca03013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/spec/file-specifiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ URLs and URL-like strings for other types.
slashes on a file specifier will be removed, that is 'file://../foo/bar`
references the same package as same as `file:../foo/bar`. The latter is
considered canonical.
* Attempting to install a specifer that has a windows drive letter will
* Attempting to install a specifier that has a windows drive letter will
produce an error on non-Windows systems.
* A valid `file:` specifier points is:
* a valid package file. That is, a `.tar`, `.tar.gz` or `.tgz` containing
Expand Down Expand Up @@ -64,7 +64,7 @@ down the destination package's `node_modules` you should create a shrinkwrap for
separately.

This is necessary to support the mono repo use case where many projects file
to the same package. If each project included its own npm-shrinkwrap.json
to the same package. If each project included its own `npm-shrinkwrap.json`
then they would each have their own distinct set of transitive dependencies
and they'd step on each other any time you ran an install in one or the other.

Expand All @@ -75,7 +75,7 @@ shrinkwrapped packages.

#### File type specifiers pointing at tarballs

File-type specifiers pointing at a `.tgz` or `.tar.gz or `.tar` file will
File-type specifiers pointing at a `.tgz` or `.tar.gz` or `.tar` file will
install it as a package file in the same way we would a remote tarball. The
checksum of the package file should be recorded so that we can check for updates.

Expand Down

0 comments on commit ca03013

Please sign in to comment.