From a54f1f7dcf572f0c863668dbe4fe658350d2aca9 Mon Sep 17 00:00:00 2001 From: relrelb Date: Tue, 13 Jul 2021 22:17:31 +0300 Subject: [PATCH] fix(docs): correct Node.js JavaScript stylings * nodejs -> Node.js * javascript -> JavaScript PR-URL: https://github.com/npm/cli/pull/3542 Credit: @relrelb Close: #3542 Reviewed-by: @wraithgar --- docs/content/using-npm/scripts.md | 4 ++-- docs/content/using-npm/workspaces.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md index 8df9660ca8f4c..f8e32c2a2b9be 100644 --- a/docs/content/using-npm/scripts.md +++ b/docs/content/using-npm/scripts.md @@ -303,8 +303,8 @@ Scripts are run by passing the line as a script argument to `sh`. If the script exits with a code other than 0, then this will abort the process. -Note that these script files don't have to be nodejs or even -javascript programs. They just have to be some kind of executable +Note that these script files don't have to be Node.js or even +JavaScript programs. They just have to be some kind of executable file. ### Best Practices diff --git a/docs/content/using-npm/workspaces.md b/docs/content/using-npm/workspaces.md index 829168864abe4..7cc125b3c7a7c 100644 --- a/docs/content/using-npm/workspaces.md +++ b/docs/content/using-npm/workspaces.md @@ -37,7 +37,7 @@ Workspaces are usually defined via the `workspaces` property of the Given the above `package.json` example living at a current working directory `.` that contains a folder named `workspace-a` that itself contains -a `package.json` inside it, defining a nodejs package, e.g: +a `package.json` inside it, defining a Node.js package, e.g: ``` .