From f8cad318b1e62f8edd8dc80fd306e268b1c4f51d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 30 Sep 2025 08:25:02 -0400 Subject: [PATCH 1/5] docs: Add link for testling config Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/lib/content/using-npm/dependency-selectors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lib/content/using-npm/dependency-selectors.md b/docs/lib/content/using-npm/dependency-selectors.md index 5f7e27ad21848..2ae7efc061086 100644 --- a/docs/lib/content/using-npm/dependency-selectors.md +++ b/docs/lib/content/using-npm/dependency-selectors.md @@ -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]) ``` From 56b5e67c32c66ebf8a19e7d4b2f33df44700ea29 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sat, 27 Sep 2025 20:27:16 -0400 Subject: [PATCH 2/5] chore: Improve grammar: `; otherwise,` Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/lib/content/configuring-npm/package-json.md | 2 +- docs/lib/content/using-npm/scripts.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/lib/content/configuring-npm/package-json.md b/docs/lib/content/configuring-npm/package-json.md index a6ae0f0163d50..7f38a0763ac4b 100644 --- a/docs/lib/content/configuring-npm/package-json.md +++ b/docs/lib/content/configuring-npm/package-json.md @@ -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). diff --git a/docs/lib/content/using-npm/scripts.md b/docs/lib/content/using-npm/scripts.md index 206832104ece6..3e71262e1bff5 100644 --- a/docs/lib/content/using-npm/scripts.md +++ b/docs/lib/content/using-npm/scripts.md @@ -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) From 6279b0e93a0c819d344962dac13e46476c8c2c7c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sat, 27 Sep 2025 20:52:01 -0400 Subject: [PATCH 3/5] chore: fix spelling: cannot Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/lib/content/commands/npm-token.md | 2 +- docs/lib/content/configuring-npm/package-json.md | 2 +- docs/lib/content/using-npm/developers.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/lib/content/commands/npm-token.md b/docs/lib/content/commands/npm-token.md index d4d9d6bd83cce..a7df196285ea5 100644 --- a/docs/lib/content/commands/npm-token.md +++ b/docs/lib/content/commands/npm-token.md @@ -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. diff --git a/docs/lib/content/configuring-npm/package-json.md b/docs/lib/content/configuring-npm/package-json.md index 7f38a0763ac4b..e27a3c4b0efd9 100644 --- a/docs/lib/content/configuring-npm/package-json.md +++ b/docs/lib/content/configuring-npm/package-json.md @@ -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 diff --git a/docs/lib/content/using-npm/developers.md b/docs/lib/content/using-npm/developers.md index 0d1096203fc36..b8c0b8d96dca7 100644 --- a/docs/lib/content/using-npm/developers.md +++ b/docs/lib/content/using-npm/developers.md @@ -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. From 3a5880b0f64776d32decd372a4bbe537421726c2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sat, 27 Sep 2025 22:46:54 -0400 Subject: [PATCH 4/5] chore: fix spelling: exec Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lib/index.js b/docs/lib/index.js index b88d20cca3558..5e40f48882cad 100644 --- a/docs/lib/index.js +++ b/docs/lib/index.js @@ -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}` From ab520ea6b26e916348d656906c8a26fe525a07f8 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Sat, 27 Sep 2025 20:48:29 -0400 Subject: [PATCH 5/5] chore: fix grammar: much, much, Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- docs/lib/content/commands/npm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/lib/content/commands/npm.md b/docs/lib/content/commands/npm.md index 5dac1b24bf66c..16eda6968b8e6 100644 --- a/docs/lib/content/commands/npm.md +++ b/docs/lib/content/commands/npm.md @@ -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