diff options
author | relrelb <relrelbachar@gmail.com> | 2021-07-13 22:17:31 +0300 |
---|---|---|
committer | Gar <wraithgar@github.com> | 2021-07-13 23:07:32 +0300 |
commit | 801a52330636008fecadc812916c76fb945ce1f6 (patch) | |
tree | 371d70d718866abc1ce992e9cc95d2a709f17e87 /docs | |
parent | d8eb49b705acb50b6bed971bfcce4db6e18e73dd (diff) |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/using-npm/scripts.md | 4 | ||||
-rw-r--r-- | 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 8df9660ca..f8e32c2a2 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 829168864..7cc125b3c 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: ``` . |