-
-
Couldn't load subscription status.
- Fork 4.8k
npm-profile: add page #19051
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
npm-profile: add page #19051
Conversation
|
Hello! I've noticed something unusual when checking this PR at commit
Is this intended? If so, just ignore this comment. Otherwise, please double-check the commits. |
|
The build for this PR failed with the following error(s) at commit Please fix the error(s) and push again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read the style guide why and when we put text in {{...}}.
Updated npm profile command syntax for clarity and consistency.
|
Hi @sebastiaanspeck |
pages/common/npm-profile.md
Outdated
| - View a specific property of your profile: | ||
|
|
||
| `npm profile get {{property}}` | ||
|
|
||
| - Enable two-factor authentication (2FA): | ||
|
|
||
| `npm profile enable-2fa {{auth-only|auth-and-writes}}` | ||
|
|
||
| - Disable two-factor authentication (2FA): | ||
|
|
||
| `npm profile disable-2fa` | ||
|
|
||
| - Set your public email address: | ||
|
|
||
| `npm profile set email {{email}}` | ||
|
|
||
| - Set your public name: | ||
|
|
||
| `npm profile set name {{name}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe reorder a little to have the set-examples clustered.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried my best.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe also add set password?
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Added instructions for setting a new password in npm profile.
|
|
||
| `npm profile get` | ||
|
|
||
| - View a specific property of your profile: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - View a specific property of your profile: | |
| - View a specific property of the profile: |
|
|
||
| `npm profile set fullname {{name}}` | ||
|
|
||
| - Set a new password: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - Set a new password: | |
| - Set a new password interactively: |
common,linux,osx,windows,sunos,android, etc.Version of the command being documented (if known): npm CLI v9+
Reference: #14000