-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
120 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
layout: page | ||
title: common/npm-doctor (English) | ||
description: "Check the health of the npm environment." | ||
content_hash: 77a68c297ffb9f0d376f1cec57909a8df94bd5a9 | ||
last_modified_at: 2024-10-19 | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/npm-doctor.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># npm doctor | ||
|
||
Check the health of the npm environment. | ||
More information: <https://docs.npmjs.com/cli/commands/npm-doctor>. | ||
|
||
- Run all default health checks for npm: | ||
|
||
`npm doctor` | ||
|
||
- Check the connection to the npm registry: | ||
|
||
`npm doctor connection` | ||
|
||
- Check the versions of Node.js and npm in use: | ||
|
||
`npm doctor versions` | ||
|
||
- Check for permissions issues with npm directories and cache: | ||
|
||
`npm doctor permissions` | ||
|
||
- Validate the cached package files and checksums: | ||
|
||
`npm doctor cache` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
layout: page | ||
title: common/npm-view (English) | ||
description: "View registry information about a package." | ||
content_hash: 04d21f42ab5957a4f702585b06592927834948b3 | ||
last_modified_at: 2024-10-19 | ||
tldri18n_status: 0 | ||
--- | ||
|
||
### Outdated Translation | ||
This entry is currently considered outdated and its contents may not be up-to-date with other translations. | ||
|
||
Please considering fixing this issue by contributing to the [tldr-pages](https://github.com/tldr-pages/tldr) project directly. | ||
|
||
<a class="btn btn-primary" href="{{ site.url }}/en/common/npm-view.html">View original (English) version</a> | ||
<a class="btn" href="https://github.com/tldr-pages/tldr/blob/main/CONTRIBUTING.md">Contributing Guidelines</a> | ||
|
||
<hr># npm view | ||
|
||
View registry information about a package. | ||
More information: <https://docs.npmjs.com/cli/commands/npm-view>. | ||
|
||
- View information about the latest version of a package: | ||
|
||
`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span> | ||
|
||
- View information about a specific version of a package: | ||
|
||
`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>`@`<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">version</span> | ||
|
||
- View all available versions of a package: | ||
|
||
`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` versions` | ||
|
||
- View the description of a package: | ||
|
||
`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` description` | ||
|
||
- View the dependencies of the latest version of a package: | ||
|
||
`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` dependencies` | ||
|
||
- View the repository URL of a package: | ||
|
||
`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` repository` | ||
|
||
- View the maintainers of a package: | ||
|
||
`npm view `<span class="tldr-var badge badge-pill bg-dark-lm bg-white-dm text-white-lm text-dark-dm font-weight-bold">package</span>` maintainers` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule source
updated
4 files
+15 −15 | pages/common/ansible-galaxy.md | |
+24 −0 | pages/common/npm-doctor.md | |
+32 −0 | pages/common/npm-view.md | |
+6 −2 | pages/common/typst.md |