Skip to content

Commit 6324370

Browse files
authored
docs: fix spelling (#8616)
1 parent f6028e6 commit 6324370

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/lib/content/commands/npm-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Publish token npm_… with id e0cf92 created 2017-10-02
3434
your password, and, if you have two-factor authentication enabled, an
3535
otp.
3636

37-
Currently, the cli can not generate automation tokens. Please refer to
37+
Currently, the cli cannot generate automation tokens. Please refer to
3838
the [docs
3939
website](https://docs.npmjs.com/creating-and-viewing-access-tokens)
4040
for more information on generating automation tokens.

docs/lib/content/commands/npm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ npm is extremely configurable. It reads its configuration options from
132132
npm's default configuration options are defined in
133133
`lib/utils/config/definitions.js`. These must not be changed.
134134

135-
See [`config`](/using-npm/config) for much much more information.
135+
See [`config`](/using-npm/config) for much, much, more information.
136136

137137
### Contributions
138138

docs/lib/content/configuring-npm/package-json.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ the `files` globs. Exceptions to this are:
337337
* `yarn.lock`
338338
* `bun.lockb`
339339

340-
These can not be included.
340+
These cannot be included.
341341

342342
### exports
343343

@@ -420,7 +420,7 @@ would be the same as this:
420420
```
421421

422422
Please make sure that your file(s) referenced in `bin` starts with
423-
`#!/usr/bin/env node`, otherwise the scripts are started without the node
423+
`#!/usr/bin/env node`; otherwise, the scripts are started without the node
424424
executable!
425425

426426
Note that you can also set the executable files using [directories.bin](#directoriesbin).

docs/lib/content/using-npm/dependency-selectors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ The generic `:attr()` pseudo selector standardizes a pattern which can be used f
145145
Nested objects are expressed as sequential arguments to `:attr()`.
146146

147147
```css
148-
/* return dependencies that have a testling config for opera browsers */
148+
/* return dependencies that have a [testling config](https://ci.testling.com/guide/advanced_configuration) for opera browsers */
149149
*:attr(testling, browsers, [~=opera])
150150
```
151151

docs/lib/content/using-npm/developers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ More info at [`npm link`](/commands/npm-link).
170170

171171
**This is important.**
172172

173-
If you can not install it locally, you'll have
173+
If you cannot install it locally, you'll have
174174
problems trying to publish it. Or, worse yet, you'll be able to
175175
publish it, but you'll be publishing a broken or pointless package.
176176
So don't do that.

docs/lib/content/using-npm/scripts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ linked packages)
172172

173173
#### [`npm restart`](/commands/npm-restart)
174174

175-
If there is a `restart` script defined, these events are run, otherwise
175+
If there is a `restart` script defined, these events are run; otherwise,
176176
`stop` and `start` are both run if present, including their `pre` and
177177
`post` iterations)
178178

docs/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const getCommandByDoc = (docFile, docExt) => {
3838

3939
// special case for `npx`:
4040
// `npx` is not technically a command in and of itself,
41-
// so it just needs the usage of npm exex
41+
// so it just needs the usage of npm exec
4242
const srcName = name === 'npx' ? 'exec' : name
4343
const { params, usage = [''], workspaces } = require(`../../lib/commands/${srcName}`)
4444
const usagePrefix = name === 'npx' ? 'npx' : `npm ${name}`

0 commit comments

Comments
 (0)