Skip to content

Commit ca03013

Browse files
Mstrodlzkat
authored andcommitted
docs: fix some typos in file-specifiers spec (#15)
PR-URL: #15 Credit: @Mstrodl Reviewed-By: @zkat
1 parent 0658087 commit ca03013

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/spec/file-specifiers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ URLs and URL-like strings for other types.
1414
slashes on a file specifier will be removed, that is 'file://../foo/bar`
1515
references the same package as same as `file:../foo/bar`. The latter is
1616
considered canonical.
17-
* Attempting to install a specifer that has a windows drive letter will
17+
* Attempting to install a specifier that has a windows drive letter will
1818
produce an error on non-Windows systems.
1919
* A valid `file:` specifier points is:
2020
* a valid package file. That is, a `.tar`, `.tar.gz` or `.tgz` containing
@@ -64,7 +64,7 @@ down the destination package's `node_modules` you should create a shrinkwrap for
6464
separately.
6565

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

@@ -75,7 +75,7 @@ shrinkwrapped packages.
7575

7676
#### File type specifiers pointing at tarballs
7777

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

0 commit comments

Comments
 (0)