-
-
Couldn't load subscription status.
- Fork 4.8k
npm-pkg: add page #19052
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-pkg: add page #19052
Conversation
|
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 command examples for setting properties.
|
Done with the changes @sebastiaanspeck, |
pages/common/npm-pkg.md
Outdated
|
|
||
| - Get the value of a specific property: | ||
|
|
||
| `npm {{pkg}} get {{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.
Why did you put pkg as placeholder?
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.
I initialy got confused by the other few files i saw in open PRs, thanks for catching that.
Updated npm command syntax to use 'npm pkg' instead of 'npm {{pkg}}'.
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
pages/common/npm-pkg.md
Outdated
| - Get multiple values across all workspaces: | ||
|
|
||
| `npm pkg get {{name}} {{version}} --ws` |
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 move this after the nested get example.
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
common,linux,osx,windows,sunos,android, etc.Version of the command being documented (if known): Latest