mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 03:53:16 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,12 +14,12 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Log in to a private registry with a specific scope:
|
||||
|
||||
`npm login --scope {{@mycorp}} --registry {{https://registry.mycorp.com}}`
|
||||
`npm login --scope {{@organization}} --registry {{https://registry.example.com}}`
|
||||
|
||||
- Log out from a specific scope and remove the auth token:
|
||||
|
||||
`npm logout --scope {{@mycorp}}`
|
||||
`npm logout --scope {{@organization}}`
|
||||
|
||||
- Create a scoped package during initialization:
|
||||
|
||||
`npm init --scope {{@foo}} {{[-y|--yes]}}`
|
||||
`npm init --scope {{@organization}} {{[-y|--yes]}}`
|
||||
|
||||
Reference in New Issue
Block a user