Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/lib/content/commands/npm-token.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Publish token npm_… with id e0cf92 created 2017-10-02
your password, and, if you have two-factor authentication enabled, an
otp.

Currently, the cli can not generate automation tokens. Please refer to
Currently, the cli cannot generate automation tokens. Please refer to
the [docs
website](https://docs.npmjs.com/creating-and-viewing-access-tokens)
for more information on generating automation tokens.
Expand Down
2 changes: 1 addition & 1 deletion docs/lib/content/commands/npm.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ npm is extremely configurable. It reads its configuration options from
npm's default configuration options are defined in
`lib/utils/config/definitions.js`. These must not be changed.

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

### Contributions

Expand Down
4 changes: 2 additions & 2 deletions docs/lib/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ the `files` globs. Exceptions to this are:
* `yarn.lock`
* `bun.lockb`

These can not be included.
These cannot be included.

### exports

Expand Down Expand Up @@ -420,7 +420,7 @@ would be the same as this:
```

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

Note that you can also set the executable files using [directories.bin](#directoriesbin).
Expand Down
2 changes: 1 addition & 1 deletion docs/lib/content/using-npm/dependency-selectors.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ The generic `:attr()` pseudo selector standardizes a pattern which can be used f
Nested objects are expressed as sequential arguments to `:attr()`.

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

Expand Down
2 changes: 1 addition & 1 deletion docs/lib/content/using-npm/developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ More info at [`npm link`](/commands/npm-link).

**This is important.**

If you can not install it locally, you'll have
If you cannot install it locally, you'll have
problems trying to publish it. Or, worse yet, you'll be able to
publish it, but you'll be publishing a broken or pointless package.
So don't do that.
Expand Down
2 changes: 1 addition & 1 deletion docs/lib/content/using-npm/scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ linked packages)

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

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

Expand Down
2 changes: 1 addition & 1 deletion docs/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const getCommandByDoc = (docFile, docExt) => {

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